body {
    background: radial-gradient(circle, #1e3799 0%, #0c2461 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Arial Black', sans-serif;
    color: white;
    overflow: hidden;
}

.game-container { text-align: center; }

h1 { font-size: 3.5rem; color: #f1c40f; text-shadow: 3px 3px #c23616; margin: 0; }

p { color: #dcdde1; margin-bottom: 40px; font-style: italic; }

.dice-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.dice {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: #2f3640;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4), inset 0 0 15px rgba(0,0,0,0.1);
    transition: transform 0.1s;
}

/* კამათლების ტრიალის ანიმაცია */
.shaking {
    animation: shake 0.15s infinite;
}

@keyframes shake {
    0% { transform: translate(2px, 1px) rotate(0deg); }
    20% { transform: translate(-1px, -2px) rotate(-5deg); }
    40% { transform: translate(-3px, 0px) rotate(5deg); }
    60% { transform: translate(3px, 2px) rotate(0deg); }
    80% { transform: translate(1px, -1px) rotate(5deg); }
    100% { transform: translate(-1px, 2px) rotate(-5deg); }
}

button {
    padding: 20px 60px;
    font-size: 24px;
    background: linear-gradient(180deg, #e84118 0%, #c23616 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 8px 0 #8e0000;
    transition: 0.1s;
}

button:active { transform: translateY(4px); box-shadow: 0 2px #8e0000; }

button:disabled { background: #7f8c8d; box-shadow: 0 4px 0 #2c3e50; opacity: 0.7; }

/* Modal */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); display: none; justify-content: center; align-items: center;
    z-index: 1000; backdrop-filter: blur(8px);
}

.modal {
    background: white; padding: 40px; border-radius: 30px; text-align: center; color: #333;
    width: 320px; border: 6px solid #f1c40f;
}

.prize-display { font-size: 6rem; margin: 20px 0; }

#closeModalBtn {
    background: #44bd32; box-shadow: 0 5px 0 #2d8d20; padding: 15px 40px;
}