/* =========================================================
   germany/faceoff.css | generado por _build/build.py
   Paleta de germany/index.css + /faceoff.css original. NO EDITAR AQUÍ:
   cambia el original, index.css o _build/templates/css/ y reconstruye.
   ========================================================= */

:root {
    --bg-black: #050505;
    --bg-deep: #3a0000;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;

    --card-bg: rgba(20, 0, 0, 0.8);
    --card-bg-hover: rgba(40, 0, 0, 0.9);
    --card-border: #cc0000;

    --accent: #ffcc00;
    --accent-soft: rgba(255, 204, 0, 0.14);
    --accent-line: rgba(255, 204, 0, 0.35);
    --accent-glow: rgba(255, 204, 0, 0.5);
    --accent-peak: #ffcc00;

    --badge-bg: #cc0000;
    --badge-fg: #ffcc00;
    --cta-bg: #ffcc00;
    --cta-fg: #1f1600;

    --feat-bg: rgba(32, 2, 2, 0.92);
    --track-bg: rgba(16, 0, 0, 0.6);
}

:root {
    --neon-blue: var(--accent);
    --neon-blue-glow: var(--accent-glow);
    --bg-color: var(--bg-black);
    --border-dark: #1f2430;
    --neon-pink: #ff0055;
    --neon-pink-glow: rgba(255, 0, 85, 0.4);
}

/* ---- faceoff.css original (raíz), con el color de la liga ---- */
/* =========================================
   index.css | THE PUCK GAMES LANDING
   v1.3 — featured career simulator + polish
   ========================================= */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top, #111827 0%, var(--bg-color) 70%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img, svg { max-width: 100%; }

/* --- ACCESIBILIDAD: SALTAR AL CONTENIDO --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--neon-blue);
    color: #04111a;
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 0 0 10px 0;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* --- FOCO VISIBLE PARA TECLADO --- */
a:focus-visible,
.game-card:focus-visible,
.league-item:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 3px;
    border-radius: 12px;
}

/* --- HUB HERO --- */
.hub-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    text-align: center;
}

.hub-title {
    font-size: clamp(2rem, 5vw, 2.9rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin: 0 0 0.6rem;
}

.hub-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem;
    max-width: 46ch;
    line-height: 1.5;
}

/* Compatibilidad con el título antiguo */
.selection-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}

/* --- GAME CARDS --- */
.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    background: rgba(20, 26, 38, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-blue);
    background: #1a222e;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.card-glow {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, color-mix(in srgb, var(--neon-blue) 10%, transparent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.game-card:hover .card-glow { opacity: 1; }

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.game-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.game-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0 0 25px;
}

/* =========================================
   TARJETA DESTACADA · CAREER SIMULATOR
   (ocupa el ancho de 3 tarjetas)
   ========================================= */
.game-card.featured-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 34px;
    align-items: center;
    text-align: left;
    padding: 64px 36px 36px;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--neon-blue) 22%, transparent);
    background:
        radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--neon-blue) 10%, transparent) 0%, transparent 55%),
        rgba(17, 23, 34, 0.92);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.game-card.featured-card:hover {
    transform: translateY(-4px);
    background:
        radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--neon-blue) 16%, transparent) 0%, transparent 55%),
        rgba(20, 27, 40, 0.95);
    border-color: color-mix(in srgb, var(--neon-blue) 55%, transparent);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* Etiqueta superior de la tarjeta destacada */
.card-badge.featured-flag {
    position: absolute;
    top: 20px;
    left: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--neon-blue) 18%, transparent), rgba(13, 17, 26, 0.9));
    border: 1px solid var(--neon-blue);
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--neon-blue);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 0 14px 2px color-mix(in srgb, var(--neon-blue) 22%, transparent);
    z-index: 10;
}

.featured-main {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.featured-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 14px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

.featured-title {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -1.2px;
    line-height: 1.05;
    margin: 0 0 14px;
    color: #fff;
}

.featured-desc {
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 20px;
    max-width: 52ch;
}

.featured-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.featured-facts li {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 6px 13px;
}

.featured-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--neon-blue);
    color: #04111a;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--neon-blue) 18%, transparent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-card:hover .featured-action {
    transform: translateX(4px);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--neon-blue) 32%, transparent);
}

.featured-card:hover .featured-action svg {
    transform: none;
}

/* --- LÍNEA TEMPORAL DE LA CARRERA --- */
.career-track {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background: rgba(9, 12, 19, 0.6);
    padding: 22px 20px;
    min-width: 0;
}

.track-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin: 0 0 16px;
}

.track-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    position: relative;
}

.track-list::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--neon-blue) 60%, transparent), color-mix(in srgb, var(--neon-blue) 5%, transparent));
}

.track-step {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.87rem;
}

.track-step::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0d111a;
    border: 2px solid color-mix(in srgb, var(--neon-blue) 55%, transparent);
}

.track-step.is-peak::before {
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.track-step.is-end::before {
    border-color: rgba(255, 255, 255, 0.25);
}

.track-age {
    font-weight: 900;
    color: var(--neon-blue);
    font-variant-numeric: tabular-nums;
}

.track-event {
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-ovr {
    font-weight: 800;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 3px 8px;
    min-width: 38px;
    text-align: center;
}

.track-step.is-peak .track-ovr {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.track-step.is-end .track-ovr {
    color: rgba(255, 255, 255, 0.35);
}

/* --- RESPONSIVE DE LA TARJETA DESTACADA --- */
@media (max-width: 880px) {
    .game-card.featured-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 58px 24px 28px;
    }

    .card-badge.featured-flag { left: 24px; }

    .featured-desc { font-size: 0.96rem; }
}

@media (max-width: 420px) {
    .track-event { font-size: 0.8rem; }
    .career-track { padding: 18px 14px; }
}

/* --- ETIQUETA "DAILY" ESTILO NEÓN --- */
.card-badge.daily {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.9), rgba(13, 17, 26, 0.95));
    border: 1px solid var(--neon-yellow-green);
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--neon-yellow-green);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px 2px var(--neon-yellow-green-glow);
    z-index: 10;
    animation: pulsingNeonBadge 2.5s infinite;
}

@keyframes pulsingNeonBadge {
    0% { box-shadow: 0 0 10px 2px var(--neon-yellow-green-glow); transform: scale(1); }
    50% { box-shadow: 0 0 18px 4px var(--neon-yellow-green-glow); transform: scale(1.02); }
    100% { box-shadow: 0 0 10px 2px var(--neon-yellow-green-glow); transform: scale(1); }
}

/* --- CARD ACTION (BOTTOM) --- */
.card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.play-text {
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.game-card:hover .card-action {
    color: var(--neon-blue);
    border-top-color: color-mix(in srgb, var(--neon-blue) 20%, transparent);
}

.game-card:hover svg {
    transform: translateX(5px);
}

.card-action svg { transition: transform 0.3s ease; }

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    width: 100%;
    margin: 4rem 0 0 0;
    padding: 4rem 2rem;
    border-top: 1px solid color-mix(in srgb, var(--neon-blue) 20%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--neon-blue) 20%, transparent);
    background: rgba(13, 17, 26, 0.4);
    box-sizing: border-box;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.faq-title .accent {
    color: var(--neon-blue);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--neon-blue);
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 70ch;
}

.faq-answer strong {
    color: #fff;
    font-weight: 700;
}

/* =========================================
   COMING SOON & LOCKED CARDS
   ========================================= */
.card-badge.coming-soon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, rgba(30, 20, 10, 0.95), rgba(15, 10, 5, 0.98));
    border: 1px solid #ff9d00;
    border-radius: 50px;
    padding: 6px 16px;
    color: #ff9d00;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 12px 1px rgba(255, 157, 0, 0.3);
    z-index: 10;
}

.game-card.locked {
    cursor: not-allowed !important;
    background: rgba(10, 13, 20, 0.8) !important;
    border: 1px dashed rgba(255, 157, 0, 0.3) !important;
    position: relative;
    z-index: 1;
}

.game-card.locked::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.015) 10px,
        rgba(255, 255, 255, 0.015) 20px
    );
    pointer-events: none;
    z-index: -1;
}

.game-card.locked > .card-icon,
.game-card.locked > .card-content {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(0.5);
}

.game-card.locked:hover {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
    border-color: rgba(255, 157, 0, 0.6) !important;
}

.game-card.locked:hover > .card-icon,
.game-card.locked:hover > .card-content {
    opacity: 0.7;
}

.game-card.locked .card-glow {
    display: none !important;
}

.game-card.locked .card-action {
    color: rgba(255, 255, 255, 0.3) !important;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
}

.game-card.locked:hover .card-action {
    color: rgba(255, 255, 255, 0.4) !important;
}

.game-card.locked:hover svg {
    transform: none !important;
}

/* --- ETIQUETA "BETA" ESTILO NEÓN VERDE --- */
.card-badge.beta {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, rgba(20, 26, 38, 0.9), rgba(13, 17, 26, 0.95));
    border: 1px solid #00ff88;
    border-radius: 50px;
    padding: 6px 16px;
    color: #00ff88;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px 2px rgba(0, 255, 136, 0.3);
    z-index: 10;
    animation: pulsingBetaBadge 2.5s infinite;
}

@keyframes pulsingBetaBadge {
    0% { box-shadow: 0 0 10px 2px rgba(0, 255, 136, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 18px 4px rgba(0, 255, 136, 0.6); transform: scale(1.02); }
    100% { box-shadow: 0 0 10px 2px rgba(0, 255, 136, 0.3); transform: scale(1); }
}

/* --- ETIQUETA "NEW" (naranja, sin estilos inline) --- */
.card-badge.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, rgba(30, 20, 10, 0.95), rgba(15, 10, 5, 0.98));
    border: 1px solid #ff9d00;
    border-radius: 50px;
    padding: 6px 16px;
    color: #ff9d00;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 10px 2px rgba(255, 157, 0, 0.3);
    z-index: 10;
}

/* =========================================
   LEAGUES BAR (HORIZONTAL)
   ========================================= */
.leagues-bar {
    display: flex;
    flex-wrap: wrap;
    background: rgba(20, 26, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    max-width: 760px;
    margin: 0 auto 2.5rem auto;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.league-item {
    flex: 1 1 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.league-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.league-item:hover:not(.locked) {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.league-item.active {
    background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--neon-blue) 15%, transparent));
    color: #fff;
    box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--neon-blue) 80%, transparent);
}

.league-item.locked {
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.25);
    background: rgba(10, 13, 20, 0.4);
}

.league-lock {
    color: #ff9d00;
    opacity: 0.7;
}

.league-item.locked:hover {
    background: rgba(255, 157, 0, 0.05);
}

/* --- RESPONSIVE GENERAL --- */
@media (max-width: 600px) {
    .hub-container {
        padding: 2rem 1rem 3.5rem;
    }

    .hub-subtitle { margin-bottom: 2rem; }

    .leagues-bar {
        flex-direction: column;
        border-radius: 12px;
    }

    .league-item:not(:last-child)::after {
        display: none;
    }

    .league-item.active {
        box-shadow: inset 3px 0 0 color-mix(in srgb, var(--neon-blue) 80%, transparent);
    }

    .faq-section { padding: 3rem 1.25rem; }
}

/* --- MOVIMIENTO REDUCIDO --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   MÓVIL
   Antes solo había unas pocas reglas sueltas repartidas.
   Esto cubre todos los bloques de la página de una vez.
   ========================================================= */

/* Nada debe desbordar a lo ancho en ningún tamaño */
html, body { overflow-x: hidden; }
.hub-container, .games-showcase, .featured-card, .faq-container { max-width: 100%; }
.hub-container * { min-width: 0; }

/* ---------- TABLET ---------- */
@media (max-width: 900px) {
    .hub-container { padding: 2.2rem 1.25rem 3.5rem; }
    .games-showcase { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
    .game-card { padding: 24px 22px; }
    .featured-card { padding: 26px 24px; }
}

/* ---------- MÓVIL ---------- */
@media (max-width: 640px) {
    .hub-container {
        padding: 1.5rem 1rem calc(3rem + env(safe-area-inset-bottom));
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .hub-hero { margin-bottom: 1.6rem; }
    .hub-title { font-size: clamp(1.5rem, 7.5vw, 2rem); letter-spacing: -.5px; }
    .hub-subtitle { font-size: .88rem; line-height: 1.55; }

    /* --- Tarjetas de juego: una por fila, en horizontal --- */
    .games-showcase { grid-template-columns: 1fr; gap: 10px; }

    .game-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 15px 16px;
        border-radius: 16px;
        text-align: left;
        min-height: 76px;
    }
    .card-icon { font-size: 1.9rem; flex-shrink: 0; margin: 0; }
    .card-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
    .game-title { font-size: 1rem; margin: 0; }
    .game-desc {
        font-size: .78rem; line-height: 1.4; margin: 0;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    /* La llamada a la acción sobra: la tarjeta entera ya es pulsable */
    .card-action { display: none; }
    .card-badge { top: 8px; right: 8px; font-size: .52rem; padding: 3px 8px; }

    /* --- Tarjeta destacada --- */
    .featured-card { padding: 20px 18px; border-radius: 18px; }
    .featured-icon { font-size: 1.9rem; margin-bottom: 10px; }
    .featured-title { font-size: 1.35rem; line-height: 1.15; }
    .featured-desc { font-size: .86rem; line-height: 1.55; }
    .featured-facts { gap: 6px; margin-bottom: 18px; }
    .featured-facts li { font-size: .7rem; padding: 5px 10px; }
    .featured-cta { width: 100%; }
    .featured-action { width: 100%; justify-content: center; padding: 14px 20px; }
    .featured-flag { width: 26px; height: 19px; }

    /* --- Línea temporal de la carrera --- */
    .career-track { padding: 16px 14px; border-radius: 14px; }
    .track-list { padding-left: 16px; }
    .track-step { gap: 8px; }
    .track-age { font-size: .68rem; min-width: 30px; }
    .track-event { font-size: .78rem; }
    .track-ovr { font-size: .68rem; }

    /* --- Preguntas frecuentes --- */
    .faq-section { margin-top: 3rem; }
    .faq-title { font-size: 1.25rem; margin-bottom: 1.4rem; }
    .faq-question { font-size: .95rem; margin-top: 1.4rem; }
    .faq-answer { font-size: .87rem; line-height: 1.6; }
}

/* ---------- MÓVIL PEQUEÑO ---------- */
@media (max-width: 380px) {
    .hub-container { padding-left: .8rem; padding-right: .8rem; }
    .game-card { padding: 13px 13px; gap: 11px; min-height: 68px; }
    .card-icon { font-size: 1.6rem; }
    .game-title { font-size: .92rem; }
    .game-desc { font-size: .72rem; -webkit-line-clamp: 2; }
    .featured-title { font-size: 1.15rem; }
    .featured-facts li { font-size: .65rem; padding: 4px 9px; }
    .faq-question { font-size: .9rem; }
}

/* ---------- SIN RATÓN ---------- */
@media (hover: none) {
    /* En táctil el hover se queda pegado tras tocar */
    .game-card:hover, .featured-card:hover, .league-item:hover,
    .featured-card:hover .featured-action { transform: none; box-shadow: none; }
    .game-card:active { transform: scale(.98); }
    .featured-action:active { transform: scale(.98); }
    .game-card, .featured-card, .league-item { -webkit-tap-highlight-color: transparent; }
}
/* --- MÁS LIGAS (ligas que vendrán) --- */
.more-leagues {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: -8px auto 26px;
    max-width: 100%;
}
.more-leagues-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-secondary, #8b949e);
}
.more-leagues { width: 100%; }
.leagues-bar.leagues-more { margin: 0 auto; flex-wrap: nowrap; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.leagues-bar.leagues-more::-webkit-scrollbar { display: none; }
.leagues-bar.leagues-more .league-item { flex: 0 0 auto; white-space: nowrap; padding: 10px 18px; font-size: .9rem; }
@media (max-width: 600px) {
    .leagues-bar.leagues-more { width: 100%; }
}
.card-badge.featured-flag { white-space: nowrap; }
.game-card .card-badge.featured-flag { width: max-content; height: auto; }

/* =========================================
   LEAGUES BAR POR NIVELES
   Fila 1: América · Fila 2: Finlandia, Suiza, Alemania, Suecia
   Fila 3: Eslovaquia, Chequia, Austria
   ========================================= */
.leagues-bar.tiered {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    flex-wrap: initial;
    overflow: hidden;
}
.leagues-bar.tiered .league-item { padding: 14px 8px; min-width: 0; white-space: nowrap; }
.leagues-bar.tiered .league-item::after { display: none; }
.leagues-bar.tiered .tier-1 { grid-column: span 12; font-size: 1.05rem; padding: 16px 10px; }
.leagues-bar.tiered .tier-2 { grid-column: span 3; }
.leagues-bar.tiered .tier-3 { grid-column: span 4; font-size: .88rem; }
.leagues-bar.tiered .tier-2,
.leagues-bar.tiered .tier-3 { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.leagues-bar.tiered .tier-2 + .tier-2,
.leagues-bar.tiered .tier-3 + .tier-3 { border-left: 1px solid rgba(255, 255, 255, 0.08); }

@media (max-width: 600px) {
    .leagues-bar.tiered { flex-direction: initial; overflow: hidden; }
    .leagues-bar.tiered .league-item { padding: 12px 6px; font-size: .85rem; gap: 6px; }
    .leagues-bar.tiered .tier-1 { font-size: .98rem; }
    .leagues-bar.tiered .tier-2 { grid-column: span 6; }
    .leagues-bar.tiered .tier-1 + .tier-2 + .tier-2 + .tier-2 { border-left: 0; }
    .leagues-bar.tiered .league-item.active { box-shadow: inset 0 -3px 0 var(--accent, color-mix(in srgb, var(--neon-blue) 80%, transparent)); }
}

.game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* =========================================
   Buscador (Reutilizado de WhoAreYou)
   ========================================= */
.search-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.autocomplete-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
}
.custom-input {
    width: 100%;
    padding: 20px 25px;
    border-radius: 12px;
    background: var(--card-bg, #131a26);
    border: 2px solid var(--neon-blue);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 0 15px color-mix(in srgb, var(--neon-blue) 10%, transparent);
    outline: none;
    transition: 0.3s;
}
.custom-input:focus {
    box-shadow: 0 0 25px color-mix(in srgb, var(--neon-blue) 40%, transparent);
}

/* =========================================
   TIMELINE (La Carrera del Jugador)
   ========================================= */
.timeline-container {
    width: 100%;
    max-width: 500px; /* Estrecho y elegante */
    margin: 0 auto;
    padding: 20px 0;
}

.career-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid color-mix(in srgb, var(--neon-blue) 30%, transparent); /* Línea vertical base */
}

.timeline-stint {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.timeline-stint:last-child {
    margin-bottom: 0;
}

/* El punto en la línea de tiempo */
.stint-marker {
    position: absolute;
    left: -39px; /* Ajuste preciso al borde izquierdo */
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: #fff;
    border: 3px solid var(--neon-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-blue-glow, color-mix(in srgb, var(--neon-blue) 50%, transparent));
    z-index: 2;
}

/* La tarjeta del equipo */
.stint-content {
    display: flex;
    align-items: center;
    background: rgba(20, 24, 34, 0.8);
    border: 1px solid var(--border-dark, #2a3441);
    border-radius: 12px;
    padding: 15px 20px;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.stint-content:hover {
    border-color: var(--neon-blue);
    background: color-mix(in srgb, var(--neon-blue) 5%, transparent);
    transform: translateX(5px);
}

.stint-logo-box {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stint-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stint-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stint-years {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.stint-numbers {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary, #8892b0);
    display: flex;
    gap: 10px;
    align-items: center;
}

.stint-numbers strong {
    color: var(--neon-blue);
}

.neon-divider {
    color: rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   FOTO MISTERIOSA
   ========================================= */
.mystery-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.mystery-player {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 3px solid var(--neon-blue);
    transition: filter 0.5s ease;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 0 20px var(--neon-blue-glow, color-mix(in srgb, var(--neon-blue) 30%, transparent));
}

/* =========================================
   LISTA DE AUTOCOMPLETADO
   ========================================= */
.suggestions-list {
    position: absolute;
    top: 105%;
    width: 100%;
    background: #0d1117;
    border: 1px solid var(--border-dark, #2a3441);
    border-radius: 12px;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    list-style: none;
    padding: 0;
    margin: 0;
}

.sugg-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 15px;
    border-bottom: 1px solid #222;
    cursor: pointer;
    transition: 0.2s;
}

.sugg-item:hover { background: color-mix(in srgb, var(--neon-blue) 10%, transparent); }

.sugg-img { 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    border: 2px solid #fff; 
    background: #fff; 
    object-fit: cover;
}

.sugg-name { 
    font-weight: 900; 
    font-size: 1.1rem; 
    color: #fff; 
}

/* =========================================
   MODAL DE FINAL
   ========================================= */
.final-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.final-modal.show { display: flex; animation: fadeInBg 0.4s ease forwards; }

.modal-content {
    background: var(--card-bg, #131a26);
    border: 2px solid var(--neon-blue);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 40px var(--neon-blue-glow, color-mix(in srgb, var(--neon-blue) 30%, transparent));
    max-width: 400px;
    width: 90%;
    animation: popInModal 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.revealed-player-info img {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    border: 4px solid #fff;
    margin: 20px 0;
    object-fit: cover;
    background: #fff;
}

#endMessage {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px currentColor;
}

.modal-actions { margin-top: 20px; }
.btn-finish {
    background: var(--neon-blue);
    color: #000;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
}

@keyframes fadeInBg { from { opacity: 0; } to { opacity: 1; } }
@keyframes popInModal {
    0% { opacity: 0; transform: scale(0.5) translateY(50px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* =========================================
   DISEÑO DE TARJETAS AMPLIADO Y MEJORADO
   ========================================= */

.expanded-card {
    position: relative;
    padding: 20px 25px; /* Tarjetas más grandes y espaciosas */
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(15, 20, 30, 0.9);
}

/* Burbuja de la Liga en la esquina superior derecha */
.stint-league-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--bg-dark, #0a0e17);
    border: 2px solid var(--border-dark, #2a3441);
    border-radius: 8px;
    padding: 5px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.league-logo-img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.league-text-badge {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* El contenido del equipo (Nombre y Stats) */
.stint-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.stint-team-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.stint-years {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-secondary, #8892b0);
    margin-bottom: 6px;
}

/* =========================================
   LA TARJETA DE LA SELECCIÓN (EDICIÓN ORO)
   ========================================= */

.national-stint {
    margin-top: 50px; /* Separación extra del resto de clubes */
}

.marker-gold {
    border-color: #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
}

.national-card {
    background: linear-gradient(135deg, rgba(20, 24, 34, 0.9) 0%, rgba(40, 35, 10, 0.95) 100%);
    border: 1px solid #ffd700;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
}

.national-card:hover {
    border-color: #ffea00;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.gold-badge {
    color: #ffd700 !important;
}

.gold-border {
    border: 2px solid rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
}

.gold-text {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* =========================================
   BANDERA DEL PAÍS (ESQUINA INFERIOR DERECHA)
   ========================================= */
.stint-country-flag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 26px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    transition: 0.3s ease;
    z-index: 5;
}

.expanded-card:hover .stint-country-flag {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,1);
}

.stint-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- PREMIUM HUD: TEAMS COUNTER --- */
.attempts-counter {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 30, 48, 0.9) 100%);
    padding: 16px 32px; /* Más grande */
    border-radius: 100px; /* Estilo cápsula */
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px color-mix(in srgb, var(--neon-blue) 20%, transparent), inset 0 0 10px color-mix(in srgb, var(--neon-blue) 10%, transparent);
    backdrop-filter: blur(12px);
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.counter-label {
    font-size: 1rem; /* Texto 'TEAMS' más grande */
    font-weight: 900;
    letter-spacing: 4px;
    color: #8892b0;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.counter-badge {
    font-size: 2rem; /* Números muy grandes y potentes */
    font-weight: 900;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.counter-sep {
    color: var(--neon-blue);
    margin: 0 8px;
    font-weight: 400;
}

/* --- PLAYER PHOTO POSITION --- */
.mystery-container {
    margin-top: 60px; /* Bajamos la foto considerablemente */
    margin-bottom: 50px;
    perspective: 1000px;
}

.mystery-player {
    width: 240px; /* Un poco más grande para llenar el espacio */
    height: 240px;
    border-radius: 25px;
    border: 5px solid var(--neon-blue);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px color-mix(in srgb, var(--neon-blue) 30%, transparent);
    object-fit: cover;
    background: #fff;
    transition: transform 0.3s ease;
}

/* --- BONUS PHASE UI --- */
.counter-bonus-phase {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(40, 35, 10, 0.9) 0%, rgba(20, 18, 5, 0.95) 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
}
/* --- bingo.css | THE PUCK GAMES STYLE --- */

.bingo-play-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .bingo-play-area {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Panel del Jugador (Estático) */
.current-player-panel {
    flex: 0 0 300px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg, #131a26);
    border: 1px solid var(--border-dark, #2a3441);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    
    /* FIJO Y POR ENCIMA DEL GRID */
    position: sticky;
    top: 90px; /* Ajustado para que no se meta debajo del menú de 75px */
    align-self: flex-start;
    z-index: 20; /* <-- LA CLAVE: Fuerza al panel a estar por encima del grid */
}

.player-card {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue-glow, color-mix(in srgb, var(--neon-blue) 50%, transparent));
    background: var(--bg-dark, #0a0e17);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.player-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.question-mark {
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-secondary, #8892b0);
}

.player-name-display {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    min-height: 3rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.action-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto; 
}

.btn-secondary {
    background: transparent;
    color: #ff4757;
    border: 2px solid #ff4757;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: rgba(255, 71, 87, 0.1);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.4);
}

/* =========================================
   ADAPTACIÓN EXCLUSIVA PARA MÓVILES
   ========================================= */
@media (max-width: 767px) {
    /* Transformamos el panel en una tarjeta estática (NO flotante) */
    .current-player-panel {
        position: relative; /* Anula el "sticky" que hacía que te persiguiera */
        top: 0;             /* Reseteamos su altura */
        z-index: 1;         /* Le quitamos la prioridad sobre el tablero */
        flex: auto;
        min-height: auto;
        flex-direction: row; /* Elementos de lado a lado */
        width: 100%;
        padding: 12px 15px;
        border-radius: 16px; /* Bordes redondeados por todos lados */
        box-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Sombra más suave */
        gap: 15px;
        box-sizing: border-box;
        margin-bottom: 10px; /* Separación con el grid de Bingo */
    }

    .player-card {
        width: 70px; /* Foto pequeñita */
        height: 70px;
        margin-bottom: 0;
        border-width: 2px;
    }

    .question-mark {
        font-size: 2.5rem;
    }

    .player-name-display {
        font-size: 1rem;
        margin-bottom: 0;
        min-height: auto;
        flex: 1; /* Ocupa el espacio central restante */
        text-align: left;
        justify-content: flex-start;
        line-height: 1.2;
    }

    .action-buttons {
        width: auto;
        margin-top: 0;
    }

    .btn-secondary {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* Ajustes para que el grid 4x4 quepa sin explotar la pantalla */
    .bingo-grid { gap: 6px; }
    .grid-cell { padding: 5px; }
    .cell-icon { font-size: 2.5rem; margin-bottom: 2px; }
    .cell-label { font-size: 0.55rem; }
}
/* Cuadrícula 4x4 */
.bingo-grid-container {
    flex: 1;
    width: 100%;
}

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

.grid-cell {
    aspect-ratio: 1;
    background: var(--card-bg, #131a26);
    border: 2px solid var(--border-dark, #2a3441);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.grid-cell:hover:not(.filled) {
    border-color: var(--neon-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--neon-blue-glow, color-mix(in srgb, var(--neon-blue) 30%, transparent));
}

/* --- ACTUALIZACIÓN DE TAMAÑOS --- */
.cell-icon {
    font-size: 4.5rem; /* ¡Tamaño XXL para las letras de posición! */
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
}

.cell-logo {
    max-width: 85%; /* Banderas y logos mucho más grandes */
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 5px;
}
/* -------------------------------- */

.cell-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--text-secondary, #8892b0);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2; /* Para asegurar que el texto no se tape si el icono es muy grande */
}

/* Estado Relleno (Acertado) */
.grid-cell.filled {
    border-color: var(--correct-border, #00ff88);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    cursor: default;
}

.grid-cell.filled .cell-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.35; 
    z-index: 1;
}

.grid-cell.filled .filled-name {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); border-color: var(--border-dark); }
    20%, 60% { transform: translateX(-5px); border-color: #ff4757; background: rgba(255, 71, 87, 0.2); }
    40%, 80% { transform: translateX(5px); border-color: #ff4757; background: rgba(255, 71, 87, 0.2); }
}

.error-shake {
    animation: shakeError 0.5s ease;
}

/* --- AÑADIDOS PARA EL SISTEMA DIARIO Y MODAL --- */

/* Navegación Diaria */
.daily-nav { display: flex; align-items: center; justify-content: center; gap: 15px; }
.btn-nav { padding: 5px 15px; font-size: 1.2rem; border-radius: 8px; cursor: pointer; background: transparent; border: 1px solid var(--neon-blue); color: var(--neon-blue); transition: all 0.3s; }
.btn-nav:hover:not(:disabled) { background: color-mix(in srgb, var(--neon-blue) 10%, transparent); box-shadow: 0 0 10px var(--neon-blue-glow); }
.btn-nav:disabled { opacity: 0.3; cursor: not-allowed; border-color: var(--text-secondary); color: var(--text-secondary); }
.day-info { text-align: center; min-width: 130px; }
.day-text { font-size: 1.5rem; font-weight: 900; color: var(--neon-blue); letter-spacing: 2px; text-shadow: 0 0 10px var(--neon-blue-glow); }

/* Nuevo Contador de Intentos */
.attempts-pill {
    background: rgba(20, 24, 34, 0.8);
    border: 2px solid var(--neon-blue);
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 15px color-mix(in srgb, var(--neon-blue) 20%, transparent);
    transition: all 0.3s ease;
}
.attempts-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}
.attempts-value {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue-glow);
    min-width: 45px;
    text-align: center;
}
.attempts-pill.danger-border {
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

/* --- MODAL NEÓN COMPACTO --- */

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000; overflow-y: auto; padding: 15px; box-sizing: border-box;
}

.neon-modal {
    background: var(--bg-color, #080a0f); border: 1px solid var(--neon-blue);
    box-shadow: 0 0 40px color-mix(in srgb, var(--neon-blue) 15%, transparent); border-radius: 12px;
    padding: 1.5rem 1.2rem; text-align: center; position: relative;
    width: 100%; max-width: 380px; margin: auto;
    background-image: radial-gradient(circle at top, #111827 0%, var(--bg-color) 70%);
}

.modal-header-title { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: 2px; }
.modal-top-stats { display: flex; justify-content: center; gap: 30px; margin-bottom: 10px; }
.stat-big-box { display: flex; flex-direction: column; align-items: center; }
.big-number { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.highlight { color: var(--neon-blue); text-shadow: 0 0 15px var(--neon-blue-glow); }
.pink-glow { color: var(--neon-pink); text-shadow: 0 0 15px var(--neon-pink-glow); }
.big-label { font-size: 0.75rem; color: var(--text-secondary); font-weight: 700; letter-spacing: 1.5px; margin-top: 5px; text-transform: uppercase; }

/* Mini Grid 4x4 Compacto */
.mini-grid {
    display: grid; gap: 4px; justify-content: center; margin-bottom: 15px;
}
.mini-cell { border-radius: 4px; background-color: rgba(20, 24, 34, 0.8); border: 1px solid var(--border-dark); transition: all 0.3s ease; }
.mini-cell.correct { background-color: color-mix(in srgb, var(--neon-blue) 20%, transparent); border-color: var(--neon-blue); box-shadow: inset 0 0 10px color-mix(in srgb, var(--neon-blue) 30%, transparent), 0 0 5px var(--neon-blue-glow); }

/* Cronómetro Compacto */
.modal-countdown { margin-bottom: 15px; padding: 10px; background: rgba(20, 24, 34, 0.6); border-radius: 8px; border: 1px dashed rgba(255, 255, 255, 0.1); }
.countdown-label { display: block; font-size: 0.7rem; color: var(--text-secondary); font-weight: 700; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 1px; }
.countdown-time { font-size: 1.8rem; font-weight: 900; color: #fff; letter-spacing: 2px; }

/* Botones */
.modal-buttons { display: flex; gap: 10px; margin-bottom: 15px; }

/* REJILLA DE ESTADÍSTICAS 2x2 Compacta */
.modal-stats-grid { 
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; 
    border-top: 1px solid var(--border-dark); padding-top: 15px; 
}
.stat-box { 
    background: rgba(20, 24, 34, 0.6); padding: 10px 5px; border-radius: 8px; 
    border: 1px solid var(--border-dark); display: flex; flex-direction: column; 
    align-items: center; justify-content: center; transition: all 0.3s ease; 
}
.stat-box:hover { background: color-mix(in srgb, var(--neon-blue) 5%, transparent); border-color: var(--neon-blue); }
.stat-num { display: block; font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 2px; text-align: center; text-shadow: 0 0 10px rgba(255, 255, 255, 0.1); }
.stat-text { font-size: 0.65rem; color: var(--text-secondary); font-weight: 800; letter-spacing: 1px; text-align: center; text-transform: uppercase; }

/* =========================================
   HOW TO PLAY / FAQ SECTION (Minimalist)
   ========================================= */

.faq-section {
    width: 100%;
    margin: 2rem 0 0 0;
    padding: 4rem 2rem;
    border-top: 1px solid color-mix(in srgb, var(--neon-blue) 20%, transparent); 
    border-bottom: 1px solid color-mix(in srgb, var(--neon-blue) 20%, transparent);
    background: rgba(13, 17, 26, 0.4); 
    box-sizing: border-box; 
}

.faq-container {
    max-width: 800px; 
    margin: 0 auto;
    text-align: left;
}

.faq-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.faq-title .accent {
    color: var(--neon-blue); 
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--neon-blue);
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary, #8892b0);
    line-height: 1.6;
    margin-bottom: 0;
}

.faq-answer strong {
    color: #fff;
    font-weight: 700;
}
/* =========================================
   AÑADIDO: titular, intro y enlaces
   ========================================= */
.game-h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.game-h1 .accent { color: var(--neon-blue); }

.game-intro {
    max-width: 640px;
    margin: 0 auto 25px auto;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary, #8892b0);
}

.faq-answer a {
    color: var(--neon-blue);
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--neon-blue) 30%, transparent);
}

.faq-answer a:hover { border-bottom-color: var(--neon-blue); }

@media (max-width: 768px) {
    .game-h1 { font-size: 1.5rem; }
    .game-intro { font-size: 0.85rem; padding: 0 10px; }
}
/* --- faceoff.css --- */

.faceoff-play-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    flex-wrap: wrap; 
    width: 100%;
}

.trump-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    padding: 25px 20px;
}

.vs-badge {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    z-index: 10;
    background: rgba(20, 24, 34, 0.9);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    align-self: center;
    margin-top: 100px; /* Para alinearlo con las fotos */
}

/* LISTA DE ESTADÍSTICAS */
.stats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dark, #2a3441);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.2s ease;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
}

/* EFECTOS PARA TU CARTA (INTERACTIVA) */
.player-panel-left .stat-row {
    cursor: pointer;
}

.player-panel-left .stat-row:hover {
    background: color-mix(in srgb, var(--neon-blue) 10%, transparent);
    border-color: var(--neon-blue);
    transform: translateX(5px);
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

.player-panel-left .stat-row:hover .stat-value {
    color: var(--neon-blue);
}

/* RESULTADOS */
.stat-win {
    background: rgba(0, 255, 136, 0.15) !important;
    border-color: #00ff88 !important;
}
.stat-win .stat-value { color: #00ff88 !important; text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }

.stat-lose {
    background: rgba(255, 0, 85, 0.15) !important;
    border-color: var(--neon-pink) !important;
}
.stat-lose .stat-value { color: var(--neon-pink) !important; text-shadow: 0 0 10px rgba(255, 0, 85, 0.5); }

/* ANIMACIONES */
.card-slide-in { animation: slideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes slideIn {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
    .vs-badge { margin: -15px auto; align-self: center; }
}
/* ---- ajustes de liga ---- */
:root {
    --neon-blue: var(--accent);
    --neon-blue-glow: var(--accent-glow);
    --bg-color: var(--bg-black);
    --border-dark: #1f2430;
    --neon-pink: #ff0055;
    --neon-pink-glow: rgba(255, 0, 85, 0.4);
}
:root {
    --card-bg: #131a26;
    --bg-dark: #0a0e17;
}
body {
    background-color: var(--bg-black);
    background-image: radial-gradient(circle at top, var(--bg-deep) 0%, var(--bg-black) 70%);
    background-attachment: fixed;
}
/* ---------- Puck Faceoff · ajustes de liga sobre los CSS originales ---------- */
.faceoff-main { max-width: 1000px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; align-items: center; }
.faceoff-sub { color: var(--text-secondary); font-weight: 700; margin: 0; }
.faceoff-intro { margin: 34px auto 0; max-width: 620px; text-align: center; }
.player-card img { background: #1c2230; }
.stat-row[role="button"]:focus-visible { outline: 2px solid var(--neon-blue); outline-offset: 2px; }
.btn-faceoff {
    flex: 1; padding: 12px 10px; font-size: .95rem; font-weight: 900; border: 2px solid; border-radius: 8px;
    cursor: pointer; text-transform: uppercase; font-family: inherit; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; transition: filter .2s, box-shadow .2s;
}
.btn-faceoff:hover { filter: brightness(1.15); box-shadow: 0 0 12px var(--neon-blue-glow); }
