/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #db8ee2;
    margin: 0;
}

#game-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#board {
    display: grid;
    grid-template-columns: repeat(10, 60px);
    grid-template-rows: repeat(10, 60px);
    gap: 2px;
    margin: 0 30px;
}

.square {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.square:nth-child(odd) {
    background-color: #4a4a4a;
}

.square:nth-child(even) {
    background-color: #616161;
}

.square:hover {
    transform: scale(1.1);
}

.active-p1 {
    background-color: #000 !important;
    color: #fff;
}

.active-p2 {
    background-color: #003366 !important;
    color: #fff;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.player-info {
    text-align: center;
}

#player1-info p, #player2-info p {
    margin: 5px;
}

#player1-name, #player2-name {
    font-size: 24px;
    font-weight: bold;
}

.score {
    font-size: 30px;
 
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
}

#player1-score{
    background-color: #000000;
}

#player2-score{
    background-color: #003366;
}

.roll-dice-button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #ff0000;
    color: white;
    transition: background-color 0.3s;
}

.roll-dice-button:hover {
    background-color: #0056b3;
}

.dice-number {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}

#action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.action-button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #218838;
}

#message-box {
    position: fixed;
    bottom: 80px;
    width: 60%;
    max-width: 600px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    background-color: #333;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none;
}

/* Image styles */
.bomb, .green, .red, .crown {
    width: 50%;
    height: 50%;
    background-size: cover;
    background-position: center;
}

/* Specific image styles */
.bomb {
    background-image: url('bomb.jpg');
}

.green {
    background-image: url('green.jfif');
}

.red {
    background-image: url('red.png');
}

.crown {
    background-image: url('crown.png');
}










