/* ================================================================
   ProxiesVault — OBSIDIAN SOVEREIGN EDITION  ✦  v3.0
   "Where Elite Networks Live"
   ─────────────────────────────────────────────────────────────
   Fonts : Cinzel · Cinzel Decorative · Cormorant Garamond · DM Sans
   Tokens: Synced 1-to-1 with auth.html  (dark navy + gold)
   Cursor: Fully embedded — add 3 divs + script block to index.html
           (see bottom of this file for the exact snippet)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* ================================================================
   ✦  DESIGN TOKENS  — single source of truth
   ================================================================ */
:root {
    /* ── Gold palette (auth.html exact values) ── */
    --gold:          #C9A84C;
    --gold-light:    #F0D078;
    --gold-pale:     #FDF3D0;
    --gold-bright:   #FFE08A;
    --gold-dim:      #B8943E;
    --gold-dark:     #96782A;
    --gold-deeper:   #6A5220;
    --gold-glow:     rgba(201,168,76,0.18);
    --gold-glow-sm:  rgba(201,168,76,0.09);
    --gold-glow-lg:  rgba(201,168,76,0.06);

    /* ── Background scale (auth.html exact values) ── */
    --bg:            #04080F;
    --bg-card:       #0A1120;
    --bg-elevated:   #0E1828;
    --bg-glass:      rgba(10,17,32,0.78);
    --bg-input:      #070E1C;
    --bg-hover:      rgba(201,168,76,0.05);

    /* ── Typography ── */
    --text:          #EEF2FF;
    --text-sub:      #A8B4D0;
    --muted:         #5C6F92;
    --muted-light:   #7A8EAE;
    --ink:           #04080F;

    /* ── Borders ── */
    --border:        rgba(201,168,76,0.14);
    --border-soft:   rgba(168,180,208,0.055);
    --border-hover:  rgba(201,168,76,0.38);
    --border-glow:   rgba(201,168,76,0.60);

    /* ── Shadows ── */
    --shadow:        0 4px 32px rgba(0,0,0,0.7);
    --shadow-gold:   0 8px 48px rgba(201,168,76,0.16);
    --shadow-gold-lg:0 24px 80px rgba(201,168,76,0.22);
    --shadow-card:   0 2px 16px rgba(0,0,0,0.5), 0 12px 48px rgba(0,0,0,0.35);

    /* ── Legacy compat ── */
    --cream:    #04080F;
    --white:    #0A1120;
    --charcoal: #EEF2FF;

    /* ── Spacing ── */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;

    /* ── Radii ── */
    --radius-xs:   6px;
    --radius-sm:   10px;
    --radius-md:   16px;
    --radius-lg:   22px;
    --radius-xl:   30px;
    --radius-pill: 100px;

    /* ── Easing ── */
    --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth:  cubic-bezier(0.4,  0,   0.2,  1);
    --ease-back:    cubic-bezier(0.68,-0.6, 0.32, 1.6);
    --ease-expo:    cubic-bezier(0.16, 1,   0.3,  1);
    --ease-elastic: cubic-bezier(0.175,0.885,0.32,1.275);
}

/* ================================================================
   ✦  RESET
   ================================================================ */
*, *::before, *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}
html {
    /* scroll-behavior: smooth removed — causes sluggish mouse wheel.
       Smooth scrolling now only applies to anchor link clicks via JS. */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ================================================================
   ✦  BODY
   ================================================================ */
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.65;
    position: relative;
}

/* ================================================================
   ✦  OBSIDIAN SOVEREIGN CURSOR SYSTEM
      Three-layer: dot · ring · aura  +  gold spark trail
      ──────────────────────────────────────────────────
      Add to index.html just before </body>:
        <div id="cursor-dot"></div>
        <div id="cursor-ring"></div>
        <div id="cursor-aura"></div>
      Then paste the JS snippet from the bottom of this file
      into script.js (or a <script> block in index.html).
   ================================================================ */

/* Only activates on true pointer devices */
@media (pointer: fine) {

    /* Hide native cursor everywhere */
    body,
    a, button, [role="button"],
    input, select, textarea, label {
        cursor: none !important;
    }

    /* ── Shared base ── */
    #cursor-dot,
    #cursor-ring,
    #cursor-aura {
        position: fixed;
        pointer-events: none;
        z-index: 999999;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        top: -200px; left: -200px;  /* offscreen until first move */
        will-change: left, top;
    }

    /* ── 1. Inner dot — snaps instantly, gold glow ── */
    #cursor-dot {
        width: 5px; height: 5px;
        background: var(--gold-bright);
        box-shadow:
            0 0 8px  var(--gold),
            0 0 22px rgba(255,224,138,0.75),
            0 0 46px rgba(201,168,76,0.30);
        transition: width 0.2s, height 0.2s, opacity 0.2s;
        mix-blend-mode: screen;
    }

    /* ── 2. Ring — lerp-lagged, spring expand on hover ── */
    #cursor-ring {
        width: 34px; height: 34px;
        border: 1.5px solid rgba(201,168,76,0.45);
        background: transparent;
        transition:
            width        0.3s var(--ease-spring),
            height       0.3s var(--ease-spring),
            border-color 0.25s,
            background   0.25s,
            opacity      0.2s;
    }

    /* ── 3. Aura — slower lerp, only visible on hover ── */
    #cursor-aura {
        width: 58px; height: 58px;
        border: 1px solid rgba(201,168,76,0.10);
        background: transparent;
        opacity: 0;
        transition:
            opacity 0.3s,
            width   0.42s var(--ease-spring),
            height  0.42s var(--ease-spring);
        mix-blend-mode: screen;
    }

    /* ── Hover state ── */
    #cursor-ring.hov {
        width: 54px; height: 54px;
        border-color: var(--gold);
        background: rgba(201,168,76,0.07);
        box-shadow: 0 0 24px rgba(201,168,76,0.18),
                    inset 0 0 12px rgba(201,168,76,0.05);
    }
    #cursor-aura.hov {
        opacity: 1;
        width: 74px; height: 74px;
    }

    /* ── Click state ── */
    #cursor-ring.clk {
        transform: translate(-50%, -50%) scale(0.68);
        background: rgba(201,168,76,0.14);
    }
    #cursor-dot.clk {
        width: 9px; height: 9px;
        box-shadow: 0 0 22px var(--gold-bright),
                    0 0 44px rgba(255,224,138,0.55);
    }

    /* ── Gold spark trail particles (injected by JS) ── */
    .cur-trail {
        position: fixed;
        border-radius: 50%;
        background: radial-gradient(circle, var(--gold-pale), var(--gold));
        pointer-events: none;
        z-index: 999990;
        transform: translate(-50%, -50%);
        mix-blend-mode: screen;
        animation: curTrailFade 0.55s linear forwards;
    }
    @keyframes curTrailFade {
        0%   { opacity: 0.65; transform: translate(-50%,-50%) scale(1); }
        100% { opacity: 0;    transform: translate(-50%,-50%) scale(0.08); }
    }
}

/* Hide cursor elements on touch/coarse devices */
@media (pointer: coarse) {
    #cursor-dot, #cursor-ring, #cursor-aura { display: none; }
}

/* ================================================================
   ✦  ATMOSPHERIC BACKGROUND LAYERS
   ================================================================ */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 90% 70% at  8%  5%,  rgba(201,168,76,0.09)  0%, transparent 55%),
        radial-gradient(ellipse 60% 80% at 92% 95%,  rgba(40, 70,200,0.07)  0%, transparent 55%),
        radial-gradient(ellipse 55% 55% at 50% -8%,  rgba(201,168,76,0.06)  0%, transparent 50%),
        radial-gradient(ellipse 35% 35% at 82% 18%,  rgba(201,168,76,0.05)  0%, transparent 40%),
        radial-gradient(ellipse 28% 28% at 20% 75%,  rgba(40,100,255,0.04)  0%, transparent 40%);
    animation: atmosphereShift 24s ease-in-out infinite alternate;
}
@keyframes atmosphereShift {
    0%   { opacity: 0.7; transform: scale(1); }
    50%  { opacity: 1;   transform: scale(1.03) translateY(-8px); }
    100% { opacity: 0.8; transform: scale(0.98) translateY(4px); }
}

/* Noise grain */
body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    animation: grainShift 0.4s steps(1) infinite;
}
@keyframes grainShift {
    0%  { transform: translate(0,0); }
    25% { transform: translate(-3px,2px) rotate(0.08deg); }
    50% { transform: translate(2px,-3px) rotate(-0.08deg); }
    75% { transform: translate(3px,1px); }
}

/* Star / dust particles (injected by JS) */
.star-particle {
    position: fixed; border-radius: 50%;
    background: var(--gold-bright); pointer-events: none; z-index: 0;
    animation: starFloat linear infinite; will-change: transform, opacity;
}
@keyframes starFloat {
    0%   { transform: translateY(100vh) scale(0);   opacity: 0; }
    5%   { opacity: 0.8; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ================================================================
   ✦  GOLD DIVIDER
   ================================================================ */
.gold-divider {
    width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), transparent);
    margin: 0 auto 2.25rem;
    position: relative; overflow: visible;
    animation: dividerExpand 0.9s var(--ease-out) both;
}
@keyframes dividerExpand {
    from { width: 0; opacity: 0; }
    to   { width: 80px; opacity: 1; }
}
.gold-divider::before,
.gold-divider::after {
    content: '';
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(201,168,76,0.4);
    animation: dotPulse 2.5s ease-in-out infinite;
}
.gold-divider::before { left: -2px; }
.gold-divider::after  { right: -2px; animation-delay: 1.25s; }
@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(201,168,76,0.3);  transform: translateY(-50%) scale(1); }
    50%      { box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(201,168,76,0.6); transform: translateY(-50%) scale(1.7); }
}

/* Wide diamond divider */
.gold-divider-wide {
    display: flex; align-items: center; justify-content: center;
    gap: 1.2rem; margin: 0 auto 2.25rem;
}
.gold-divider-wide::before,
.gold-divider-wide::after {
    content: ''; flex: 1; height: 1px; max-width: 120px;
    background: linear-gradient(90deg, transparent, var(--gold));
    animation: wingExpand 0.9s var(--ease-out) both;
}
.gold-divider-wide::after  { background: linear-gradient(90deg, var(--gold), transparent); animation-delay: 0.1s; }
.gold-divider-wide .diamond {
    width: 7px; height: 7px; background: var(--gold-bright);
    transform: rotate(45deg); flex-shrink: 0;
    box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(201,168,76,0.4);
    animation: diamondSpin 8s linear infinite, dotPulse 2.5s ease-in-out infinite;
}
@keyframes wingExpand    { from { max-width: 0; opacity: 0; } to { max-width: 120px; opacity: 1; } }
@keyframes diamondSpin   { to { transform: rotate(405deg); } }

/* ================================================================
   ✦  NAVIGATION
   ================================================================ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.25rem;
    background: rgba(4,8,15,0.62);
    backdrop-filter: blur(40px) saturate(2.0) brightness(0.88);
    -webkit-backdrop-filter: blur(40px) saturate(2.0) brightness(0.88);
    border-bottom: 1px solid transparent;
    transition: background 0.5s var(--ease-smooth), box-shadow 0.5s, border-color 0.5s, height 0.4s var(--ease-smooth);
}
nav.scrolled {
    height: 62px;
    background: rgba(4,8,15,0.95);
    box-shadow: 0 1px 0 rgba(201,168,76,0.12), 0 8px 60px rgba(0,0,0,0.7);
    border-bottom-color: var(--border-soft);
}
/* Animated gold sweep top edge */
nav::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1.5px; z-index: 2;
    background: linear-gradient(90deg,
        transparent 0%, rgba(201,168,76,0.0) 8%, rgba(255,224,138,0.9) 50%,
        rgba(201,168,76,0.0) 92%, transparent 100%);
    background-size: 300% 100%;
    animation: navSweep 7s ease-in-out infinite;
}
@keyframes navSweep {
    0%,100% { background-position: -100% 0; opacity: 0.2; }
    35%,65% { background-position:  200% 0; opacity: 1.0; }
}
nav::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(201,168,76,0.07), rgba(120,180,255,0.04), rgba(201,168,76,0.07), transparent);
    pointer-events: none;
}

/* ── Brand logo ── */
.nav-brand {
    display: flex; align-items: center; gap: 0.72rem;
    text-decoration: none;
    transition: opacity 0.25s, transform 0.35s var(--ease-spring);
}
.nav-brand:hover { opacity: 0.92; transform: translateX(2px); }

.nav-logo-mark {
    width: 40px; height: 40px; flex-shrink: 0;
    background: linear-gradient(145deg, var(--gold-pale), var(--gold-light) 40%, var(--gold) 75%, var(--gold-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 2px 14px rgba(201,168,76,0.38);
    animation: logoBreathe 5s ease-in-out infinite;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.nav-logo-mark::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.26) 0%, transparent 55%);
    border-radius: inherit;
}
.nav-logo-mark::after {
    content: '';
    position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}
.nav-brand:hover .nav-logo-mark::after { left: 180%; }
.nav-brand:hover .nav-logo-mark {
    transform: translateY(-3px) rotate(-4deg) scale(1.06);
    box-shadow: 0 10px 36px rgba(201,168,76,0.55), 0 0 0 1px rgba(255,255,255,0.2);
    animation: none;
}
.nav-logo-mark svg { width: 22px; height: 22px; position: relative; z-index: 1; }
@keyframes logoBreathe {
    0%,100% { box-shadow: 0 2px 12px rgba(201,168,76,0.3), 0 0 0 1px rgba(255,255,255,0.08); }
    50%      { box-shadow: 0 4px 30px rgba(201,168,76,0.52), 0 0 0 1px rgba(255,255,255,0.16); }
}

.nav-brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-main {
    font-family: 'Cinzel', serif;
    font-size: 1.02rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-light));
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: brandShimmer 5s linear infinite;
}
@keyframes brandShimmer {
    0%   { background-position: 0%   center; filter: drop-shadow(0 0 4px rgba(201,168,76,0.3)); }
    50%  { background-position: 100% center; filter: drop-shadow(0 0 14px rgba(201,168,76,0.7)); }
    100% { background-position: 200% center; filter: drop-shadow(0 0 4px rgba(201,168,76,0.3)); }
}
.brand-sub {
    font-size: 0.46rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--muted); line-height: 1;
    transition: color 0.3s, letter-spacing 0.3s;
}
.nav-brand:hover .brand-sub { color: var(--gold-deeper); letter-spacing: 0.32em; }

/* ── Nav pill links ── */
.nav-links {
    display: flex; gap: 0.15rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-pill);
    padding: 0.28rem;
    position: relative;
    backdrop-filter: blur(12px);
}
/* Sliding active indicator — JS sets --indicator-x, --indicator-w */
.nav-links::before {
    content: '';
    position: absolute;
    height: calc(100% - 0.56rem); top: 0.28rem;
    left: var(--indicator-x, 0.28rem); width: var(--indicator-w, 0);
    background: linear-gradient(135deg, var(--gold-pale), var(--gold-light) 40%, var(--gold));
    border-radius: var(--radius-pill);
    transition: left 0.35s var(--ease-spring), width 0.35s var(--ease-spring), opacity 0.3s;
    opacity: var(--indicator-opacity, 0);
    box-shadow: 0 2px 16px rgba(201,168,76,0.35);
    pointer-events: none; z-index: 0;
}
.nav-links a {
    text-decoration: none;
    padding: 0.5rem 1.25rem; border-radius: var(--radius-pill);
    font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em;
    color: var(--muted);
    transition: color 0.25s, transform 0.2s;
    position: relative; z-index: 1;
}
.nav-links a:hover { color: var(--text-sub); transform: translateY(-1px); }
.nav-links a.active { color: var(--ink); font-weight: 700; }
.nav-links a:not(.active)::after {
    content: '';
    position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 1.5px;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    transition: width 0.3s var(--ease-out);
    border-radius: 1px;
}
.nav-links a:not(.active):hover::after { width: 55%; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ================================================================
   ✦  BUTTONS
   ================================================================ */

/* Ghost */
.btn-ghost {
    background: none; border: none; cursor: none;
    font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 600;
    color: var(--muted); padding: 0.5rem 0.8rem; border-radius: var(--radius-sm);
    transition: color 0.2s, transform 0.2s, text-shadow 0.3s;
    position: relative; overflow: hidden;
}
.btn-ghost::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: var(--gold-glow); opacity: 0; transition: opacity 0.25s;
}
.btn-ghost:hover { color: var(--gold-light); transform: translateY(-1px); text-shadow: 0 0 16px rgba(201,168,76,0.4); }
.btn-ghost:hover::before { opacity: 1; }

/* Primary Gold CTA */
.btn-gold {
    background: linear-gradient(140deg, var(--gold-pale) 0%, var(--gold-light) 25%, var(--gold) 65%, var(--gold-dark) 100%);
    color: var(--ink); border: none; cursor: none;
    font-family: 'Cinzel', serif; font-size: 0.78rem; font-weight: 700;
    padding: 0.65rem 1.5rem; border-radius: var(--radius-pill);
    letter-spacing: 0.13em; text-transform: uppercase;
    position: relative; overflow: hidden;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem;
    box-shadow:
        var(--shadow-gold),
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
    animation: btnGoldPulse 4.5s ease-in-out infinite;
    background-size: 200% auto;
    will-change: transform;
}
@keyframes btnGoldPulse {
    0%,100% { box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.28); background-position: 0% center; }
    50%      { box-shadow: 0 12px 56px rgba(201,168,76,0.42), inset 0 1px 0 rgba(255,255,255,0.32); background-position: 100% center; }
}
/* Sweep shimmer */
.btn-gold::before {
    content: ''; position: absolute; top: 0; left: -130%;
    width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-22deg); transition: left 0.65s ease;
}
/* Outer glow halo */
.btn-gold::after {
    content: ''; position: absolute; inset: -4px; border-radius: inherit;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    opacity: 0; z-index: -1; filter: blur(14px); transition: opacity 0.4s;
}
.btn-gold:hover {
    transform: translateY(-4px) scale(1.04); animation: none; background-position: 100% center;
    box-shadow: 0 20px 60px rgba(201,168,76,0.55), 0 8px 24px rgba(201,168,76,0.30),
                inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-gold:hover::before { left: 170%; }
.btn-gold:hover::after  { opacity: 0.8; }
.btn-gold:active { transform: scale(0.96) translateY(1px); transition-duration: 0.08s; }
/* JS-injected ripple */
.btn-gold .btn-ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: btnRipple 0.55s ease-out forwards;
    pointer-events: none;
}
@keyframes btnRipple { to { transform: scale(4.5); opacity: 0; } }

/* Outline */
.btn-outline {
    background: transparent; border: 1px solid var(--border);
    color: var(--gold-light); cursor: none;
    font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 600;
    padding: 0.63rem 1.4rem; border-radius: var(--radius-pill);
    letter-spacing: 0.03em;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
    position: relative; overflow: hidden;
    transition: border-color 0.3s, transform 0.35s var(--ease-spring), box-shadow 0.3s, color 0.3s;
}
.btn-outline::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.12), transparent 70%);
    opacity: 0; transition: opacity 0.35s;
}
.btn-outline::after {
    content: ''; position: absolute; top: 0; left: -110%;
    width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(201,168,76,0.18), transparent);
    transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-outline:hover {
    border-color: var(--gold); color: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(201,168,76,0.18), 0 0 0 1px rgba(201,168,76,0.18);
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline:hover::after  { left: 160%; }

/* ================================================================
   ✦  CARDS
   ================================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.5s var(--ease-smooth);
    position: relative; overflow: hidden;
    transform-style: preserve-3d; will-change: transform;
}
.card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(145deg, rgba(201,168,76,0.08) 0%, rgba(120,80,200,0.03) 40%, transparent 60%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 1;
}
.card::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 70%; height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(255,200,80,0.8), rgba(120,200,255,0.5), rgba(200,100,255,0.4), transparent);
    transition: left 0.7s var(--ease-out); z-index: 2;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-gold-lg), var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card:hover::after  { left: 110%; }

/* Featured / breathing card */
.card.card-featured {
    border-color: rgba(201,168,76,0.26);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(201,168,76,0.08),
                inset 0 0 40px rgba(201,168,76,0.04);
    animation: featuredCardBreath 6s ease-in-out infinite;
}
@keyframes featuredCardBreath {
    0%,100% { box-shadow: var(--shadow-card), 0 0 0 1px rgba(201,168,76,0.08), inset 0 0 40px rgba(201,168,76,0.04); }
    50%      { box-shadow: var(--shadow-gold), 0 0 0 1px rgba(201,168,76,0.18), inset 0 0 60px rgba(201,168,76,0.08); }
}

/* Glass card */
.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    border: 1px solid rgba(201,168,76,0.12);
}

/* Glass panel (utility) */
.glass-panel {
    background: rgba(10,17,32,0.65);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border: 1px solid rgba(201,168,76,0.11);
    border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.glass-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(255,255,255,0.12), rgba(201,168,76,0.18), rgba(255,255,255,0.12), transparent);
    pointer-events: none;
}

/* ================================================================
   ✦  BADGES
   ================================================================ */
.badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.26rem 0.8rem; border-radius: var(--radius-pill);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; white-space: nowrap;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, filter 0.25s;
    position: relative; overflow: hidden;
}
.badge::after {
    content: ''; position: absolute; top: 0; left: -80%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-15deg); transition: left 0.5s ease;
}
.badge:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.1); }
.badge:hover::after { left: 140%; }
.badge-gold {
    background: linear-gradient(135deg, rgba(201,168,76,0.20), rgba(201,168,76,0.07));
    border: 1px solid rgba(201,168,76,0.30);
    color: var(--gold-bright);
    text-shadow: 0 0 10px rgba(201,168,76,0.4);
    animation: badgeGlow 3.5s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
    50%      { box-shadow: 0 0 16px 0 rgba(201,168,76,0.28), inset 0 0 8px rgba(201,168,76,0.06); }
}
.badge-green { background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.24); color: #6EE7B7; }
.badge-red   { background: rgba(248,113,113,0.10); border: 1px solid rgba(248,113,113,0.24); color: #FCA5A5; }
.badge-blue  { background: rgba(96,165,250,0.10);  border: 1px solid rgba(96,165,250,0.24);  color: #93C5FD; }
.badge-elite {
    background: linear-gradient(135deg, rgba(201,168,76,0.24), rgba(120,80,200,0.14));
    border: 1px solid rgba(201,168,76,0.34); color: var(--gold-bright);
    background-size: 200% auto;
    animation: eliteBadge 4s linear infinite, badgeGlow 3.5s ease-in-out infinite;
}
@keyframes eliteBadge { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* ================================================================
   ✦  SECTION TITLES
   ================================================================ */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700;
    color: var(--text); text-align: center; line-height: 1.12;
    letter-spacing: 0.06em;
    animation: titleReveal 0.9s var(--ease-expo) both;
}
@keyframes titleReveal {
    from { opacity: 0; transform: translateY(28px) skewY(1.5deg); filter: blur(4px); letter-spacing: 0.16em; }
    to   { opacity: 1; transform: translateY(0)    skewY(0deg);   filter: blur(0);   letter-spacing: 0.06em; }
}
.section-title em {
    font-style: italic; font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em; font-weight: 600;
    background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold-light) 35%, var(--gold) 65%, var(--gold-dark) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    background-size: 200% auto;
    animation: shimmerText 2.8s linear infinite;
    filter: drop-shadow(0 0 22px rgba(201,168,76,0.35));
}
@keyframes shimmerText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.section-sub {
    text-align: center; color: var(--muted-light); font-size: 0.96rem;
    line-height: 1.75; margin-top: 0.7rem; max-width: 520px;
    margin-left: auto; margin-right: auto;
    animation: fadeUp 0.9s 0.25s var(--ease-out) both;
}
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'Cinzel', serif; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
    text-shadow: 0 0 20px rgba(201,168,76,0.4);
    margin-bottom: 0.8rem;
    animation: fadeUp 0.6s var(--ease-out) both;
}
.section-eyebrow::before,
.section-eyebrow::after { content: ''; width: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); animation: wingExpand 0.8s var(--ease-out) both; }
.section-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ================================================================
   ✦  MODAL
   ================================================================ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(2,4,10,0.90);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    width: 100%; max-width: 490px; position: relative; overflow: hidden;
    box-shadow: 0 60px 140px rgba(0,0,0,0.85), 0 0 0 1px rgba(201,168,76,0.07),
                inset 0 1px 0 rgba(255,255,255,0.07);
    animation: modalIn 0.5s var(--ease-spring);
}
.modal-box::before {
    content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    opacity: 0.6; animation: modalTopGlow 4s ease-in-out infinite;
}
@keyframes modalTopGlow { 0%,100% { opacity: 0.2; left: 25%; right: 25%; } 50% { opacity: 0.9; left: 4%; right: 4%; } }
.modal-box::after {
    content: ''; position: absolute; top: -50px; right: -50px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
    animation: cornerBreath 6s ease-in-out infinite;
}
@keyframes cornerBreath { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.5); opacity: 1; } }
@keyframes modalIn { from { opacity:0; transform:translateY(50px) scale(0.88); filter:blur(4px); } to { opacity:1; transform:translateY(0) scale(1); filter:blur(0); } }

.modal-close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft);
    border-radius: 50%; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: none; color: var(--muted);
    transition: background 0.2s, color 0.2s, transform 0.4s var(--ease-spring), border-color 0.2s, box-shadow 0.3s;
}
.modal-close:hover {
    background: rgba(255,255,255,0.09); border-color: var(--border); color: var(--text);
    transform: rotate(95deg) scale(1.12);
    box-shadow: 0 0 14px rgba(201,168,76,0.15);
}

/* ================================================================
   ✦  FORM ELEMENTS
   ================================================================ */
.modal-input, .form-input {
    width: 100%; background: var(--bg-input);
    border: 1px solid var(--border-soft); border-radius: var(--radius-md);
    padding: 0.95rem 1.3rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text);
    outline: none; display: block; margin-bottom: 1rem;
    transition: border-color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.25s;
}
.modal-input::placeholder, .form-input::placeholder {
    color: var(--muted);
    transition: transform 0.3s, opacity 0.3s;
}
.modal-input:focus::placeholder, .form-input:focus::placeholder {
    transform: translateX(6px); opacity: 0.5;
}
.modal-input:focus, .form-input:focus {
    border-color: var(--gold); background: rgba(201,168,76,0.03);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.14), 0 0 0 6px rgba(201,168,76,0.04),
                inset 0 1px 4px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.form-label {
    display: block; font-family: 'Cinzel', serif;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 0.45rem;
    transition: color 0.25s, letter-spacing 0.25s;
}

/* ================================================================
   ✦  STAT ROWS
   ================================================================ */
.stat-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid var(--border-soft); border-radius: var(--radius-xs);
    transition: background 0.3s, padding 0.3s var(--ease-out), transform 0.25s;
    position: relative; overflow: hidden;
}
.stat-row::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: var(--gold); transform: scaleY(0); transform-origin: bottom;
    transition: transform 0.3s var(--ease-out); border-radius: 2px;
}
.stat-row:last-child { border-bottom: none; }
.stat-row:hover { background: var(--bg-hover); padding-left: 1.2rem; transform: translateX(2px); }
.stat-row:hover::before { transform: scaleY(1); }
.stat-label { font-size: 0.85rem; color: var(--muted); }
.stat-value { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.stat-value.gold { color: var(--gold-light); text-shadow: 0 0 14px rgba(201,168,76,0.35); animation: valueGlow 3s ease-in-out infinite; }
@keyframes valueGlow {
    0%,100% { text-shadow: 0 0 10px rgba(201,168,76,0.25); }
    50%      { text-shadow: 0 0 20px rgba(201,168,76,0.5), 0 0 40px rgba(201,168,76,0.15); }
}

/* ================================================================
   ✦  SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); border-radius: 10px; box-shadow: 0 0 8px rgba(201,168,76,0.3); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }

/* ================================================================
   ✦  SELECTION
   ================================================================ */
::selection { background: rgba(201,168,76,0.25); color: var(--gold-bright); text-shadow: 0 0 20px rgba(201,168,76,0.5); }

/* ================================================================
   ✦  FOCUS RING (accessibility)
   ================================================================ */
:focus-visible {
    outline: 2px solid rgba(201,168,76,0.6);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
    box-shadow: 0 0 0 5px rgba(201,168,76,0.12);
}

/* ================================================================
   ✦  FOOTER
   ================================================================ */
footer {
    border-top: 1px solid var(--border-soft);
    padding: 3.5rem 2rem 2.75rem;
    text-align: center; color: var(--muted); font-size: 0.875rem;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(2,4,10,1) 100%);
    position: relative; overflow: hidden;
}
footer::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), var(--gold-bright), transparent);
    animation: footerLine 5s ease-in-out infinite;
}
@keyframes footerLine { 0%,100% { width: 140px; opacity: 0.4; } 50% { width: 340px; opacity: 1; } }
footer::after {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 100px;
    background: radial-gradient(ellipse at top, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none; animation: footerRadiance 6s ease-in-out infinite;
}
@keyframes footerRadiance { 0%,100% { opacity: 0.6; width: 220px; } 50% { opacity: 1; width: 380px; } }
footer a {
    color: var(--gold); text-decoration: none;
    transition: color 0.2s, text-shadow 0.3s; position: relative;
}
footer a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}
footer a:hover { color: var(--gold-bright); text-shadow: 0 0 18px rgba(201,168,76,0.55); }
footer a:hover::after { transform: scaleX(1); }

/* ================================================================
   ✦  ANIMATIONS — core keyframes library
   ================================================================ */
@keyframes fadeUp    { from { opacity:0; transform:translateY(40px);  filter:blur(3px); } to { opacity:1; transform:translateY(0);    filter:blur(0); } }
@keyframes fadeDown  { from { opacity:0; transform:translateY(-28px); filter:blur(2px); } to { opacity:1; transform:translateY(0);    filter:blur(0); } }
@keyframes fadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes fadeInScale { from { opacity:0; transform:scale(0.88); filter:blur(4px); } to { opacity:1; transform:scale(1); filter:blur(0); } }
@keyframes shimmer   { 0% { background-position:-200% center; } 100% { background-position:200% center; } }
@keyframes floatY    { 0%,100% { transform:translateY(0); }    50% { transform:translateY(-12px); } }
@keyframes floatYSlow{ 0%,100% { transform:translateY(0) rotate(0deg); } 33% { transform:translateY(-7px) rotate(1.2deg); } 66% { transform:translateY(-3px) rotate(-0.8deg); } }
@keyframes rotateGlow{ to { transform:rotate(360deg); } }
@keyframes slideRight{ from { opacity:0; transform:translateX(36px);  filter:blur(3px); } to { opacity:1; transform:translateX(0);    filter:blur(0); } }
@keyframes slideLeft { from { opacity:0; transform:translateX(-36px); filter:blur(3px); } to { opacity:1; transform:translateX(0);    filter:blur(0); } }
@keyframes scaleIn   { from { opacity:0; transform:scale(0.75) rotate(-2deg); } to { opacity:1; transform:scale(1) rotate(0deg); } }
@keyframes flipIn    { from { opacity:0; transform:rotateX(-30deg) translateY(16px); filter:blur(4px); } to { opacity:1; transform:rotateX(0deg) translateY(0); filter:blur(0); } }
@keyframes pulseGold { 0%,100% { box-shadow:0 0 0 0   rgba(201,168,76,0.5); } 50% { box-shadow:0 0 0 14px rgba(201,168,76,0); } }

/* ── Utility animation classes ── */
.fade-up     { animation: fadeUp      0.75s var(--ease-expo) both; }
.fade-down   { animation: fadeDown    0.65s var(--ease-expo) both; }
.fade-in     { animation: fadeIn      0.5s ease both; }
.fade-scale  { animation: fadeInScale 0.6s var(--ease-spring) both; }
.slide-right { animation: slideRight  0.65s var(--ease-expo) both; }
.slide-left  { animation: slideLeft   0.65s var(--ease-expo) both; }
.float       { animation: floatY     4.5s ease-in-out infinite; }
.float-slow  { animation: floatYSlow  7.5s ease-in-out infinite; }
.scale-in    { animation: scaleIn    0.55s var(--ease-spring) both; }
.flip-in     { animation: flipIn     0.7s var(--ease-expo) both; }

.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
.delay-5 { animation-delay: 0.58s; }
.delay-6 { animation-delay: 0.70s; }
.delay-7 { animation-delay: 0.84s; }
.delay-8 { animation-delay: 1.00s; }

/* ================================================================
   ✦  SHIMMER TEXT
   ================================================================ */
.text-shimmer {
    background: linear-gradient(90deg,
        var(--gold-dark) 0%, var(--gold-bright) 28%,
        var(--gold-pale) 50%, var(--gold-bright) 72%, var(--gold-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ================================================================
   ✦  SKELETON LOADER
   ================================================================ */
.skeleton {
    background: linear-gradient(90deg,
        var(--bg-card) 20%, var(--bg-elevated) 50%,
        rgba(201,168,76,0.04) 60%, var(--bg-card) 80%);
    background-size: 300% 100%;
    animation: shimmer 2s infinite;
    border-radius: var(--radius-sm); position: relative; overflow: hidden;
}

/* ================================================================
   ✦  PULSE DOT
   ================================================================ */
.pulse-dot {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background: #34D399; position: relative;
}
.pulse-dot::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: inherit; animation: pulseRipple 1.8s ease-out infinite;
}
@keyframes pulseRipple { 0% { transform:scale(1); opacity:0.8; } 70%,100% { transform:scale(2.2); opacity:0; } }
.pulse-dot.gold { background: var(--gold); }

/* ================================================================
   ✦  TOAST
   ================================================================ */
.toast {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.4rem;
    font-size: 0.875rem; font-weight: 500; color: var(--text);
    box-shadow: 0 16px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.07);
    transform: translateY(24px) scale(0.94);
    opacity: 0;
    transition: transform 0.45s var(--ease-spring), opacity 0.4s, box-shadow 0.4s;
    pointer-events: none; max-width: 320px;
    display: flex; align-items: center; gap: 0.75rem; overflow: hidden;
}
.toast::before {
    content: ''; position: absolute; bottom: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    width: 0; border-radius: 0 0 var(--radius-md) var(--radius-md);
    transition: width var(--toast-duration, 3s) linear;
}
.toast.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.toast.show::before { width: 100%; }
.toast.success { border-color: rgba(52,211,153,0.35); }
.toast.success::before { background: linear-gradient(90deg, #34D399, #6EE7B7); }
.toast.error   { border-color: rgba(248,113,113,0.35); }
.toast.error::before   { background: linear-gradient(90deg, #F87171, #FCA5A5); }
.toast.gold    { border-color: rgba(201,168,76,0.40); }

/* ================================================================
   ✦  SCROLL REVEAL
   ================================================================ */
.reveal {
    opacity: 0; transform: translateY(40px); filter: blur(2px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo), filter 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-scale { transform: scale(0.92); }
.reveal.revealed.reveal-left,
.reveal.revealed.reveal-right,
.reveal.revealed.reveal-scale { transform: translate(0) scale(1); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ================================================================
   ✦  INTERACTIVE HELPERS
   ================================================================ */
.ripple {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.35) 0%, rgba(201,168,76,0) 70%);
    transform: scale(0); animation: rippleOut 0.7s ease-out forwards; pointer-events: none;
}
@keyframes rippleOut { to { transform:scale(5); opacity:0; } }

.lift {
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, filter 0.35s;
}
.lift:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 14px 44px rgba(0,0,0,0.38), 0 4px 18px rgba(201,168,76,0.12);
    filter: brightness(1.04);
}

/* Magnetic (JS applies transforms) */
[data-magnetic] { transition: transform 0.25s var(--ease-out); will-change: transform; }

/* ================================================================
   ✦  TOOLTIP
   ================================================================ */
[data-tooltip] { position: relative; }
[data-tooltip]::before, [data-tooltip]::after {
    position: absolute; bottom: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(6px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease-out);
    z-index: 500;
}
[data-tooltip]::before {
    content: attr(data-tooltip); white-space: nowrap;
    background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-sub);
    font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500;
    padding: 0.35rem 0.75rem; border-radius: var(--radius-sm);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
[data-tooltip]::after {
    content: ''; border: 5px solid transparent; border-top-color: var(--border);
    bottom: calc(100% + 2px);
}
[data-tooltip]:hover::before,
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================================================================
   ✦  PROGRESS BAR
   ================================================================ */
.progress-bar {
    height: 4px; background: var(--bg-elevated);
    border-radius: var(--radius-pill); overflow: hidden; position: relative;
}
.progress-bar-fill {
    height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright), var(--gold));
    background-size: 200% auto; border-radius: inherit;
    animation: shimmer 2.5s linear infinite;
    transition: width 0.8s var(--ease-expo); position: relative;
}
.progress-bar-fill::after {
    content: ''; position: absolute; right: 0; top: -3px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 8px var(--gold), 0 0 20px rgba(201,168,76,0.5);
}

/* ================================================================
   ✦  TAB BAR
   ================================================================ */
.tab-bar {
    display: flex; position: relative; border-bottom: 1px solid var(--border-soft);
}
.tab-bar-item {
    padding: 0.75rem 1.5rem; font-size: 0.85rem; font-weight: 500;
    color: var(--muted); cursor: none; transition: color 0.25s; position: relative;
}
.tab-bar-item:hover { color: var(--text-sub); }
.tab-bar-item.active { color: var(--gold-light); }
.tab-bar-item.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px 2px 0 0; box-shadow: 0 -2px 10px rgba(201,168,76,0.3);
}

/* ================================================================
   ✦  DATA TABLE
   ================================================================ */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th {
    font-family: 'Cinzel', serif; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
    text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border-soft);
}
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-soft); color: var(--text-sub); transition: color 0.2s; }
.data-table tr { transition: background 0.2s; }
.data-table tbody tr:hover { background: var(--bg-hover); }
.data-table tbody tr:hover td { color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }

/* ================================================================
   ✦  CHIP / TAG
   ================================================================ */
.chip {
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.2rem 0.65rem; background: var(--bg-elevated);
    border: 1px solid var(--border-soft); border-radius: var(--radius-pill);
    font-size: 0.75rem; font-weight: 500; color: var(--text-sub); cursor: none;
    transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.2s var(--ease-spring);
}
.chip:hover { border-color: var(--border); color: var(--gold-light); background: var(--bg-hover); transform: translateY(-1px); }
.chip.active { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.30); color: var(--gold-bright); }

/* ================================================================
   ✦  GLOW RING DECORATION
   ================================================================ */
.glow-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(201,168,76,0.09);
    animation: rotateGlow 28s linear infinite; pointer-events: none;
}
.glow-ring:nth-child(2) { animation-direction: reverse; animation-duration: 20s; border-color: rgba(120,80,200,0.05); }
.glow-ring:nth-child(3) { animation-duration: 40s; border-color: rgba(60,120,255,0.04); }

/* ================================================================
   ✦  UTILITIES
   ================================================================ */
.text-gold      { color: var(--gold-light); }
.text-gold-glow { color: var(--gold-light); text-shadow: 0 0 20px rgba(201,168,76,0.5); animation: brandShimmer 5s linear infinite; }
.text-muted     { color: var(--muted); }
.text-sub       { color: var(--text-sub); }
.text-serif     { font-family: 'Cinzel', serif; }
.text-italic    { font-family: 'Cormorant Garamond', serif; font-style: italic; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.uppercase      { text-transform: uppercase; letter-spacing: 0.08em; }
.center         { text-align: center; }
.divider        { height: 1px; background: linear-gradient(90deg, transparent, var(--border-soft), transparent); margin: 1.5rem 0; }
.blur-text      { filter: blur(4px); transition: filter 0.3s; }
.blur-text:hover{ filter: blur(0); }
.mt-1 { margin-top: 0.5rem; }  .mt-2 { margin-top: 1rem; }   .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom:0.5rem;} .mb-2 { margin-bottom:1rem; } .mb-3 { margin-bottom:1.5rem;} .mb-4 { margin-bottom:2.5rem;}

/* ================================================================
   ✦  RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    nav { padding: 0 1.25rem; height: 64px; }
    nav.scrolled { height: 58px; }
    .modal-box { padding: 2rem 1.5rem; border-radius: var(--radius-lg); }
    .section-title { letter-spacing: 0.04em; }
    .toast { bottom: 1.25rem; right: 1.25rem; left: 1.25rem; max-width: none; }
    .card:hover { transform: translateY(-3px); }
}
@media (max-width: 480px) {
    .btn-gold, .btn-outline { padding: 0.6rem 1.1rem; font-size: 0.75rem; }
    .modal-box { padding: 1.6rem 1.25rem; }
    nav { padding: 0 1rem; }
}

/* ================================================================
   ✦  REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.1ms !important;
    }
    body::before, body::after { animation: none; }
}

/* ================================================================
   ✦  PRINT
   ================================================================ */
@media print {
    body::before, body::after, nav::before, nav::after { display: none; }
    body { background: #fff; color: #000; }
    nav { position: static; background: #fff; border: none; }
    #cursor-dot, #cursor-ring, #cursor-aura { display: none; }
}

/*
================================================================
  ✦  INDEX.HTML — ADD THESE THREE LINES just before </body>:

    <div id="cursor-dot"></div>
    <div id="cursor-ring"></div>
    <div id="cursor-aura"></div>

================================================================
  ✦  SCRIPT.JS — ADD THIS BLOCK (or paste into index.html <script>)

(function () {
    'use strict';
    var dot  = document.getElementById('cursor-dot');
    var ring = document.getElementById('cursor-ring');
    var aura = document.getElementById('cursor-aura');
    if (!dot || !ring || !aura) return;

    var mx=-200,my=-200, rx=-200,ry=-200, ax=-200,ay=-200;
    var lastTrail = 0;

    document.addEventListener('mousemove', function(e) {
        mx = e.clientX; my = e.clientY;
        var now = Date.now();
        if (now - lastTrail >= 28) {
            lastTrail = now;
            var t  = document.createElement('div');
            t.className = 'cur-trail';
            var sz = 2 + Math.random() * 2.8;
            t.style.cssText = 'left:'+mx+'px;top:'+my+'px;width:'+sz+'px;height:'+sz+'px;animation-duration:'+(0.35+Math.random()*0.25)+'s;';
            document.body.appendChild(t);
            setTimeout(function(){ if(t.parentNode) t.parentNode.removeChild(t); }, 620);
        }
    }, { passive: true });

    (function loop() {
        rx += (mx-rx)*0.15; ry += (my-ry)*0.15;
        ax += (mx-ax)*0.07; ay += (my-ay)*0.07;
        dot.style.left  = mx+'px'; dot.style.top  = my+'px';
        ring.style.left = rx+'px'; ring.style.top = ry+'px';
        aura.style.left = ax+'px'; aura.style.top = ay+'px';
        requestAnimationFrame(loop);
    })();

    function addHover() {
        document.querySelectorAll('a,button,[role="button"],input,select,textarea,label,.card,.why-card,.testi-card,.learn-step,.stat-item').forEach(function(el) {
            el.addEventListener('mouseenter',function(){ ring.classList.add('hov');  aura.classList.add('hov');  });
            el.addEventListener('mouseleave',function(){ ring.classList.remove('hov'); aura.classList.remove('hov'); });
        });
    }
    addHover();
    if (window.MutationObserver) new MutationObserver(addHover).observe(document.body,{childList:true,subtree:true});

    document.addEventListener('mousedown',function(){ dot.classList.add('clk');  ring.classList.add('clk');  });
    document.addEventListener('mouseup',  function(){ dot.classList.remove('clk'); ring.classList.remove('clk'); });
    document.addEventListener('mouseleave',function(){ dot.style.opacity=ring.style.opacity=aura.style.opacity='0'; });
    document.addEventListener('mouseenter', function(){ dot.style.opacity=ring.style.opacity=aura.style.opacity=''; });

    // Nav pill sliding indicator
    var navPill = document.querySelector('.nav-links');
    if (navPill) {
        function updateIndicator(el) {
            var r=el.getBoundingClientRect(), p=navPill.getBoundingClientRect();
            navPill.style.setProperty('--indicator-x',(r.left-p.left)+'px');
            navPill.style.setProperty('--indicator-w',r.width+'px');
            navPill.style.setProperty('--indicator-opacity','1');
        }
        var navAs = navPill.querySelectorAll('a');
        navAs.forEach(function(a){
            if (a.classList.contains('active')) updateIndicator(a);
            a.addEventListener('mouseenter',function(){ updateIndicator(a); });
        });
        navPill.addEventListener('mouseleave',function(){
            var active=navPill.querySelector('.active');
            if(active) updateIndicator(active);
            else navPill.style.setProperty('--indicator-opacity','0');
        });
    }

    // Scroll nav class
    window.addEventListener('scroll',function(){
        var n=document.querySelector('nav');
        if(n) n.classList.toggle('scrolled', window.scrollY > 20);
    },{passive:true});

    // Scroll reveal
    var revEls = document.querySelectorAll('.reveal');
    if (revEls.length) {
        var io = new IntersectionObserver(function(entries){
            entries.forEach(function(e){ if(e.isIntersecting){ e.target.classList.add('revealed'); io.unobserve(e.target); } });
        },{threshold:0.12});
        revEls.forEach(function(el){ io.observe(el); });
    }

    // 3D card tilt
    document.querySelectorAll('[data-tilt]').forEach(function(card){
        card.addEventListener('mousemove',function(e){
            var r=card.getBoundingClientRect();
            var x=(e.clientX-r.left)/r.width-0.5, y=(e.clientY-r.top)/r.height-0.5;
            var max=parseFloat(card.dataset.tiltMax||12);
            card.style.transform='perspective(1000px) rotateY('+(x*max)+'deg) rotateX('+(-y*max)+'deg) translateZ(8px)';
        });
        card.addEventListener('mouseleave',function(){ card.style.transform=''; card.style.transition='transform 0.6s cubic-bezier(0.22,1,0.36,1)'; });
        card.addEventListener('mouseenter',function(){ card.style.transition='transform 0.1s linear'; });
    });

    // Magnetic
    document.querySelectorAll('[data-magnetic]').forEach(function(el){
        el.addEventListener('mousemove',function(e){
            var r=el.getBoundingClientRect();
            var dx=(e.clientX-r.left-r.width/2)*0.22, dy=(e.clientY-r.top-r.height/2)*0.22;
            el.style.transform='translate('+dx+'px,'+dy+'px)';
        });
        el.addEventListener('mouseleave',function(){ el.style.transform=''; });
    });

    // Btn-gold ripple
    document.querySelectorAll('.btn-gold').forEach(function(btn){
        btn.addEventListener('click',function(e){
            var r=btn.getBoundingClientRect(), rip=document.createElement('span');
            rip.className='btn-ripple';
            var sz=Math.max(r.width,r.height)*1.2;
            rip.style.cssText='width:'+sz+'px;height:'+sz+'px;left:'+(e.clientX-r.left-sz/2)+'px;top:'+(e.clientY-r.top-sz/2)+'px;';
            btn.appendChild(rip); setTimeout(function(){ rip.remove(); },600);
        });
    });

}());

================================================================ */
