/* Estilos específicos de Pacman */

.game-controls {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.game-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-value {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 80px;
    text-align: center;
}

#score {
    color: var(--primary-color);
}

#lives {
    color: #f59e0b;
}

#level {
    color: #10b981;
}

.game-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.game-status {
    text-align: center;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1.25rem;
    font-weight: 600;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-status.win {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 2px solid var(--success);
}

.game-status.lose {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 2px solid var(--danger);
}

.game-status.hidden {
    display: none;
}

.game-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    overflow-x: auto;
}

#game-canvas {
    background: #000;
    border: 4px solid var(--surface-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: block;
    max-width: 100%;
    height: auto;
}

.controls-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .game-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .game-stats {
        justify-content: space-around;
    }

    .game-buttons {
        justify-content: center;
    }

    #game-canvas {
        width: 100%;
    }
}

