/* ── Reset & Base ── */
*, *::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;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: radial-gradient(ellipse at 30% 20%, #722d5b 0%, #4b2f4b 30%, #2a1a2a 60%, #1a0f1a 100%);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(232, 168, 73, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(163, 78, 138, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(232, 168, 73, 0.06) 0%, transparent 40%);
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(42, 26, 42, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 0;
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal-up {
        transform: translateY(40px);
    }

    .reveal-left {
        transform: translateX(-40px);
    }

    .reveal-right {
        transform: translateX(40px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ── Selection ── */
::selection {
    background: rgba(232, 168, 73, 0.3);
    color: #f9f2f7;
}

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

::-webkit-scrollbar-track {
    background: #2a1a2a;
}

::-webkit-scrollbar-thumb {
    background: #5d3a5b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8c3d71;
}
