body {
    font-family: 'Pretendard', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.settings {
    margin-bottom: 20px;
    font-size: 1rem;
}

select {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#status {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
    margin-bottom: 20px;
}

.cell {
    width: 100px;
    height: 100px;
    background: #f8f9fa;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cell:hover { background: #e9ecef; }

/* SVG 애니메이션 */
.symbol { width: 65px; height: 65px; }
.path {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw 0.6s ease-out forwards;
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

.o-path { stroke: #ff6b6b; } /* 빨간색 O */
.x-path { stroke: #4dadff; } /* 파란색 X */

button {
    background: #333;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover { background: #000; }