/* ── Base & Utilities ── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #f3e8ff;
}

/* ── Header Scroll State ── */
#site-header.scrolled {
    background: rgba(10, 4, 18, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(109, 40, 217, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Floating Card Animations ── */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.5deg); }
}
@keyframes float-3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.3deg); }
}

.floating-card.card-1 { animation: float-1 5s ease-in-out infinite; }
.floating-card.card-2 { animation: float-2 6s ease-in-out infinite; }
.floating-card.card-3 { animation: float-3 5.5s ease-in-out infinite; }

/* ── Menu Card Hover ── */
.menu-card {
    transform: translateY(0);
    will-change: transform;
}
.menu-card:hover {
    transform: translateY(-4px);
}

/* ── Reveal on Scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Gold Shimmer Accent ── */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.gold-shimmer {
    background: linear-gradient(90deg, #fcd34d, #fbbf24, #f59e0b, #fbbf24, #fcd34d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* ── Subtle pulse for the amber dot ── */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}
.animate-pulse { animation: pulse-ring 2s ease-in-out infinite; }

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .floating-card { display: none !important; }
}
