@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;600;900&display=swap');

/* --- 1. GLOBAL RESET & UTILITIES --- */
body::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }

/* --- 2. PRELOADER (Experience Page) --- */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #0a0a0a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- 3. ANIMATIONS --- */

/* Gold Pulse (Used on Buttons & Filters) */
@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.animate-pulse-gold { animation: goldPulse 1.5s infinite; }

/* Spin (Used on Shop Cart Orbs) */
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

/* Spinner (Used on Checkout Button) */
.spinner {
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top: 3px solid #000;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: none; /* Hidden by default */
}

/* --- 4. INTERACTIVE ELEMENTS --- */

/* Liquid Fill Button (Experience Page) */
.liquid-btn { position: relative; overflow: hidden; z-index: 1; }
.liquid-btn::after {
    content: ''; 
    position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; 
    transition: height 2.5s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: -1; opacity: 0.9;
}
.liquid-btn:hover::after { height: 50%; } 

/* Satellite System (Experience Page) */
.group:hover .satellite-line, .group.active .satellite-line { width: 100px; opacity: 1; }
.group:hover .satellite-1, .group.active .satellite-1 { transform: translate(-110px, -80px) scale(1); opacity: 1; transition-delay: 0ms; }
.group:hover .satellite-2, .group.active .satellite-2 { transform: translate(110px, -80px) scale(1); opacity: 1; transition-delay: 100ms; }
.group:hover .satellite-3, .group.active .satellite-3 { transform: translate(0px, 130px) scale(1); opacity: 1; transition-delay: 200ms; }

/* Section Gradients (Experience Page) */
.fade-to-blush::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: linear-gradient(to bottom, transparent, #FAEEE7); pointer-events: none; }
.fade-to-taupe::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: linear-gradient(to bottom, transparent, #CFCBC4); pointer-events: none; }
.fade-to-black::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: linear-gradient(to bottom, transparent, #0a0a0a); pointer-events: none; }

/* --- 5. FORM ELEMENTS (Checkout Page) --- */
.input-group { position: relative; margin-bottom: 1.5rem; }
.input-field {
    width: 100%; 
    background: transparent; 
    border: 1px solid #333; 
    color: white;
    padding: 1rem; 
    outline: none; 
    border-radius: 0.25rem; 
    transition: border-color 0.3s;
}
.input-field:focus { border-color: #d4af37; }
.input-label {
    position: absolute; left: 1rem; top: 1rem; 
    color: #666; font-size: 0.875rem;
    pointer-events: none; transition: all 0.3s; 
    background-color: #0a0a0a; padding: 0 0.25rem;
}
.input-field:focus ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label {
    top: -0.5rem; font-size: 0.75rem; color: #d4af37;
}

/* --- 6. UTILITY STATES --- */
.reveal-text { opacity: 0; transform: translateY(30px); }
.hero-title, .hero-sub { opacity: 0; transform: translateY(50px); }

/* --- 7. MARQUEE ANIMATION --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

/* ... existing imports and reset ... */

/* --- GLOBAL PRELOADER --- */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #0a0a0a;
    z-index: 9999; /* Highest priority */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #d4af37;
}

/* The Text at the bottom */
#preloader-text {
    position: absolute;
    bottom: 50px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #666;
    opacity: 0; /* Starts hidden, animates in */
    transition: opacity 0.5s ease;
}

/* ... keep your existing animations (goldPulse, spin, etc) ... */