body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e0f32, #3c1053, #5a189a);
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
}

.game-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: column;
}

#des {
    width: 100px;
    height: 100px;
    background: url('de.png') no-repeat;
    background-size: 100px 600px;
    background-position-y: 0;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background-color: #3c1053;
}

#des.rolling {
    animation: rollDice 0.6s ease-in-out;
}

@keyframes rollDice {
    0% { transform: rotate(0); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0); }
}

#go {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #ff007f, #ff4f8b);
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
}

#go:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff4f8b, #ff007f);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

#go:active {
    transform: scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
