* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #2c3e50;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    text-align: center;
}

h1 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.game-info {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.game-info p {
    margin: 5px 0;
}

#current-player {
    font-weight: bold;
    color: #f1c40f;
}

.board {
    display: grid;
    grid-template-columns: repeat(8, 70px);
    grid-template-rows: repeat(8, 70px);
    gap: 4px;
    background-color: #1e8449;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto 20px;
    width: fit-content;
}

.cell {
    width: 70px;
    height: 70px;
    background-color: #27ae60;
    border: 2px solid #145a32;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.cell:hover {
    background-color: #2ecc71;
}

.cell.valid {
    cursor: pointer;
}

.cell.invalid {
    cursor: not-allowed;
    opacity: 0.5;
}

.stone {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.stone.black {
    background: radial-gradient(circle at 30% 30%, #444, #000);
    border: 2px solid #111;
}

.stone.white {
    background: radial-gradient(circle at 30% 30%, #fff, #ccc);
    border: 2px solid #999;
}

.reset-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reset-btn:hover {
    background-color: #c0392b;
}
