/* ========== BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
}

::selection {
    background: #F59E0B;
    color: #1a0a20;
}

/* ========== NAV SCROLL ========== */
.nav-scrolled {
    background: rgba(26, 10, 32, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(91, 44, 111, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .fixed {
    background: transparent !important;
}

/* ========== ANIMATIONS ========== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-16px) rotate(12deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

/* ========== STAT CARDS ========== */
.stat-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

/* ========== MENU CARDS ========== */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 158, 11, 0.2);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ========== MOBILE ========== */
.mobile-link {
    transition: color 0.2s ease;
}

.mobile-menu-open {
    display: flex !important;
}

/* ========== HERO IMAGE GLOW ========== */
.hero-glow {
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, 0.2),
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(245, 158, 11, 0.1);
}

/* ========== BUTTON HOVER ========== */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ========== FORM FOCUS ========== */
input:focus, textarea:focus {
    outline: none;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a0a20;
}
::-webkit-scrollbar-thumb {
    background: #5B2C6F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}
