/**
 * landing.css — Big Quiniela landing (bigquiniela.com)
 *
 * Rediseño 2026 v2 — "BIG". Tipografía display Space Grotesk, nav de cristal,
 * hero gigante con orbes de luz y líneas de cancha, marquesina de banderas,
 * countdown estilo marcador de estadio, grid bento.
 * Hooks intactos: #cd-*, .countdown__label, [data-es]/[data-en], .lang-toggle__btn
 */

/* ============================================================================
 * Tokens
 * ============================================================================ */

:root {
    --bg-deep: #050b18;
    --bg-navy: #081224;
    --ink: rgba(255, 255, 255, 0.94);
    --ink-soft: rgba(255, 255, 255, 0.66);
    --ink-faint: rgba(255, 255, 255, 0.42);

    --blue: #4a8fef;
    --blue-deep: #2f6fd8;
    --cyan: #7dd3fc;
    --electric: #38bdf8;
    --gold: #fde047;
    --gold-deep: #f59e0b;

    --glass: rgba(255, 255, 255, 0.045);
    --glass-border: rgba(255, 255, 255, 0.09);

    --font-display: "Space Grotesk", -apple-system, system-ui, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================================
 * Reset + base
 * ============================================================================ */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        radial-gradient(1200px 700px at 80% -15%, rgba(56, 189, 248, 0.13) 0%, transparent 60%),
        radial-gradient(900px 600px at 8% 20%, rgba(74, 143, 239, 0.10) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-navy) 55%, #060e1e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

::selection { background: rgba(56, 189, 248, 0.5); color: #fff; }

/* ============================================================================
 * NAV — barra de cristal fija
 * ============================================================================ */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(5, 11, 24, 0.72);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    border-bottom: 1px solid rgba(125, 211, 252, 0.10);
}

.nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.nav__logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.nav__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.nav__links {
    display: flex;
    gap: 6px;
}

.nav__links a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color 0.15s, background-color 0.15s;
}

.nav__links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav__cta {
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #04101e;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.15s var(--ease-spring), box-shadow 0.2s;
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

@media (max-width: 720px) {
    .nav__links { display: none; }
    .nav__inner { height: 60px; }
}

/* Lang toggle (dentro del nav) */
.lang-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.lang-toggle__btn {
    background: transparent;
    border: none;
    color: var(--ink-faint);
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.lang-toggle__btn:hover { color: #fff; }

.lang-toggle__btn.is-active {
    background: rgba(125, 211, 252, 0.18);
    color: var(--cyan);
}

/* ============================================================================
 * Layout
 * ============================================================================ */

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.container--narrow { max-width: 760px; }

.section { padding: 100px 0; position: relative; }

@media (max-width: 720px) {
    .section { padding: 64px 0; }
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0 0 28px;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section__body {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--ink-soft);
    text-align: center;
}

@media (max-width: 720px) {
    .section__body { font-size: 1rem; }
}

/* ============================================================================
 * HERO
 * ============================================================================ */

.hero {
    position: relative;
    padding: 160px 0 72px;
    overflow: hidden;
}

@media (max-width: 720px) {
    .hero { padding: 116px 0 48px; }
}

/* Orbes de luz flotantes */
.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.hero__orb--a {
    width: 480px; height: 480px;
    top: -140px; right: -80px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
    animation: orb-drift 14s ease-in-out infinite;
}

.hero__orb--b {
    width: 380px; height: 380px;
    bottom: -120px; left: -100px;
    background: radial-gradient(circle, rgba(74, 143, 239, 0.18) 0%, transparent 70%);
    animation: orb-drift 18s ease-in-out infinite reverse;
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-40px, 30px) scale(1.08); }
}

/* Líneas de cancha — círculo central sutil de fondo */
.hero__pitch {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle 260px at 50% 105%, transparent 258px, rgba(125, 211, 252, 0.07) 259px, rgba(125, 211, 252, 0.07) 261px, transparent 262px),
        linear-gradient(to right, transparent calc(50% - 1px), rgba(125, 211, 252, 0.05) 50%, transparent calc(50% + 1px));
    opacity: 0.8;
}

.hero__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 56px;
}

.hero__copy {
    text-align: center;
    max-width: 720px;
}

.hero__visual { display: none; }

@media (min-width: 980px) {
    .hero__grid {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 56px;
    }
    .hero__copy {
        text-align: left;
        flex: 1 1 58%;
    }
    .hero__visual {
        display: flex;
        flex: 0 0 auto;
        justify-content: center;
    }
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.09);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--cyan);
    margin-bottom: 28px;
    animation: rise 0.7s var(--ease-spring) both;
}

.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--electric);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
}

/* Título gigante */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7.5vw, 5.4rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.hero__title-line {
    display: block;
    color: #fff;
    animation: rise 0.7s var(--ease-spring) both;
}

.hero__title-line:nth-child(2) { animation-delay: 0.08s; }
.hero__title-line:nth-child(3) { animation-delay: 0.16s; }

.hero__title-line--accent {
    background: linear-gradient(100deg, var(--cyan) 0%, var(--electric) 45%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
}

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

.hero__subtitle {
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.65;
    animation: rise 0.7s var(--ease-spring) 0.22s both;
}

@media (min-width: 980px) {
    .hero__subtitle { margin-left: 0; }
}

@media (max-width: 720px) {
    .hero__subtitle { font-size: 1.02rem; margin-bottom: 30px; }
}

.hero__cta-row {
    animation: rise 0.7s var(--ease-spring) 0.3s both;
}

.hero__cta-hint {
    font-size: 0.85rem;
    color: var(--ink-faint);
    margin: 14px 0 0;
}

/* ============================================================================
 * CTA buttons
 * ============================================================================ */

.cta {
    display: inline-block;
    padding: 19px 44px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s var(--ease-spring), box-shadow 0.2s;
    will-change: transform;
}

.cta:hover { transform: translateY(-3px) scale(1.02); }
.cta:active { transform: translateY(-1px) scale(0.99); }

.cta--primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--electric) 45%, var(--blue) 100%);
    color: #04101e;
    box-shadow:
        0 12px 34px rgba(56, 189, 248, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.25);
}

.cta--primary:hover {
    box-shadow:
        0 18px 48px rgba(56, 189, 248, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.25);
}

.cta--xl {
    padding: 22px 56px;
    font-size: 1.25rem;
}

.cta--pro {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    border: none;
    color: #1a1408;
    margin-top: 26px;
    box-sizing: border-box;
    box-shadow:
        0 10px 28px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta--pro:hover {
    box-shadow:
        0 16px 40px rgba(245, 158, 11, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
    .cta { padding: 17px 32px; font-size: 1rem; }
    .cta--xl { padding: 18px 36px; font-size: 1.05rem; }
}

/* ============================================================================
 * Social proof
 * ============================================================================ */

.sp-proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 8px 16px 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(2, 6, 16, 0.35);
    animation: rise 0.7s var(--ease-spring) 0.38s both;
}

.sp-proof__avatars { display: flex; }

.sp-proof__avatars span {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #14233e;
    border: 2px solid var(--bg-deep);
    margin-left: -8px;
}

.sp-proof__avatars span:first-child { margin-left: 0; }

.sp-proof__text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.sp-proof__text b { color: var(--gold); font-weight: 800; }

/* ============================================================================
 * Phone mockup
 * ============================================================================ */

.ph {
    position: relative;
    width: 280px;
    height: 568px;
    background: linear-gradient(170deg, #0c1830 0%, #07101f 100%);
    border: 10px solid #182338;
    border-radius: 44px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(56, 189, 248, 0.16),
        0 0 0 1px rgba(125, 211, 252, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 18px 15px;
    overflow: hidden;
    animation: ph-float 6s ease-in-out infinite;
}

@keyframes ph-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-14px) rotate(-2deg); }
}

.ph::before { /* notch */
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #182338;
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.ph__screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding-top: 32px;
}

.ph__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px 4px;
}

.ph__title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.ph__pill {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cyan);
    background: rgba(125, 211, 252, 0.13);
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 999px;
    padding: 3px 9px;
}

.ph__match {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 13px 11px;
}

.ph__teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ph__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.ph__flag { font-size: 27px; line-height: 1; }

.ph__team-name {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.ph__score {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ph__score-box {
    width: 31px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 10px;
}

.ph__score-sep { color: rgba(255, 255, 255, 0.4); font-weight: 700; }

.ph__cta {
    margin-top: 11px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    color: #04101e;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    border-radius: 10px;
    padding: 9px;
}

.ph__rank-title {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.42);
    margin: 3px 0 -3px 3px;
}

.ph__rank {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 11px;
    padding: 9px 11px;
}

.ph__rank--me {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.32);
}

.ph__rank-pos {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    width: 16px;
}

.ph__rank-name {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
    flex: 1;
}

.ph__rank-pts {
    font-size: 11px;
    font-weight: 800;
    color: #86efac;
}

/* ============================================================================
 * Countdown — marcador de estadio
 * ============================================================================ */

.countdown {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(165deg, rgba(13, 26, 48, 0.85) 0%, rgba(7, 14, 28, 0.92) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 24px;
    padding: 30px 28px 26px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 24px 60px rgba(2, 6, 16, 0.5),
        0 0 70px rgba(56, 189, 248, 0.08);
    animation: rise 0.7s var(--ease-spring) 0.42s both;
    position: relative;
    overflow: hidden;
}

.countdown::before {
    content: "";
    position: absolute;
    top: 0; left: 18%; right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), transparent);
}

.countdown__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--cyan);
    margin-bottom: 18px;
    font-weight: 700;
}

.countdown__grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}

.countdown__colon {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(125, 211, 252, 0.35);
    align-self: center;
    padding-bottom: 18px;
    animation: pulse-dot 2s ease-in-out infinite;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(4, 10, 22, 0.7);
    border: 1px solid rgba(125, 211, 252, 0.12);
    border-radius: 16px;
    padding: 18px 10px 13px;
    min-width: 96px;
    flex: 0 1 auto;
}

.countdown__number {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 15%, var(--cyan) 140%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.countdown__caption {
    margin-top: 10px;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-faint);
    font-weight: 700;
}

@media (max-width: 560px) {
    .countdown { padding: 22px 14px 18px; }
    .countdown__grid { gap: 5px; }
    .countdown__colon { display: none; }
    .countdown__unit { min-width: 0; flex: 1; padding: 14px 4px 11px; }
    .countdown__number { font-size: 1.9rem; }
    .countdown__caption { font-size: 0.58rem; letter-spacing: 0.08em; }
}

/* ============================================================================
 * Marquesina de banderas
 * ============================================================================ */

.marquee {
    overflow: hidden;
    padding: 22px 0;
    border-top: 1px solid rgba(125, 211, 252, 0.08);
    border-bottom: 1px solid rgba(125, 211, 252, 0.08);
    background: rgba(4, 9, 20, 0.5);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee__group {
    font-size: 1.9rem;
    letter-spacing: 0.6em;
    white-space: nowrap;
    padding-right: 0.6em;
    opacity: 0.85;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================================
 * Stats
 * ============================================================================ */

.stats { padding: 64px 0 0; }

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 720px) {
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.stat {
    text-align: center;
    padding: 26px 14px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    transition: border-color 0.2s, transform 0.25s var(--ease-spring);
}

.stat:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-3px);
}

.stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 20%, var(--cyan) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================================
 * Bento features
 * ============================================================================ */

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.feature-card--wide { grid-column: span 2; }

@media (max-width: 860px) {
    .bento { grid-template-columns: 1fr; }
    .feature-card--wide { grid-column: span 1; }
}

.feature-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 32px 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.feature-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(2, 6, 16, 0.5);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 18px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, rgba(56, 189, 248, 0.16), rgba(74, 143, 239, 0.05));
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 16px;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 9px;
    color: #fff;
    letter-spacing: -0.015em;
}

.feature-card__body {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.62;
    font-size: 0.95rem;
    max-width: 480px;
}

.feature-card__deco {
    position: absolute;
    right: -16px;
    bottom: -22px;
    font-size: 7rem;
    opacity: 0.06;
    pointer-events: none;
    transform: rotate(-12deg);
}

/* ============================================================================
 * Cómo se juega — bloques hj- (antes inline en el HTML)
 * ============================================================================ */

.hj-body { padding: 6px 0 4px; }

.hj-intro {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.hj-rules {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 14px;
}

.hj-rule {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
}

.hj-rule__icon {
    flex-shrink: 0;
    width: 34px;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1;
}

.hj-rule__text { flex: 1; min-width: 0; }

.hj-rule__title {
    margin: 0 0 2px;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.hj-rule__example {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.hj-rule__pts {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.hj-rule__pts--5 { color: #86efac; }
.hj-rule__pts--4 { color: #7dd3fc; }
.hj-rule__pts--3 { color: #fde047; }
.hj-rule__pts--0 { color: #f87171; }

.hj-bonus {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(124, 58, 237, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.32);
    border-radius: 12px;
}

.hj-bonus__icon { flex-shrink: 0; font-size: 1.25rem; line-height: 1; }

.hj-bonus__text {
    flex: 1;
    font-size: 13.5px;
    color: rgba(221, 214, 254, 0.95);
    line-height: 1.55;
}

.hj-bonus__text strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

.hj-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.hj-breakdown__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}

.hj-breakdown__icon { font-size: 1.1rem; flex-shrink: 0; }
.hj-breakdown__text { flex: 1; }

.hj-breakdown__title {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.hj-breakdown__detail {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 2px 0 0;
}

.hj-breakdown__pts {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #fde047;
    flex-shrink: 0;
}

.hj-breakdown__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 13px;
    background: rgba(253, 224, 71, 0.08);
    border: 1px solid rgba(253, 224, 71, 0.25);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.hj-breakdown__total-pts {
    font-family: var(--font-display);
    color: #fde047;
    font-size: 15px;
}

.hj-pro-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    margin-top: 10px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 12px;
}

.hj-pro-tip__badge {
    flex-shrink: 0;
    background: #ff6b00;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 5px;
    margin-top: 2px;
}

.hj-pro-tip__text {
    flex: 1;
    font-size: 13.5px;
    color: rgba(255, 210, 170, 0.95);
    line-height: 1.55;
}

.hj-pro-tip__text strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

.hj-pro-tip__text a {
    display: inline-block;
    margin-top: 6px;
    color: #ff8a33;
    font-weight: 700;
    font-size: 13px;
}

.hj-pro-tip__text a:hover { text-decoration: underline; }

.hj-mode {
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    margin-bottom: 10px;
}

.hj-mode:last-of-type { margin-bottom: 0; }

.hj-mode__title {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.hj-mode__badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hj-mode__badge--default {
    background: rgba(125, 211, 252, 0.15);
    color: #7dd3fc;
    border: 1px solid rgba(125, 211, 252, 0.30);
}

.hj-mode__badge--advanced {
    background: rgba(251, 191, 36, 0.15);
    color: #fde047;
    border: 1px solid rgba(251, 191, 36, 0.30);
}

.hj-mode__desc {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

.hj-note {
    margin: 12px 0 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

/* ============================================================================
 * Pro
 * ============================================================================ */

.section--pro {
    background:
        radial-gradient(720px 380px at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 70%),
        rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pro-card {
    text-align: center;
    background: linear-gradient(160deg,
                rgba(251, 191, 36, 0.09) 0%,
                rgba(245, 158, 11, 0.025) 55%,
                rgba(255, 255, 255, 0.015) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 26px;
    padding: 48px 38px 42px;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 28px 70px rgba(2, 6, 16, 0.55);
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

@media (hover: hover) {
    .pro-card:hover {
        transform: translateY(-4px);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.07),
            0 34px 80px rgba(2, 6, 16, 0.6);
    }
}

.pro-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #1a1408;
    padding: 5px 18px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.pro-card__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: -0.02em;
}

.pro-card__subtitle {
    color: var(--ink-soft);
    margin: 0 0 26px;
}

.pro-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pro-card__amount {
    font-family: var(--font-display);
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #fff7d6 0%, var(--gold) 45%, var(--gold-deep) 110%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.pro-card__currency {
    font-size: 1.05rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.pro-card__price-hint {
    color: var(--ink-faint);
    font-size: 0.85rem;
    margin: 0 0 22px;
}

.px-urgency {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 4px auto 16px;
    padding: 9px 16px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #fde047;
}

.px-intl {
    margin: -6px auto 18px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.pro-card__features {
    list-style: none;
    padding: 0;
    margin: 0 auto 8px;
    text-align: left;
    max-width: 400px;
}

.pro-card__features li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.975rem;
}

.pro-card__features li:last-child { border-bottom: none; }

.pro-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #1a1408;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ============================================================================
 * FAQ
 * ============================================================================ */

.faq-item {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 32px rgba(2, 6, 16, 0.35);
}

.faq-item__q {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 650;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
    transition: background-color 0.15s;
}

.faq-item__q:hover { background: rgba(255, 255, 255, 0.025); }

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
    content: "+";
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--cyan);
    font-weight: 400;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 50%;
    transition: transform 0.25s var(--ease-spring), background-color 0.2s;
    flex-shrink: 0;
}

.faq-item[open] .faq-item__q::after {
    content: "−";
    transform: rotate(180deg);
    background: rgba(56, 189, 248, 0.18);
}

.faq-item > .hj-body,
.faq-item__a {
    padding: 2px 24px 20px;
}

.faq-item__a {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ============================================================================
 * CTA final
 * ============================================================================ */

.final-cta {
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(640px 320px at 50% 60%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 12px;
    color: #fff;
}

.final-cta__sub {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin: 0 0 36px;
}

@media (max-width: 720px) {
    .final-cta { padding: 72px 0; }
}

/* ============================================================================
 * Footer
 * ============================================================================ */

.footer {
    padding: 48px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(2, 6, 14, 0.55);
}

.footer__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer__logo {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer__logo-img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: cover;
    vertical-align: middle;
}

.footer__tagline {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.footer__nav a {
    color: var(--ink-soft);
    font-size: 0.9rem;
    transition: color 0.15s;
}

.footer__nav a:hover { color: var(--cyan); }

.footer__nav .footer__sep {
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

.footer__copy {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer__fifa {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* ============================================================================
 * Legal pages (privacy / terms)
 * ============================================================================ */

.legal-page {
    padding: 110px 24px 80px;
    max-width: 760px;
    margin: 0 auto;
}

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-faint);
    margin-bottom: 32px;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.legal-page__back:hover { color: #fff; }

.legal-page h1 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: -0.02em;
}

.legal-page__updated {
    color: rgba(255, 255, 255, 0.40);
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: #fff;
}

.legal-page p, .legal-page li {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 12px;
}

.legal-page ul { padding-left: 24px; }

/* ============================================================================
 * Hero legacy (por si terms/privacy u otra página usa .hero__logo)
 * ============================================================================ */

.hero__logo {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 24px;
}

/* ============================================================================
 * Accesibilidad: reduce motion
 * ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee__track { animation: none; }
}
