/* Shared styles across all pages */
body {
    font-family: 'Inter', sans-serif;
}

/* Game board styles */
.cell {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cell::before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.piece {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.piece.red {
    background-color: #ef4444;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.piece.green {
    background-color: #10b981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.piece.blue {
    background-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.piece.yellow {
    background-color: #f59e0b;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* Animation for dice roll */
@keyframes diceRoll {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rolling {
    animation: diceRoll 0.5s ease-in-out;
}