/**
 * css/game.css
 */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.status {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--cell-bg);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: inset 0 3px 10px rgba(139, 44, 60, 0.1);
    transition: all 0.4s ease;
}

.status.x-turn { color: var(--x-color); }
.status.o-turn { color: var(--o-color); }

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.cell {
    aspect-ratio: 1/1;
    background: var(--cell-bg);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(139, 44, 60, 0.1);
    animation: popIn 0.3s ease-out backwards;
}

.cell:hover {
    background: var(--cell-hover);
    transform: scale(1.03);
}

.cell.x { color: var(--x-color); }
.cell.o { color: var(--o-color); }

.cell.winning-cell {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}