/* --- ESTILO NEÓN GAMER / FUENTES GRANDES --- */
:root {
    --bg-color: #0d0d15;
    --card-bg: #1a1a2e;
    --accent-neon: #00f2ff; /* Cian Neón */
    --impostor-neon: #ff0055; /* Rosa/Rojo Neón */
    --text-color: #ffffff;
    --secondary-neon: #9d00ff; /* Morado Neón */
}

body { 
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0d0d15 100%);
    color: var(--text-color);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-align: center; 
    padding: 20px;
    margin: 0;
    min-height: 100vh;
}

h1 { 
    font-size: 3rem; /* Más grande */
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--accent-neon);
    text-shadow: 0 0 15px var(--accent-neon);
    margin-bottom: 40px;
}

p {
    font-size: 1.4rem; /* Texto de instrucciones más legible */
    margin-bottom: 15px;
}

/* --- FORMULARIOS --- */
input, select { 
    padding: 18px; 
    width: 90%; 
    max-width: 500px;
    border-radius: 15px; 
    border: 3px solid var(--secondary-neon); 
    margin-bottom: 25px; 
    font-size: 1.2rem; /* Fuente de input más grande */
    background: #161625;
    color: white;
    box-shadow: 0 0 10px var(--secondary-neon);
}

button { 
    background: linear-gradient(45deg, var(--secondary-neon), var(--impostor-neon));
    border: none; 
    padding: 20px 45px; 
    color: white; 
    border-radius: 50px; 
    cursor: pointer; 
    font-size: 1.4rem; /* Botón principal más grande */
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(157, 0, 255, 0.5);
    transition: all 0.3s ease;
}

/* --- CARTA DE ROL --- */
.card {
    background: var(--card-bg); 
    color: var(--accent-neon); 
    width: 90%; 
    max-width: 350px;
    height: 220px;
    margin: 35px auto; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: 900; 
    font-size: 2rem; /* Palabra secreta MUCHO más grande */
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
    border: 4px solid var(--accent-neon);
    text-transform: uppercase;
}

#card-text {
    padding: 10px;
    line-height: 1.2;
}

/* --- VOTACIÓN --- */
h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

#timer-display {
    font-size: 5rem; /* Cronómetro gigante */
    margin: 25px 0; 
    font-family: 'Courier New', Courier, monospace;
    color: var(--impostor-neon);
    text-shadow: 0 0 20px var(--impostor-neon);
    font-weight: bold;
}

#player-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.vote-btn {
    background: #1a1a2e;
    color: white;
    border: 3px solid var(--secondary-neon);
    padding: 25px 15px;
    border-radius: 20px;
    font-size: 1.3rem; /* Nombres de jugadores más grandes */
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
}

/* --- RESULTADOS --- */
#reveal-text {
    font-size: 1.8rem; /* Mensaje de quién es el impostor más grande */
    font-weight: bold;
    border: 3px solid white;
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    backdrop-filter: blur(10px);
}

.continue-btn {
    background: var(--accent-neon);
    color: #000;
    font-size: 1.2rem;
    padding: 15px 30px;
    margin-top: 25px;
}

/* --- RESPONSIVO --- */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    #timer-display { font-size: 3.5rem; }
    .card { height: 180px; font-size: 1.6rem; }
    .vote-btn { font-size: 1.1rem; padding: 20px 10px; }
}

/* Estilos específicos para integrar el icono con el título h1 */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Espacio entre el icono y el texto */
    margin-bottom: 40px; /* Margen inferior para separarlo del formulario */
}

/* Enlace que envuelve la imagen */
.help-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
/* Estilo para la imagen (icono de pregunta) */
.img-h1-size {
    /* Mismo tamaño que el h1 (3rem definido en el CSS root) */
    height: 3rem; 
    width: auto;
    /* Aplicamos el efecto de sombra neón del título al icono para integrarlo */
    filter: drop-shadow(0 0 10px var(--accent-neon));
    transition: transform 0.2s ease;
}
/* Efecto al pasar el ratón por encima */
.help-link:hover .img-h1-size {
    transform: scale(1.1);
}
/* Reseteamos el margen del h1 dentro del contenedor para que se alinee bien */
.header-container h1 {
    margin: 0;
}
/* Ocultar el enlace original para no duplicarlo */
#setup > a:first-of-type {
    display: none;
}
