/* 🌟 Continuous shimmer (always moving) */
.gold-text {
    background: linear-gradient(135deg,
    #FFF6A9 0%,
    #FFD700 25%,
    #D4AF37 50%,
    #FFD700 75%,
    #FFF6A9 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #FFD700; /* fallback */
    animation: shimmer 4s linear infinite;
    transition: all 0.4s ease-in-out;
}

/* ⚡ Hover-only shimmer */
.gold-hover {
    background: linear-gradient(135deg,
    #FFF6A9 0%,
    #FFD700 25%,
    #D4AF37 50%,
    #FFD700 75%,
    #FFF6A9 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #FFD700; /* fallback */
    transition: all 0.3s ease-in-out;
}

.gold-hover:hover {
    animation: shimmer 3s linear infinite;
}

/* ✨ Button shimmer (text only) */
.button-shimmer {
    position: relative;
    display: inline-block;
    font-weight: bold;
    background: linear-gradient(135deg,
    #FFD700,
    #D4AF37,
    #FFD700,
    #FFF6A9
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #FFD700; /* fallback */
    transition: all 0.4s ease-in-out;
}

.button-shimmer:hover {
    animation: shimmer 2.5s linear infinite;
}

/* ♻️ Shared shimmer animation */
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* 🌙 Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .gold-text,
    .gold-hover,
    .button-shimmer {
        background: linear-gradient(135deg,
        #FFF8DC 0%,   /* cornsilk highlight */
        #FFE14D 25%,  /* bright warm gold */
        #FFD700 50%,  /* pure gold */
        #D4AF37 75%,  /* deep metallic gold */
        #FFF8DC 100%  /* light highlight */
        );
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #FFD700; /* fallback */
    }
}
