/* CSS Document - Yuki Masters 2027 */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --shadow-color: #555;
    --shadow-color-light: #111;
}

/* =========================================
   1. BASE Y ESTRUCTURA GLOBAL
   ========================================= */
html, body.yukimasters {
    background-color: #000;
    background-image: url(/yukimasters/img/bg.jpg);
    color: #fcfcfc;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Lato', sans-serif;
}

.content.yukimasters, .w100 {
    max-width: 100%;
    overflow-x: hidden;
}

#videobg {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
}

.inactive {
    cursor: not-allowed;
    opacity: .4;
}

a {
    color: #e7cc00;
}
a:hover {
    color: #FFDE31;
    opacity: .75;
    text-decoration: none;
}

/* =========================================
   2. CABECERA, LOGOS Y TIPOGRAFÍA
   ========================================= */
.logotop {
    max-width: 80%;
    margin: 0 auto;
}

.logohome {
    width: 70%;
    height: 330px;
    background-image: url(/yukimasters/2027/assets/img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.datehome {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: "Lato", sans-serif;
    font-weight: 300;
    text-transform: capitalize;
    font-style: italic;
    padding: 0 30px 20px;
    font-size: 1.6em;
}

.yukimasters h1 {
    text-align: center;
    font-family: "Lato", sans-serif;
    font-weight: 300;
    text-transform: capitalize;
    font-style: italic;
}

.yukimasters h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.6em;
    text-align: center;
    color: #d5d5d5;
    padding: 10px 0;
}

/* =========================================
   3. NAVEGACIÓN HAMBURGUESA
   ========================================= */
.navwrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 666;
    width: 100%;
}

#menuToggle {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 25px;
    left: 25px;
    width: calc(100% - 25px);
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

#menuToggle span {
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    position: relative;
    background: #e7cc00;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -1px);
    background: #e7cc00;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: absolute;
    width: 400px;
    height: 350px;
    box-shadow: 0 0 10px #85888C;
    margin: -50px 0 0 -50px;
    padding: 75px 50px 50px 50px;
    background-color: #000;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
    padding: 10px 0;
    list-style-type: none;
}

#menu li a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
}

#menuToggle input:checked ~ ul {
    transform: none;
}

/* =========================================
   4. PORTADA: BOTONES, INFO Y SLOGANS
   ========================================= */
.homebuttons {
    display: flex;
    padding: 30px;
    justify-content: space-around;
    align-content: center;
}

.homebutton {
    display: block;
    text-align: center;
    padding: 15px;
    background-color: #000;
    border: 1px solid #24b6bf;
    border-radius: 4px;
    color: #24b6bf;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
}

.homebutton:hover {
    background-color: #111;
    text-decoration: none;
    color: #0F7F9B;
}

.effect {
    text-align: center;
    display: inline-block;
    position: relative;
    text-decoration: none;
    text-transform: capitalize;
    border-radius: 6px;
    overflow: hidden;
}

.effect.effect-5 {
    transition: all 0.2s linear 0s;
}

.effect.effect-5:before {
    content: "\f054";
    font-family: FontAwesome;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background-color: rgba(0, 140, 255, 0.20);
    border-radius: 0 50% 50% 0;
    transform: scale(0, 1);
    transform-origin: left center;
    transition: all 0.2s linear 0s;
}

.effect.effect-5:hover {
    text-indent: 30px;
}

.effect.effect-5:hover:before {
    transform: scale(1, 1);
    text-indent: 0;
}

.infohome {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.2em;
    background-color: #000000a8;
    padding: 20px;
    border-radius: 20px;
}

.infohome p {
    font-family: 'Lato', sans-serif;
}

p.scenarios {
    text-align: center;
    font-size: 1.1em;
    font-family: 'Lato', sans-serif;
}

p.scenarios img {
    margin: 20px 0;
}

.topimg {
    border-radius: 12px;
}

.slogans {
    padding: 30px;
}

.slogan {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    color: #e9c50c;
    font-style: italic;
    animation: neon 3s infinite;
}

@keyframes neon {
    0%, 100% {
        text-shadow: -1px -1px 1px var(--shadow-color-light),
            -1px 1px 1px var(--shadow-color-light),
            1px -1px 1px var(--shadow-color-light),
            1px 1px 1px var(--shadow-color-light),
            0 0 3px var(--shadow-color-light),
            0 0 10px var(--shadow-color-light),
            0 0 20px var(--shadow-color-light),
            0 0 30px var(--shadow-color),
            0 0 50px var(--shadow-color),
            0 0 80px var(--shadow-color);
    }
    50% {
        text-shadow: -1px -1px 1px var(--shadow-color-light),
            -1px 1px 1px var(--shadow-color-light),
            1px -1px 1px var(--shadow-color-light),
            1px 1px 1px var(--shadow-color-light),
            0 0 5px var(--shadow-color-light),
            0 0 15px var(--shadow-color-light),
            0 0 25px var(--shadow-color-light),
            0 0 40px var(--shadow-color),
            0 0 60px var(--shadow-color),
            0 0 100px var(--shadow-color);
    }
}

/* =========================================
   5. TERMÓMETRO DE INSCRIPCIONES - YM 2027
   ========================================= */
.ym-progress-box {
    background: rgba(5, 15, 25, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 210, 211, 0.45);
    box-shadow: 0 0 25px rgba(0, 210, 211, 0.15), inset 0 0 15px rgba(0, 210, 211, 0.08);
    border-radius: 12px;
    padding: 24px 30px;
    margin: 35px auto;
    max-width: 780px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.ym-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.ym-progress-title {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.ym-progress-pct {
    color: #00e5ff;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
    line-height: 1;
}

.ym-progress-box.is-full {
    border-color: rgba(255, 71, 87, 0.65);
    box-shadow: 0 0 25px rgba(255, 71, 87, 0.25);
}

.ym-progress-box.is-full .ym-progress-pct {
    color: #ff4757;
    text-shadow: 0 0 12px rgba(255, 71, 87, 0.6);
}

.ym-progress-track {
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50px;
    height: 22px;
    width: 100%;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
}

.ym-progress-fill {
    background: linear-gradient(90deg, #0077b6 0%, #00b4d8 50%, #00f5d4 100%) !important;
    height: 100%;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.5);
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ym-progress-box.is-full .ym-progress-fill {
    background: linear-gradient(90deg, #c0392b 0%, #ff4757 100%) !important;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.6);
}

.ym-progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: ymShimmer 2.8s infinite;
}

@keyframes ymShimmer {
    100% { left: 200%; }
}

.ym-nations-wrap {
    margin-top: 16px;
    text-align: center;
}

.ym-nations-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 50px;
    color: #e0e0e0;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.ym-nations-badge strong {
    color: #00f5d4;
    font-size: 1.3rem;
    font-weight: 800;
}

.ym-waiting-badge {
    background: #ff4757;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    animation: ymPulse 1.8s infinite;
}

@keyframes ymPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

/* =========================================
   6. GALERÍA MINIMALISTA DE EDICIONES ANTERIORES
   ========================================= */
.ym-minimal-gallery {
    background: rgba(5, 15, 25, 0.78);
    border: 1px solid rgba(0, 210, 211, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto 35px auto;
    max-width: 780px;
    width: 100%;
    box-sizing: border-box;
}

.ym-gallery-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 4px;
}

.ym-gallery-label {
    color: #00e5ff;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.ym-gallery-counter {
    color: #8899a6;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.ym-gallery-viewport {
    position: relative;
    width: 100%;
    height: 410px;
    border-radius: 8px;
    overflow: hidden;
    background: #050a10;
}

.ym-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.ym-gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.ym-gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 4px;
}

.ym-gal-btn {
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: #00e5ff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.ym-gal-btn:hover {
    background: #00e5ff;
    color: #000;
}

.ym-gallery-dots {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}

.ym-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
}

.ym-dot.is-active {
    background: #00e5ff;
    width: 22px;
    border-radius: 4px;
}

/* =========================================
   7. EVENT PROGRAM: SEDES VS CRONOGRAMA
   ========================================= */
.ym-venues-row {
    margin-top: 30px;
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ym-venues-row > [class*="col-"] {
    margin-bottom: 20px;
}

.ym-venue-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 214, 0, 0.28);
    border-left: 4px solid #ffd600;
    border-radius: 10px;
    padding: 20px 18px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.ym-venue-card:hover {
    background: rgba(255, 214, 0, 0.06);
    border-color: rgba(255, 214, 0, 0.6);
}

.ym-venue-tag {
    display: inline-block;
    background: transparent;
    color: #ffd600;
    border: none;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.ym-venue-card h4 {
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 6px 0;
    font-size: 1.25rem;
}

.ym-venue-card p {
    color: #b0bec5;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.ym-venue-card small {
    color: #80deea;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: auto;
}

.ym-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 6px 12px;
    background: rgba(255, 214, 0, 0.1);
    border: 1px solid rgba(255, 214, 0, 0.45);
    border-radius: 5px;
    color: #ffd600 !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.2s ease;
}

.ym-map-btn:hover {
    background: #ffd600;
    color: #000000 !important;
    opacity: 1;
}

.ym-days-row > [class*="col-"] {
    margin-bottom: 28px;
}

.ym-day-card {
    background: linear-gradient(180deg, #0b1d2e 0%, #06101a 100%);
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-top: 4px solid #00e5ff;
    border-radius: 12px;
    padding: 24px 22px;
    height: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

.ym-day-header {
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding-bottom: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.ym-day-date {
    display: inline-block;
    background: rgba(0, 229, 255, 0.12);
    color: #00e5ff;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.ym-day-header h3 {
    color: #ffffff;
    margin: 8px 0 2px 0;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.ym-day-header small {
    color: #00e5ff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.78rem;
    font-weight: 700;
}

.ym-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ym-timeline li {
    display: flex;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    align-items: flex-start;
}

.ym-timeline li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ym-time {
    background: #00e5ff;
    color: #041019;
    font-weight: 900;
    font-size: 0.82rem;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.25);
}

.ym-timeline p {
    margin: 0;
    font-size: 0.94rem;
    color: #dce4ec;
    line-height: 1.45;
}

.ym-timeline p strong {
    color: #ffd600;
}

.ym-lang-switcher {
    position: fixed;
    top: 20px;
    right: 25px;
    left: auto;
    z-index: 667;
    background: rgba(5, 15, 25, 0.9);
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 50px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    direction: ltr;
}

.ym-lang-switcher a {
    color: #9be7ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.ym-lang-switcher a:hover {
    color: #ffffff;
    opacity: 1;
}

.ym-lang-switcher a.active {
    color: #ffd600;
    text-shadow: 0 0 8px rgba(255, 214, 0, 0.5);
}

.ym-lang-switcher span {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

/* =========================================
   8. BASES, TABS, TARIFAS Y PREMIOS (RULES.PHP)
   ========================================= */
.ym-pdf-bar {
    background: rgba(5, 15, 25, 0.85);
    border: 1px solid rgba(0, 210, 211, 0.35);
    border-radius: 10px;
    padding: 15px 25px;
    margin: 25px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ym-pdf-label {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.ym-pdf-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ym-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #24b6bf;
    color: #24b6bf !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.ym-pdf-btn img {
    height: 22px;
    width: auto;
}

.ym-pdf-btn:hover {
    background: #24b6bf;
    color: #000 !important;
    opacity: 1;
}

.ym-tabs-nav {
    display: flex;
    background: rgba(5, 15, 25, 0.92);
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 10px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    flex-wrap: wrap;
}

.ym-tab-btn {
    flex: 1;
    min-width: 210px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    border-bottom: 2px solid rgba(0, 229, 255, 0.25);
    color: #9be7ff;
    padding: 14px 18px;
    border-radius: 7px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.92rem;
    cursor: pointer;
    position: relative;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ym-tab-btn:not(.active)::after {
    content: "▾";
    font-size: 0.85rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.ym-tab-btn:not(.active):hover {
    background: rgba(0, 229, 255, 0.14);
    border-color: rgba(0, 229, 255, 0.5);
    color: #ffffff;
}

.ym-tab-btn:not(.active):hover::after {
    transform: translateY(2px);
    opacity: 1;
}

.ym-tab-btn.active {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border-color: #00f5d4;
    border-bottom-color: #00f5d4;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ym-tab-panel {
    display: none;
}

.ym-tab-panel.active {
    display: block;
    animation: ymFadeIn 0.35s ease;
}

@keyframes ymFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ym-rule-block {
    background: rgba(5, 15, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 22px;
    height: 100%;
}

.ym-rule-block h4 {
    color: #00e5ff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 10px;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.ym-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ym-check-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.96rem;
    color: #e6e6e6;
    line-height: 1.45;
}

.ym-check-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ffd600;
    font-weight: bold;
}

.ym-check-list li strong {
    color: #00e5ff;
}

.ym-price-highlight {
    background: rgba(255, 214, 0, 0.1);
    border: 1px solid rgba(255, 214, 0, 0.4);
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    margin: 15px 0;
}

.ym-price-highlight span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #ddd;
}

.ym-price-highlight strong {
    display: block;
    font-size: 1.8rem;
    color: #ffd600;
    line-height: 1.2;
}

.ym-price-highlight small {
    color: #bbb;
    font-size: 0.8rem;
}

.ym-pricing-table th,
.ym-prizes-table th {
    background: rgba(0, 119, 182, 0.35) !important;
    color: #00e5ff !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.ym-pricing-table td,
.ym-prizes-table td {
    border-color: rgba(255, 255, 255, 0.12) !important;
    font-size: 0.92rem;
}

.ym-price-col {
    background: rgba(255, 214, 0, 0.08) !important;
    color: #ffd600 !important;
    font-weight: 900;
    font-size: 1.15rem !important;
    white-space: nowrap;
}

.ym-iban-box {
    background: rgba(0, 0, 0, 0.65);
    border: 1px dashed #00e5ff;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
}

.ym-iban-box small {
    display: block;
    color: #9be7ff;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ym-iban-box code {
    color: #ffd600;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ym-podium-1 td {
    background: rgba(255, 214, 0, 0.12) !important;
}

.ym-bigfish-row td {
    background: rgba(0, 229, 255, 0.12) !important;
    border-top: 2px solid #00e5ff !important;
}

/* =========================================
   9. PARTICIPANTES, CALCULADORA Y FOOTER
   ========================================= */
.participant-pic {
    width: 80%;
    border-style: solid;
    border-width: 7px;
    border-image: radial-gradient(rgb(46 46 46), rgb(255 255 255)) 1;
    margin: 0 auto;
    border-radius: 10px;
}

.couple .row {
    background-color: #03354c;
    background-image: url(/yukimasters/img/bgparticipants.jpg);
    background-repeat: no-repeat;
    margin: 30px 0;
    padding: 30px;
    border-radius: 20px;
}

.partcipant-name {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    font-size: 1.5em;
    text-shadow: 2px 3px 3px black;
}

.couple h4 {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding-top: 20px;
    font-size: 2em;
}

.partcipant-country {
    text-align: center;
}

footer {
    background: #000;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    padding: 10px;
    color: #ccc;
}

.copy {
    border-top: 1px solid #343434 !important;
}

.organizators {
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
}

.org-row {
    padding: 10px;
}

.org-row img {
    max-width: 450px;
    max-height: 54px;
    margin: 10px 20px;
}

.org-row.big img {
    max-width: 550px;
    max-height: 74px;
    margin: 10px 20px;
}

.org-row.fedes img {
    max-width: 550px;
    max-height: 84px;
    margin: 10px 20px;
}

/* Calculadora y Tabla de Puntuación por Especies */
.ym-calc-box {
    background: rgba(0, 119, 182, 0.14);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 10px;
    padding: 18px;
}

.ym-calc-label {
    display: block;
    color: #9be7ff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.ym-calc-input {
    background-color: #050f19 !important;
    border: 1px solid rgba(0, 229, 255, 0.45) !important;
    color: #ffffff !important;
    height: 44px;
    font-size: 0.95rem;
}

.ym-calc-result {
    background: rgba(255, 214, 0, 0.12);
    border: 1px solid #ffd600;
    border-radius: 6px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
}

.ym-calc-result small {
    color: #ddd;
    font-size: 0.7rem;
    line-height: 1;
}

.ym-calc-result strong {
    color: #ffd600;
    font-size: 1.15rem;
    line-height: 1.2;
}

.ym-toggle-matrix-btn {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.45);
    color: #00e5ff;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ym-toggle-matrix-btn:hover {
    background: #00e5ff;
    color: #000;
}

.ym-matrix-scroll {
    max-height: 420px;
    overflow: auto;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 8px;
}

.ym-matrix-table th {
    background: #081e30 !important;
    color: #00e5ff !important;
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 0.82rem;
}

.ym-matrix-table td {
    font-size: 0.82rem;
    padding: 5px 8px !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.ym-sticky-col {
    position: sticky;
    left: 0;
    background: #05121e !important;
    z-index: 3;
    border-right: 2px solid rgba(0, 229, 255, 0.4) !important;
}

/* =========================================
   10. MEDIA QUERIES (PANTALLAS GRANDES Y MÓVIL)
   ========================================= */
@media screen and (min-width: 1800px) {
    #videobg {
        min-width: 50%;
        margin-left: 25%;
    }
}

@media only screen and (max-width: 700px) {
    nav {
        height: 65px;
    }

    #menu {
        width: 90%;
    }
.logohome {
    margin-top: 47px;
}
    .logotop {
        max-width: 100%;
        margin: 0 auto 20px auto;
    }

    .logohome {
        width: 100%;
        height: 150px;
    }

    .datehome {
        width: 100%;
        height: 82px;
        font-size: 1.2em;
    }
	body #tab-pricing span.badge.bg-info.text-dark.fs-6 {
  
    text-wrap: auto;
    margin-top: 10px;
    text-align: left;
    padding: 8px;
}

    .yukimasters h1 {
        font-size: 1.3em;
    }

    .yukimasters h2 {
        font-size: 1em;
    }

    .homebuttons {
        flex-direction: column;
        padding: 0 30px;
    }

    .homebutton {
        margin: 15px 0;
        font-size: 1.2em;
    }

    .infohome, p {
        font-size: 1em;
        font-family: 'Lato', sans-serif;
        font-weight: 300;
    }

    a {
        font-size: 1em;
        font-family: 'Lato', sans-serif;
        font-weight: 500;
    }

    .ym-progress-box {
        padding: 18px 16px;
        margin: 25px auto;
    }

    .ym-progress-pct {
        font-size: 1.35rem;
    }

    .ym-nations-badge {
        font-size: 0.9rem;
        padding: 6px 14px;
    }

    .ym-minimal-gallery {

        padding: 12px;
    }

    .ym-gallery-viewport {
        height: 240px;
    }

    .ym-tabs-nav {
        flex-direction: column;
    }

    .ym-tab-btn {
        width: 100%;
    }

    .couple .row {
        background-size: cover;
        padding: 25px 10px 0 10px;
        background-position: center;
    }

    .partcipant-country {
        margin-bottom: 20px;
    }

    .org-row.big img {
        max-width: 95%;
    }

    .org-row img {
        max-width: 250px;
        max-height: 54px;
    }
}

/* =========================================
   11. SOPORTE RTL COMPLETO (ÁRABE - dir="rtl")
   ========================================= */
[dir="rtl"] body.yukimasters,
[dir="rtl"] .yukimasters h1,
[dir="rtl"] .yukimasters h2,
[dir="rtl"] .datehome,
[dir="rtl"] .homebutton,
[dir="rtl"] .infohome,
[dir="rtl"] .infohome p,
[dir="rtl"] p.scenarios,
[dir="rtl"] .ym-tab-btn,
[dir="rtl"] .partcipant-name,
[dir="rtl"] .couple h4,
[dir="rtl"] #menu li a,
[dir="rtl"] a {
    font-family: 'Cairo', 'Lato', sans-serif !important;
}

[dir="rtl"] .yukimasters h1,
[dir="rtl"] .datehome,
[dir="rtl"] .slogan {
    font-style: normal;
}

/* Bloques latinos incrustados en árabe sin partirse a mitad */
[dir="rtl"] span[dir="ltr"] {
    display: inline-block;
    unicode-bidi: isolate;
}

/* Menú hamburguesa a la derecha */
[dir="rtl"] #menuToggle {
    left: auto;
    right: 25px;
    align-items: flex-start;
}

[dir="rtl"] #menu {
    left: auto;
    right: 0;
    margin: -50px -50px 0 0;
    transform-origin: 100% 0%;
    transform: translate(100%, 0);
    text-align: right;
}

[dir="rtl"] #menuToggle input:checked ~ ul {
    transform: none;
}

/* Selector de idiomas a la izquierda */
[dir="rtl"] .ym-lang-switcher {
    right: auto;
    left: 25px;
}

/* Efecto hover de botones portada invertido */
[dir="rtl"] .effect.effect-5:before {
    content: "\f053";
    left: auto;
    right: 0;
    border-radius: 50% 0 0 50%;
    transform-origin: right center;
}

/* Tarjetas de sedes con borde dorado a la derecha */
[dir="rtl"] .ym-venue-card {
    border-left: 1px solid rgba(255, 214, 0, 0.28);
    border-right: 4px solid #ffd600;
    text-align: right;
}

/* Listas con viñetas a la derecha */
[dir="rtl"] .ym-check-list li {
    padding-left: 0;
    padding-right: 20px;
    text-align: right;
}

[dir="rtl"] .ym-check-list li::before {
    content: "◂";
    left: auto;
    right: 0;
}

/* Alineación derecha en bloques, cronograma y tablas */
[dir="rtl"] .ym-rule-block,
[dir="rtl"] .ym-timeline p,
[dir="rtl"] .ym-calc-label,
[dir="rtl"] .text-start {
    text-align: right !important;
}

/* Columna fija CM en matriz de especies a la derecha */
[dir="rtl"] .ym-sticky-col {
    left: auto;
    right: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 2px solid rgba(0, 229, 255, 0.4) !important;
}