/* ─── Base & Reset ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(200, 162, 92, 0.3);
    color: #f5f0f7;
}

/* ─── Scroll Reveal ─── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal="delay-1"] { transition-delay: 0.1s; }
.scroll-reveal[data-reveal="delay-2"] { transition-delay: 0.2s; }
.scroll-reveal[data-reveal="delay-3"] { transition-delay: 0.3s; }
.scroll-reveal[data-reveal="delay-4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Hero Orbs ─── */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(125, 60, 125, 0.4) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 162, 92, 0.15) 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(160, 99, 160, 0.25) 0%, transparent 70%);
    top: 40%;
    right: 20%;
    animation-delay: -5s;
}

/* ─── CTA Orbs ─── */
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 10s ease-in-out infinite;
}

.cta-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 60, 125, 0.3) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation-delay: -2s;
}

.cta-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 162, 92, 0.1) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* ─── Navbar ─── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 8, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 162, 92, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ─── Custom Select ─── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8A25C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ─── Mobile Menu Animation ─── */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Gold Divider Accent ─── */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 162, 92, 0.4), transparent);
}

/* ─── Image Hover Effects ─── */
img {
    max-width: 100%;
    height: auto;
}

/* ─── Focus Styles ─── */
:focus-visible {
    outline: 2px solid rgba(200, 162, 92, 0.6);
    outline-offset: 2px;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0812;
}

::-webkit-scrollbar-thumb {
    background: rgba(125, 60, 125, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 162, 92, 0.5);
}
