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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #f5f5f5;
}

/* ── Gold Button ── */
.gold-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d4a843 0%, #b8922e 50%, #d4a843 100%);
    background-size: 200% 200%;
    color: #0a0f1a;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8c060 0%, #d4a843 50%, #e8c060 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.3), 0 2px 8px rgba(212, 168, 67, 0.2);
    background-position: right center;
}

.gold-btn:hover::before {
    opacity: 1;
}

.gold-btn span,
.gold-btn svg,
.gold-btn > *:not(.gold-btn *):not(.gold-btn svg) {
    position: relative;
    z-index: 1;
}

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

#navbar.scrolled {
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

/* ── Collection Cards ── */
.collection-card {
    position: relative;
}

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.5s ease;
    pointer-events: none;
}

.collection-card:hover::after {
    border-color: rgba(212, 168, 67, 0.3);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

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

.mobile-link {
    font-size: 1.1rem;
}

/* ── Input Focus States ── */
input:focus,
textarea:focus {
    outline: none;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .gold-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
