:root {
  --bg: #05030c;
  --bg-2: #0a0518;
  --ink: #eae6ff;
  --muted: #a99fcf;
  --cyan: #19e0ff;
  --purple: #9b4dff;
  --magenta: #d24dff;
  --blue: #3b7bff;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(155, 77, 255, 0.25);
  --grad: linear-gradient(100deg, var(--cyan), var(--purple) 55%, var(--magenta));
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Rajdhani", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, .brand-name, .stat-num, .badge, .eyebrow {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }

/* Custom inline icons (replaces emojis) */
.ic { width: 1.85rem; height: 1.85rem; display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.token-icon, .util-icon, .burn-stat .flame, .flame { color: var(--cyan); }
.ic-sm { width: 1.05rem; height: 1.05rem; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Intro Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  background: #05030c; display: grid; place-items: center;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5; transform: scale(1.06);
  animation: splashKen 9s ease-out forwards;
}
@keyframes splashKen { from { transform: scale(1.18); } to { transform: scale(1.04); } }

/* radial + grid scrim over the video for depth */
.splash-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 38%, transparent 0%, rgba(5,3,12,0.35) 45%, rgba(5,3,12,0.92) 100%),
    linear-gradient(rgba(155,77,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,224,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
}

.splash-stage {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1rem;
}

/* spinning conic ring around the logo */
.splash-ring {
  position: relative; width: 168px; height: 168px;
  display: grid; place-items: center; margin-bottom: 1.6rem;
  border-radius: 50%;
  opacity: 0; animation: splashPop 0.9s cubic-bezier(.2,.9,.25,1) 0.15s forwards;
}
.splash-ring::before, .splash-ring::after {
  content: ""; position: absolute; border-radius: 50%;
}
.splash-ring::before {
  inset: -6px;
  background: conic-gradient(from 0deg, var(--cyan), var(--purple), var(--magenta), var(--cyan));
  filter: blur(2px);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: splashSpin 3.2s linear infinite;
}
.splash-ring::after {
  inset: 8px;
  border: 1px dashed rgba(25,224,255,0.35);
  animation: splashSpin 14s linear infinite reverse;
}
.splash-logo {
  width: 118px; height: 118px; object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 0 22px rgba(155,77,255,0.65));
  animation: splashFloat 3.4s ease-in-out infinite;
}

.splash-word {
  font-family: "Orbitron", sans-serif; font-weight: 900;
  font-size: clamp(2.8rem, 11vw, 6.2rem); line-height: 0.95;
  letter-spacing: 0.06em; margin: 0;
  background: linear-gradient(100deg, var(--cyan), #fff 40%, var(--magenta) 75%, var(--purple));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  position: relative;
  opacity: 0;
  animation: splashWord 0.8s ease 0.45s forwards, splashShine 4s linear 1.2s infinite;
}
.splash-word::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; z-index: -1;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 0 26px rgba(25,224,255,0.55), 0 0 46px rgba(155,77,255,0.45);
}
.splash-tag {
  font-family: "Rajdhani", sans-serif; font-weight: 600;
  font-size: clamp(0.85rem, 2.6vw, 1.15rem);
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cyan); margin: 1rem 0 0;
  opacity: 0; animation: splashFadeUp 0.8s ease 0.9s forwards;
}
.splash-bar {
  width: min(280px, 70vw); height: 3px; margin-top: 1.8rem;
  background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden;
  opacity: 0; animation: splashFadeUp 0.6s ease 1.1s forwards;
}
.splash-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 12px rgba(25,224,255,0.7);
  animation: splashLoad 3.4s cubic-bezier(.4,0,.2,1) 1.2s forwards;
}

.splash-skip {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 3;
  font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  background: rgba(0,0,0,0.4); border: 1px solid var(--border);
  padding: 0.6rem 1.3rem; border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(8px); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  opacity: 0; animation: splashFadeUp 0.6s ease 1.4s forwards;
}
.splash-skip:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(25,224,255,0.4); transform: translateY(-2px); }
body.splash-open { overflow: hidden; }

@keyframes splashSpin { to { transform: rotate(360deg); } }
@keyframes splashPop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes splashFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes splashWord {
  from { opacity: 0; transform: translateY(18px) scale(0.96); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes splashShine { to { background-position: 220% 0; } }
@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes splashLoad { from { width: 0; } to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .splash-video, .splash-ring, .splash-ring::before, .splash-ring::after,
  .splash-logo, .splash-word, .splash-tag, .splash-bar, .splash-bar i, .splash-skip {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    opacity: 1 !important;
  }
}

/* ---------- Background FX ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    linear-gradient(rgba(155,77,255,0.06) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(25,224,255,0.05) 1px, transparent 1px) 0 0 / 46px 100%,
    radial-gradient(ellipse at top, var(--bg-2), var(--bg) 70%);
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 80% -5%, rgba(155,77,255,0.22), transparent 70%),
    radial-gradient(500px 400px at 0% 30%, rgba(25,224,255,0.14), transparent 70%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.72rem; }
.btn-primary {
  background: var(--grad); color: #07030f;
  box-shadow: 0 0 24px rgba(155,77,255,0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(25,224,255,0.6); }
.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 0 20px rgba(25,224,255,0.3); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5,3,12,0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 14px rgba(155,77,255,0.6); }
.brand-name { font-weight: 900; font-size: 1.15rem; }
.nav-links { display: flex; gap: 0.5rem; }
.nav-links a {
  color: var(--muted); font-weight: 600; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.01em; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--cyan); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 9px; padding: 0.45rem 0.55rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) 0; }
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(25,224,255,0.06);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.02; margin: 1.2rem 0; }
.hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; margin: 1.8rem 0; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.9rem; font-weight: 900; }
.stat-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-img {
  width: min(420px, 80vw); border-radius: 50%;
  box-shadow: 0 0 60px rgba(155,77,255,0.5);
  position: relative; z-index: 2;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.art-ring {
  position: absolute; width: min(480px, 90vw); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid transparent;
  background: var(--grad) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 18s linear infinite; opacity: 0.5;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker {
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(155,77,255,0.05); overflow: hidden; white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: marquee 22s linear infinite; }
.ticker-track span {
  font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 0; color: var(--muted); letter-spacing: 0.1em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.section-head { text-align: center; margin-bottom: 3rem; }
.eyebrow { display: inline-block; color: var(--cyan); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.6rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.1; }

/* ---------- Lore ---------- */
.lore-grid { max-width: 760px; margin: 0 auto; display: grid; gap: 1.3rem; font-size: 1.12rem; color: var(--muted); }
.lore-lead { font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.lore-kicker { font-size: 1.3rem; color: var(--ink); font-weight: 700; margin-top: 0.5rem; }
.lore-grid b { color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tl-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.6rem 1.3rem; position: relative; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tl-item:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 12px 40px rgba(25,224,255,0.15); }
.tl-item.highlight { border-color: var(--magenta); box-shadow: 0 0 30px rgba(210,77,255,0.25); }
.tl-marker {
  font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
}
.tl-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.tl-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Tokenomics ---------- */
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.token-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem 1.2rem; text-align: center; transition: transform 0.2s, border-color 0.2s;
}
.token-card:hover { transform: translateY(-6px); border-color: var(--purple); }
.token-icon { font-size: 1.8rem; font-weight: 900; display: block; margin-bottom: 0.6rem; }
.token-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.3rem; }
.token-card p { font-size: 1.2rem; font-weight: 700; }

.contract { max-width: 720px; margin: 0 auto; text-align: center; }
.contract-label { display: block; color: var(--cyan); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.7rem; }
.contract-box {
  display: flex; align-items: center; gap: 0.8rem; justify-content: space-between;
  background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.7rem 0.7rem 0.7rem 1.1rem; flex-wrap: wrap;
}
.contract-box code { font-family: "Rajdhani", monospace; font-size: 0.95rem; color: var(--ink); word-break: break-all; }
.contract-note { color: var(--muted); font-size: 0.85rem; margin-top: 0.9rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem 1.3rem; transition: transform 0.2s, border-color 0.2s;
}
.step:hover { transform: translateY(-6px); border-color: var(--cyan); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #07030f; font-family: "Orbitron", sans-serif; font-weight: 900;
  margin-bottom: 1rem; box-shadow: 0 0 18px rgba(155,77,255,0.4);
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta { padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem); }
.cta-card {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, rgba(155,77,255,0.12), rgba(25,224,255,0.06));
  border: 1px solid var(--border); border-radius: 24px; padding: clamp(2.5rem, 6vw, 4rem);
  box-shadow: 0 0 60px rgba(155,77,255,0.2);
}
.cta-card h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; }
.cta-card p { color: var(--muted); font-size: 1.15rem; margin: 0.8rem 0 1.6rem; }
.social-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 0.8rem !important; margin-top: 1.2rem !important; }
.cta-note code, .contract-box code { background: rgba(0,0,0,0.3); padding: 0.1rem 0.4rem; border-radius: 5px; }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2.5rem); text-align: center; border-top: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-logo { width: 34px; height: 34px; border-radius: 50%; }
.footer-disclaimer { color: var(--muted); font-size: 0.82rem; max-width: 640px; margin: 0 auto 1rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em; }

/* ---------- Scroll-progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 100;
  box-shadow: 0 0 12px rgba(25,224,255,0.7); transition: width 0.05s linear;
}

/* ---------- Scroll reveal engine (staggered, directional) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(38px);
    transition: opacity 0.75s cubic-bezier(0.22,0.61,0.36,1),
                transform 0.75s cubic-bezier(0.22,0.61,0.36,1);
    transition-delay: var(--rd, 0ms); will-change: opacity, transform;
  }
  .reveal.r-left  { transform: translateX(-46px); }
  .reveal.r-right { transform: translateX(46px); }
  .reveal.r-zoom  { transform: scale(0.88); }
  .reveal.r-blur  { filter: blur(10px); transition: opacity 0.75s ease, transform 0.75s ease, filter 0.75s ease; }
  .reveal.in { opacity: 1; transform: none; filter: none; }
}

/* ---------- Section intro / shared ---------- */
.section-intro { max-width: 640px; margin: 1rem auto 0; color: var(--muted); font-size: 1.08rem; }
.muted-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; }

/* ---------- NFT ---------- */
.nft-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.nft-card {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nft-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 12px 40px rgba(25,224,255,0.18); }
.nft-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.nft-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  font-family: "Orbitron", sans-serif; font-size: 0.8rem; font-weight: 700;
  padding: 0.6rem 0.9rem; background: linear-gradient(transparent, rgba(5,3,12,0.92));
  color: var(--ink); letter-spacing: 0.05em;
}
.nft-info { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.info-pill {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.8rem 1.4rem; min-width: 120px;
}
.info-pill span { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.info-pill b { font-family: "Orbitron", sans-serif; font-size: 1.05rem; }
.nft-mint { text-align: center; }

/* ---------- Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.phase {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.6rem 1.3rem; transition: transform 0.2s, border-color 0.2s;
}
.phase:hover { transform: translateY(-6px); border-color: var(--purple); box-shadow: 0 12px 40px rgba(155,77,255,0.18); }
.phase-tag {
  display: inline-block; font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #07030f;
  background: var(--grad); padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.phase h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.phase ul { list-style: none; display: grid; gap: 0.5rem; }
.phase li { color: var(--muted); font-size: 0.92rem; padding-left: 1.1rem; position: relative; }
.phase li::before { content: "▹"; position: absolute; left: 0; color: var(--cyan); }

/* ---------- Merch ---------- */
.merch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.merch-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1rem; text-align: center; transition: transform 0.2s, border-color 0.2s;
}
.merch-card:hover { transform: translateY(-6px); border-color: var(--magenta); }
.merch-img { border-radius: 12px; overflow: hidden; margin-bottom: 0.9rem; }
.merch-img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; opacity: 0.92; }
.merch-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.merch-soon { color: var(--cyan); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 1.3rem; transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--purple); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 1.1rem; font-size: 0.98rem; }

/* ---------- Waitlist form ---------- */
.waitlist-form { max-width: 720px; margin: 0 auto; }
.form-row { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.waitlist-form input {
  flex: 1 1 200px; min-width: 0;
  background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.9rem 1.3rem; color: var(--ink); font-family: "Rajdhani", sans-serif; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 16px rgba(25,224,255,0.25); }
.waitlist-form .btn { flex: 0 0 auto; }
.form-status { text-align: center; margin-top: 1rem; font-weight: 600; min-height: 1.4rem; }

/* ---------- Nine Lives ---------- */
.lives-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.lives-art { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); cursor: pointer;
  background: none; padding: 0; line-height: 0; box-shadow: 0 0 50px rgba(155,77,255,0.3);
  transition: transform 0.25s, box-shadow 0.25s; }
.lives-art img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.lives-art:hover { transform: translateY(-4px); box-shadow: 0 14px 50px rgba(25,224,255,0.25); }
.lives-art:hover img { transform: scale(1.04); }
.lives-list { list-style: none; display: grid; gap: 0.7rem; counter-reset: none; }
.lives-list li { display: flex; align-items: center; gap: 1rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 0.7rem 1rem; transition: border-color 0.2s, transform 0.2s; }
.lives-list li:hover { border-color: var(--cyan); transform: translateX(4px); }
.life-num { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.1rem; min-width: 2.2rem;
  text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.lives-list li div { display: flex; flex-direction: column; }
.lives-list li b { font-family: "Orbitron", sans-serif; font-size: 0.95rem; }
.lives-list li span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Art Wall (masonry) ---------- */
.art-wall { columns: 3; column-gap: 1rem; }
.art-tile {
  display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: none; cursor: pointer;
  background: none; border-radius: 14px; overflow: hidden; position: relative;
  break-inside: avoid; line-height: 0;
  border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.art-tile img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.art-tile:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 14px 44px rgba(25,224,255,0.2); }
.art-tile:hover img { transform: scale(1.05); }
.art-tile::after {
  content: "⤢"; position: absolute; top: 0.6rem; right: 0.7rem; color: #fff;
  background: rgba(5,3,12,0.6); border-radius: 8px; padding: 0.1rem 0.45rem; font-size: 1rem;
  opacity: 0; transition: opacity 0.2s;
}
.art-tile:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(3,2,8,0.92); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 14px;
  box-shadow: 0 0 70px rgba(155,77,255,0.4); border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--border); background: rgba(0,0,0,0.5);
  color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lightbox-close:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(25,224,255,0.4); }

/* ---------- Meme generator ---------- */
.meme-wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: start; max-width: 1000px; margin: 0 auto; }
.meme-stage {
  background: rgba(0,0,0,0.35); border: 1px solid var(--border); border-radius: 16px;
  padding: 1rem; display: grid; place-items: center;
}
.meme-stage canvas { max-width: 100%; height: auto; border-radius: 10px; display: block; }
.meme-controls { display: grid; gap: 0.6rem; }
.meme-label { font-family: "Orbitron", sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-top: 0.4rem; }
.meme-controls input[type=text] {
  background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.8rem 1rem; color: var(--ink); font-family: "Rajdhani", sans-serif; font-size: 1rem;
}
.meme-controls input[type=text]:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 14px rgba(25,224,255,0.25); }
.meme-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.meme-thumbs img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: 0.7; transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}
.meme-thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.meme-thumbs img.sel { border-color: var(--cyan); opacity: 1; box-shadow: 0 0 12px rgba(25,224,255,0.4); }
.meme-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.8rem; }

/* ---------- Trench Terminal (cockpit) ---------- */
.term-bar { position: sticky; top: 55px; z-index: 40; background: rgba(5,3,12,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0.6rem clamp(0.8rem,3vw,1.5rem); }
.term-bar-inner { max-width: 1500px; margin: 0 auto; display: flex; align-items: center; gap: 0.6rem; }
.term-logo { font-family: "Orbitron", sans-serif; font-weight: 900; color: var(--cyan); font-size: 0.85rem; white-space: nowrap; }
.term-bar input { flex: 1 1 auto; min-width: 0; background: rgba(0,0,0,0.5); border: 1px solid var(--border); border-radius: 999px; padding: 0.6rem 1.1rem; color: var(--ink); font-family: "Rajdhani", sans-serif; font-size: 0.95rem; }
.term-bar input:focus { outline: none; border-color: var(--cyan); }
.term-wallet { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

.ws-state { font-size: 0.78rem; }
.ws-state.on { color: #14f195; } .ws-state.off { color: #ffd24d; }

/* Filter bar */
.term-filters { max-width: 1500px; margin: 0 auto; padding: 0.4rem clamp(0.8rem,3vw,1.5rem) 0; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.term-filters .flt { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.term-filters input[type="checkbox"] { accent-color: var(--cyan); width: 16px; height: 16px; }
.term-filters input[type="number"] { width: 70px; background: rgba(0,0,0,0.45); border: 1px solid var(--border); border-radius: 8px; padding: 0.3rem 0.5rem; color: var(--ink); font-family: "Rajdhani", sans-serif; }
.flt-search { flex: 1 1 220px; min-width: 0; background: rgba(0,0,0,0.45); border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 1rem; color: var(--ink); font-family: "Rajdhani", sans-serif; font-size: 0.9rem; }
.flt-search:focus, .term-filters input:focus { outline: none; border-color: var(--cyan); }

/* Club / Nine Lives Society */
.club-connect { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.tier-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.3rem; position: relative; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.tier-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.tier-card.highlight { border-color: var(--magenta); box-shadow: 0 0 30px rgba(210,77,255,0.2); }
.tier-card.you { outline: 2px solid var(--cyan); outline-offset: 2px; }
.tier-card.unlocked::after { content: "UNLOCKED"; position: absolute; top: 0.8rem; right: 0.8rem; font-size: 0.58rem; color: #14f195; font-family: "Orbitron", sans-serif; letter-spacing: 0.06em; }
.tier-rank { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.7rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tier-card h3 { font-size: 1.1rem; margin: 0.3rem 0; }
.tier-req { color: var(--cyan); font-size: 0.78rem; font-family: "Orbitron", sans-serif; }
.tier-card ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.tier-card li { color: var(--muted); font-size: 0.9rem; padding-left: 1rem; position: relative; }
.tier-card li::before { content: "\203A"; position: absolute; left: 0; color: var(--cyan); }
.tier-card li b { color: var(--ink); }
@media (max-width: 860px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tier-grid { grid-template-columns: 1fr; } }

/* Arcade game */
.game-select { display: flex; gap: 0.6rem; justify-content: center; margin-bottom: 1rem; }
.game-tab { font-family: "Orbitron", sans-serif; font-size: 0.78rem; padding: 0.6rem 1.2rem; border-radius: 999px; border: 1px solid var(--border); background: rgba(0,0,0,0.4); color: var(--muted); cursor: pointer; transition: 0.2s; }
.game-tab.active { background: var(--grad); color: #07030f; border-color: transparent; }
.game-wrap { max-width: 940px; margin: 0 auto; }
.game-3d { min-height: 320px; }
.game-3d canvas { display: block; width: 100%; height: 100%; }
.game-stage { position: relative; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #05030c; box-shadow: 0 0 40px rgba(155,77,255,0.25); }
.game-stage canvas { display: block; width: 100%; height: auto; touch-action: manipulation; }
.game-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; text-align: center; background: rgba(5,3,12,0.72); backdrop-filter: blur(4px); padding: 1rem; }
.game-overlay h2 { font-family: "Orbitron", sans-serif; font-size: clamp(1.6rem,5vw,2.6rem); font-weight: 900; }
.game-overlay p { color: var(--muted); max-width: 420px; }
.game-hud { display: flex; justify-content: center; gap: 2.2rem; margin-top: 1rem; }
.game-hud div { display: flex; flex-direction: column; align-items: center; }
.game-hud span { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.game-hud b { font-family: "Orbitron", sans-serif; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Wallet page */
.wallet-wrap { max-width: 760px; margin: 0 auto; }
.wallet-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wallet-opt { text-align: center; }
.wallet-opt .util-icon { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.wallet-opt .meme-actions { justify-content: center; }
@media (max-width: 640px) { .wallet-choices { grid-template-columns: 1fr; } }

/* Terminal v2 — tabbed card grid + Photon detail */
.term-feedwrap { max-width: 1400px; margin: 0 auto; padding: 0.6rem clamp(0.8rem,3vw,1.5rem) 2rem; }
.feed-tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.6rem; }
.feed-tabs .feed-tab { flex: 0 0 auto; border: 1px solid var(--border); border-radius: 999px; background: rgba(0,0,0,0.4); color: var(--muted); font-family: "Orbitron", sans-serif; font-size: 0.74rem; padding: 0.5rem 1rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.feed-tabs .feed-tab.active { color: #07030f; background: var(--grad); border-color: transparent; }
.coingrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-top: 0.4rem; }
@media (min-width: 560px) { .coingrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 880px) { .coingrid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .coingrid { grid-template-columns: repeat(5, 1fr); } }
.coin-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0.8rem; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 0.55rem; transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s; }
.coin-card:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 10px 30px rgba(25,224,255,0.16); }
.cc-top { display: flex; align-items: center; gap: 0.55rem; min-width: 0; }
.cc-top img, .cc-av { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; background: #000; }
.cc-av { display: grid; place-items: center; background: var(--grad); color: #07030f; font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 0.95rem; }
.cc-id { display: flex; flex-direction: column; min-width: 0; }
.cc-sym { font-family: "Orbitron", sans-serif; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-name { color: var(--muted); font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-stats { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; }
.cc-stats span:first-child { color: var(--cyan); font-family: "Orbitron", sans-serif; }
.cc-age { color: var(--muted); }

.term-detail { max-width: 1320px; margin: 0 auto; padding: 1rem clamp(0.8rem,3vw,1.5rem) 2rem; }
.detailgrid { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) { .detailgrid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 1rem; align-items: start; } }
.dg-main, .dg-side { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.cbar { margin-top: 0.9rem; }
.cbarlbl { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.4rem; }
.cbarlbl b { color: var(--cyan); }
.ctrack { height: 9px; border-radius: 6px; background: rgba(255,255,255,0.07); border: 1px solid var(--border); overflow: hidden; }
.ctrack i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.7s; }
.auth-badges { display: flex; gap: 0.5rem; margin: 0.7rem 0; flex-wrap: wrap; }
.auth-badge { font-size: 0.72rem; font-family: "Orbitron", sans-serif; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.auth-badge.good { color: #14f195; border-color: rgba(20,241,149,0.4); }
.auth-badge.bad { color: #ff4d6d; border-color: rgba(255,77,109,0.4); }

/* Live board (3 lanes) — legacy */
.term-board { max-width: 1500px; margin: 0 auto; padding: 1rem clamp(0.8rem,3vw,1.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.board-lane { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; max-height: 80vh; }
.lane-head { font-family: "Orbitron", sans-serif; font-size: 0.82rem; letter-spacing: 0.04em; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }
.lane-cnt { margin-left: auto; color: var(--muted); font-size: 0.78rem; background: rgba(255,255,255,0.06); padding: 0.1rem 0.5rem; border-radius: 999px; }
.lane-list { overflow-y: auto; }
.tok-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; width: 100%; background: none; border: none; border-bottom: 1px solid rgba(155,77,255,0.1); padding: 0.6rem 0.9rem; cursor: pointer; color: var(--ink); text-align: left; transition: background 0.15s; }
.tok-row:hover { background: rgba(155,77,255,0.12); }
.tr-main { display: flex; flex-direction: column; min-width: 0; }
.tr-sym { font-family: "Orbitron", sans-serif; font-size: 0.85rem; }
.tr-name { color: var(--muted); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.tr-stats { display: flex; flex-direction: column; align-items: flex-end; }
.tr-mc { font-family: "Orbitron", sans-serif; font-size: 0.82rem; color: var(--cyan); }
.tr-age { color: var(--muted); font-size: 0.72rem; }

.term-cockpit { max-width: 1500px; margin: 0 auto; padding: 1rem clamp(0.8rem,3vw,1.5rem); display: grid; grid-template-columns: 1fr 340px; gap: 1rem; align-items: start; }
.term-feed { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; max-height: 78vh; display: flex; flex-direction: column; }
.term-feed-head { border-bottom: 1px solid var(--border); display: flex; }
.feed-tab { flex: 1; background: none; border: none; cursor: pointer; color: var(--muted); font-family: "Orbitron", sans-serif; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.75rem 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.4rem; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.feed-tab.active { color: var(--ink); border-bottom-color: var(--cyan); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #14f195; box-shadow: 0 0 8px #14f195; animation: pulse 1.6s infinite; }
.term-feed-list { overflow-y: auto; }
.feed-meta { display: flex; flex-direction: column; min-width: 0; }
.feed-sub { color: var(--muted); font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.term-presets { display: flex; gap: 0.4rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.term-presets button { background: rgba(0,0,0,0.4); border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 0.35rem 0.7rem; cursor: pointer; font-family: "Orbitron", sans-serif; font-size: 0.72rem; transition: border-color 0.2s, color 0.2s; }
.term-presets button:hover { border-color: var(--cyan); color: var(--ink); }
.feed-row { display: flex; align-items: center; gap: 0.6rem; width: 100%; background: none; border: none; border-bottom: 1px solid rgba(155,77,255,0.1); padding: 0.55rem 0.9rem; cursor: pointer; color: var(--ink); transition: background 0.15s; }
.feed-row:hover { background: rgba(155,77,255,0.12); }
.feed-row img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #000; }
.feed-ca { font-family: "Rajdhani", sans-serif; font-size: 0.9rem; }
.feed-go { margin-left: auto; color: var(--cyan); font-size: 0.76rem; }

.term-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.term-chart { position: relative; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: rgba(0,0,0,0.45); height: 60vh; min-height: 420px; }
.term-chart iframe { width: 100%; height: 100%; border: 0; }
.term-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem; text-align: center; color: var(--muted); }
.term-trade { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1rem; }
.term-trade-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.term-trade-row input { flex: 1 1 200px; min-width: 0; background: rgba(0,0,0,0.5); border: 1px solid var(--border); border-radius: 10px; padding: 0.7rem 1rem; color: var(--ink); font-family: "Rajdhani", sans-serif; font-size: 0.95rem; }
.term-side { display: flex; flex-direction: column; gap: 1rem; }

.trench-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; }
.trench-card h3 { font-family: "Orbitron", sans-serif; font-size: 1rem; margin-bottom: 0.9rem; }
.tok-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.tok-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: #000; }
.tok-head h3 { margin: 0; }
.stat-rows div, .conc-rows div { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px solid rgba(155,77,255,0.12); font-size: 0.95rem; }
.stat-rows span, .conc-rows span { color: var(--muted); }
.stat-rows b, .conc-rows b { font-family: "Orbitron", sans-serif; font-size: 0.92rem; }
.conc-rows { margin-top: 1rem; }
.risk-meter { height: 12px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.risk-fill { height: 100%; width: 0; border-radius: 999px; transition: width 0.6s ease; background: var(--grad); }
.risk-fill.lvl-low { background: linear-gradient(90deg, #14f195, #19e0ff); }
.risk-fill.lvl-med { background: linear-gradient(90deg, #ffd24d, #ff9b3b); }
.risk-fill.lvl-high { background: linear-gradient(90deg, #ff4d6d, #d24dff); }
.risk-line { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.7rem; }
.risk-num { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 2rem; }
.risk-level { font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; }
.risk-level.lvl-low { color: #14f195; }
.risk-level.lvl-med { color: #ffd24d; }
.risk-level.lvl-high { color: #ff4d6d; }

/* ---------- Launchpad ---------- */
.launch-wallet { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.launch-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.meme-controls input[type=number],
.meme-controls input[type=file] {
  background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.7rem 0.9rem; color: var(--ink); font-family: "Rajdhani", sans-serif; font-size: 0.95rem; width: 100%;
}
.meme-controls input[type=file]::file-selector-button {
  background: var(--card); border: 1px solid var(--border); color: var(--ink); border-radius: 8px;
  padding: 0.35rem 0.8rem; margin-right: 0.7rem; cursor: pointer; font-family: "Orbitron", sans-serif; font-size: 0.72rem;
}
.launch-info { width: 100%; }
.launch-info h3 { font-family: "Orbitron", sans-serif; font-size: 1rem; margin-bottom: 0.6rem; }
.launch-info b { color: var(--ink); }
.launch-steps { list-style: none; display: grid; gap: 0.5rem; }
.launch-steps li { color: var(--muted); font-size: 0.92rem; }
.launch-info ol.launch-steps { counter-reset: ls; }
.launch-info ol.launch-steps li { padding-left: 1.6rem; position: relative; }
.launch-info ol.launch-steps li::before {
  content: counter(ls); counter-increment: ls; position: absolute; left: 0; top: 0;
  color: #07030f; background: var(--grad); width: 1.2rem; height: 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.7rem;
}

/* ---------- Saga (alternating timeline) ---------- */
.saga { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.saga-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.saga-row:nth-child(even) .saga-art { order: 2; }
.saga-art {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border); cursor: pointer;
  background: none; padding: 0; line-height: 0; box-shadow: 0 0 50px rgba(155,77,255,0.28);
  transition: transform 0.25s, box-shadow 0.25s;
}
.saga-art img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.saga-art:hover { transform: translateY(-5px); box-shadow: 0 16px 55px rgba(25,224,255,0.25); }
.saga-art:hover img { transform: scale(1.04); }
.saga-ch {
  display: inline-block; font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: #07030f;
  background: var(--grad); padding: 0.28rem 0.8rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.saga-text h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 0.7rem; line-height: 1.1; }
.saga-text p { color: var(--muted); font-size: 1.08rem; }
.saga-text b { color: var(--ink); }

/* ---------- Casino / Lottery ---------- */
.casino-hero-art {
  max-width: 420px; width: 100%; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: 0 0 50px rgba(155,77,255,0.35); margin: 1.5rem auto 0; display: block;
}
.burn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
.burn-stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem 1.2rem; text-align: center;
}
.burn-stat .num {
  font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.9rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.burn-stat .lbl { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }
.flame { color: var(--magenta); }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem) 1rem;
  max-width: var(--max); margin: 0 auto;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1.05; margin: 0.8rem 0; }
.page-hero p { color: var(--muted); font-size: 1.15rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted);
  font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.2s;
}
.back-link:hover { color: var(--cyan); }

/* ---------- NFT utility cards ---------- */
.util-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.util-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.8rem 1.4rem; transition: transform 0.2s, border-color 0.2s;
}
.util-card:hover { transform: translateY(-6px); border-color: var(--cyan); }
.util-icon { font-size: 1.8rem; display: block; margin-bottom: 0.7rem; }
.util-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.util-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Merch products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.product {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.product:hover { transform: translateY(-8px); border-color: var(--magenta); box-shadow: 0 14px 44px rgba(210,77,255,0.18); }
.product-img { position: relative; overflow: hidden; }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  font-family: "Orbitron", sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #07030f;
  background: var(--grad); padding: 0.3rem 0.7rem; border-radius: 999px;
}
.product-body { padding: 1.1rem 1.2rem 1.4rem; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.product-price { color: var(--cyan); font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.95rem; }
.store-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .hero-sub { margin: 0 auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .timeline, .token-grid, .steps,
  .nft-gallery, .roadmap, .merch-grid,
  .util-grid, .product-grid, .burn-stats { grid-template-columns: repeat(2, 1fr); }
  .art-wall { columns: 2; }
  .lives-layout { grid-template-columns: 1fr; }
  .saga-row, .saga-row:nth-child(even) .saga-art { grid-template-columns: 1fr; order: 0; }
  .meme-wrap { grid-template-columns: 1fr; }
  .launch-2col { grid-template-columns: 1fr; }
  .term-cockpit { grid-template-columns: 1fr; }
  .term-board { grid-template-columns: 1fr; }
  .board-lane { max-height: 60vh; }
  .term-chart { height: 50vh; min-height: 340px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.4rem 1.2rem 1.1rem;
    background: rgba(5,3,12,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid rgba(155,77,255,0.12); font-size: 1rem; }
}
@media (max-width: 540px) {
  .timeline, .token-grid, .steps,
  .nft-gallery, .roadmap, .merch-grid,
  .util-grid, .product-grid, .burn-stats { grid-template-columns: 1fr; }
  .art-wall { columns: 1; }
  .nav-cta { display: none; }
  .hero-stats { gap: 1.2rem; }
  .form-row { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
}

/* ---------- Fight Game ---------- */
.fight-shell { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }
.fight-frame {
  position: relative; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; background: #05030c;
  box-shadow: 0 0 50px rgba(155,77,255,0.25), inset 0 0 60px rgba(0,0,0,0.6);
}
.fight-frame canvas {
  display: block; width: 100%; height: auto; touch-action: none;
  image-rendering: auto; transition: transform 0.03s linear;
}
.fight-keys { text-align: center; margin-top: 1rem; }
.fight-keys b { color: var(--cyan); }
.fight-pad { display: none; margin-top: 1rem; }
.fight-pad .pad-side { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.fight-pad { justify-content: space-between; gap: 1rem; }
.pad-act { flex: 1; justify-content: flex-end; }
.pad-btn {
  min-width: 58px; height: 58px; border-radius: 14px;
  border: 1px solid var(--border); background: rgba(155,77,255,0.12);
  color: var(--ink); font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.04em; cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pad-btn.hot { background: rgba(255,61,240,0.16); border-color: rgba(255,61,240,0.4); }
.pad-btn.sp { background: rgba(255,216,77,0.16); border-color: rgba(255,216,77,0.5); color: #ffd84d; }
.pad-btn.on { transform: scale(0.92); filter: brightness(1.4); }
@media (max-width: 820px) {
  .fight-pad { display: flex; }
  .fight-keys { display: none; }
}

/* ---------- Fight banner (arcade) ---------- */
.fight-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: 1000px; margin: 0 auto 1.5rem; padding: 1.4rem 1.8rem;
  border: 1px solid var(--border); border-radius: 18px; text-decoration: none;
  background: linear-gradient(110deg, rgba(155,77,255,0.18), rgba(25,224,255,0.08) 60%, rgba(255,61,240,0.12));
  position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.fight-banner:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 14px 40px rgba(155,77,255,0.3); }
.fight-banner-txt { max-width: 60%; }
.fight-banner-txt h2 { font-family: "Orbitron", sans-serif; font-size: clamp(1.5rem,4vw,2.2rem); margin: 0.2rem 0 0.4rem; color: var(--ink); }
.fight-banner-txt p { color: var(--muted); margin: 0 0 0.9rem; font-size: 0.95rem; }
.fight-banner-art { position: relative; width: 220px; height: 160px; flex-shrink: 0; }
.fight-banner-art > img:first-child {
  height: 168px; position: absolute; right: 0; bottom: -14px;
  filter: drop-shadow(0 6px 18px rgba(155,77,255,0.5));
}
.fb-coin { width: 70px; height: 70px; position: absolute; left: 0; bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); animation: fbFloat 3s ease-in-out infinite; }
.fb-coin2 { width: 54px; height: 54px; left: 46px; bottom: 78px; animation-delay: 0.6s; }
@keyframes fbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .fight-banner { flex-direction: column; text-align: center; }
  .fight-banner-txt { max-width: 100%; }
  .fight-banner-art { width: 180px; }
}

/* ---------- The Cat's Den (club) ---------- */
.grad-gold { background: linear-gradient(100deg, #f6d365, #e8c45a 40%, #b07d2b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.eyebrow.gold, .gold { color: #e8c45a; }
.btn-gold { background: linear-gradient(100deg, #f6d365, #e8c45a 55%, #c89b3c); color: #1a1206; border: none; font-weight: 800; box-shadow: 0 8px 30px rgba(232,196,90,0.35); }
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); }

.den-hero { position: relative; overflow: hidden; min-height: 78vh; display: grid; place-items: center; }
.den-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); filter: saturate(1.05); }
.den-hero-scrim { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 30%, rgba(5,3,12,0.25), rgba(5,3,12,0.82) 70%, rgba(5,3,12,0.96)); }
.den-figure { position: absolute; bottom: 0; height: 84%; max-height: 640px; z-index: 1; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6)); opacity: 0.96; pointer-events: none; }
.den-figure-l { left: -2%; }
.den-figure-r { right: -2%; }
.den-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; padding: 5rem 1.2rem 3rem; }
.den-hero-inner h1 { font-family: "Orbitron", sans-serif; font-size: clamp(2.6rem, 8vw, 5rem); margin: 0.6rem 0; }
.den-hero-inner p { color: #d9d4e8; max-width: 620px; margin: 0 auto 1.4rem; }
.den-badge { display: inline-block; font-family: "Orbitron", sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #e8c45a; border: 1px solid rgba(232,196,90,0.5); border-radius: 999px; padding: 0.45rem 1.1rem; background: rgba(232,196,90,0.08); }
@media (max-width: 900px) { .den-figure { opacity: 0.22; height: 70%; } }

/* membership card */
.member-card { position: relative; max-width: 440px; margin: 0 auto; aspect-ratio: 1.586; border-radius: 18px; overflow: hidden; padding: 1.3rem 1.4rem; color: #f3eede; background: linear-gradient(135deg, #1c1430 0%, #2a1d4a 50%, #120a22 100%); border: 1px solid rgba(232,196,90,0.45); box-shadow: 0 20px 60px rgba(0,0,0,0.55), inset 0 0 40px rgba(155,77,255,0.18); display: flex; flex-direction: column; justify-content: space-between; }
.member-card.is-black { background: linear-gradient(135deg, #0b0b0f 0%, #14141c 55%, #000 100%); border-color: #e8c45a; box-shadow: 0 20px 60px rgba(0,0,0,0.7), inset 0 0 40px rgba(232,196,90,0.2); }
.mc-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.14) 48%, transparent 60%); transform: translateX(-100%); animation: mcShine 4.5s ease-in-out infinite; }
@keyframes mcShine { 0%,60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; z-index: 1; }
.mc-club { font-family: "Orbitron", sans-serif; font-weight: 800; letter-spacing: 0.16em; font-size: 0.82rem; color: #e8c45a; }
.mc-rank-num { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.6rem; color: rgba(255,255,255,0.85); }
.mc-avatar { position: absolute; right: -10px; bottom: -6px; height: 78%; object-fit: contain; opacity: 0.92; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5)); z-index: 0; }
.mc-body { z-index: 1; }
.mc-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: #b9b2cf; }
.mc-rank { font-family: "Orbitron", sans-serif; font-size: 2rem; margin: 0.1rem 0 0.2rem; color: #fff; }
.mc-addr { font-family: monospace; font-size: 0.85rem; color: #cfc8e6; }
.mc-foot { display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.mc-foot #mcHold { font-weight: 700; color: #e8c45a; }
.mc-chip { font-family: "Orbitron", sans-serif; font-size: 0.62rem; letter-spacing: 0.14em; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid rgba(232,196,90,0.6); color: #e8c45a; }

/* den rank cards gold accents */
.den-rank .tier-rank { color: #e8c45a; }
.den-rank.black-card { border-color: #e8c45a; box-shadow: 0 0 30px rgba(232,196,90,0.25); }
.den-rank.black-card h3 { color: #e8c45a; }
.tier-card.unlocked { border-color: rgba(232,196,90,0.55); }
.tier-card.you { box-shadow: 0 0 0 2px #e8c45a, 0 10px 40px rgba(232,196,90,0.3); }
.tier-card.you::after { content: "YOUR RANK"; position: absolute; top: 10px; right: 10px; font-family: "Orbitron", sans-serif; font-size: 0.58rem; letter-spacing: 0.12em; color: #1a1206; background: #e8c45a; padding: 0.2rem 0.5rem; border-radius: 999px; }

/* high table */
.hightable { max-width: 720px; margin: 0 auto; }
.ht-head, .ht-row { display: grid; grid-template-columns: 60px 1fr 1fr 70px; gap: 0.6rem; align-items: center; padding: 0.7rem 1rem; }
.ht-head { font-family: "Orbitron", sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b9b2cf; border-bottom: 1px solid var(--border); }
.ht-row { border-bottom: 1px solid rgba(255,255,255,0.05); }
.ht-row.ht-top { background: linear-gradient(90deg, rgba(232,196,90,0.14), transparent); border-radius: 10px; }
.ht-seat { font-family: "Orbitron", sans-serif; font-weight: 800; color: #e8c45a; }
.ht-addr { font-family: monospace; color: #e8e3f5; }
.ht-amt { color: #cfc8e6; }
.ht-pct { color: #19e0ff; text-align: right; }

.den-lore { max-width: 720px; margin: 0 auto; text-align: center; }
.den-lore p { color: var(--muted); }

/* ---------- NFT Marketplace ---------- */
.mkt-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.4rem; }
.mkt-stat { display: flex; flex-direction: column; }
.mkt-stat b { font-family: "Orbitron", sans-serif; font-size: 1.4rem; color: var(--cyan); }
.mkt-stat span { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.mkt-filters { max-width: 1200px; margin: 0 auto 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; padding: 0 1rem; }
.mkt-chip { font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: rgba(155,77,255,0.1); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.mkt-chip.active, .mkt-chip:hover { border-color: var(--cyan); color: #fff; background: rgba(25,224,255,0.15); }
.mkt-sort { margin-left: auto; background: rgba(10,6,24,0.8); color: var(--ink); border: 1px solid var(--border); border-radius: 999px; padding: 0.5rem 1rem; font-family: "Rajdhani", sans-serif; font-weight: 600; cursor: pointer; }
.mkt-grid { max-width: 1200px; margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.nft-card { background: rgba(12,8,26,0.7); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.nft-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 12px 34px rgba(155,77,255,0.3); }
.nft-thumb { aspect-ratio: 1; overflow: hidden; }
.nft-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nft-meta { padding: 0.7rem 0.8rem; }
.nft-row { display: flex; justify-content: space-between; align-items: center; }
.nft-row + .nft-row { margin-top: 0.35rem; }
.nft-name { font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 0.82rem; }
.nft-price { color: var(--cyan); font-weight: 700; font-size: 0.9rem; }
.nft-buy { font-family: "Orbitron", sans-serif; font-size: 0.66rem; letter-spacing: 0.08em; color: var(--ink); border: 1px solid var(--border); border-radius: 999px; padding: 0.18rem 0.6rem; }
.nft-badge { font-family: "Orbitron", sans-serif; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.18rem 0.5rem; border-radius: 999px; border: 1px solid; }
.b-Legendary { color: #ffd84d; border-color: #ffd84d; background: rgba(255,216,77,0.12); }
.b-Epic { color: #ff3df0; border-color: #ff3df0; background: rgba(255,61,240,0.12); }
.b-Rare { color: #19e0ff; border-color: #19e0ff; background: rgba(25,224,255,0.12); }
.b-Common { color: #b9b2cf; border-color: var(--border); background: rgba(255,255,255,0.04); }
.t-Legendary { border-color: rgba(255,216,77,0.4); }
.t-Epic { border-color: rgba(255,61,240,0.3); }

.nft-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.nft-modal[hidden] { display: none; }
.nft-modal-bg { position: absolute; inset: 0; background: rgba(3,2,10,0.85); backdrop-filter: blur(6px); }
.nft-modal-card { position: relative; z-index: 1; display: flex; gap: 1.4rem; max-width: 760px; width: 100%; background: #0c0820; border: 1px solid var(--border); border-radius: 18px; padding: 1.2rem; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.nft-modal-img { width: 300px; max-width: 42%; border-radius: 12px; object-fit: cover; }
.nft-modal-info { flex: 1; }
.nft-modal-info h3 { font-family: "Orbitron", sans-serif; margin: 0.4rem 0 0.6rem; }
.nft-modal-x { position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: none; color: var(--ink); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.nft-price-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.nft-price-row b { font-family: "Orbitron", sans-serif; color: var(--cyan); font-size: 1.2rem; }
.nft-traits { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.9rem; }
.nft-trait { background: rgba(155,77,255,0.08); border: 1px solid var(--border); border-radius: 8px; padding: 0.4rem 0.6rem; }
.nft-trait span { display: block; font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.nft-trait b { font-size: 0.85rem; }
@media (max-width: 560px) { .nft-modal-card { flex-direction: column; } .nft-modal-img { width: 100%; max-width: 100%; } }

/* ---------- Mint page ---------- */
.mint-wrap { max-width: 760px; margin: 0 auto; padding: 0 1rem; }
.mint-card { display: flex; gap: 1.6rem; background: rgba(12,8,26,0.7); border: 1px solid var(--border); border-radius: 18px; padding: 1.4rem; box-shadow: 0 0 50px rgba(155,77,255,0.2); }
.mint-art { width: 300px; max-width: 45%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); }
.mint-body { flex: 1; display: flex; flex-direction: column; gap: 0.9rem; }
.mint-qty { display: flex; align-items: center; justify-content: center; gap: 1.2rem; font-family: "Orbitron", sans-serif; font-size: 1.2rem; }
@media (max-width: 560px) { .mint-card { flex-direction: column; } .mint-art { width: 100%; max-width: 100%; } }

/* ---------- Footer build credit ---------- */
.footer-credit { margin-top: 0.4rem; font-family: "Orbitron", sans-serif; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.footer-credit a { color: var(--cyan); text-decoration: none; }
.footer-credit a:hover { text-shadow: 0 0 10px rgba(25,224,255,0.6); }

/* ---------- Casino ---------- */
.cas-credits {
  max-width: 720px; margin: 0 auto 1.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  background: rgba(12,8,26,0.7); border: 1px solid var(--border); border-radius: 16px; padding: 0.9rem 1.2rem;
  box-shadow: 0 0 40px rgba(155,77,255,0.15);
}
.cas-bal { display: flex; flex-direction: column; align-items: center; padding: 0 0.6rem; }
.cas-bal span { color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; }
.cas-bal b { font-family: "Orbitron", sans-serif; font-size: 1.35rem; color: var(--cyan); text-shadow: 0 0 14px rgba(25,224,255,0.5); }
#casNote { flex-basis: 100%; text-align: center; color: var(--cyan); font-size: 0.82rem; min-height: 1em; }

.cas-tabs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.cas-tab {
  font-family: "Orbitron", sans-serif; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.6rem 1.1rem; border-radius: 999px; cursor: pointer; color: var(--muted);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); transition: all 0.2s;
}
.cas-tab:hover { color: var(--ink); border-color: var(--cyan); }
.cas-tab.active { color: var(--bg); background: linear-gradient(100deg, var(--cyan), var(--magenta)); border-color: transparent; box-shadow: 0 0 22px rgba(25,224,255,0.4); }
.cas-panel { max-width: 860px; margin: 0 auto; }

/* slot machine */
.slot-machine {
  max-width: 560px; margin: 0 auto 2.2rem; padding: 1.6rem; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(20,12,40,0.9), rgba(8,4,18,0.95));
  border: 2px solid var(--purple); box-shadow: 0 0 60px rgba(155,77,255,0.35), inset 0 0 40px rgba(25,224,255,0.06);
}
.slot-reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; padding: 0.9rem; border-radius: 16px; background: rgba(0,0,0,0.55); border: 1px solid var(--border); }
.reel {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.06), rgba(0,0,0,0.5));
  border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 6px 18px rgba(0,0,0,0.7);
}
.reel-stop { animation: reelBounce 0.3s ease; }
@keyframes reelBounce { 0% { transform: translateY(-14px); } 60% { transform: translateY(4px); } 100% { transform: translateY(0); } }
.slot-line { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; transform: translateY(-1px); background: linear-gradient(90deg, transparent, var(--magenta), transparent); box-shadow: 0 0 12px var(--magenta); pointer-events: none; }
.sym { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c, var(--cyan)); }
.sym img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 0 10px var(--c)); }
.sym-svg { width: 62%; height: 62%; fill: var(--c); stroke: var(--c); stroke-width: 0.6; filter: drop-shadow(0 0 8px var(--c)); }
.sym-7 { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: clamp(2rem, 9vw, 3.4rem); color: var(--c); text-shadow: 0 0 16px var(--c); }
.slot-result { margin: 1.2rem 0 0.4rem; font-family: "Orbitron", sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; color: var(--muted); min-height: 1.4em; transition: color 0.2s; }
.slot-result.win { color: var(--cyan); text-shadow: 0 0 14px rgba(25,224,255,0.5); }
.slot-result.big { color: #ffd84d; text-shadow: 0 0 20px rgba(255,216,77,0.7); animation: winPulse 0.7s ease infinite alternate; }
@keyframes winPulse { from { transform: scale(1); } to { transform: scale(1.06); } }
.slot-controls { display: flex; gap: 0.7rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.slot-spin { font-family: "Orbitron", sans-serif; letter-spacing: 0.06em; }
.slot-spin:disabled { opacity: 0.5; cursor: not-allowed; }

/* paytable */
.paytable { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.3rem 1.5rem; }
.paytable h3 { font-family: "Orbitron", sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 1rem; }
.pt-grid { display: grid; gap: 0.55rem; }
.pt-row { display: grid; grid-template-columns: 40px 40px 40px 1fr; gap: 0.5rem; align-items: center; padding: 0.5rem 0.7rem; border-radius: 10px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }
.pt-row .sym { width: 34px; height: 34px; }
.pt-prize { font-family: "Orbitron", sans-serif; font-size: 0.8rem; text-align: right; }

/* coin flip */
.flip-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; max-width: 680px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.8rem; }
.flip-coin { width: 180px; height: 180px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.14), rgba(10,5,24,0.9)); border: 3px solid var(--purple); box-shadow: 0 0 40px rgba(155,77,255,0.4); transform-style: preserve-3d; }
.flip-coin img { width: 66%; height: 66%; object-fit: contain; filter: drop-shadow(0 0 12px var(--cyan)); }
.flip-coin.flipping { animation: coinFlip 1.1s cubic-bezier(0.3,0,0.2,1); }
@keyframes coinFlip { 0% { transform: rotateY(0); } 100% { transform: rotateY(1980deg); } }
.flip-side { display: flex; gap: 0.6rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.side-btn.active { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 16px rgba(25,224,255,0.3); }
.flip-bet { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; }
.flip-bet b { color: var(--cyan); font-family: "Orbitron", sans-serif; }
.flip-result { margin-top: 0.9rem; font-family: "Orbitron", sans-serif; font-size: 0.9rem; min-height: 1.2em; }

/* win modal */
.win-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.win-modal[hidden] { display: none; }
.win-bg { position: absolute; inset: 0; background: rgba(4,2,12,0.85); backdrop-filter: blur(6px); }
.win-card {
  position: relative; z-index: 1; text-align: center; max-width: 360px; width: 100%; padding: 2rem 1.6rem 1.6rem;
  border-radius: 20px; background: linear-gradient(180deg, rgba(24,14,46,0.98), rgba(10,5,22,0.98));
  border: 2px solid var(--cyan); box-shadow: 0 0 70px rgba(25,224,255,0.5); animation: winPop 0.4s cubic-bezier(0.2,1.3,0.4,1);
}
@keyframes winPop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.win-burst { display: inline-block; font-family: "Orbitron", sans-serif; font-weight: 900; letter-spacing: 0.14em; font-size: 0.9rem; color: #ffd84d; text-shadow: 0 0 18px rgba(255,216,77,0.8); margin-bottom: 0.9rem; animation: winPulse 0.7s ease infinite alternate; }
.win-img { width: 200px; height: 200px; object-fit: cover; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 0 40px rgba(155,77,255,0.5); }
.win-card h3 { font-family: "Orbitron", sans-serif; margin: 1rem 0 0.5rem; }
.win-card .nft-badge { margin-bottom: 0.8rem; }
.win-card .btn { margin-top: 0.5rem; width: 100%; }

@media (max-width: 560px) {
  .flip-wrap { grid-template-columns: 1fr; }
  .pt-row { grid-template-columns: 32px 32px 32px 1fr; }
}

/* ---------- Scratch cards ---------- */
.scratch-wrap { max-width: 560px; margin: 0 auto; }
.scratch-card { position: relative; margin: 0 auto 0.4rem; border-radius: 18px; overflow: hidden; border: 2px solid var(--purple); box-shadow: 0 0 50px rgba(155,77,255,0.3), inset 0 0 30px rgba(25,224,255,0.06); background: linear-gradient(180deg, rgba(20,12,40,0.95), rgba(8,4,18,0.98)); aspect-ratio: 3 / 1.15; }
.sc-cells { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; padding: 0.9rem; }
.sc-cell { display: flex; align-items: center; justify-content: center; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.06), rgba(0,0,0,0.5)); border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 6px 18px rgba(0,0,0,0.7); }
.sc-cell .sym { width: 78%; height: 78%; }
.sc-foil { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; transition: opacity 0.4s; border-radius: 16px; }

/* ---------- Free-demo pill ---------- */
.demo-pill { font-family: "Orbitron", sans-serif; font-size: 0.62rem; letter-spacing: 0.12em; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; color: var(--sol-green, #14f195); border: 1px solid #14f195; background: rgba(20,241,149,0.1); box-shadow: 0 0 16px rgba(20,241,149,0.25); text-transform: uppercase; }

/* ---------- Loot-box pack mint ---------- */
.pack-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pack-card { text-align: left; cursor: pointer; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.3rem; color: var(--ink); transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s; display: flex; flex-direction: column; gap: 0.5rem; }
.pack-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.pack-card.sel { border-color: var(--magenta); box-shadow: 0 0 40px rgba(210,77,255,0.28), inset 0 0 30px rgba(210,77,255,0.06); }
.pack-emoji { font-size: 2.6rem; line-height: 1; }
.pack-name { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 1.1rem; }
.pack-price { font-family: "Orbitron", sans-serif; color: var(--cyan); font-size: 0.95rem; }
.pack-free { font-family: "Rajdhani", sans-serif; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #14f195; border: 1px solid #14f195; border-radius: 999px; padding: 0.05rem 0.45rem; margin-left: 0.35rem; vertical-align: middle; }
.pack-blurb { color: var(--muted); font-size: 0.86rem; line-height: 1.4; min-height: 3.4em; }
.odds { display: grid; gap: 0.35rem; margin-top: 0.3rem; }
.odds-row { display: grid; grid-template-columns: 74px 1fr 40px; align-items: center; gap: 0.5rem; }
.odds-lbl { font-family: "Orbitron", sans-serif; font-size: 0.62rem; letter-spacing: 0.04em; }
.odds-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.odds-fill { display: block; height: 100%; border-radius: 999px; transition: width 0.4s; }
.odds-pct { font-family: "Orbitron", sans-serif; font-size: 0.66rem; color: var(--muted); text-align: right; }

.open-stage { max-width: 560px; margin: 0 auto; text-align: center; }
.reveal-frame { position: relative; width: 300px; max-width: 80%; margin: 0 auto 1rem; aspect-ratio: 1; border-radius: 18px; overflow: hidden; border: 2px solid var(--purple); box-shadow: 0 0 50px rgba(155,77,255,0.3); }
.reveal-frame.epic { border-color: #ff3df0; box-shadow: 0 0 60px rgba(255,61,240,0.6); }
.reveal-frame.legendary { border-color: #ffd84d; box-shadow: 0 0 70px rgba(255,216,77,0.7); animation: winPulse 0.7s ease infinite alternate; }
.reveal-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reveal-burst { position: absolute; top: 0.7rem; left: 50%; transform: translateX(-50%); margin: 0; }
.open-meta h3 { font-family: "Orbitron", sans-serif; margin: 0.5rem 0 0; }
.open-meta .nft-badge { margin-bottom: 0.3rem; }
.open-controls { margin: 1.2rem auto 0.4rem; max-width: 360px; }
.open-price { display: flex; align-items: center; justify-content: space-between; padding: 0 0.2rem 0.6rem; font-family: "Orbitron", sans-serif; }
.open-price b { color: #14f195; }
.pulls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin: 1.2rem 0 0.6rem; }
.pulls-lbl { width: 100%; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: "Orbitron", sans-serif; }
.pull-thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 2px solid; }
.pull-thumb.b-Legendary { border-color: #ffd84d; } .pull-thumb.b-Epic { border-color: #ff3df0; }
.pull-thumb.b-Rare { border-color: #19e0ff; } .pull-thumb.b-Common { border-color: rgba(255,255,255,0.15); }
@media (max-width: 720px) { .pack-grid { grid-template-columns: 1fr; } .pack-blurb { min-height: 0; } }

/* ---------- Daily bonus ---------- */
.daily-bonus { max-width: 720px; margin: 0 auto 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.8rem 1.2rem; border-radius: 14px; border: 1px solid #ffd84d; background: linear-gradient(100deg, rgba(255,216,77,0.1), rgba(255,61,240,0.06)); box-shadow: 0 0 26px rgba(255,216,77,0.16); }
.daily-bonus.claimed { border-color: var(--border); background: var(--card); box-shadow: none; opacity: 0.85; }
.db-info { display: flex; align-items: center; gap: 0.8rem; }
.db-fire { font-size: 1.6rem; }
.db-info b { font-family: "Orbitron", sans-serif; display: block; }
.db-sub { color: var(--muted); font-size: 0.82rem; }

/* ---------- Leaderboard ---------- */
.you-stats { max-width: 560px; margin: 0 auto 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.ys { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 0.6rem; }
.ys b { display: block; font-family: "Orbitron", sans-serif; font-size: 1.7rem; color: var(--cyan); text-shadow: 0 0 14px rgba(25,224,255,0.5); }
.ys span { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.board-grid { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.board { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.3rem; }
.board h3 { font-family: "Orbitron", sans-serif; font-size: 0.95rem; margin-bottom: 0.9rem; text-align: center; }
.board-list { list-style: none; display: grid; gap: 0.3rem; }
.board-list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 0.6rem; padding: 0.5rem 0.7rem; border-radius: 10px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }
.board-list li.you { border-color: var(--cyan); box-shadow: 0 0 16px rgba(25,224,255,0.25); }
.board-list .rk { font-family: "Orbitron", sans-serif; font-size: 0.78rem; color: var(--muted); text-align: center; }
.board-list li:nth-child(1) .rk { color: #ffd84d; } .board-list li:nth-child(2) .rk { color: #cfd3e6; } .board-list li:nth-child(3) .rk { color: #e0a173; }
.board-list .pn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list li.you .pn { color: var(--cyan); }
.board-list .pv { font-family: "Orbitron", sans-serif; font-size: 0.82rem; color: var(--ink); }
@media (max-width: 640px) { .board-grid { grid-template-columns: 1fr; } .daily-bonus { justify-content: center; text-align: center; } }

/* ---------- Mint pity counter ---------- */
.pity { text-align: center; margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--muted); }
.pity b { color: var(--cyan); font-family: "Orbitron", sans-serif; }

/* ---------- Treasury transparency ---------- */
.treasury-grid { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.treasury-card { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem 1.4rem; box-shadow: 0 0 40px rgba(20,241,149,0.12); }
.treasury-card.ops { box-shadow: 0 0 40px rgba(155,77,255,0.12); }
.tc-pct { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 2.6rem; line-height: 1; color: #14f195; text-shadow: 0 0 20px rgba(20,241,149,0.5); }
.treasury-card.ops .tc-pct { color: var(--purple); text-shadow: 0 0 20px rgba(155,77,255,0.5); }
.treasury-card h3 { font-family: "Orbitron", sans-serif; margin: 0.5rem 0 0.3rem; }
.tc-addr { display: block; margin-top: 0.9rem; padding: 0.6rem 0.7rem; border-radius: 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--border); font-family: "Rajdhani", monospace; font-size: 0.8rem; color: var(--ink); word-break: break-all; }
@media (max-width: 640px) { .treasury-grid { grid-template-columns: 1fr; } }
