.dice-area {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    min-height: 140px;
    align-items: center;
}

.dice {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: all 0.3s ease;
}

.dice.rolling {
    animation: roll 0.6s ease;
}

@keyframes roll {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
}

.dice-face {
    user-select: none;
}

.message {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    min-height: 40px;
    margin: 24px 0;
    color: var(--primary-red);
}

.message.win {
    animation: celebrate 0.6s ease;
}

.message.lose {
    color: var(--gray);
}

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

.prediction-area {
    background: var(--ice-blue);
    padding: 32px;
    border-radius: 12px;
    margin: 32px 0;
}

.prediction-area h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.prediction-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.prediction-btn {
    padding: 16px 28px;
    border: 2px solid var(--primary-red);
    background: white;
    color: var(--primary-red);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.prediction-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.prediction-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prediction-btn.active {
    background: var(--primary-red);
    color: white;
}

.prediction-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 20px;
    border-top: 2px solid var(--light-gray);
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.info-item span:first-child {
    font-size: 14px;
    color: var(--gray);
}

.info-item .payout {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
}

.bet-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
}

.bet-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bet-display {
    font-size: 20px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 768px) {
    .dice-area {
        gap: 24px;
    }

    .dice {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .prediction-buttons {
        flex-direction: column;
    }

    .prediction-btn {
        width: 100%;
    }
}