/* Tic-Tac-Toe Game Styles */

/* Tic-Tac-Toe specific styles only */
.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    width: 400px;
    height: 400px;
    max-width: 90vw;
    max-height: 90vw;
    background: #fff;
    border: 3px solid #fff;
    margin: 20px auto;
}

.game-cell {
    background: #000;
    border: none;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-cell:hover {
    background: #222;
}

.game-cell:disabled {
    cursor: not-allowed;
}

.game-cell.x {
    color: #fff;
}

.game-cell.o {
    color: #ccc;
}

.winning-cell {
    background: #333 !important;
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .game-board {
        width: 90vw;
        height: 90vw;
        max-width: 350px;
        max-height: 350px;
    }
    
    .game-cell {
        font-size: 3rem;
    }
}