/* El inicio: un reel que se maneja con el scroll.
   Mismo criterio que marketing/reel-socio: cada momento tiene su propio mundo
   de color y las pantallas de la app están rearmadas con código, con clubes
   inventados. Nada de capturas, que quedan viejas.

   Sin JS, o con "menos movimiento" en el sistema, la clase .anim no está: el
   inicio se ve como una página común, con la primera pantalla y los textos en
   lista. El estado final de cada escena es el que dice este CSS; GSAP solo
   anima hacia ahí. */

:root {
    --f-display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
    --rl-dark: #050507;
    --rl-card: #14121F;
    --rl-gold: #FFC83D;
}

html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── Tipografía de los títulos de toda la página ── */
.section-title, .band-title, .footer-title {
    font-family: var(--f-display);
    font-weight: 900; letter-spacing: 0; line-height: 0.98;
    text-transform: uppercase;
}
.section-title { font-size: clamp(2.8rem, 6vw, 5rem); }
.band-title { font-size: clamp(2.8rem, 5.4vw, 4.4rem); }
.footer-title { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.bento-stat { font-family: var(--f-display); font-weight: 900; letter-spacing: 0; }

/* ── Escenario ── */
.hero {
    position: relative; z-index: 1;
    --ph: min(74svh, 660px);
    --pw: calc(var(--ph) * 0.49);
    --py: 50%;
    --peek: calc(6svh + var(--ph) / 2);
}
.rl-stage {
    position: relative; overflow: hidden;
    background: var(--violet); color: #fff;
    padding: 104px clamp(20px, 5vw, 72px) 56px;
}
.rl-mq, .rl-probe { display: none; }

/* ── Apertura ── */
.rl-open h1 {
    font-family: var(--f-display); font-weight: 900;
    font-size: min(12.4vw, 34svh); line-height: 1.12;
    text-transform: uppercase; white-space: nowrap; text-align: center;
    color: #fff;
}
.rl-l { display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.2em; margin-top: -0.2em; }
.rl-l > span { display: inline-block; }
.rl-desc { font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.5; max-width: 30ch; color: #fff; }
.rl-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.rl-stores a { display: block; line-height: 0; border-radius: 8px; transition: transform 0.2s var(--ease-expo); }
.rl-stores a:hover { transform: translateY(-2px); }
.rl-stores a:focus-visible, .rl-open a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rl-stores img { height: 46px; width: auto; }

/* ── Textos de cada momento ── */
.rl-beat h2 {
    font-family: var(--f-display); font-weight: 900;
    font-size: clamp(2.6rem, 5vw, 5.6rem); line-height: 0.96;
    text-transform: uppercase; color: inherit;
}
.rl-beat p { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.5; margin-top: 14px; max-width: 32ch; color: inherit; }

/* ── Teléfono ── */
.rl-phone {
    width: var(--pw); height: var(--ph);
    padding: calc(var(--pw) * 0.03);
    background: #000; border-radius: calc(var(--pw) * 0.15);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 40px 90px rgba(0, 0, 0, 0.45);
}
.rl-screen {
    position: relative; width: 100%; height: 100%; overflow: hidden;
    border-radius: calc(var(--pw) * 0.125);
    background: var(--rl-dark); color: #fff;
    container-type: size;
    font-family: 'Hanken Grotesk', -apple-system, sans-serif;
}
.rl-scene { position: absolute; inset: 0; overflow: hidden; background: var(--rl-dark); }

.rl-shield {
    display: block; width: 13cqw; height: 14.6cqw; flex: none;
    clip-path: polygon(50% 0, 92% 14%, 88% 58%, 74% 84%, 50% 100%, 26% 84%, 12% 58%, 8% 14%);
    background: linear-gradient(90deg, #8F00FF 38%, #fff 38% 62%, #8F00FF 62%);
}
.rl-shield.b { background: linear-gradient(90deg, #1FA2FF 38%, #fff 38% 62%, #1FA2FF 62%); }

/* Dos valores encimados: el viejo se va, el nuevo entra. */
.rl-flip { position: relative; display: inline-block; }
.rl-flip > * { display: block; }
.rl-flip > .was { position: absolute; inset: 0; visibility: hidden; }

/* Escena: gol con la pantalla bloqueada */
.s-isl {
    position: absolute; left: 12cqw; right: 12cqw; top: 4cqw; height: 11.5cqw;
    display: flex; align-items: center; gap: 2.4cqw; padding: 0 4.6cqw;
    background: #000; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 6cqw;
    font-size: 5.2cqw; font-weight: 800;
}
.s-isl .rl-shield { width: 5.2cqw; height: 5.8cqw; }
.s-isl-r { margin-left: auto; color: var(--green); }
.s-isl-r .was { color: #fff; text-align: right; }
.s-time { position: absolute; left: 0; right: 0; top: 24cqw; text-align: center; font-size: 25cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.s-day { position: absolute; left: 0; right: 0; top: 51cqw; text-align: center; font-size: 5cqw; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.s-card {
    position: absolute; left: 5cqw; right: 5cqw; top: 66cqw; height: 50cqw;
    display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 0 3cqw;
    background: var(--rl-card); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6cqw;
}
.s-team { width: 28cqw; display: flex; flex-direction: column; align-items: center; gap: 2cqw; text-align: center; font-size: 4.4cqw; font-weight: 800; line-height: 1.15; }
.s-score { text-align: center; }
.s-num { display: flex; justify-content: center; gap: 1.6cqw; font-size: 17cqw; font-weight: 900; line-height: 1; }
.s-num i { font-style: normal; color: rgba(255, 255, 255, 0.4); }
.s-min { margin-top: 1.5cqw; font-size: 5cqw; font-weight: 900; color: var(--green); }
.s-noti {
    position: absolute; left: 5cqw; right: 5cqw; top: 124cqw;
    display: flex; align-items: center; gap: 3.4cqw; padding: 4cqw;
    background: rgba(255, 255, 255, 0.12); border-radius: 5cqw;
    font-size: 4.2cqw; line-height: 1.3; color: rgba(255, 255, 255, 0.75);
}
.s-noti img { width: 11cqw; height: 11cqw; border-radius: 2.6cqw; flex: none; }
.s-noti b { display: block; font-size: 4.6cqw; font-weight: 800; color: #fff; }
.s-flash { position: absolute; inset: 0; background: var(--green); opacity: 0; pointer-events: none; }
.s-ring { position: absolute; left: 50%; top: 91cqw; width: 30cqw; height: 30cqw; margin: -15cqw; border-radius: 50%; border: 1.4cqw solid var(--green); opacity: 0; }
.s-bit { position: absolute; left: 50%; top: 91cqw; width: 3cqw; height: 1.7cqw; border-radius: 1px; opacity: 0; }

/* Escena: competencias */
.s-big { position: absolute; left: 0; right: 0; top: 28cqw; text-align: center; font-family: var(--f-display); font-size: 54cqw; font-weight: 900; line-height: 0.9; color: var(--green); }
.s-biglabel { position: absolute; left: 0; right: 0; top: 80cqw; text-align: center; font-size: 6cqw; font-weight: 800; }
.s-chips { position: absolute; left: 5cqw; right: 5cqw; top: 96cqw; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2cqw; }
.s-chips span { padding: 2.2cqw 3.6cqw; border-radius: 3cqw; background: var(--rl-card); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 4.2cqw; font-weight: 700; white-space: nowrap; }

/* Escena: ¿qué necesita? */
.s-need { position: absolute; left: 5cqw; right: 5cqw; top: 17cqw; padding: 5cqw; background: var(--rl-card); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6cqw; }
.s-row { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.s-need b { font-size: 6.4cqw; font-weight: 800; }
.s-tag { padding: 1.2cqw 2.4cqw; border-radius: 2cqw; background: rgba(255, 200, 61, 0.16); color: var(--rl-gold); font-size: 3.5cqw; font-weight: 800; white-space: nowrap; }
.s-bar { height: 3cqw; margin: 4cqw 0 3cqw; border-radius: 2cqw; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 78%; border-radius: 2cqw; background: linear-gradient(90deg, var(--violet), var(--green)); transform-origin: left; }
.s-need p { font-size: 4.2cqw; line-height: 1.3; color: rgba(255, 255, 255, 0.75); text-align: center; }
.s-tbl { position: absolute; left: 5cqw; right: 5cqw; top: 75cqw; height: 56cqw; }
.s-tr {
    position: absolute; left: 0; right: 0; top: calc(var(--i) * 14cqw); height: 12.6cqw;
    display: flex; align-items: center; gap: 2.6cqw; padding: 0 3.6cqw;
    border-radius: 3cqw; background: var(--rl-card);
    font-size: 4.4cqw; font-weight: 700;
}
.s-tr .rl-shield { width: 6cqw; height: 6.7cqw; }
.s-tr em { margin-left: auto; font-style: normal; font-weight: 900; }
.s-tr.me { background: var(--violet); z-index: 1; }

/* Escena: el 11 */
.rl-scene.s-once { background: #07170C; }
.s-otop { position: absolute; left: 6cqw; right: 6cqw; top: 8cqw; display: flex; align-items: center; justify-content: space-between; font-size: 5cqw; font-weight: 800; }
.s-otop span:last-child { color: var(--green); }
.s-pitch {
    position: absolute; left: 5cqw; right: 5cqw; top: 22cqw; bottom: 8cqw; overflow: hidden;
    border-radius: 4cqw;
    background: repeating-linear-gradient(to bottom, #0E3B1A 0 11%, #0B3016 11% 22%);
}
.s-pitch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-j { position: absolute; width: 8.6cqw; height: 8.6cqw; margin: -4.3cqw; border-radius: 50%; background: #fff; box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, 0.45); }
.s-j.cap { width: 10.6cqw; height: 10.6cqw; margin: -5.3cqw; background: var(--violet); border: 0.8cqw solid #fff; }

/* ── Versión común: sin animación ── */
html:not(.anim) .rl-open { display: grid; gap: 22px; justify-items: center; text-align: center; }
html:not(.anim) .rl-phone { margin: 40px auto; }
html:not(.anim) .rl-scene:not(.s-gol) { display: none; }
html:not(.anim) .rl-copy { display: grid; gap: 36px; max-width: 720px; margin: 0 auto; }

/* ── Versión animada ── */
html.anim .hero { height: 560vh; }
html.anim .rl-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }
html.anim .rl-open { position: absolute; inset: 0; pointer-events: none; }
html.anim .rl-open a { pointer-events: auto; }
html.anim .rl-open h1 { position: absolute; left: 0; right: 0; top: 112px; }
html.anim .rl-desc { position: absolute; left: clamp(20px, 5vw, 72px); bottom: 40px; }
html.anim .rl-open .rl-stores { position: absolute; right: clamp(20px, 5vw, 72px); bottom: 40px; flex-direction: column; align-items: flex-end; }
html.anim .rl-phone {
    position: absolute; left: 50%; top: var(--py);
    margin-left: calc(var(--pw) / -2); margin-top: calc(var(--ph) / -2);
    transform: translateY(var(--peek));
    will-change: transform;
}
html.anim .rl-scene:not(.s-gol) { visibility: hidden; }
html.anim .rl-beat {
    position: absolute; top: 50%; left: clamp(20px, 6vw, 96px);
    /* Lo que queda entre el borde y el teléfono, con aire. */
    width: min(460px, calc(50% - var(--pw) / 2 - clamp(20px, 6vw, 96px) - 28px));
    transform: translateY(-50%);
    visibility: hidden;
}
html.anim .rl-beat.der { left: auto; right: clamp(20px, 6vw, 96px); }
html.anim .rl-probe { display: block; position: absolute; width: 0; height: var(--peek); visibility: hidden; }
html.anim .rl-mq {
    display: block; position: absolute; left: -10%; right: -10%; top: 50%;
    margin-top: -0.5em; line-height: 1; white-space: nowrap;
    font-family: var(--f-display); font-weight: 900;
    font-size: min(46vh, 34vw);
    -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px currentColor;
    opacity: 0; pointer-events: none;
}
html.anim .rl-mq > span { display: inline-block; }

@media (max-width: 900px) {
    .hero {
        --ph: min(56svh, 500px);
        --py: 64%;
        --peek: calc(-8svh + var(--ph) / 2);
    }
    .rl-open h1 { font-size: 17vw; text-align: left; }
    .rl-open h1 .rl-l { display: block; }
    /* "Your passion," es la línea más larga de los tres idiomas. */
    .rl-open h1 [data-lang="en"] { font-size: 0.82em; }
    html.anim .rl-open { padding: 0 20px; }
    html.anim .rl-open h1 { left: 20px; right: 20px; top: 92px; }
    html.anim .rl-desc { left: 20px; right: 20px; bottom: auto; top: calc(108px + 34vw); max-width: 38ch; }
    html.anim .rl-open .rl-stores { left: 20px; right: auto; bottom: auto; top: calc(182px + 34vw); flex-direction: row; }
    .btn-cta { padding: 0.6rem 1rem; font-size: 0.72rem; }
    .rl-stores img { height: 40px; }
    html.anim .rl-beat, html.anim .rl-beat.der {
        top: 72px; left: 20px; right: 20px; width: auto; transform: none;
        text-align: center;
    }
    .rl-beat h2 { font-size: clamp(2.3rem, 10.5vw, 3.6rem); }
    .rl-beat p { margin: 8px auto 0; font-size: 0.95rem; }
}

@media (max-height: 640px) and (min-width: 901px) {
    html.anim .rl-open h1 { top: 96px; }
    .rl-stores img { height: 38px; }
}

/* ── Tira de competencias ──
   Solo existe en la versión animada: sin JS, la grilla de abajo ya las muestra
   todas. */
.rl-wall { display: none; }
html.anim .rl-wall {
    display: grid; gap: 12px; position: relative; z-index: 2;
    padding: clamp(36px, 6vw, 72px) 0 0; overflow: hidden;
    background: #fff; --rule: rgba(10, 10, 18, 0.1);
}
.rl-wall-row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.rl-tile {
    --t: clamp(64px, 7vw, 92px);
    width: var(--t); height: var(--t); flex: none; overflow: hidden;
    padding: calc(var(--t) * 0.14);
    background: #fff; border: 1px solid var(--rule); border-radius: 22%;
}
.rl-tile img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ── Competencias: mundo blanco ──
   Los logos están hechos para ir sobre blanco, así que no hace falta tarjeta. */
#ligas {
    --fg: #0A0A12; --fg-soft: rgba(10, 10, 18, 0.72); --rule: rgba(10, 10, 18, 0.12);
    color: var(--fg); background: #fff;
    box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax);
    padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 96px);
}
#ligas .section-title { color: var(--fg); }
.search-input, .search-input:focus {
    padding: 20px 56px; font-size: 1.15rem; font-weight: 600;
    background: #fff; color: var(--fg);
    border: 2px solid var(--fg); border-radius: 14px;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.search-input:focus { border-color: var(--violet); }
.region-header { border: 0; margin-bottom: 14px; }
.region-header::before { display: none; }
.region-title {
    font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900;
    letter-spacing: 0; text-transform: uppercase; color: var(--fg);
}
.region-count { background: none; color: var(--fg-soft); }
.league-card, .league-card:hover {
    background: none; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.league-card::after, .league-country { display: none; }
.league-card:hover { transform: translateY(-3px); }
.league-name { color: var(--fg); font-weight: 700; }
#league-groups.cerrado {
    max-height: 520px; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 62%, transparent);
    mask-image: linear-gradient(#000 62%, transparent);
}
.ver-todas {
    display: block; margin: 8px auto 0; padding: 16px 30px;
    border: 0; border-radius: 12px; cursor: pointer;
    background: var(--fg); color: #fff;
    font: 800 1rem 'Hanken Grotesk', sans-serif;
    transition: background 0.2s ease;
}
.ver-todas:hover { background: var(--violet); }
.ver-todas:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.ver-todas[hidden] { display: none; }

/* ── El Ascenso y AVA: planos, sin brillos ── */
.band { margin: 0; }
.band::after { display: none; }
.band::before { border: 0; }
.band-title { font-size: clamp(3.6rem, 8.4vw, 7.4rem); line-height: 0.92; margin-bottom: 12px; }
.band-kicker {
    font-size: 1.15rem; font-weight: 700; letter-spacing: 0; text-transform: none;
}
.band-cta { box-shadow: none; }

.asc-section {
    --band-fondo: #FFC83D;
    --band-titulo: #15102A; --band-txt: rgba(21, 16, 42, 0.82); --band-fuerte: #15102A;
    --band-acento: #15102A; --band-acento-txt: #15102A; --band-sobre-acento: #FFC83D;
    --band-cta-bg: #15102A; --band-cta-txt: #FFC83D;
    --band-cta-sombra: none; --band-cta-sombra-hover: none;
}
.asc-section .band-copy {
    --oro: #15102A; --oro-txt: #15102A; --oro-dim: rgba(21, 16, 42, 0.3);
    --asc-txt: rgba(21, 16, 42, 0.82); --asc-fuerte: #15102A;
    --asc-chip: rgba(21, 16, 42, 0.08); --asc-chip-borde: transparent;
}
.asc-section .band-cta { color: #FFC83D; }
.asc-stat b { font-family: var(--f-display); font-size: 1.7em; color: #15102A; }

.ava-section {
    --band-fondo: #160733;
    --band-titulo: #fff; --band-txt: rgba(255, 255, 255, 0.8); --band-fuerte: #fff;
    --band-acento: var(--green); --band-acento-txt: var(--green); --band-sobre-acento: #050507;
    --band-cta-bg: var(--green); --band-cta-sombra: none; --band-cta-sombra-hover: none;
    --fg: #fff; --fg-soft: rgba(255, 255, 255, 0.76);
}
.ava-section .band-cta { color: #050507; }
.ava-section .band-bullets li::before { background: var(--green); }
.ava-price { background: rgba(255, 255, 255, 0.08); border: 0; }
.ava-price-amount { font-family: var(--f-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: 0; }
.ava-orb { width: clamp(170px, 23vw, 250px); }

/* ── Hasta el último dato ── */
.datos {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px); align-items: center;
    min-height: 100vh; min-height: 100svh;
    padding: clamp(88px, 10vw, 130px) clamp(20px, 7vw, 110px);
    background: var(--rl-dark); color: #fff;
}
.datos-tit {
    font-family: var(--f-display); font-weight: 900; line-height: 0.92;
    font-size: min(24vh, 11.5vw); text-transform: uppercase;
}
.datos-panel {
    width: 100%; max-width: 560px; justify-self: center;
    padding: 10px 22px 16px; border-radius: 24px; background: var(--rl-card);
}
.d-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.d-tabs::-webkit-scrollbar { display: none; }
.d-tabs button {
    flex: none; padding: 14px 10px; border: 0; background: none; cursor: pointer;
    font: 800 0.92rem 'Hanken Grotesk', sans-serif; color: rgba(255, 255, 255, 0.55);
    border-bottom: 3px solid transparent; margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.d-tabs button:hover { color: #fff; }
.d-tabs button[aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); }
.d-tabs button:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.d-vistas { position: relative; min-height: 396px; }
.d-vista { position: absolute; inset: 0; list-style: none; padding: 0; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; }
.d-vista.activa { visibility: visible; opacity: 1; }
.d-vista li {
    display: grid; grid-template-columns: 28px auto minmax(0, 1fr) auto; align-items: center;
    gap: 4px 10px; padding: 11px 2px; min-height: 68px;
    opacity: 0; transform: translateX(18px);
    transition: opacity 0.4s ease calc(var(--i) * 70ms), transform 0.5s var(--ease-expo) calc(var(--i) * 70ms);
}
.d-vista.activa li { opacity: 1; transform: none; }
.d-vista .rl-shield { width: 24px; height: 27px; }
.d-pos { font-weight: 800; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.d-nom { font-weight: 700; min-width: 0; }
.d-nom small { display: block; font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); }
.d-vista li > b { font-family: var(--f-display); font-size: 1.7rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.d-bar { grid-column: 1 / -1; display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.d-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--violet); transition: width 0.9s var(--ease-expo) calc(var(--i) * 70ms + 80ms); }
.d-vista li:first-child .d-bar i { background: var(--green); }
.d-vista.activa .d-bar i { width: var(--w); }
/* Sin persona ni escudo: la posición y el nombre van pegados. */
.d-vista:nth-child(2) li { grid-template-columns: 28px minmax(0, 1fr) auto; }
.d-vista:nth-child(3) li { grid-template-columns: 62px minmax(0, 1fr) auto; }
.d-temp { font-family: var(--f-display); font-size: 1.35rem; font-weight: 900; }
.d-vista li.ahora { color: var(--green); }

.d-vs { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.d-vs-eq { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; }
.d-vs-eq span { display: inline-flex; align-items: center; gap: 8px; }
.d-vs-num { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.d-vs-num b { display: block; font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 4.6rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.d-vs-num small { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); }
.d-vs-bar { display: flex; gap: 4px; height: 10px; }
.d-vs-bar i { display: block; width: 0; border-radius: 3px; background: var(--violet); transition: width 0.9s var(--ease-expo); }
.d-vs-bar i:nth-child(2) { background: rgba(255, 255, 255, 0.35); }
.d-vs-bar i:nth-child(3) { background: #1FA2FF; }
.d-vs.activa .d-vs-bar i { width: var(--w); }
.d-nota { margin-top: 10px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.5); }
/* Hasta que se ve, nada: así la primera vista entra junto con el panel. */
.datos-panel.espera .d-vista { opacity: 0; }
.datos-panel.espera .d-vista li { opacity: 0; transform: translateX(18px); }
.datos-panel.espera .d-bar i { width: 0; }

@media (max-width: 900px) {
    .datos { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 72px 20px; }
    .datos-tit { font-size: clamp(3.4rem, 17vw, 6rem); }
    .datos-panel { padding: 8px 16px 14px; }
}

/* ── Marcador LED ── */
.led { position: relative; z-index: 2; background: #000; overflow: hidden; }
.led-board { display: none; width: 100%; }
.led-list {
    list-style: none; padding: 56px 20px; text-align: center;
    font-family: var(--f-display); font-weight: 900; font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.15; text-transform: uppercase; color: var(--rl-gold);
}
html.anim .led-board { display: block; }
html.anim .led-list {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}

/* ── Sponsors: mundo verde ── */
.sponsors-section {
    position: relative; z-index: 2; text-align: center;
    padding: clamp(72px, 10vw, 130px) 20px;
    background: var(--green); color: #050507;
}
.sponsors-section h2 {
    font-family: var(--f-display); font-weight: 900; line-height: 0.95;
    font-size: clamp(3rem, 8vw, 7rem); text-transform: uppercase;
    max-width: 16ch; margin: 0 auto 20px;
}
.sponsors-section p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42ch; margin: 0 auto 28px; }
.sponsors-section a {
    font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 800; color: #050507;
    text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px;
    overflow-wrap: anywhere;
}
.sponsors-section a:focus-visible { outline: 3px solid #050507; outline-offset: 4px; }

/* ── Cierre: vuelve al violeta del inicio ── */
footer {
    position: relative; z-index: 2; overflow: hidden;
    padding: clamp(64px, 8vw, 110px) 20px 32px; text-align: center;
    background: var(--violet); border: 0; color: #fff;
}
footer .footer-title {
    font-size: min(15vw, 46vh); line-height: 0.9; margin: 0 0 32px;
    white-space: nowrap; color: #fff;
}
footer .rl-stores { justify-content: center; margin-bottom: 30px; }
footer .foot-social { display: flex; justify-content: center; gap: 14px; margin: 0 0 40px; }
footer .foot-social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-expo); }
footer .foot-social a:hover { background: #fff; color: var(--violet); transform: translateY(-2px); }
footer .foot-social a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
footer .foot-social svg { width: 22px; height: 22px; }
footer .foot-meta {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px;
    font-size: 0.9rem; color: #fff; opacity: 1;
}
footer .foot-meta a { color: #fff; border: 0; text-decoration: underline; text-underline-offset: 3px; }
footer .foot-meta a:hover { color: #fff; }

/* ── Carnet de socio: el cierre del reel ── */
.socio {
    position: relative; z-index: 2; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px); align-items: center;
    padding: clamp(80px, 11vw, 150px) clamp(20px, 7vw, 110px);
    background: var(--violet); color: #fff;
}
.socio h2 {
    font-family: var(--f-display); font-weight: 900; line-height: 0.94;
    font-size: clamp(3.4rem, 7.6vw, 7rem); text-transform: uppercase;
}
.socio-tacha { position: relative; display: inline-block; }
.socio-tacha i {
    position: absolute; left: -2%; right: -2%; top: 50%; height: 0.09em;
    background: var(--green); transform-origin: left;
}
.socio-sos { display: block; margin-top: 0.1em; color: var(--green); }
.socio p { margin-top: 22px; max-width: 42ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; }
.socio-cartas { position: relative; max-width: 560px; width: 100%; justify-self: center; padding: 9% 7% 0 0; }
.carnet {
    position: relative; aspect-ratio: 1.58; overflow: hidden;
    container-type: inline-size;
    border-radius: 7% / 11%; color: #fff;
    background: linear-gradient(135deg, #9D1CFF, #5A00C8 62%, #1C7A2E);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.carnet.pro {
    position: absolute; left: 7%; right: 0; top: 0;
    background: linear-gradient(135deg, #17140C, #050507 70%);
    box-shadow: 0 0 0 1px rgba(255, 200, 61, 0.5);
    color: var(--rl-gold);
}
.carnet-iso { position: absolute; left: 6.5cqw; top: 6.5cqw; height: 9cqw; filter: brightness(0) invert(1); }
.carnet-tit { position: absolute; left: 6.5cqw; top: 18cqw; font-size: 3.2cqw; font-weight: 900; letter-spacing: 0.1em; }
.carnet.pro .carnet-tit { left: auto; right: 6.5cqw; top: 6.5cqw; }
.carnet-nom { position: absolute; left: 6.5cqw; bottom: 16cqw; font-family: var(--f-display); font-size: 10cqw; font-weight: 900; line-height: 1; text-transform: uppercase; }
.carnet-num { position: absolute; left: 6.5cqw; bottom: 10.5cqw; font-size: 4cqw; font-weight: 800; font-variant-numeric: tabular-nums; }
.carnet-des { position: absolute; left: 6.5cqw; bottom: 6cqw; font-size: 2.8cqw; font-weight: 700; letter-spacing: 0.08em; opacity: 0.85; }
.carnet-foto {
    position: absolute; right: 6.5cqw; top: 6.5cqw; width: 27cqw; height: 35cqw; overflow: hidden;
    border-radius: 2.6cqw; background: #ECDDD8; border: 0.6cqw solid rgba(255, 255, 255, 0.9);
    color: #8F00FF;
}
.carnet-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.carnet-brillo {
    position: absolute; top: -30%; bottom: -30%; left: 0; width: 18%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: translateX(-200%) rotate(16deg);
}

@media (max-width: 900px) {
    .socio { grid-template-columns: minmax(0, 1fr); }
    .socio h2 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
}


.logo img { border-radius: 0; filter: brightness(0) invert(1); }
.logo:hover img { filter: brightness(0) invert(1); }
footer .link-cookies { color: #fff; }


/* Acceso a sponsors en el menú: píldora verde para que se vea. */
.nav-sponsors {
    padding: 0.72rem 1.3rem; border-radius: 50px;
    background: #41FF60; color: #07060D; text-decoration: none;
    font-size: 0.82rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease;
}
.nav-sponsors:hover { background: #fff; transform: translateY(-1px); }
.nav-sponsors:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) {
    .nav-sponsors { font-size: 0.72rem; padding: 0.6rem 0.9rem; }
    #main-nav .nav-right { gap: 6px; }
    #main-nav .lang-pill button { padding: 4px 7px; }
}
@media (max-width: 430px) {
    #main-nav .logo img { height: 28px; }
    #main-nav .nav-right { gap: 4px; }
    #main-nav .lang-pill button { padding: 4px 4px; font-size: 0.62rem; }
    #main-nav .btn-cta { padding: 0.55rem 0.6rem; font-size: 0.6rem; letter-spacing: 0.3px; }
    .nav-sponsors { font-size: 0.6rem; padding: 0.55rem 0.6rem; letter-spacing: 0.3px; }
}


/* Sin animaciones: el inicio como página común, ordenada y centrada. */
html:not(.anim) .rl-stage { padding-top: 112px; padding-bottom: 72px; }
html:not(.anim) .rl-open { gap: 20px; }
html:not(.anim) .rl-open h1 { width: 100%; text-align: center; white-space: normal; font-size: clamp(3.4rem, 15vw, 7rem); line-height: 1.02; }
html:not(.anim) .rl-open h1 .rl-l { display: block; }
html:not(.anim) .rl-open h1 [data-lang="en"] { font-size: 1em; }
html:not(.anim) .rl-desc { max-width: 34ch; text-align: center; }
html:not(.anim) .rl-stores { justify-content: center; }
html:not(.anim) .rl-copy { width: 100%; margin: 72px auto 0; gap: 44px; text-align: center; justify-items: center; }
html:not(.anim) .rl-beat, html:not(.anim) .rl-beat.der { width: 100%; max-width: 34rem; margin: 0 auto; text-align: center; }
html:not(.anim) .rl-beat h2 { font-size: clamp(2.6rem, 11vw, 4.4rem); line-height: 1; margin: 0 0 12px; }
html:not(.anim) .rl-beat p { margin: 0 auto; max-width: 34ch; }
html:not(.anim) .rl-phone { margin: 56px auto 0; }

/* Los seis botones de tienda miden lo mismo: ancho y alto salen del alto. */
.rl-stores img { aspect-ratio: 840 / 249; max-width: none; }
