/* ── Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Geometric Decorative Shapes ── */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #F5A623 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #7B2D8E 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.circle-3 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, #F5A623 0%, transparent 70%);
    top: 50%;
    right: 5%;
    opacity: 0.04;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #F5A623;
    top: 35%;
    left: -40px;
    opacity: 0.04;
    transform: rotate(15deg);
}

.square-1 {
    width: 100px;
    height: 100px;
    background: #7B2D8E;
    top: 60%;
    right: 3%;
    opacity: 0.05;
    transform: rotate(45deg);
    border-radius: 8px;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(45, 13, 51, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 142, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Mobile Menu ── */
.mobile-link {
    opacity: 1;
    transform: none;
}

#mobile-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

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

::-webkit-scrollbar-thumb {
    background: #7B2D8E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d946ef;
}

/* ── Selection ── */
::selection {
    background: rgba(245, 166, 35, 0.3);
    color: #f5d0fe;
}
