@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0F0F12;
    --red: #E50914;
    --gold: #b8a53a;
    --text: #FFFFFF;
    --text-muted: #A8A8B2;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

/* Fondo: degradado rojo → negro + textura lona */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(145deg, var(--red) 0%, transparent 42%),
        var(--bg);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.06;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.4) 3px, rgba(255,255,255,0.4) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(255,255,255,0.4) 3px, rgba(255,255,255,0.4) 4px);
    pointer-events: none;
}

h1, h2, h3, .display {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.05;
    margin: 0;
}

a { color: var(--gold); }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Nav ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(15, 15, 18, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.nav-brand img { width: 36px; height: 36px; object-fit: contain; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    cursor: pointer;
}

/* ── Botones ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, #e6c200, var(--gold));
    color: #0F0F12;
    box-shadow: 0 8px 28px rgba(229, 9, 20, 0.45);
}

.btn-gold--cutout {
    isolation: isolate;
}

.btn-gold:hover {
    box-shadow: 0 12px 36px rgba(229, 9, 20, 0.6);
    filter: brightness(1.05);
}

.btn-gold--cutout:hover {
    background: linear-gradient(135deg, #f0d000, #ffe44d);
    box-shadow: 0 12px 36px rgba(229, 9, 20, 0.6);
    filter: none;
}

.btn-icon {
    flex-shrink: 0;
    display: block;
}

.btn-icon--play {
    mix-blend-mode: destination-out;
}

.btn-icon--play path {
    fill: #000;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255, 215, 0, 0.4);
    transform: scale(1.03);
}

/* ── Layout ── */
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 5rem 1.5rem;
    overflow-x: clip;
}

.section-label {
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(2.2rem, 5.5vw, 3.2rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: var(--max);
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
    overflow-x: clip;
}

.hero-text h1 {
    font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    margin-bottom: 1.25rem;
    text-shadow: 2px 2px 0 rgba(229, 9, 20, 0.35);
}

.hero-text .subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hero-brand {
    margin-bottom: 1.25rem;
}

.hero-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(229, 9, 20, 0.45));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 0 28px rgba(229, 9, 20, 0.6));
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.08);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Hero: dos teléfonos ── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding: 1.5rem 0;
}

.hero-phones {
    position: relative;
    width: 100%;
    max-width: 460px;
    min-height: 540px;
    padding: 1.5rem 0 2rem;
}

.hero-phone {
    position: absolute;
    margin: 0;
    width: 215px;
}

.hero-phone--back {
    left: 0;
    top: 28px;
    z-index: 1;
    animation: phoneFloatBack 6s ease-in-out infinite;
}

.hero-phone--front {
    right: 0;
    top: 0;
    z-index: 2;
    animation: phoneFloatFront 5.5s ease-in-out infinite;
}

@keyframes phoneFloatBack {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-12px) rotate(-3deg); }
}

@keyframes phoneFloatFront {
    0%, 100% { transform: translateY(0) rotate(4deg); }
    50% { transform: translateY(-16px) rotate(2deg); }
}

.hero-phone__glow {
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 0;
    right: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(229, 9, 20, 0.35), transparent 65%);
    filter: blur(24px);
    pointer-events: none;
}

.hero-phone__glow--gold {
    background: radial-gradient(ellipse at 50% 80%, rgba(255, 215, 0, 0.2), transparent 65%);
}

.hero-phone__device {
    position: relative;
    z-index: 1;
    background: linear-gradient(155deg, #2a2a30 0%, #121214 55%, #0a0a0c 100%);
    border-radius: 25px;
    padding: 4px;
    overflow: hidden;
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.55),
        0 0 0 0.5px rgba(255, 255, 255, 0.15),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.1);
}

.hero-phone--front .hero-phone__device {
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.08),
        0 0 0 1px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-phone__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 14px;
    background: #0a0a0c;
    border-radius: 8px;
    z-index: 3;
}

.hero-phone__screen {
    position: relative;
    margin: -2px;
    border-radius: 22px;
    overflow: hidden;
    background: #0F0F12;
    line-height: 0;
    aspect-ratio: 1170 / 2532;
}

.hero-phone__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1);
    transform-origin: center top;
}

.hero-phone__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1rem;
    text-align: center;
    background:
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.02) 10px, rgba(255,255,255,0.02) 20px),
        linear-gradient(160deg, rgba(229, 9, 20, 0.08), #0F0F12);
    border: 1px dashed rgba(255, 215, 0, 0.25);
    margin: 6px;
    border-radius: 20px;
    transition: opacity 0.35s;
}

.hero-phone__placeholder span {
    font-family: ui-monospace, monospace;
    font-size: 0.65rem;
    color: var(--gold);
}

.hero-phone__placeholder small {
    font-size: 0.6rem;
    color: var(--text-muted);
}

.hero-phone:not(.is-empty) .hero-phone__placeholder {
    opacity: 0;
    pointer-events: none;
}

.hero-phone__caption {
    margin-top: 0.65rem;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.hero-phone--front .hero-phone__caption {
    color: var(--gold);
}

/* ── Media slots (marcos premium) ── */
.media-slot {
    position: relative;
    margin: 0;
    width: 100%;
}

.media-slot__ambient {
    position: absolute;
    top: -12%;
    bottom: -12%;
    left: 0;
    right: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 30% 90%, rgba(229, 9, 20, 0.22), transparent 55%);
    filter: blur(28px);
    pointer-events: none;
}

.media-slot__ambient--gold {
    background: radial-gradient(ellipse at 50% 100%, rgba(255, 215, 0, 0.12), transparent 60%);
}

.media-slot__frame {
    position: relative;
    z-index: 1;
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.45), rgba(229, 9, 20, 0.25), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.5),
        0 0 48px rgba(229, 9, 20, 0.12);
}

.media-slot__frame--compact {
    border-radius: 14px;
    padding: 2px;
}

.media-slot__frame--gold {
    background: linear-gradient(145deg, var(--gold), rgba(229, 9, 20, 0.4));
    box-shadow: 0 0 32px rgba(255, 215, 0, 0.18);
}

.media-slot__inner {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    background: #0a0a0c;
    line-height: 0;
}

/* El marco se adapta al asset — sin recortar */
.media-slot__inner img,
.media-slot__inner video {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
}

/* Placeholder mantiene proporción mientras no hay archivo */
.media-slot.is-empty.media-slot--vertical .media-slot__inner {
    aspect-ratio: 9 / 16;
    min-height: 420px;
}

.media-slot.is-empty.media-slot--wide .media-slot__inner {
    aspect-ratio: 16 / 9;
    min-height: 200px;
}

.media-slot--vertical {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.media-slot--wide .media-slot__inner {
    border-radius: 18px;
}


/* Esquinas tipo visor (cara/fina) */
.media-slot__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    z-index: 3;
    pointer-events: none;
}

.media-slot__corner--tl { top: 10px; left: 10px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.media-slot__corner--tr { top: 10px; right: 10px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.media-slot__corner--bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.media-slot__corner--br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.media-slot__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.06) 0%, transparent 45%);
}

/* Vignette inferior solo en banner horizontal */
.media-slot--wide .media-slot__vignette {
    background:
        linear-gradient(to top, rgba(15, 15, 18, 0.5) 0%, transparent 35%),
        linear-gradient(135deg, rgba(229, 9, 20, 0.06) 0%, transparent 45%);
}

.media-slot__label {
    position: absolute;
    bottom: 1rem;
    left: 1.25rem;
    z-index: 3;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.4s;
}

.media-slot:not(.is-empty) .media-slot__label { opacity: 0.85; }

/* Placeholder (visible solo sin asset) */
.media-slot__placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    text-align: center;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 12px,
            rgba(255, 255, 255, 0.015) 12px,
            rgba(255, 255, 255, 0.015) 24px
        ),
        linear-gradient(160deg, rgba(229, 9, 20, 0.06), rgba(15, 15, 18, 0.95));
    border: 1px dashed rgba(255, 215, 0, 0.2);
    margin: 1rem;
    border-radius: 12px;
    transition: opacity 0.4s;
}

.media-slot__placeholder--sm {
    margin: 0.5rem;
    padding: 1rem;
    gap: 0.25rem;
}

.media-slot:not(.is-empty) .media-slot__placeholder { opacity: 0; pointer-events: none; }

.media-slot__icon { font-size: 2rem; opacity: 0.7; }

.media-slot__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: var(--text);
}

.media-slot__file {
    font-size: 0.72rem;
    font-family: ui-monospace, monospace;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Guía estética bajo el marco */
.media-slot__guide {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--red);
    border-radius: 0 10px 10px 0;
    transition: opacity 0.4s, max-height 0.4s;
}

.media-slot__guide--sm {
    margin-top: 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.72rem;
    border-left-width: 2px;
}

.media-slot:not(.is-empty) .media-slot__guide { opacity: 0; max-height: 0; margin: 0; padding: 0; overflow: hidden; border: none; }

.media-slot__guide strong { color: var(--text); font-weight: 600; }

.media-slot__specs {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-family: ui-monospace, monospace;
    color: rgba(255, 215, 0, 0.65);
}

/* Wide slot en experiencia */
.media-slot--wide {
    margin-top: 3rem;
}

/* Promotores: cinema + duo fallback */
.promo-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.promo-duo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.promo-duo__arrow {
    font-size: 1.4rem;
    color: var(--gold);
    opacity: 0.6;
    animation: arrowBlink 2s ease-in-out infinite;
}

@keyframes arrowBlink {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Si hay video, ocultar duo (usa solo video) */
#slot-promo-video:not(.is-empty) ~ .promo-duo {
    display: none;
}

/* ── Glass cards (Experiencia) ── */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: border-color 0.3s, transform 0.3s;
}

.glass-card:hover {
    border-color: rgba(255, 215, 0, 0.25);
    transform: translateY(-4px);
}

.glass-card .icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ── Motor del Roster ── */
.section--roster {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.roster-section {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
}

.roster-steps-list {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roster-steps-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: background 0.4s, border-color 0.4s, color 0.4s;
}

.roster-steps-list__item.is-active {
    background: rgba(229, 9, 20, 0.08);
    border-color: rgba(229, 9, 20, 0.25);
    color: var(--text);
}

.roster-steps-list__num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.4s;
}

.roster-steps-list__item.is-active .roster-steps-list__num {
    opacity: 1;
}

.roster-copy {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--red);
    background: rgba(229, 9, 20, 0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.roster-visual {
    background: linear-gradient(160deg, rgba(229, 9, 20, 0.06) 0%, rgba(15, 15, 18, 0.6) 40%, rgba(255, 215, 0, 0.04) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.roster-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(229, 9, 20, 0.12), transparent 55%);
    pointer-events: none;
}

/* ── Roster Engine Animation ── */
.roster-engine {
    position: relative;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 1;
}

.roster-engine__layer {
    width: 100%;
    transition: opacity 0.5s, transform 0.5s;
}

.roster-engine__layer.is-dim {
    opacity: 0.35;
    transform: scale(0.97);
}

.roster-engine__layer.is-highlight {
    opacity: 1;
    transform: scale(1.02);
}

.roster-engine__layer-label {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 0.6rem;
    text-transform: uppercase;
}

/* Contrib cards */
.roster-contribs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.roster-contrib {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.65rem 0.4rem;
    text-align: center;
    animation: contribFloat 3s ease-in-out infinite;
}

.roster-contrib:nth-child(2) { animation-delay: -1s; }
.roster-contrib:nth-child(3) { animation-delay: -2s; }

@keyframes contribFloat {
    0%, 100% { transform: translateY(0); border-color: rgba(255, 255, 255, 0.08); }
    50% { transform: translateY(-4px); border-color: rgba(229, 9, 20, 0.35); }
}

.roster-contrib__icon {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.roster-contrib__name {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--text);
}

.roster-contrib__dot {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red);
    animation: dotPulse 1.5s ease-in-out infinite;
}

.roster-contrib:nth-child(2) .roster-contrib__dot { animation-delay: 0.5s; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.roster-contrib:nth-child(3) .roster-contrib__dot { animation-delay: 1s; }

@keyframes dotPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(0.8); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* Data streams */
.roster-streams {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 70%;
    height: 36px;
    position: relative;
}

.roster-streams--down {
    grid-template-columns: 1fr;
    width: 40px;
    height: 32px;
}

.roster-stream {
    position: relative;
    display: flex;
    justify-content: center;
}

.roster-stream::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--red), rgba(229, 9, 20, 0.1));
    border-radius: 2px;
}

.roster-stream--2::before { background: linear-gradient(to bottom, var(--gold), rgba(255, 215, 0, 0.1)); }
.roster-stream--3::before { background: linear-gradient(to bottom, var(--red), rgba(229, 9, 20, 0.1)); }

.roster-stream--center::before {
    background: linear-gradient(to bottom, var(--gold), rgba(255, 215, 0, 0.15));
}

.roster-stream__packet {
    position: absolute;
    top: 0;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red);
    animation: packetFlow 2s ease-in-out infinite;
}

.roster-stream--2 .roster-stream__packet { animation-delay: 0.65s; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.roster-stream--3 .roster-stream__packet { animation-delay: 1.3s; }

.roster-stream__packet--gold {
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
    animation-duration: 1.8s;
}

@keyframes packetFlow {
    0% { top: 0; opacity: 0; transform: scale(0.5); }
    15% { opacity: 1; transform: scale(1); }
    85% { opacity: 1; }
    100% { top: calc(100% - 8px); opacity: 0; transform: scale(0.5); }
}

/* Processing hub */
.roster-hub {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roster-hub__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: hubRingSpin 8s linear infinite;
}

.roster-hub__ring--1 {
    inset: 0;
    border-color: rgba(229, 9, 20, 0.3);
    animation-duration: 12s;
}

.roster-hub__ring--2 {
    inset: 12px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 10s;
}

.roster-hub__ring--3 {
    inset: 24px;
    border-color: rgba(255, 215, 0, 0.35);
    animation-duration: 6s;
}

@keyframes hubRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.roster-hub__core {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(229, 9, 20, 0.25), rgba(15, 15, 18, 0.95));
    border: 2px solid rgba(255, 215, 0, 0.45);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.25), inset 0 0 20px rgba(255, 215, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: hubPulse 2.5s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(229, 9, 20, 0.2), inset 0 0 15px rgba(255, 215, 0, 0.05); }
    50% { box-shadow: 0 0 40px rgba(229, 9, 20, 0.45), 0 0 20px rgba(255, 215, 0, 0.15), inset 0 0 25px rgba(255, 215, 0, 0.08); }
}

.roster-hub__icon {
    font-size: 1.2rem;
    animation: hubIconSpin 4s linear infinite;
}

@keyframes hubIconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.roster-hub__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text);
    margin-top: 0.15rem;
}

.roster-hub__sub {
    font-size: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-top: 0.1rem;
    line-height: 1.3;
}

/* Archive stack */
.roster-archive {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.roster-archive__stack {
    position: relative;
    width: 72px;
    height: 56px;
}

.roster-archive__layer-item {
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: archiveStack 3s ease-in-out infinite;
}

.roster-archive__layer-item:nth-child(1) { bottom: 0; animation-delay: 0s; }
.roster-archive__layer-item:nth-child(2) { bottom: 12px; animation-delay: 0.3s; }
.roster-archive__layer-item:nth-child(3) { bottom: 24px; animation-delay: 0.6s; }
.roster-archive__layer-item--top {
    bottom: 36px;
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.35);
    animation-delay: 0.9s;
}

@keyframes archiveStack {
    0%, 100% { opacity: 0.5; transform: scaleX(0.92); }
    50% { opacity: 1; transform: scaleX(1); }
}

.roster-archive__title {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.roster-archive__meta {
    display: block;
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* Community outcome */
.roster-community {
    text-align: center;
    padding-top: 0.5rem;
}

.roster-community__nodes {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}

.roster-community__node {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.9rem;
    animation: communityPulse 2s ease-in-out infinite;
}

.roster-community__node:nth-child(2) { animation-delay: 0.4s; border-color: rgba(255, 215, 0, 0.3); }
.roster-community__node:nth-child(3) { animation-delay: 0.8s; }

@keyframes communityPulse {
    0%, 100% { transform: scale(1); box-shadow: none; }
    50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(255, 215, 0, 0.2); }
}

.roster-community__text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 0;
}

/* ── Promotores ── */
.promo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}


.promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.promo-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
}

/* ── Apoyo ── */
.support-section {
    text-align: center;
    padding: 5rem 1.5rem 6rem;
    max-width: 720px;
    margin: 0 auto;
}

.support-slogan {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--gold);
    letter-spacing: 0.06em;
    margin: 0.5rem 0 1.5rem;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
}

.support-copy {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.support-tiers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tier-pill {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 140px;
}

.tier-pill.featured {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.1);
}

.tier-pill .name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.tier-pill .price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.support-legal {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ── Footer ── */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem 1.5rem;
    overflow-x: clip;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 360px;
    margin: 0.5rem 0 0;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-col h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    margin: 0 0 0.6rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li { margin-bottom: 0.35rem; }

.footer-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    max-width: var(--max);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Legal pages ── */
.legal-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

.legal-page h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.legal-page .last-update {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.legal-page p, .legal-page li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-back {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.legal-back:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: 6rem;
    }

    .hero-text .subtitle { margin-left: auto; margin-right: auto; }
    .hero-brand { display: flex; justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; max-width: 100%; padding: 1rem 0; }
    .hero-phones { max-width: min(340px, 100%); min-height: 460px; padding: 1.25rem 0 1.75rem; }
    .hero-phone { width: 175px; }

    @keyframes phoneFloatBack {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
    }

    @keyframes phoneFloatFront {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-16px); }
    }
    .hero-phone--back { top: 36px; }

    .glass-grid { grid-template-columns: 1fr; }
    .roster-section,
    .promo-section { grid-template-columns: 1fr; }
    .promo-duo { grid-template-columns: 1fr; }
    .promo-duo__arrow { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 15, 18, 0.97);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .site-nav { position: fixed; }

    .footer-inner { flex-direction: column; }
}
