body {
    overflow-x: hidden;
}

.game-board {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.board-row {
    display: flex;
    flex-direction: row;
    height: 100px;
}

.cell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    background-color: white;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.cell:hover:empty {
    background-color: #f5f5f5;
}

.cell.x {
    color: #007bff;
}

.cell.x::after {
    content: "X";
}

.cell.o {
    color: #dc3545;
}

.cell.o::after {
    content: "O";
}

.status-area {
    min-height: 50px;
}

.winning-cell {
    background-color: #00ff3cde;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

#reset-btn {
    padding: 8px 24px;
    font-weight: 600;
}