:root {
    /* Variables de la estética del juego */
    --bg-main: #121212; /* Fondo principal oscuro */
    --panel-bg: #1e1e1e; /* Fondo de los paneles */
    --border-color: #3a3a3a; /* Bordes metálicos o de piedra */
    --text-primary: #e0e0e0;
    --text-accent: #d4af37; /* Dorado para resaltar (ej. Gana Local/Empate) */
    --button-bg: #8b0000; /* Rojo oscuro clásico */
    --button-hover: #a50000;
}
/* EL FONDO ÉPICO */
body {
    background-color: #0d0d0d;
    background-image: url('fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0; /* Texto claro por defecto */
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiniela-container {
    width: 100%;
    max-width: 1000px;
}
.game-header {
    display: flex;
    flex-direction: column;
    align-items: auto;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

.NeoLogo{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 50px;
}

.NeoLogo img{
    width: 150px;
    height: auto;
}

.user-session {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* PANELES ESTILO JUEGO DE ROL */
.game-header, .panel {
    background-color: rgba(15, 15, 15, 0.85); /* Negro translúcido */
    border: 1px solid #4a0000; /* Borde rojo oscuro/sangre */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); /* Sombra pesada para darle profundidad */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

/* Títulos principales */
h1, h2 {
    color: #f1c40f; /* Un tono dorado épico */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    margin-top: 0;
}


.match-card {
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
}

.match-card.locked {
    opacity: 0.6;
    pointer-events: none;
    border-color: #555;
}

.prediccion-btns button {
    background: var(--button-bg);
    color: white;
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    cursor: pointer;
}

.prediccion-btns button:hover {
    background: var(--button-hover);
}

.hidden {
    display: none;
}
/* Estilo para el botón de Cambiar de Cuenta */
.btn-cambiar {
    background-color: #2c3e50; /* Un tono oscuro y elegante */
    color: #ecf0f1;
    border: 1px solid #34495e;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.btn-cambiar:hover {
    background-color: #1a252f;
    border-color: #ecf0f1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* Estilos para el Panel del Top 10 - BLINDADOS */
.ranking-panel {
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.90) !important; /* Blanco forzado */
    padding: 20px;
    border-radius: 8px;
    color: #000000 !important; /* Texto negro forzado */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Título del Ranking */
.ranking-panel h2 {
    color: #000000 !important;
    margin-top: 0;
    border-bottom: 2px solid #777 !important;
    padding-bottom: 10px;
}

/* Lista de jugadores */
.ranking-panel ol {
    padding-left: 20px;
    font-size: 16px;
}

.ranking-panel li {
    color: #000000 !important; /* Letras negras forzadas en cada renglón */
    padding: 6px 0;
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.ranking-panel li:last-child {
    border-bottom: none !important;
}