/* ==========================================================================
   QUANTUM COIN ($QCOIN) - gold coin + deep purple/blue nebula luxury theme
   ========================================================================== */
:root {
  --bg: #070712;
  --bg-2: #0c0a1f;
  --surface: rgba(17, 17, 40, .72);
  --surface-2: rgba(25, 32, 105, .35);
  --primary: #f0c14b;
  --accent: #406ff0;
  --accent-2: #8b5cf6;
  --gold: #f5d281;
  --gold-deep: #cc8630;
  --violet: #5135a4;
  --text: #faf8f2;
  --muted: rgba(247, 245, 239, .66);
  --line: rgba(240, 193, 75, .16);
  --glass: rgba(240, 193, 75, .06);
  --icon: var(--primary);

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Exo 2", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --nav-h: 74px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .55);
  --glow: 0 0 40px color-mix(in srgb, var(--primary) 45%, transparent);
  --glow-blue: 0 0 40px color-mix(in srgb, var(--accent) 40%, transparent);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; color: var(--text); font-family: var(--font-body); line-height: 1.65; overflow-x: hidden;
  background:
    radial-gradient(1100px 700px at 85% -8%, rgba(64, 111, 240, .35) 0%, transparent 55%),
    radial-gradient(900px 650px at -12% 35%, rgba(81, 53, 164, .4) 0%, transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(204, 134, 48, .18) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-deep); color: #120e06; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { position: relative; padding: clamp(84px, 12vw, 150px) 0; z-index: 1; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .45em; letter-spacing: .02em; }
.section-title { font-size: clamp(2.1rem, 5.4vw, 4.2rem); font-weight: 800; }
.section-sub { margin-top: -6px; margin-bottom: 8px; font-size: 1.05rem; color: var(--muted); }
p { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .22em;
  font-size: .78rem; font-weight: 600; color: var(--primary); margin: 0 0 16px;
}
.grad-text {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2), var(--gold), var(--primary));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s linear infinite;
}

/* ---------- Background FX ---------- */
#fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-nebula { position: fixed; inset: 0; z-index: 0; pointer-events: none; filter: blur(90px); opacity: .55; }
.bg-nebula span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: blob 26s var(--ease) infinite alternate; }
.bg-nebula span:nth-child(1) { width: 42vmax; height: 42vmax; background: rgba(64, 111, 240, .42); top: -14vmax; right: -8vmax; }
.bg-nebula span:nth-child(2) { width: 36vmax; height: 36vmax; background: rgba(139, 92, 246, .32); bottom: -16vmax; left: -10vmax; animation-delay: -8s; }
.bg-nebula span:nth-child(3) { width: 24vmax; height: 24vmax; background: rgba(240, 193, 75, .2); top: 38%; left: 42%; animation-delay: -15s; }
.bg-nebula span:nth-child(4) { width: 18vmax; height: 18vmax; background: rgba(81, 53, 164, .35); top: 12%; left: 8%; animation-delay: -4s; }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(240, 193, 75, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 111, 240, .14) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 50% 25%, #000 15%, transparent 72%);
  animation: gridMove 32s linear infinite;
}
.bg-orbit-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .12;
  background:
    radial-gradient(circle at 70% 20%, transparent 28%, rgba(240,193,75,.5) 29%, transparent 30%),
    radial-gradient(circle at 70% 20%, transparent 38%, rgba(64,111,240,.4) 39%, transparent 40%),
    radial-gradient(circle at 70% 20%, transparent 50%, rgba(139,92,246,.35) 51%, transparent 52%);
}
.bg-grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
.cursor-glow {
  position: fixed; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; z-index: 0; left: 0; top: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 65%);
  transform: translate(-50%, -50%);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); z-index: 60;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(16px, 4vw, 48px); transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px); border-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.nav-logo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; box-shadow: var(--glow); border: 1px solid color-mix(in srgb, var(--primary) 50%, transparent); }
.nav-logo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.nav-ticker { letter-spacing: .08em; background: linear-gradient(90deg, var(--gold), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; font-weight: 600; font-size: .95rem; }
.nav-links a { position: relative; opacity: .82; transition: opacity .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover { opacity: 1; } .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 7px 8px; }

/* ---------- Buttons / icons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; letter-spacing: .02em; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s; will-change: transform;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--gold-deep)); color: #120e06; box-shadow: var(--glow);
}
.btn-primary .svg-icon { color: #120e06; }
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 60px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-ghost { background: var(--glass); border-color: var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-3px); }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.icon-btn:hover { transform: rotate(-8deg) scale(1.08); border-color: var(--primary); }
.svg-icon { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; color: var(--icon); flex: none; }
.svg-icon svg { width: 100%; height: 100%; }
.svg-icon.big { width: 48px; height: 48px; margin-bottom: 12px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--nav-h) + 36px) 0 90px; position: relative; z-index: 1; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center;
}
.hero-title { font-size: clamp(3rem, 8vw, 6.4rem); margin: 0; display: grid; gap: .08em; }
.hero-title .glitch { text-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 35%, transparent); }
.hero-ticker {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--primary); margin: 8px 0 14px; letter-spacing: .12em;
}
.hero-desc { font-size: clamp(1.02rem, 1.7vw, 1.22rem); max-width: 54ch; color: var(--text); opacity: .88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-visual { position: relative; display: grid; gap: 18px; }
.hero-scene {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: var(--shadow), var(--glow-blue);
}
.hero-scene img { width: 100%; height: 100%; object-fit: cover; }
.scene-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  transform: translateX(-100%); animation: shine 6s ease-in-out infinite;
}
.corner {
  position: absolute; width: 18px; height: 18px; border: 2px solid var(--primary); z-index: 2; pointer-events: none;
}
.corner.c1 { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.corner.c2 { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.corner.c3 { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.corner.c4 { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 340px; margin: -48px auto 0; z-index: 3; }
.logo-frame {
  width: 72%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; z-index: 2;
  border: 2px solid color-mix(in srgb, var(--primary) 65%, transparent);
  box-shadow: 0 0 0 8px rgba(240,193,75,.08), var(--glow), 0 30px 70px rgba(0,0,0,.55);
}
.hero-logo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.hero-ring {
  position: absolute; inset: 2%; border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--primary) 50%, transparent); animation: spin 42s linear infinite;
}
.hero-ring::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--accent-2), var(--gold-deep), var(--primary));
  filter: blur(36px); opacity: .4; animation: spin 14s linear infinite reverse;
}
.hero-orbit { position: absolute; inset: 0; animation: spin 20s linear infinite; }
.hero-orbit span {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: var(--glow);
}
.hero-orbit span:nth-child(1) { top: 0; left: 50%; }
.hero-orbit span:nth-child(2) { bottom: 12%; left: 6%; background: var(--accent); }
.hero-orbit span:nth-child(3) { top: 42%; right: 0; background: var(--accent-2); }

.hero-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater {
  position: absolute; width: clamp(64px, 8vw, 120px); height: auto; aspect-ratio: 1;
  object-fit: cover; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--primary) 55%, transparent);
  box-shadow: 0 0 24px rgba(240,193,75,.35), 0 12px 28px rgba(0,0,0,.45);
  opacity: .92;
}
.floater.fl-b { width: clamp(52px, 6.5vw, 96px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.floater.fl-c { width: clamp(58px, 7vw, 108px); border-color: color-mix(in srgb, var(--accent-2) 60%, transparent); }
.floater.fl-d { width: clamp(48px, 6vw, 88px); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid var(--line); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px;
  background: var(--primary); animation: cue 1.8s infinite;
}

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: .65; }
.glitch::before { color: var(--accent); animation: glitch 3.5s infinite steps(1); clip-path: inset(0 0 60% 0); }
.glitch::after { color: var(--accent-2); animation: glitch 2.8s infinite steps(1) reverse; clip-path: inset(55% 0 0 0); }

.ca-box {
  display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 8px 8px 16px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--line); max-width: 560px; backdrop-filter: blur(10px);
}
.ca-label { font-weight: 800; color: var(--primary); font-size: .85rem; letter-spacing: .12em; font-family: var(--font-mono); }
.ca-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; color: var(--text); }
.ca-copy {
  border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--gold-deep)); color: #120e06; cursor: pointer; transition: transform .2s;
}
.ca-copy:hover { transform: scale(1.06); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding: 18px 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--primary)); color: #120e06;
  transform: rotate(-1.5deg); margin: 0 -2vw; box-shadow: var(--shadow);
}
.marquee-track {
  display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.9rem); white-space: nowrap; font-weight: 700;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); border-radius: 2px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-art { position: relative; }
.media-169 {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: #080814; box-shadow: var(--shadow), var(--glow-blue);
}
.media-169 img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-169:hover img { transform: scale(1.05); }
.holo .scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(240,193,75,.12), transparent);
  background-size: 100% 40%; animation: scanMove 4.5s linear infinite;
}
.about-badge {
  position: absolute; right: -18px; bottom: -22px; width: 128px; height: 128px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--gold-deep)); color: #120e06;
  display: grid; place-items: center; box-shadow: var(--glow);
}
.about-badge svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.about-badge text { fill: currentColor; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.about-badge img {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover; position: relative; z-index: 1;
  border: 2px solid rgba(18,14,6,.35);
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin-top: 26px; }
.stat {
  padding: 18px; border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.stat:hover { border-color: var(--primary); transform: translateY(-3px); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.55rem; color: var(--primary); }
.stat small { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; }

/* ---------- How to buy ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.step {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--surface-2) 50%, transparent));
  border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.step:hover { border-color: var(--primary); box-shadow: var(--glow); }
.step-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.step-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.step:hover .step-media img { transform: scale(1.08); }
.step-num {
  position: absolute; left: 12px; bottom: 10px; font-family: var(--font-display); font-size: 1.6rem;
  color: var(--primary); text-shadow: 0 2px 12px rgba(0,0,0,.8); letter-spacing: .08em;
}
.step-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 16px 18px 0;
  border-radius: 12px; background: var(--glass); border: 1px solid var(--line);
}
.step-icon .svg-icon { width: 22px; height: 22px; }
.step-body { padding: 12px 18px 22px; }
.step h3 { font-size: 1.15rem; color: var(--text); margin-bottom: .35em; }
.step p { margin: 0; font-size: .92rem; }
.partner-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(24px, 5vw, 60px); margin-top: 52px; opacity: .9;
}
.partner-row .svg-icon { width: auto; height: 34px; }
.partner-row .svg-icon svg { width: auto; height: 34px; }

/* ---------- Chart ---------- */
.chart-frame {
  position: relative; margin-top: 30px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: rgba(8, 8, 20, .9); box-shadow: var(--shadow), var(--glow-blue);
  aspect-ratio: 16 / 9; min-height: 420px;
}
.chart-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart-pending {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 40px; gap: 6px;
}
.chart-pending h3 { font-size: 1.6rem; margin: 0; color: var(--text); }
.chart-pending p { max-width: 40ch; margin: 0; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px;
}
.g-item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; background: #080814; aspect-ratio: 16 / 9;
  transition: border-color .3s, box-shadow .3s;
}
.g-item:nth-child(1), .g-item:nth-child(6) { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.g-item:hover { border-color: color-mix(in srgb, var(--primary) 55%, transparent); box-shadow: 0 0 50px rgba(240,193,75,.22); }
.g-item:hover img { transform: scale(1.07); filter: saturate(1.2); }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(7,7,18,.92));
}
.g-item figcaption b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--gold); }
.g-item figcaption small { color: var(--muted); font-size: .84rem; }
.g-item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(240,193,75,.16) 48%, rgba(64,111,240,.12) 52%, transparent 65%);
  background-size: 260% 100%; background-position: 120% 0; transition: background-position 1s var(--ease);
}
.g-item:hover::after { background-position: -20% 0; }

/* ---------- Join us ---------- */
.banner-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--glow); margin-top: 30px;
}
.banner-3x1 { width: 100%; aspect-ratio: 3 / 1; height: auto; object-fit: cover; }
.banner-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%); animation: shine 5s ease-in-out infinite;
}
.social-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 30px; }
.social-card {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: var(--glass); border: 1px solid var(--line); font-weight: 700;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.social-card .svg-icon { width: 28px; height: 28px; flex: none; }
.social-card span { display: grid; gap: 2px; }
.social-card b { font-size: 1.05rem; }
.social-card small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.social-card:hover { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }

/* ---------- Footer / toast / lightbox ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0; text-align: center; }
.footer-inner { display: grid; gap: 12px; justify-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.4rem; }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; }
.footer-social { display: flex; gap: 10px; }
.disclaimer { max-width: 70ch; font-size: .85rem; }
.copyright { font-size: .8rem; margin: 0; }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%);
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--gold-deep)); color: #120e06;
  font-weight: 700; z-index: 100; transition: transform .4s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }

.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(3, 3, 12, .88); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 40px 20px;
}
.lightbox[hidden] { display: none; }
.lb-close {
  position: absolute; top: 20px; right: 20px; border: 1px solid var(--line); background: var(--glass);
  color: var(--text); border-radius: 999px; padding: 10px 18px; cursor: pointer; font-weight: 700;
}
.lb-figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain;
  border-radius: 16px; border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  box-shadow: 0 0 80px rgba(240,193,75,.2);
}
.lb-figure figcaption { margin-top: 14px; color: var(--muted); }
.lb-figure figcaption b { display: block; color: var(--gold); font-family: var(--font-display); }

/* ---------- Utilities ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.float { animation: float 6s ease-in-out infinite; }
.spin-slow { animation: spin 22s linear infinite; }
.tilt, .tilt-soft { transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }

@keyframes gradShift { to { background-position: 300% 0; } }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vw, 6vh) scale(1.15); } 100% { transform: translate(-6vw, -4vh) scale(.95); } }
@keyframes gridMove { to { background-position: 68px 68px, 68px 68px; } }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-5%,3%); } 40% { transform: translate(3%,-6%); } 60% { transform: translate(-7%,2%); } 80% { transform: translate(4%,5%); } 100% { transform: translate(0,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@keyframes glitch { 0%, 92%, 100% { transform: none; } 93% { transform: translate(-4px, 2px); } 95% { transform: translate(4px, -2px); } 97% { transform: translate(-2px, -1px); } }
@keyframes scanMove { 0% { background-position: 0 -40%; } 100% { background-position: 0 140%; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; max-width: 560px; margin-inline: auto; }
  .hero-art { margin-top: -40px; }
  .ca-box, .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item:nth-child(1), .g-item:nth-child(6) { grid-column: span 1; }
  .about-badge { right: 8px; bottom: -16px; width: 104px; height: 104px; }
  .about-badge img { width: 48px; height: 48px; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease);
  }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .steps { grid-template-columns: 1fr; }
  .chart-frame { aspect-ratio: auto; height: 560px; min-height: 0; }
  .gallery { grid-template-columns: 1fr; }
  .cursor-glow { display: none; }
  .hero-floaters { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Anti-distortion */
.hero-logo, .nav-logo img, .footer-brand img, .about-badge img { aspect-ratio: 1 / 1; object-fit: cover; }
.floater { aspect-ratio: 1 / 1; object-fit: cover; }
.hero-scene img, .media-169 img, .step-media img, .g-item img, .banner-3x1 { object-fit: cover; }
.banner-3x1 { aspect-ratio: 3 / 1; height: auto; }
