/* UI Elements */

/* Message Display */
.message {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: bold;
    animation: messageSlide 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.message.error {
    background: rgba(244, 67, 54, 0.9);
}

.message.success {
    background: rgba(76, 175, 80, 0.9);
}

.message.info {
    background: rgba(33, 150, 243, 0.9);
}

@keyframes messageSlide {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold Effect */
.gold-effect {
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-gold);
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: goldFloat 1s ease-out forwards;
}

@keyframes goldFloat {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px);
    }
}

/* Loading Indicator */
.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: var(--text-secondary);
}

/* Number Formatting */
.number-large {
    font-variant-numeric: tabular-nums;
}
