.prediction-section {
    text-align: center;
    margin-bottom: 40px;
}

.prediction-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.prediction-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.prediction-btn {
    background: var(--white);
    color: var(--dark-text);
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
}

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

.prediction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.dice-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.dice {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

.dice-face {
    font-size: 6rem;
    user-select: none;
}

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

.result-display {
    text-align: center;
    margin-bottom: 30px;
}

.total-display {
    display: inline-block;
    background: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.total-display span {
    font-size: 2rem;
    color: var(--secondary-color);
}

.btn-roll {
    font-size: 1.3rem;
    padding: 18px 50px;
    letter-spacing: 1px;
}

@keyframes diceRoll {
    0% { 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); }
    100% { transform: rotate(360deg) scale(1); }
}

@media (max-width: 768px) {
    .dice-container {
        gap: 20px;
        padding: 40px 20px;
    }

    .dice {
        width: 100px;
        height: 100px;
    }

    .dice-face {
        font-size: 5rem;
    }

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

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