/* ════════════════════════════════════════════════════════════════════════
   ▓▓▓ SPX$ PIXEL-PERFECT — EXTRACTED FROM PREVIEW.HTML ▓▓▓
   1:1 replication of preview.html design
   ════════════════════════════════════════════════════════════════════════ */

:root {
    --bg: #03050A;
    --bg-2: #050812;
    --panel: rgba(8, 12, 24, .72);
    --panel-2: rgba(11, 16, 32, .82);
    --line: rgba(0, 217, 255, .22);
    --line-strong: rgba(0, 217, 255, .48);
    --text: #EAF8FF;
    --muted: #AEB9C8;
    --muted-2: #7D8794;
    --cyan: #00D9FF;
    --blue: #2F80FF;
    --metal: #E7ECF3;
    --chrome: #B6C0CC;
    --gold: #C7A75B;
    --warning: #FFB020;
    --radius-xl: 28px;
    --radius-lg: 22px;
    --shadow: 0 24px 80px rgba(0, 157, 255, .16);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.spx-body, body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 76% 12%, rgba(0, 217, 255, .16), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(47, 128, 255, .25), transparent 34%),
        linear-gradient(180deg, #03050A 0%, #050812 45%, #03050A 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
    background-image:
        radial-gradient(circle, rgba(234, 248, 255, .52) 1px, transparent 1.6px),
        linear-gradient(rgba(0, 217, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, .035) 1px, transparent 1px);
    background-size: 110px 110px, 58px 58px, 58px 58px;
    opacity: .46;
    mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.8) 42%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.8) 42%, transparent 100%);
}

body::after {
    content: "";
    position: fixed;
    left: -12vw;
    right: -12vw;
    bottom: -32vw;
    height: 56vw;
    pointer-events: none;
    z-index: -2;
    border-radius: 50% 50% 0 0;
    background:
        radial-gradient(ellipse at top, rgba(0, 217, 255, .38), rgba(47, 128, 255, .09) 28%, transparent 54%),
        linear-gradient(180deg, rgba(234, 248, 255, .18), rgba(3,5,10,0) 42%);
    box-shadow: 0 -20px 90px rgba(0, 157, 255, .24);
    opacity: .8;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.spx-container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.spx-section { padding: 104px 0; position: relative; }
.spx-section-tight { padding: 72px 0; }

/* ━━━ NAV ━━━ */
.spx-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0, 217, 255, .16);
    background: rgba(3, 5, 10, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, .36);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 50%; position: relative; display: grid; place-items: center;
    background: radial-gradient(circle at 32% 22%, #E7ECF3, #596474 30%, #111722 62%, #03050A 100%);
    border: 1px solid rgba(234, 248, 255, .24);
    box-shadow: 0 0 28px rgba(0, 217, 255, .22), inset 0 0 20px rgba(255,255,255,.1);
}
.brand-mark::before { content: "X"; font-family: 'Space Grotesk', sans-serif; font-weight: 800; color: white; font-size: 23px; text-shadow: 0 0 12px var(--cyan); }
.brand-text strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 18px; letter-spacing: .01em; }
.brand-text span { display: block; color: var(--muted-2); font-size: 12px; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link-text { color: var(--muted); font-size: 14px; font-weight: 600; padding: 0 10px; transition: color .2s ease; }
.nav-link-text:hover { color: var(--text); }
.show-mobile-only { display: none; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(234, 248, 255, .14); background: rgba(255,255,255,.04); color: white; cursor: pointer; font-size: 18px; }

/* ━━━ BUTTONS ━━━ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 20px; border-radius: 999px;
    border: 1px solid rgba(234, 248, 255, .14); cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
    font-weight: 800; letter-spacing: -.01em; font-family: Inter, sans-serif;
    text-decoration: none; font-size: 15px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #031018;
    background: linear-gradient(135deg, #00D9FF 0%, #2F80FF 48%, #EAF8FF 120%);
    border-color: rgba(0, 217, 255, .8);
    box-shadow: 0 14px 42px rgba(0, 157, 255, .35), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-secondary { background: rgba(255,255,255,.045); color: var(--text); }
.btn-secondary:hover { border-color: rgba(0, 217, 255, .45); box-shadow: 0 14px 40px rgba(0, 217, 255, .08); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-wide { width: 100%; }

/* ━━━ HERO ━━━ */
.spx-hero { padding: 86px 0 64px; min-height: calc(100vh - 72px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px;
    border-radius: 999px; color: #DFFBFF; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(0, 217, 255, .08); border: 1px solid rgba(0, 217, 255, .24);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.badge.gold { color: #F8E9B7; background: rgba(199, 167, 91, .08); border-color: rgba(199, 167, 91, .32); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(0,217,255,.12), 0 0 22px var(--cyan); animation: pulse-glow 2s infinite; }
@keyframes pulse-glow { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(45px, 7vw, 82px); line-height: .94; max-width: 760px; }
.chrome-text { background: linear-gradient(100deg, #fff 0%, #B6C0CC 28%, #00D9FF 58%, #EAF8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { margin: 22px 0 0; max-width: 650px; color: #C8D4E2; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.62; }
.micro-line { margin-top: 14px; color: var(--muted-2); font-size: 14px; }
.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust-stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.stat {
    padding: 16px 16px; border-radius: 18px; border: 1px solid rgba(234,248,255,.11); background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.stat span { display: block; color: var(--muted-2); font-size: 12px; margin-top: 4px; }
.disclaimer-line { margin-top: 20px; color: #93A0AF; font-size: 12.5px; line-height: 1.55; max-width: 690px; }

/* ━━━ VISUAL STACK (right side) ━━━ */
.visual-stack { position: relative; min-height: 680px; display: grid; align-items: center; }
.orbit-shell { position: absolute; inset: -40px -20px auto auto; width: min(570px, 90vw); aspect-ratio: 1; border-radius: 50%; opacity: .9; pointer-events: none; }
.orbit-shell::before, .orbit-shell::after {
    content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(0, 217, 255, .16); transform: rotate(-18deg) skew(12deg); box-shadow: 0 0 60px rgba(0, 217, 255, .1);
}
.orbit-shell::after { inset: 17%; transform: rotate(22deg) skew(-16deg); border-color: rgba(234,248,255,.12); }
.coin {
    position: absolute; top: 14px; right: 74px; width: min(330px, 58vw); aspect-ratio: 1; border-radius: 50%; z-index: 0;
    background:
        radial-gradient(circle at 35% 24%, rgba(255,255,255,.95) 0 6%, rgba(231,236,243,.62) 8%, transparent 18%),
        radial-gradient(circle at 58% 48%, #2A303B 0 18%, #0B1020 34%, #02050C 59%, #778493 78%, #E7ECF3 86%, #111722 100%);
    border: 2px solid rgba(231,236,243,.55);
    box-shadow: 0 28px 100px rgba(0, 157, 255, .32), inset 0 0 38px rgba(0,0,0,.65), inset 0 0 0 12px rgba(255,255,255,.035);
    animation: floatCoin 6s ease-in-out infinite;
}
.coin::before {
    content: "X"; position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-size: clamp(120px, 16vw, 190px); font-weight: 900;
    background: linear-gradient(130deg, #fff, #B6C0CC 40%, #3D4654 58%, #EAF8FF 82%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 26px rgba(0,217,255,.35));
}
.coin::after {
    content: ""; position: absolute; left: 48%; top: 18%; width: 4px; height: 56%; border-radius: 999px;
    background: linear-gradient(180deg, #EAF8FF, #00D9FF 44%, transparent); transform: rotate(-18deg);
    box-shadow: 0 0 20px rgba(0,217,255,.9);
}
.rocket { position: absolute; top: 17%; left: 53%; width: 38px; height: 68px; transform: rotate(18deg); z-index: 2; filter: drop-shadow(0 0 16px rgba(0,217,255,.9)); }
.rocket::before { content: ""; display: block; width: 24px; height: 46px; margin: 0 auto; background: linear-gradient(#fff, #B6C0CC); clip-path: polygon(50% 0, 82% 26%, 74% 100%, 26% 100%, 18% 26%); border-radius: 12px; }
.rocket::after { content: ""; display: block; width: 12px; height: 28px; margin: -2px auto 0; background: linear-gradient(var(--cyan), transparent); border-radius: 50%; }
@keyframes floatCoin { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }

/* ━━━ PRESALE CARD ━━━ */
.presale-card {
    position: relative; z-index: 2; margin-top: 210px; margin-left: auto; width: min(480px, 100%);
    padding: 24px; border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(11,16,32,.86), rgba(3,5,10,.82));
    border: 1px solid rgba(0, 217, 255, .28); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
    overflow: hidden;
}
.presale-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0 35%, rgba(0,217,255,.08), transparent 62%); pointer-events: none; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.card-head h2 { font-size: 29px; letter-spacing: -.035em; }
.card-head p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.stage-pill { border: 1px solid rgba(0,217,255,.28); background: rgba(0,217,255,.08); color: #DFFBFF; border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.time-box { text-align: center; padding: 13px 8px; border-radius: 16px; background: rgba(255,255,255,.045); border: 1px solid rgba(234,248,255,.1); }
.time-box strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 25px; }
.time-box span { color: var(--muted-2); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.metric { border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(234,248,255,.1); padding: 14px; }
.metric span { display: block; color: var(--muted-2); font-size: 12px; margin-bottom: 5px; }
.metric strong { font-family: 'Space Grotesk', sans-serif; font-size: 20px; }
.progress-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.progress { height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(234,248,255,.1); }
.progress-fill { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #00D9FF, #2F80FF, #EAF8FF); position: relative; transition: width .6s ease; }
.progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: shine 2.5s infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.buy-form { margin-top: 18px; display: grid; gap: 12px; }
.input-row { display: grid; grid-template-columns: 1fr 124px; gap: 10px; }
.field, .selector {
    min-height: 52px; width: 100%; color: var(--text); border-radius: 16px; border: 1px solid rgba(234,248,255,.12); background: rgba(3,5,10,.64); padding: 0 14px; outline: none;
}
.field:focus, .selector:focus { border-color: rgba(0,217,255,.5); box-shadow: 0 0 0 4px rgba(0,217,255,.08); }
.estimate { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.estimate strong { color: var(--text); }
.safe-note { color: #9CA8B7; font-size: 12px; line-height: 1.5; margin: 4px 0 0; }

/* ━━━ SECTION HEADS ━━━ */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.eyebrow { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.02; }
.section-head p { color: var(--muted); margin: 16px auto 0; font-size: 17px; line-height: 1.65; }

/* ━━━ GRIDS + CARDS ━━━ */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card, .step-card, .road-card, .token-card, .faq-item {
    border: 1px solid rgba(234,248,255,.11); background: linear-gradient(180deg, rgba(11,16,32,.72), rgba(3,5,10,.62)); border-radius: var(--radius-lg); padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover, .step-card:hover, .road-card:hover, .token-card:hover { transform: translateY(-4px); border-color: rgba(0,217,255,.32); box-shadow: 0 18px 60px rgba(0,157,255,.09); }
.icon {
    width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
    background: rgba(0,217,255,.08); border: 1px solid rgba(0,217,255,.22); color: var(--cyan); font-weight: 900; font-size: 22px;
}
.feature-card h3, .step-card h3, .token-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p, .step-card p, .road-card p, .token-card p { color: var(--muted); line-height: 1.62; margin: 0; font-size: 14.5px; }

/* ━━━ ABOUT ━━━ */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center; }
.visual-panel { min-height: 530px; border-radius: 34px; border: 1px solid rgba(0,217,255,.16); background: radial-gradient(circle at 50% 35%, rgba(0,217,255,.15), transparent 34%), linear-gradient(180deg, rgba(11,16,32,.76), rgba(3,5,10,.76)); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.visual-panel::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -38%; height: 62%; border-radius: 50% 50% 0 0; background: radial-gradient(ellipse at top, rgba(0,217,255,.28), transparent 62%); box-shadow: 0 -18px 80px rgba(0,217,255,.18); }
.visual-panel::after { content: "SPX$"; position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); font-family: 'Space Grotesk', sans-serif; font-size: 86px; font-weight: 900; color: rgba(234,248,255,.08); letter-spacing: -.08em; }
.rocket-line { position: absolute; width: 4px; height: 300px; left: 50%; bottom: 18%; transform: rotate(-22deg); background: linear-gradient(transparent, var(--cyan), #fff); border-radius: 999px; box-shadow: 0 0 34px rgba(0,217,255,.85); }
.about-content .feature-card { margin-bottom: 14px; padding: 18px; }
.notice { margin-top: 18px; border: 1px solid rgba(255,176,32,.28); background: rgba(255,176,32,.07); color: #F9DCA7; border-radius: 18px; padding: 14px 16px; font-size: 13px; line-height: 1.55; }

/* ━━━ TOKENOMICS ━━━ */
.tokenomics { position: relative; }
.token-wrap-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; }
.supply-card { padding: 34px; border-radius: 32px; background: linear-gradient(180deg, rgba(11,16,32,.88), rgba(3,5,10,.72)); border: 1px solid rgba(0,217,255,.2); box-shadow: var(--shadow); text-align: center; }
.mini-coin { margin: 0 auto 22px; width: 174px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 22%, #fff, #B6C0CC 18%, #111722 55%, #E7ECF3 83%, #03050A 100%); display: grid; place-items: center; border: 1px solid rgba(234,248,255,.35); box-shadow: 0 0 60px rgba(0,217,255,.22), inset 0 0 32px rgba(0,0,0,.6); }
.mini-coin strong { font-family: 'Space Grotesk', sans-serif; font-size: 54px; filter: drop-shadow(0 0 10px rgba(0,217,255,.55)); }
.supply-card .big { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.05em; display: block; }
.supply-card p { color: var(--muted); line-height: 1.65; margin: 12px 0 0; }
.token-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.token-card strong { font-family: 'Space Grotesk', sans-serif; font-size: 35px; display: block; color: var(--cyan); margin-bottom: 5px; }

/* ━━━ ROADMAP ━━━ */
.roadmap { max-width: 920px; margin-inline: auto; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: linear-gradient(transparent, var(--cyan), transparent); box-shadow: 0 0 18px var(--cyan); }
.road-card { margin-left: 76px; margin-bottom: 18px; position: relative; }
.road-card::before { content: ""; position: absolute; left: -56px; top: 26px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(0,217,255,.09), 0 0 28px var(--cyan); }
.phase { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.road-card h3 { font-size: 24px; margin-bottom: 12px; }
.road-card ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }

/* ━━━ STEPS ━━━ */
.steps { counter-reset: step; }
.step-card { position: relative; overflow: hidden; }
.step-card::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 22px; top: 18px; font-family: 'Space Grotesk', sans-serif; font-size: 46px; font-weight: 900; color: rgba(234,248,255,.06); }

/* ━━━ FINAL CTA ━━━ */
.final-cta { border: 1px solid rgba(0,217,255,.24); background: radial-gradient(circle at 70% 30%, rgba(0,217,255,.16), transparent 38%), linear-gradient(135deg, rgba(11,16,32,.9), rgba(3,5,10,.88)); border-radius: 34px; padding: 46px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; box-shadow: var(--shadow); }
.final-cta h2 { font-size: clamp(31px, 4vw, 49px); }
.final-cta p { color: var(--muted); margin: 12px 0 0; line-height: 1.65; max-width: 680px; }

/* ━━━ FAQ ━━━ */
.faq-list { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; color: var(--text); background: transparent; border: 0; cursor: pointer; text-align: left; font-weight: 800; }
.faq-question span { font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.faq-answer p { color: var(--muted); line-height: 1.65; margin: 0; padding: 0 22px 20px; }
.faq-item.open .faq-answer { max-height: 220px; }

/* ━━━ FOOTER ━━━ */
.spx-footer { padding: 66px 0 92px; border-top: 1px solid rgba(0,217,255,.15); background: rgba(3,5,10,.55); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 28px; }
.footer-grid h3 { font-size: 16px; margin-bottom: 14px; }
.footer-grid p, .footer-grid a { color: var(--muted); line-height: 1.7; font-size: 14px; }
.footer-links { display: grid; gap: 8px; }
.risk { margin-top: 24px; color: #9CA8B7; font-size: 12.5px; line-height: 1.65; border-top: 1px solid rgba(234,248,255,.08); padding-top: 18px; }

/* ━━━ MOBILE BUY BAR ━━━ */
.mobile-buy-bar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 20px; background: rgba(3,5,10,.88); backdrop-filter: blur(16px); border: 1px solid rgba(0,217,255,.3); box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.mobile-buy-bar span { font-size: 12px; color: var(--muted); display: block; }
.mobile-buy-bar strong { font-size: 14px; display: block; }

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 1040px) {
    .nav-links { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 18px; border-radius: 22px; background: rgba(3,5,10,.94); border: 1px solid rgba(0,217,255,.18); box-shadow: var(--shadow); }
    .nav-links.open { display: grid; gap: 16px; }
    .nav-links.open .show-mobile-only { display: block; padding-top: 12px; border-top: 1px solid rgba(234,248,255,.08); }
    .nav-links.open .show-mobile-only + .show-mobile-only { padding-top: 0; border-top: none; }
    .hamburger { display: block; }
    .hero-grid, .about-grid, .token-wrap-grid, .final-cta { grid-template-columns: 1fr; }
    .visual-stack { min-height: 600px; }
    .presale-card { margin: 230px auto 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hide-mobile { display: none; }
}
@media (max-width: 720px) {
    .spx-container { width: min(100% - 28px, var(--container)); }
    .spx-section { padding: 72px 0; }
    .spx-hero { padding: 44px 0 58px; }
    .hero-grid { gap: 22px; }
    .hero-ctas, .nav-actions .btn-primary { display: none; }
    .trust-stats, .grid-3, .grid-4, .grid-2, .price-grid, .token-grid { grid-template-columns: 1fr; }
    .visual-stack { min-height: auto; display: flex; flex-direction: column; gap: 18px; }
    .orbit-shell { width: 100%; inset: auto; top: 0; }
    .coin { position: relative; inset: auto; right: auto; top: auto; width: min(245px, 72vw); margin: 4px auto -8px; }
    .presale-card { margin: 0; width: 100%; padding: 18px; }
    .timer { gap: 7px; }
    .time-box { padding: 10px 4px; }
    .time-box strong { font-size: 21px; }
    .input-row { grid-template-columns: 1fr; }
    .visual-panel { min-height: 360px; }
    .final-cta { padding: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .mobile-buy-bar { display: flex; }
    .spx-footer { padding-bottom: 112px; }
}
@media (max-width: 390px) {
    .timer { grid-template-columns: repeat(2, 1fr); }
    .brand-text strong { font-size: 15px; }
    .brand-mark { width: 38px; height: 38px; }
    h1 { font-size: 42px; }
}
/* ════════════════════════════════════════════════════════════════════════
   ▓▓▓ SPX$ — RESPONSIVE STABILITY PATCH ▓▓▓
   Kills horizontal overflow + jumping layout between breakpoints
   ════════════════════════════════════════════════════════════════════════ */

/* ━━━ GLOBAL OVERFLOW LOCK ━━━ */
html, body, body.spx-body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}
*, *::before, *::after { max-width: 100%; }

/* Container: stable inline padding so things don't slide */
.spx-container {
    width: 100% !important;
    max-width: var(--container) !important;
    margin-inline: auto !important;
    padding-inline: clamp(20px, 4vw, 40px) !important;
    box-sizing: border-box;
}

/* ━━━ NAV STABILITY ━━━ */
.nav-inner { min-height: 72px; }
.brand { flex-shrink: 0; }
.nav-actions { flex-shrink: 0; }

/* ━━━ HERO — DESKTOP REFINEMENT ━━━ */
.spx-hero {
    padding: 72px 0 56px !important;
    min-height: auto !important;
}

.hero-grid {
    grid-template-columns: 1.05fr .95fr !important;
    gap: 40px !important;
    align-items: center !important;
}

/* Right column: more compact + better contained */
.visual-stack {
    min-height: 560px !important;
    width: 100%;
    overflow: visible;
}

/* Coin — scales fluidly with viewport */
.coin {
    top: 8px !important;
    right: clamp(20px, 5vw, 70px) !important;
    width: clamp(220px, 28vw, 320px) !important;
}
.coin::before {
    font-size: clamp(90px, 13vw, 170px) !important;
}

/* Orbit shell — never overflows */
.orbit-shell {
    inset: -20px -10px auto auto !important;
    width: clamp(360px, 45vw, 540px) !important;
}

/* Presale card — controlled offset that doesn't jump */
.presale-card {
    margin-top: clamp(170px, 22vw, 220px) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 460px !important;
}

/* ━━━ INTERMEDIATE BREAKPOINT (1100px) — Narrow desktop ━━━ */
@media (max-width: 1100px) {
    .hero-grid { gap: 32px !important; }
    .visual-stack { min-height: 520px !important; }
    .orbit-shell { width: clamp(320px, 42vw, 460px) !important; }
    .coin { width: clamp(200px, 26vw, 280px) !important; right: clamp(16px, 4vw, 50px) !important; }
    .coin::before { font-size: clamp(80px, 12vw, 150px) !important; }
    .presale-card { margin-top: clamp(150px, 20vw, 200px) !important; max-width: 100% !important; }
    h1 { font-size: clamp(38px, 6vw, 72px) !important; }
}

/* ━━━ TABLET (1040px) — STACK to single col ━━━ */
@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
    .visual-stack {
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: stretch !important;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
    .orbit-shell {
        position: relative !important;
        inset: auto !important;
        width: clamp(260px, 60vw, 380px) !important;
        margin: 0 auto -180px;
        z-index: 0;
    }
    .coin {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        width: clamp(220px, 50vw, 300px) !important;
        margin: -20px auto 18px;
        z-index: 1;
    }
    .coin::before {
        font-size: clamp(100px, 22vw, 170px) !important;
    }
    .presale-card {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 480px !important;
        position: relative;
        z-index: 2;
    }
    .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
    .footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hide-mobile { display: none !important; }
}

/* ━━━ MOBILE (720px) ━━━ */
@media (max-width: 720px) {
    .spx-hero { padding: 32px 0 48px !important; }
    .spx-section { padding: 64px 0 !important; }
    .spx-section-tight { padding: 48px 0 !important; }
    .hero-grid { gap: 32px !important; }
    h1 { font-size: clamp(34px, 9vw, 48px) !important; }

    /* RESTORE hero CTAs — critical for conversion */
    .hero-ctas { display: flex !important; flex-wrap: wrap; gap: 12px; }
    .hero-ctas .btn { flex: 1 1 auto; min-width: 140px; }

    /* Trust stats stay readable */
    .trust-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .stat { padding: 12px 10px !important; }
    .stat strong { font-size: 18px !important; }
    .stat span { font-size: 11px !important; }

    /* Visual stack mobile */
    .visual-stack { gap: 18px !important; }
    .orbit-shell { width: 280px !important; margin: 0 auto -150px !important; }
    .coin { width: 220px !important; margin: -20px auto 8px !important; }
    .coin::before { font-size: 110px !important; }
    .presale-card { padding: 20px !important; border-radius: 22px !important; max-width: 100% !important; }

    /* Timer + price grid stay 2-col instead of 1-col for compactness */
    .timer { gap: 6px !important; grid-template-columns: repeat(4, 1fr) !important; }
    .time-box { padding: 10px 4px !important; }
    .time-box strong { font-size: 19px !important; }
    .time-box span { font-size: 9px !important; }
    .price-grid { grid-template-columns: 1fr 1fr !important; }
    .input-row { grid-template-columns: 1fr !important; }

    /* Other grids */
    .grid-4, .grid-3, .grid-2, .token-grid { grid-template-columns: 1fr !important; }
    .about-grid, .token-wrap-grid, .final-cta { grid-template-columns: 1fr !important; }
    .visual-panel { min-height: 320px !important; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .final-cta { padding: 28px !important; }
    .mobile-buy-bar { display: flex !important; }
    .spx-footer { padding-bottom: 110px !important; }
}

/* ━━━ SMALL PHONES (430px) ━━━ */
@media (max-width: 430px) {
    h1 { font-size: 34px !important; }
    .section-head h2,
    h2 { font-size: 28px !important; }
    .brand-text strong { font-size: 15px !important; }
    .brand-text span { font-size: 11px !important; }
    .brand-mark { width: 36px !important; height: 36px !important; }
    .brand-mark::before { font-size: 19px !important; }
    .timer { gap: 4px !important; }
    .time-box strong { font-size: 17px !important; }
    .coin { width: 200px !important; }
    .coin::before { font-size: 100px !important; }
    .orbit-shell { width: 240px !important; }
    .spx-auth-card { padding: 24px 18px !important; }
    .spx-auth-head h1 { font-size: 22px !important; }
}

/* ━━━ TINY (360px) ━━━ */
@media (max-width: 360px) {
    h1 { font-size: 30px !important; }
    .timer { grid-template-columns: repeat(2, 1fr) !important; }
    .trust-stats { grid-template-columns: 1fr 1fr !important; }
    .trust-stats .stat:last-child { grid-column: 1 / -1; }
    .nav-actions { gap: 6px !important; }
    .btn-sm { padding: 0 12px !important; font-size: 12px !important; min-height: 38px !important; }
}

/* ━━━ AUTH PAGE STABILITY ━━━ */
.spx-auth-body { padding: 24px 16px !important; }
.spx-auth-wrap {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    min-height: calc(100vh - 48px) !important;
    min-height: calc(100dvh - 48px) !important;
}
.spx-auth-home {
    margin: 0 auto !important;
    text-align: center;
}

/* ━━━ SECTION INNER ALIGNMENT ━━━ */
.section-head, .roadmap, .faq-list, .final-cta {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
}

/* Roadmap doesn't shift on resize */
.roadmap { max-width: 920px !important; }
.road-card { margin-left: 76px !important; }
@media (max-width: 540px) {
    .roadmap::before { left: 18px !important; }
    .road-card { margin-left: 48px !important; }
    .road-card::before { left: -36px !important; width: 14px !important; height: 14px !important; }
}

/* ━━━ HIDE THE EMPTY LOGO PLACEHOLDER ON AUTH PAGES ━━━ */
.spx-auth-logo:empty { display: none; }

/* ━━━ KILL ALL HORIZONTAL OVERFLOW SOURCES ━━━ */
img, video, iframe, table { max-width: 100% !important; height: auto; }
.spx-container > * { max-width: 100%; }


/* ════════════════════════════════════════════════════════
   ▓ INFO TOOLTIP + FOMO CONVERSION BANNER (Phase 01)
   ════════════════════════════════════════════════════════ */

.spx-info-i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px; height: 15px;
    margin-left: 5px;
    border-radius: 50%;
    background: rgba(0, 217, 255, .12);
    border: 1px solid rgba(0, 217, 255, .45);
    color: #00D9FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 800;
    font-style: normal;
    cursor: help;
    position: relative;
    transition: all .18s ease;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
}
.spx-info-i:hover,
.spx-info-i:focus {
    background: rgba(0, 217, 255, .25);
    border-color: #00D9FF;
    box-shadow: 0 0 12px rgba(0, 217, 255, .55);
    transform: scale(1.08);
    outline: none;
}
.spx-info-i::before {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px; max-width: 280px;
    padding: 11px 13px;
    background: linear-gradient(180deg, #0E1B2E, #06101D);
    border: 1px solid rgba(0, 217, 255, .35);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04) inset;
    color: #EAF8FF;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .005em;
    text-align: left;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 999;
    white-space: normal;
}
.spx-info-i::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 217, 255, .35);
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
}
.spx-info-i:hover::before,
.spx-info-i:focus::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.spx-info-i:hover::after,
.spx-info-i:focus::after { opacity: 1; }

/* ── FOMO conversion banner ── */
.spx-fomo-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 11px 14px;
    background: linear-gradient(95deg, rgba(0, 217, 255, .12), rgba(47, 128, 255, .08));
    border: 1px solid rgba(0, 217, 255, .35);
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 8px 24px rgba(0, 217, 255, .08);
    position: relative;
    overflow: hidden;
}
.spx-fomo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, .15), transparent);
    transform: translateX(-100%);
    animation: spx-fomo-sweep 3.6s infinite;
    pointer-events: none;
}
@keyframes spx-fomo-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.spx-fomo-pulse {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #00D9FF;
    box-shadow: 0 0 0 0 rgba(0, 217, 255, .85);
    animation: spx-fomo-ping 1.6s infinite;
    flex-shrink: 0;
}
@keyframes spx-fomo-ping {
    0%   { box-shadow: 0 0 0 0 rgba(0, 217, 255, .8); }
    70%  { box-shadow: 0 0 0 12px rgba(0, 217, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 217, 255, 0); }
}
.spx-fomo-text {
    color: #EAF8FF;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
    letter-spacing: .005em;
}
.spx-fomo-text strong {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 8px;
    background: linear-gradient(90deg, #00D9FF, #2F80FF);
    color: #061018;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    border-radius: 999px;
    text-transform: uppercase;
}
.spx-fomo-text b {
    color: #00D9FF;
    font-weight: 700;
    letter-spacing: .01em;
}

/* Mobile tweaks */
@media (max-width: 720px) {
    .spx-info-i::before {
        min-width: 200px;
        max-width: 220px;
        font-size: 11px;
    }
    .spx-fomo-banner { padding: 9px 11px; }
    .spx-fomo-text { font-size: 11.5px; }
}
@media (max-width: 430px) {
    .spx-info-i::before {
        min-width: 180px;
        max-width: 200px;
        font-size: 10.5px;
        left: auto; right: -8px;
        transform: translateX(0) translateY(8px);
    }
    .spx-info-i:hover::before,
    .spx-info-i:focus::before {
        transform: translateX(0) translateY(0);
    }
    .spx-info-i::after { left: auto; right: 0; transform: translateX(0); }
    .spx-fomo-banner { gap: 9px; padding: 8px 10px; }
    .spx-fomo-text strong { display: block; margin-bottom: 4px; margin-right: 0; }
}

/* ════════════════════════════════════════════════════════
   ▓ FRONT-PAGE POLISH — consistent SVG icons, supply tags,
     orbital About scene  (theme-preserving)
   ════════════════════════════════════════════════════════ */

/* Unified line-icon look inside the existing cyan .icon chip */
.icon svg {
    width: 24px; height: 24px; display: block;
    filter: drop-shadow(0 0 6px rgba(0, 217, 255, .35));
}
.feature-card:hover .icon, .step-card:hover .icon {
    border-color: rgba(0, 217, 255, .5);
    box-shadow: 0 0 18px rgba(0, 217, 255, .18);
}

/* Tokenomics supply tags (replaces the old "placeholder" notice) */
.supply-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.supply-tags span {
    font-size: 12px; color: var(--muted);
    border: 1px solid rgba(0, 217, 255, .22); background: rgba(0, 217, 255, .05);
    padding: 7px 13px; border-radius: 999px;
}
.supply-tags b { color: var(--cyan); font-family: 'Space Grotesk', sans-serif; font-weight: 800; }

/* ── About panel: orbital scene + floating stat chips ── */
.visual-panel::after { display: none; }            /* hide lonely faint "SPX$" */
.orbit-scene { position: absolute; inset: 0; transform-origin: center; pointer-events: none; }
.orbit-ring, .orbit-sat {
    position: absolute; top: 50%; left: 50%; border-radius: 50%;
    transform: translate(-50%, -50%);
}
.orbit-ring { border: 1px solid rgba(0, 217, 255, .16); }
.orbit-ring.r1 { width: 150px; height: 150px; }
.orbit-ring.r2 { width: 250px; height: 250px; border-color: rgba(234, 248, 255, .1); }
.orbit-ring.r3 { width: 350px; height: 350px; border-color: rgba(0, 217, 255, .08); }
.orbit-planet {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
    font-family: 'Space Grotesk', sans-serif; font-weight: 900; font-size: 44px; color: #fff;
    background: radial-gradient(circle at 32% 24%, #fff 0 6%, #c3cad6 12%, #2a303b 46%, #0b1020 64%, #03050a 100%);
    border: 1px solid rgba(234, 248, 255, .42);
    box-shadow: 0 0 54px rgba(0, 217, 255, .34), inset 0 0 26px rgba(0, 0, 0, .62);
    text-shadow: 0 0 16px var(--cyan);
    animation: floatCoin 6s ease-in-out infinite;
}
.orbit-sat { width: 250px; height: 250px; animation: orbit-spin 16s linear infinite; }
.orbit-sat.s2 { width: 350px; height: 350px; animation-duration: 26s; animation-direction: reverse; }
.orbit-sat::before {
    content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
    width: 11px; height: 11px; border-radius: 50%; background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan), 0 0 4px #fff;
}
.orbit-sat.s2::before { width: 8px; height: 8px; background: #EAF8FF; box-shadow: 0 0 14px rgba(234,248,255,.9); }
@keyframes orbit-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.panel-chips {
    position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2;
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 16px;
}
.panel-chip {
    font-size: 12px; color: var(--text);
    background: rgba(3, 5, 10, .62); border: 1px solid rgba(0, 217, 255, .24);
    padding: 7px 12px; border-radius: 999px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.panel-chip b { color: var(--cyan); font-family: 'Space Grotesk', sans-serif; font-weight: 800; margin-right: 3px; }

@media (max-width: 720px) {
    .orbit-scene { transform: scale(.78); }
    .orbit-planet { font-size: 38px; width: 92px; height: 92px; }
    .panel-chips { bottom: 12px; }
    .panel-chip { font-size: 11px; padding: 6px 10px; }
}

/* ════════════════════════════════════════════════════════
   ▓ PRESALE HYPE LAYER — sold line, live buy ticker, flash
   ════════════════════════════════════════════════════════ */

/* "X / Y SPX$ sold" line under the progress bar */
.sold-line {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
    margin: 8px 0 2px; font-size: 12px; color: var(--muted-2);
}
.sold-line span { color: var(--text); font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.sold-hot {
    color: #FF8A4C; font-weight: 800; letter-spacing: .02em;
    display: inline-flex; align-items: center; gap: 4px;
}
.sold-hot::before { content: "🔥"; font-size: 11px; }

/* Number "tick" flash when it updates */
.spx-flash { animation: spx-flash-anim .9s ease; }
@keyframes spx-flash-anim {
    0% { color: #00E5FF; text-shadow: 0 0 14px rgba(0, 217, 255, .7); }
    100% { color: inherit; text-shadow: none; }
}

/* Live recent-buys ticker */
.spx-activity {
    display: flex; align-items: center; gap: 9px;
    margin: 14px 0 2px; padding: 10px 13px;
    border-radius: 12px;
    background: rgba(0, 217, 255, .05);
    border: 1px solid rgba(0, 217, 255, .18);
    overflow: hidden;
}
.spx-activity-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    background: #2BE08B; box-shadow: 0 0 0 0 rgba(43, 224, 139, .8);
    animation: spx-act-ping 1.5s infinite;
}
@keyframes spx-act-ping {
    0% { box-shadow: 0 0 0 0 rgba(43, 224, 139, .7); }
    70% { box-shadow: 0 0 0 9px rgba(43, 224, 139, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 224, 139, 0); }
}
.spx-activity-text {
    flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spx-activity-text strong { color: var(--text); font-weight: 700; }
.spx-activity-text b { color: var(--cyan); font-weight: 700; }
.spx-activity-time { flex-shrink: 0; font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.spx-act-in { animation: spx-act-slide .45s ease; }
@keyframes spx-act-slide {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 430px) {
    .spx-activity-time { display: none; }
    .spx-activity-text { font-size: 12px; }
}
