/* Gold Calculator - Premium Wedding Theme */

/* Gold shimmer text effect */
.gold-shimmer {
    background: linear-gradient(90deg, #b8860b, #d4a926, #ffd700, #d4a926, #b8860b);
    background-size: 200% auto;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text;
    animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

/* Live price ticker pulse */
#livePriceTicker {
    position: relative;
    overflow: hidden;
}

#livePriceTicker::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 169, 55, 0.03), transparent);
    animation: tickerShine 4s ease-in-out infinite;
}

@keyframes tickerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Price update animation */
#livePriceTicker .text-lg {
    transition: all 0.3s ease;
}

#livePriceTicker .text-lg.updated {
    animation: priceFlash 0.5s ease;
}

@keyframes priceFlash {
    0%, 100% { color: #ffffff; }
    50% { color: #ffd700; transform: scale(1.05); }
}


/* Currency selector */
.currency-option {
    transition: all 0.2s ease;
}
.currency-option.selected {
    background: #fdf2f4 !important;
    border-color: #7a1a3b !important;
    box-shadow: 0 0 0 3px rgba(122, 26, 59, 0.1);
}
.currency-option:hover:not(.selected) {
    border-color: #d4a926;
}

/* Ticker currency buttons */
.ticker-currency-btn {
    transition: all 0.2s ease;
}
.ticker-currency-btn.active {
    background: #d4a926 !important;
    color: #450a1e !important;
}
