body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.game-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#status {
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    color: #444;
}

#board {
    border-collapse: collapse;
    background-color: #e8c887;
    margin: 0 auto;
    position: relative;
}

#board td {
    width: 30px;
    height: 30px;
    border: 1px solid #8b4513;
    position: relative;
    cursor: pointer;
}

#board td:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.stone {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.stone.black {
    background: radial-gradient(circle at 30% 30%, #666, #000);
}

.stone.white {
    background: radial-gradient(circle at 30% 30%, #fff, #ccc);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

#modeBtn, #reset {
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

#modeBtn {
    background-color: #2196F3;
}

#modeBtn:hover {
    background-color: #0b7dda;
}

#reset:hover {
    background-color: #45a049;
}