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

:root {
    --bg-black: #050505;
    --bg-deep: #0a1a3f;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;

    --card-bg: rgba(10, 16, 36, 0.8);
    --card-bg-hover: #0c1a40;
    --card-border: rgba(238, 52, 58, 0.2);

    --accent: #ee343a;
    --accent-soft: rgba(238, 52, 58, 0.14);
    --accent-line: rgba(238, 52, 58, 0.35);
    --accent-glow: rgba(238, 52, 58, 0.45);
    --accent-peak: #ff7b7f;

    --badge-bg: rgba(12, 20, 44, 0.92);
    --badge-fg: #ffffff;
    --cta-bg: #ee343a;
    --cta-fg: #ffffff;

    --feat-bg: rgba(11, 18, 40, 0.92);
    --track-bg: rgba(5, 10, 26, 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);
}

/* ---- bingo.css original (raíz), con el color de la liga ---- */
/* --- guesstheclub.css | THE PUCK GAMES STYLE --- */

:root {
    --bg-dark: #0a0e17;
    --card-bg: #131a26;
    --border-dark: #2a3441;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    
    /* Colores de estado */
    --correct-glass: rgba(0, 255, 136, 0.15);
    --correct-border: #00ff88;
    --wrong-glass: rgba(255, 255, 255, 0.05);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', sans-serif; 
}

body { 
    background: var(--bg-dark); 
    color: var(--text-primary); 
}

.hidden { display: none !important; }

/* --- NAVEGACIÓN --- */
.navbar { 
    padding: 20px; 
    text-align: center; 
    border-bottom: 1px solid var(--border-dark); 
    background: var(--card-bg); 
}

.logo { 
    font-size: 2rem; 
    font-weight: 900; 
    letter-spacing: 1px;
}

.highlight { color: var(--neon-blue); }

/* --- CONTENEDOR PRINCIPAL --- */
.game-wrapper { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

/* --- BARRA SUPERIOR (CONTADOR) --- */
.stats-top-bar { 
    width: 100%; 
    display: flex; 
    justify-content: flex-end; 
    margin-bottom: 20px; 
    z-index: 10;
}

.attempts-counter { 
    font-size: 1.1rem; 
    font-weight: 900; 
    color: var(--neon-blue); 
    background: var(--card-bg); 
    padding: 10px 20px; 
    border: 1px solid var(--border-dark); 
    border-radius: 8px; 
    text-transform: uppercase; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- CAJA MISTERIOSA --- */
.mystery-container { 
    margin-bottom: 40px; 
    display: flex; 
    justify-content: center; 
}

.mystery-box { 
    width: 200px; 
    height: 200px; 
    background: var(--card-bg); 
    border-radius: 15px; 
    border: 3px solid var(--neon-blue); 
    box-shadow: 0 0 25px var(--neon-blue-glow); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.question-overlay { 
    font-size: 7rem; 
    font-weight: 900; 
    color: var(--neon-blue); 
    text-shadow: 0 0 20px var(--neon-blue-glow); 
}

/* --- BUSCADOR / AUTOCOMPLETADO --- */
.search-section { 
    width: 100%; 
    display: flex; 
    justify-content: center; 
    margin-bottom: 40px; 
}

.autocomplete-wrapper { 
    position: relative; 
    width: 100%; 
    max-width: 600px; 
}

.custom-input { 
    width: 100%; 
    padding: 20px 25px; 
    border-radius: 12px; 
    background: var(--card-bg); 
    border: 1px solid var(--border-dark); 
    color: #fff; 
    font-size: 1.3rem; 
    font-weight: 700; 
    outline: none; 
    transition: 0.3s; 
}

.custom-input:focus { 
    border-color: var(--neon-blue); 
    box-shadow: 0 0 15px var(--neon-blue-glow); 
}

.suggestions-list { 
    position: absolute; 
    top: 105%; 
    width: 100%; 
    background: #0d1117; 
    border: 1px solid var(--border-dark); 
    border-radius: 12px; 
    z-index: 1000; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

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

.sugg-item:hover { background: color-mix(in srgb, var(--neon-blue) 10%, transparent); }
.sugg-logo { width: 50px; height: 50px; object-fit: contain; }
.sugg-name { font-weight: 900; font-size: 1.2rem; color: #fff; }

/* --- TABLERO GRID GIGANTE --- */
.guesses-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.grid-table { 
    min-width: 1100px; 
}

.grid-header { 
    display: grid; 
    grid-template-columns: 2.5fr 1fr 1fr 1.2fr 1.5fr 1fr 1.2fr; 
    gap: 15px; 
    margin-bottom: 15px; 
    text-align: center; 
}

.grid-header div {
    font-weight: 900;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.grid-attempt-row { 
    display: grid; 
    grid-template-columns: 2.5fr 1fr 1fr 1.2fr 1.5fr 1fr 1.2fr; 
    gap: 15px; 
    margin-bottom: 15px; 
}

.grid-box { 
    height: 110px; /* Celdas grandes y premium */
    background: var(--wrong-glass); 
    border: 1px solid var(--border-dark); 
    border-radius: 15px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.4rem; /* Tamaño de texto generoso */
    font-weight: 900; 
    position: relative; 
}

.correct { 
    background: var(--correct-glass) !important; 
    border: 2px solid var(--correct-border) !important; 
    color: var(--correct-border) !important; 
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Caja específica para el Club (Logo + Nombre) */
.club-box { 
    flex-direction: row; 
    justify-content: flex-start; 
    padding-left: 20px; 
}

.box-logo { 
    width: 65px; 
    height: 65px; 
    margin-right: 15px; 
    object-fit: contain; 
}

.box-name { 
    font-size: 1.2rem; 
    text-align: left; 
    line-height: 1.2; 
}

/* Indicadores de flechas (Establecimiento y Capacidad) */
.arrow-indicator { 
    position: absolute; 
    bottom: 5px; 
    right: 12px; 
    font-size: 2rem; 
    color: var(--neon-blue); 
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

/* --- 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; }

.modal-content { 
    background: var(--card-bg); 
    border: 2px solid var(--neon-blue); 
    padding: 50px; 
    border-radius: 20px; 
    text-align: center; 
    box-shadow: 0 0 40px var(--neon-blue-glow);
    max-width: 500px;
    width: 90%;
}

#endMessage { 
    font-size: 2.5rem; 
    font-weight: 900; 
    margin-bottom: 25px; 
    text-shadow: 0 0 10px currentColor; 
}

.revealed-player-info { margin-bottom: 30px; }

.revealed-player-info img { 
    width: 180px; 
    height: 180px; 
    object-fit: contain; 
    margin-bottom: 20px; 
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 4px solid var(--neon-blue);
}

#revealed-name {
    font-size: 1.8rem;
    font-weight: 900;
}

.b2b-stats-grid { margin-bottom: 25px; }

.stat-box {
    background: var(--wrong-glass);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-dark);
    display: inline-block;
    min-width: 120px;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-blue);
}

.stat-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
}

.modal-actions { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
}

.b2b-btn { 
    padding: 15px 25px; 
    border-radius: 8px; 
    font-weight: 900; 
    border: none; 
    cursor: pointer; 
    font-size: 1.1rem; 
    transition: 0.2s;
}

.b2b-btn:hover { transform: scale(1.05); }

.btn-share { background: #5c4dff; color: white; }
.btn-finish { background: #ccff00; color: black; }

/* =========================================
   ANIMACIONES DEL JUEGO
   ========================================= */

/* 1. Animación en cascada para las celdas del intento */
.grid-attempt-row .grid-box {
    opacity: 0;
    /* Usamos forwards para que se queden visibles al terminar */
    animation: flipIn 0.5s ease forwards;
}

/* Retrasos escalonados para cada columna (efecto Wordle) */
.grid-attempt-row .grid-box:nth-child(1) { animation-delay: 0.1s; }
.grid-attempt-row .grid-box:nth-child(2) { animation-delay: 0.25s; }
.grid-attempt-row .grid-box:nth-child(3) { animation-delay: 0.4s; }
.grid-attempt-row .grid-box:nth-child(4) { animation-delay: 0.55s; }
.grid-attempt-row .grid-box:nth-child(5) { animation-delay: 0.7s; }
.grid-attempt-row .grid-box:nth-child(6) { animation-delay: 0.85s; }
.grid-attempt-row .grid-box:nth-child(7) { animation-delay: 1.0s; }

@keyframes flipIn {
    0% { 
        opacity: 0; 
        transform: rotateX(90deg); /* Empieza girado hacia atrás */
    }
    100% { 
        opacity: 1; 
        transform: rotateX(0); /* Termina de frente */
    }
}

/* 2. Animación de entrada para el Modal Final */
.final-modal.show { 
    display: flex; 
    animation: fadeInBg 0.4s ease forwards;
}

.final-modal.show .modal-content {
    /* cubic-bezier crea ese efecto de "rebote" elástico */
    animation: popInModal 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@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); 
    }
}

/* =========================================
   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;
}

/* =========================================
   AJUSTES PARA MÓVILES (Evitar scroll horizontal)
   ========================================= */
   /* Ocultar textos de móvil en pantallas grandes por defecto */
.hide-desktop {
    display: none;
}
@media (max-width: 768px) {
    /* Quitamos el ancho mínimo que forzaba el scroll */
    /* Quitamos el ancho mínimo que forzaba el scroll de forma obligatoria */
    .grid-table {
        min-width: 0 !important;
        width: 100%;
    }

    /* Reducimos las columnas y el espacio (gap) entre ellas */
    .grid-header, .grid-attempt-row {
        grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr 1.3fr 0.8fr 1.1fr;
        gap: 3px;
    }

    /* Hacemos el texto de las cabeceras muy pequeñito */
    .grid-header div {
        font-size: 0.5rem;
        letter-spacing: 0;
        word-wrap: break-word;
    }

    /* Reducimos el tamaño general de las cajas */
    .grid-box {
        height: 55px; /* Mitad de altura */
        font-size: 0.65rem; /* Texto de los datos más pequeño */
        border-radius: 6px;
        padding: 2px;
    }

    /* Adaptamos la primera columna (Club) para que el logo y el nombre se apilen */
    .club-box {
        padding-left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .box-logo {
        width: 24px;
        height: 24px;
        margin-right: 0;
        margin-bottom: 2px;
    }

    .box-name {
        font-size: 0.45rem;
        text-align: center;
        line-height: 1;
    }

    /* Hacemos las flechas de indicador (↑ ↓) más pequeñas */
    .arrow-indicator {
        font-size: 0.7rem;
        bottom: 2px;
        right: 2px;
    }

    /* Ocultar textos largos y mostrar los resumidos en móvil */
    .hide-mobile {
        display: none;
    }
    
    .hide-desktop {
        display: inline;
    }
}
/* --- 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; }
}
/* ---- 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 Bingo · ajustes de liga sobre el bingo.css original ---------- */
/* Textos largos (SHL, ≤23, 300+) en las casillas sin escudo */
.cell-icon { color: var(--neon-blue); text-shadow: 0 0 12px var(--neon-blue-glow); }
.cell-icon.mid { font-size: 3.3rem; }
.cell-icon.long { font-size: 2.4rem; }
.cell-flag { max-width: 70%; border-radius: 4px; }
.grid-cell:focus-visible { outline: 2px solid var(--neon-blue); outline-offset: 2px; }
.player-card img { background: #1c2230; }
.btn-secondary:disabled { opacity: .4; cursor: default; }

/* Botones del modal y de la navegación (como en grid.css) */
.btn-neon-outline {
    background: transparent; color: var(--neon-blue); border: 2px solid var(--neon-blue);
    padding: .5rem 1.5rem; font-weight: 700; border-radius: 6px; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; transition: all .3s ease; font-family: inherit;
}
.btn-neon-outline:hover:not(:disabled) { background: var(--neon-blue); color: #000; box-shadow: 0 0 15px var(--neon-blue), inset 0 0 10px var(--neon-blue); }
.btn-neon-outline:disabled { opacity: .35; cursor: default; }
.play-btn { background: var(--neon-blue); color: #000; border: none; font-weight: 900; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: all .3s ease; }
.play-btn:hover { box-shadow: 0 0 15px var(--neon-blue); }
.close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--text-secondary); font-size: 2rem; cursor: pointer; line-height: 1; }
.close-btn:hover { color: var(--neon-pink); }
@media (max-width: 768px) { .cell-icon.mid { font-size: 1.7rem; } .cell-icon.long { font-size: 1.3rem; } }

/* Categoría "ha jugado en": logo de la liga (Supabase) */
.cell-logo.cell-league { object-fit: contain; }
