.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.chess-board {
    width: 560px;
    height: 560px;
    border: 2px solid #333;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    margin: 20px auto;
}

.square {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    position: relative;
}

.white {
    background-color: #f0d9b5;
}

.black {
    background-color: #b58863;
}

.selected {
    background-color: #7ba578 !important;
}

.valid-move {
    background-color: #b7cfa9 !important;
}

.play-button {
    padding: 15px 30px;
    font-size: 18px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0;
}

#gameStatus {
    font-size: 24px;
    margin: 15px 0;
    height: 30px;
}

#moveHistory {
    padding: 15px;
    border: 1px solid #ccc;
    min-height: 100px;
    max-width: 560px;
    margin: 0 auto;
}

.win-animation {
    animation: win 1.5s ease-in-out infinite;
}

@keyframes win {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.piece-icon {
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
}