.game-screen { display: none; }
.game-screen.active { display: block; animation: fadeIn 0.5s; }

/* Barra de estado superior */
.game-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-weight: bold;
}

.secret-char-preview {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-top: 5px;
    border: 3px solid #f1c40f;
    overflow: hidden;
}

.secret-char-preview.opponent {
    background: #34495e;
    color: #95a5a6;
    border-color: #95a5a6;
}

.turn-indicator {
    background: #e74c3c;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.turn-indicator.my-turn { background: #2ecc71; color: #000; }

/* Tablero */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.char-card {
    background: white;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.char-card:hover { transform: translateY(-3px); }
.char-card.selected { border-color: #3498db; box-shadow: 0 0 10px #3498db; }

/* Estado Eliminado */
.char-card.eliminated {
    opacity: 0.4;
    filter: grayscale(100%);
    transform: scale(0.9);
    background: #bdc3c7;
}
.char-card.eliminated::after {
    content: '✖';
    position: absolute;
    font-size: 40px;
    color: #c0392b;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Iconos de personajes */
.char-icon { font-size: 32px; margin-bottom: 5px; }
.char-name { font-size: 0.75rem; color: #333; font-weight: bold; line-height: 1.1; }

/* Estilos de atributos visuales */
.hair-blonde { color: #f1c40f; }
.hair-black { color: #2c3e50; }
.hair-red { color: #e67e22; }
.hair-white { color: #95a5a6; }

.glasses-icon {
    position: absolute;
    font-size: 14px;
    top: 28%;
    color: #333;
}

.hat-icon {
    position: absolute;
    top: 5px;
    font-size: 16px;
    color: #8e44ad;
}

/* Panel de Acciones */
.actions-panel {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.actions-panel h3 { margin-top: 0; font-size: 1rem; margin-bottom: 10px; }

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.btn-question {
    background: #3498db;
    border: none;
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-question:hover { background: #2980b9; }
.btn-question:disabled { background: #7f8c8d; cursor: not-allowed; opacity: 0.6; }

.guess-btn {
    background: #e67e22;
    grid-column: 1 / -1;
    font-weight: bold;
    margin-top: 5px;
}

.game-log {
    margin-top: 15px;
    height: 80px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    padding: 8px;
    border-radius: 5px;
    font-size: 0.8rem;
}