/* ── 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 {
    min-height: 100vh;
}

::selection {
    background: #fbbf24;
    color: #3b0764;
}

/* ── Geometric Background Shapes ── */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.12;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: #fbbf24;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 300px;
    height: 300px;
    background: #a855f7;
    bottom: 20%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 180px;
    height: 180px;
    background: #f59e0b;
    top: 50%;
    right: 15%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent #fbbf24 transparent;
    top: 30%;
    left: 5%;
    opacity: 0.08;
    transform: rotate(15deg);
    animation: float-slow 22s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #9333ea;
    top: 60%;
    right: 8%;
    opacity: 0.1;
    border-radius: 16px;
    transform: rotate(45deg);
    animation: float-slow 16s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* ── Navbar ── */
.nav-scrolled {
    background: rgba(59, 7, 100, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

#navbar {
    transition: background 0.3s ease, border-color 0.3s ease;
}

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

/* ── Collection Cards ── */
.collection-card {
    background: rgba(107, 33, 168, 0.25);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 24px;
    padding: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.25);
    border-color: rgba(251, 191, 36, 0.4);
}

/* ── Scroll Reveal Animations ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        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; }
}

/* ── 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; }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #3b0764;
}
::-webkit-scrollbar-thumb {
    background: #7e22ce;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9333ea;
}
