body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
}

h1 {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

#chessboard {
    display: grid;
    grid-template-columns: repeat(8, 70px);
    grid-template-rows: repeat(8, 70px);
    gap: 0;
    border: 2px solid #333;
}

.cell {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    user-select: none;
}

.light {
    background-color: #f0d9b5;
}

.dark {
    background-color: #b58863;
}

.selected {
    background-color: #ffcccc;
}

.valid-move {
    background-color: #baca4428 !important;
    border: 2px solid #333;
}

.check {
    background-color: #ff4444 !important;
    box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.7);
}

/* Game Info Styling */
.game-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    font-size: 18px;
}

.turn-display {
    background-color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.turn-display p {
    margin: 0;
    font-weight: bold;
    color: #333;
}

#turn {
    color: #0066cc;
    font-weight: bold;
    font-size: 20px;
}

.score-display {
    background-color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    border: 2px solid #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
}

.score-display p {
    margin: 0;
    font-weight: bold;
    color: #333;
}

