/* ═══════════════════════════════════════════
   KAG3D — BRAINROT ULTIMATE MEGA PACK
   Static Build · HTML/CSS/JS
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  background: #f8f7ff;
  color: #1a1630;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NOISE GRAIN ── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ══════════════════
   NAV
══════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 2.5rem;
  background: rgba(248,247,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(99,102,241,0.1);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.06em; color: #1a1630; }
.logo span { color: #6366f1; }
.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6366f1; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.22);
  padding: 0.3rem 0.9rem; border-radius: 100px;
}
.nav-btn {
  background: #6366f1; color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 0.52rem 1.25rem; border-radius: 8px;
  box-shadow: 0 2px 14px rgba(99,102,241,0.38);
  transition: transform 0.18s, box-shadow 0.18s;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(99,102,241,0.48); }

/* ══════════════════
   HERO
══════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 9rem 2rem 5rem;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #eeecff 0%, #fef9e7 45%, #ecfdf5 100%);
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco-sq {
  position: absolute; border-radius: 18px; opacity: 0.12;
  animation: decoSpin 28s linear infinite;
}
.ds1 { width: 220px; height: 220px; background: #6366f1; top: 10%; right: 5%; transform: rotate(20deg); animation-duration: 32s; }
.ds2 { width: 140px; height: 140px; background: #f59e0b; bottom: 12%; left: 4%; transform: rotate(-15deg); animation-duration: 20s; animation-direction: reverse; }
.ds3 { width: 90px;  height: 90px;  background: #10b981; top: 58%; right: 22%; transform: rotate(45deg); animation-duration: 38s; }
.deco-orb {
  position: absolute; border-radius: 50%; opacity: 0.09;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
.do1 { width: 550px; height: 550px; background: radial-gradient(circle, #a855f7, transparent); top: -200px; left: -180px; }
.do2 { width: 420px; height: 420px; background: radial-gradient(circle, #38bdf8, transparent); bottom: -120px; right: -120px; animation-delay: -6s; }
@keyframes decoSpin { to { transform: rotate(360deg); } }
@keyframes orbFloat { from { transform: translate(0,0); } to { transform: translate(28px, 18px); } }

/* ── Hero stickers — 6 FIXED positions ── */
.hero-sticker {
  position: absolute; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.16));
  animation: stickerFloat var(--dur, 4s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.hero-sticker img { width: 100%; height: auto; }

/* Left column */
.hs-l1 { width: 150px; top:  7%; left:  0.5%; transform: rotate(-8deg);  --dur:4.0s; --delay:0.0s; }
.hs-l2 { width: 128px; top: 38%; left: -0.5%; transform: rotate( 6deg);  --dur:3.5s; --delay:0.7s; }
.hs-l3 { width: 142px; top: 66%; left:  1.0%; transform: rotate(-11deg); --dur:4.6s; --delay:1.3s; }
/* Right column */
.hs-r1 { width: 144px; top:  5%; right: 0.5%; transform: rotate( 9deg);  --dur:3.8s; --delay:0.3s; }
.hs-r2 { width: 132px; top: 41%; right:-0.5%; transform: rotate(-7deg);  --dur:4.2s; --delay:1.0s; }
.hs-r3 { width: 148px; top: 67%; right: 1.0%; transform: rotate(12deg);  --dur:3.6s; --delay:1.6s; }

@keyframes stickerFloat {
  from { transform: rotate(var(--r, 0deg)) translateY(0px) scale(1); }
  to   { transform: rotate(var(--r, 0deg)) translateY(-14px) scale(1.03); }
}
/* Override individual rotations for correct keyframe */
.hs-l1 { animation-name: stickerFloatL1; } @keyframes stickerFloatL1 { from{transform:rotate(-8deg) translateY(0); } to{transform:rotate(-8deg) translateY(-14px) scale(1.03);} }
.hs-l2 { animation-name: stickerFloatL2; } @keyframes stickerFloatL2 { from{transform:rotate(6deg) translateY(0);  } to{transform:rotate(6deg) translateY(-12px) scale(1.03);} }
.hs-l3 { animation-name: stickerFloatL3; } @keyframes stickerFloatL3 { from{transform:rotate(-11deg) translateY(0);} to{transform:rotate(-11deg) translateY(-15px) scale(1.03);} }
.hs-r1 { animation-name: stickerFloatR1; } @keyframes stickerFloatR1 { from{transform:rotate(9deg) translateY(0);  } to{transform:rotate(9deg) translateY(-13px) scale(1.03);} }
.hs-r2 { animation-name: stickerFloatR2; } @keyframes stickerFloatR2 { from{transform:rotate(-7deg) translateY(0); } to{transform:rotate(-7deg) translateY(-11px) scale(1.03);} }
.hs-r3 { animation-name: stickerFloatR3; } @keyframes stickerFloatR3 { from{transform:rotate(12deg) translateY(0); } to{transform:rotate(12deg) translateY(-16px) scale(1.03);} }

.hero-inner { position: relative; z-index: 3; text-align: center; max-width: 820px; }
.hero-h1 { display: flex; flex-direction: column; align-items: center; gap: 0.02em; margin-bottom: 2rem; }
.h1-line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 12vw, 10rem);
  line-height: 0.88; letter-spacing: 0.03em;
}
.outline-text { -webkit-text-stroke: 2.5px #1a1630; color: transparent; }
.solid-text    { color: #6366f1; text-shadow: 4px 4px 0 rgba(99,102,241,0.14); }
.hero-stats {
  display: inline-flex; align-items: center;
  background: #fff; border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.07); margin-bottom: 1.6rem;
}
.hstat { display: flex; flex-direction: column; align-items: center; padding: 1rem 2rem; gap: 0.15rem; }
.hstat strong { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: #6366f1; line-height: 1; }
.hstat span   { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8b8aaa; }
.hstat-div    { width: 1px; height: 48px; background: rgba(0,0,0,0.07); }
.hero-tagline { font-size: clamp(1rem, 2.2vw, 1.18rem); color: #5a5880; font-style: italic; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  font-weight: 700; font-size: 1rem; padding: 0.88rem 2.2rem; border-radius: 10px;
  box-shadow: 0 4px 22px rgba(99,102,241,0.4);
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.5); }
.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(26,22,48,0.2); color: #1a1630;
  font-weight: 600; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 10px;
  transition: border-color 0.18s, background 0.18s;
}
.btn-ghost:hover { border-color: #6366f1; background: rgba(99,102,241,0.06); }

/* ══════════════════
   MARQUEE
══════════════════ */
.marquee-section {
  background: #1a1630; padding: 0.5rem 0; overflow: hidden;
  border-top: 3px solid #6366f1; border-bottom: 3px solid #6366f1;
}
.marquee-lbl {
  text-align: center;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(255,255,255,0.18); padding: 0.35rem 0;
}
.marquee-wrap { overflow: hidden; padding: 0.4rem 0 0.8rem; }
.marquee-track {
  display: flex; gap: 1.1rem; width: max-content;
  animation: mqScroll 44s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 0.6rem 0.75rem;
  width: 96px; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: default;
}
.mq-card:hover { background: rgba(99,102,241,0.18); border-color: rgba(99,102,241,0.5); transform: translateY(-6px) scale(1.06); }
.mq-card img  { width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.mq-card span { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.5); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 86px; }

/* ══════════════════
   LAB — 3D Preview
══════════════════ */
.lab {
  padding: 4.5rem 2rem;
  background: #fff;
  border-top: 1.5px solid rgba(0,0,0,0.06);
  border-bottom: 1.5px solid rgba(0,0,0,0.06);
}
.lab-inner { max-width: 1060px; margin: 0 auto; }
.lab-head { text-align: center; margin-bottom: 2.5rem; }
.section-pill {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6366f1; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.22);
  padding: 0.3rem 0.85rem; border-radius: 100px; margin-bottom: 0.7rem;
}
.lab-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 5vw, 3.4rem); color: #1a1630; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
.lab-sub { color: #7a788a; font-size: 0.95rem; }

/* Grid: viewer + sidebar */
.lab-layout {
  display: grid;
  grid-template-columns: 1fr 155px;
  gap: 1.4rem;
  align-items: start;
}
.viewer-col { display: flex; flex-direction: column; gap: 1rem; }

/* Viewer frame */
.viewer-frame {
  position: relative;
  width: 100%;
  max-height: 440px;
  aspect-ratio: 1 / 0.9;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, #f0effe, #f8f7ff);
  border: 1.5px solid rgba(0,0,0,0.08);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.8),
    0 0 0 4px rgba(0,0,0,0.06),
    0 16px 50px rgba(0,0,0,0.08),
    0 0 60px color-mix(in srgb, var(--glow, #6366f1) 15%, transparent);
  transition: box-shadow 0.4s;
}
.corner { position: absolute; width: 20px; height: 20px; border-color: var(--c,#6366f1); border-style: solid; z-index: 5; transition: border-color 0.3s; }
.corner.tl { top:10px; left:10px;  border-width: 2px 0 0 2px; }
.corner.tr { top:10px; right:10px; border-width: 2px 2px 0 0; }
.corner.bl { bottom:10px; left:10px;  border-width: 0 0 2px 2px; }
.corner.br { bottom:10px; right:10px; border-width: 0 2px 2px 0; }
model-viewer { display: block; width: 100%; height: 100%; background: transparent; }

/* Viewer badge */
.viewer-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border: 1.5px solid color-mix(in srgb, var(--c,#6366f1) 35%, transparent);
  color: #1a1630; font-size: 0.75rem; font-weight: 700;
  padding: 0.28rem 0.75rem; border-radius: 8px;
  transition: border-color 0.3s; z-index: 5;
}

/* ── Play overlay ── */
.play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  z-index: 10;
  background: rgba(240,238,254,0.3);
  border-radius: 20px;
  transition: opacity 0.3s;
  cursor: pointer;
}
.play-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn-wrap { position: relative; width: 68px; height: 68px; }
.play-circle {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(15,10,40,0.72); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.play-overlay:hover .play-circle { transform: scale(1.08); background: rgba(99,102,241,0.85); }
.play-circle svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.arc-svg {
  position: absolute; top: -8px; left: -8px; width: 84px; height: 84px;
  transform: rotate(-90deg); pointer-events: none;
  opacity: 0; transition: opacity 0.25s;
}
.arc-track { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 3; }
.arc-fill  { fill: none; stroke: #6366f1; stroke-width: 3; stroke-linecap: round;
             stroke-dasharray: 125.66; stroke-dashoffset: 125.66; transition: stroke-dashoffset 0.04s linear; }
.play-hint {
  font-size: 0.72rem; font-weight: 600; color: rgba(26,22,48,0.5);
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(8px);
  padding: 0.28rem 0.85rem; border-radius: 100px;
}

/* Animation controls */
.anim-section { display: flex; flex-direction: column; gap: 0.5rem; }
.ctrl-label { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #b0aec8; }
.ctrl-note  { font-size: 0.62rem; font-weight: 500; color: #c0bede; }
.anim-row   { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.anim-btn {
  background: #f0effe; border: 1.5px solid rgba(99,102,241,0.15);
  color: #5a5880; border-radius: 8px; padding: 0.5rem 1rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.16s;
}
.anim-btn:hover { border-color: #6366f1; color: #6366f1; background: rgba(99,102,241,0.08); }
.anim-btn.active { background: rgba(99,102,241,0.12); border-color: #6366f1; color: #6366f1; box-shadow: 0 2px 12px rgba(99,102,241,0.22); }

/* ── Texture compact sidebar ── */
.tex-col {
  display: flex; flex-direction: column; gap: 0.45rem;
  background: #fff; border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 18px; padding: 0.9rem 0.7rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.06);
  position: sticky; top: 80px;
}
.tex-panel-lbl {
  font-size: 0.48rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: #c0bede; text-align: center;
  padding-bottom: 0.5rem; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.tex-list { display: flex; flex-direction: column; gap: 0.28rem; }
.tex-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.28rem;
  background: #f8f7ff; border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 11px; padding: 0.55rem 0.35rem 0.45rem;
  cursor: pointer; transition: all 0.18s ease;
  position: relative; width: 100%;
  font-family: 'Space Grotesk', sans-serif;
}
.tex-btn:hover {
  border-color: color-mix(in srgb,var(--c,#6366f1) 55%,transparent);
  background: color-mix(in srgb,var(--c,#6366f1) 6%,white);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px color-mix(in srgb,var(--c,#6366f1) 18%,transparent);
}
.tex-btn.active {
  border-color: var(--c,#6366f1) !important;
  background: color-mix(in srgb,var(--c,#6366f1) 9%,white) !important;
  box-shadow: 0 4px 18px color-mix(in srgb,var(--c,#6366f1) 25%,transparent) !important;
}
.tex-btn.active::after {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 36%; height: 2.5px; background: var(--c,#6366f1);
  border-radius: 0 0 4px 4px;
}
.tex-thumb { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.tex-name  { font-size: 0.68rem; font-weight: 700; color: #1a1630; line-height: 1.1; text-align: center; }
.tex-active-lbl { font-size: 0.48rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c,#6366f1); }
.tex-hint { font-size: 0.58rem; color: #c8c5e0; text-align: center; padding: 0.4rem 0.1rem 0; border-top: 1px solid rgba(0,0,0,0.05); line-height: 1.4; }

/* Swap toast */
.swap-toast {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.5rem;
  background: #1a1630; color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 0.38rem 1rem; border-radius: 100px; z-index: 15;
  animation: fadeInD 0.2s ease;
}
.swap-toast.hidden { display: none; }
@keyframes fadeInD { from{opacity:0;transform:translateX(-50%) translateY(-6px);}to{opacity:1;transform:translateX(-50%) translateY(0);} }
.swap-spinner {
  width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Loading overlay */
.viewer-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem;
  background: linear-gradient(135deg, #f0effe, #f8f7ff); border-radius: 20px;
  z-index: 8;
}
.viewer-loading.hidden { display: none; }
.load-ring { width: 42px; height: 42px; border: 3px solid rgba(99,102,241,0.15); border-top-color: #6366f1; border-radius: 50%; animation: spin 0.8s linear infinite; }
.viewer-loading p { font-size: 0.82rem; color: #9896b0; font-weight: 500; }

/* ══════════════════
   STORE / PRICING
══════════════════ */
.store {
  padding: 5rem 2rem;
  background: #09071a;
  color: #fff;
  position: relative; overflow: hidden;
}
/* Subtle grid lines background */
.store::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.store-wrap { max-width: 1100px; margin: 0 auto; position: relative; }

/* Gold accent top rule */
.store-rule {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.store-rule-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(245,158,11,0.5), transparent); }
.store-rule-label { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(245,158,11,0.6); }

/* Crypto coins */
.coin-strip {
  display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap;
  margin-bottom: 1rem; justify-content: center;
}
.ci { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; opacity: 0.85; transition: opacity 0.2s, transform 0.2s; }
.ci:hover { opacity: 1; transform: translateY(-3px); }
.ci img { width: 38px; height: 38px; }
.ci-name { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.ci-more { opacity: 0.4; }
.ci-plus { font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.5); line-height: 1; }
.store-label {
  text-align: center; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 2.5rem;
}

/* ── Ultimate Pack hero card ── */
.sh-card {
  display: grid; grid-template-columns: 360px 1fr;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(99,102,241,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px; overflow: hidden; margin-bottom: 2.5rem;
  box-shadow: 0 0 80px rgba(99,102,241,0.08);
  position: relative;
}
.sh-card::before {
  content: 'I'; /* ghost roman numeral */
  position: absolute; right: -20px; bottom: -40px;
  font-family: 'Bebas Neue', sans-serif; font-size: 22rem; line-height: 1;
  color: rgba(255,255,255,0.015); pointer-events: none; z-index: 0;
  letter-spacing: -0.05em;
}
.sh-img-col { position: relative; overflow: hidden; background: #0d0b22; }
.sh-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; padding: 1rem; background: linear-gradient(135deg,#13103a,#0d0b22); }
.sh-chars-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.8); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em;
  padding: 0.28rem 0.7rem; border-radius: 7px;
}
.sh-vars-badge {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(16,185,129,0.85); color: #fff;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em;
  padding: 0.28rem 0.7rem; border-radius: 7px;
}
.sh-body {
  padding: 2.2rem 2.5rem 2rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
.sh-eyebrow { font-size: 0.52rem; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(245,158,11,0.6); margin-bottom: 0.4rem; }
.sh-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem,4vw,3.5rem); line-height: 0.9; letter-spacing: 0.04em; color: #fff; margin-bottom: 1.6rem; }

/* Prices */
.sh-prices { display: flex; align-items: center; gap: 1.8rem; margin-bottom: 0.5rem; }
.sh-p-col  { display: flex; flex-direction: column; gap: 0.18rem; }
.sh-p-lbl  { font-size: 0.5rem; font-weight: 800; letter-spacing: 0.2em; color: rgba(255,255,255,0.28); text-transform: uppercase; }
.sh-p-lbl-c { color: rgba(16,185,129,0.7); }
.sh-p-was { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; line-height: 1; color: #ef4444; text-decoration: line-through; text-decoration-color: #ef4444; text-decoration-thickness: 3px; }
.sh-p-arrow { font-size: 1.3rem; color: rgba(255,255,255,0.14); flex-shrink: 0; margin-top: 0.8rem; }
.sh-p-now { font-family: 'Bebas Neue', sans-serif; font-size: 5rem; line-height: 1; color: #10b981; text-shadow: 0 0 50px rgba(16,185,129,0.55), 0 0 100px rgba(16,185,129,0.2); letter-spacing: -0.01em; }
.sh-save-note { font-size: 0.68rem; color: rgba(255,255,255,0.22); letter-spacing: 0.06em; margin-bottom: 1.8rem; }

/* Buttons */
.sh-btns { display: flex; gap: 0.65rem; }
.sh-btn-fab {
  flex: 1; text-align: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55); font-weight: 600; font-size: 0.86rem;
  padding: 0.82rem 1rem; border-radius: 10px; transition: all 0.18s;
}
.sh-btn-fab:hover { background: rgba(255,255,255,0.11); color: #fff; }
.sh-btn-dc-wrap { flex: 1.6; display: flex; flex-direction: column; align-items: stretch; gap: 0.28rem; }
.sh-btn-dc {
  display: block; text-align: center;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; font-weight: 800; font-size: 0.95rem;
  padding: 0.82rem 1rem; border-radius: 10px;
  box-shadow: 0 4px 26px rgba(16,185,129,0.35);
  letter-spacing: 0.03em; transition: transform 0.18s, box-shadow 0.18s;
}
.sh-btn-dc:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(16,185,129,0.5); }
.sh-btn-dc-note { text-align: center; font-size: 0.58rem; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }

/* ── Mega packs ── */
.mp-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.mp-divline { flex: 1; height: 1px; background: rgba(255,255,255,0.07); }
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.mp-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(99,102,241,0.04));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  position: relative;
}
.mp-card:hover { transform: translateY(-6px); border-color: rgba(16,185,129,0.35); box-shadow: 0 14px 36px rgba(16,185,129,0.1); }
.mp-card-soon { opacity: 0.38; pointer-events: none; }

/* Pack image — contain so full image shows */
.mp-img-wrap { position: relative; background: linear-gradient(135deg, #13103a, #0d0b22); }
.mp-img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; display: block; padding: 0.5rem; }
.mp-img-ph {
  width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.15);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
}
/* Ghost pack number */
.mp-ghost-num {
  position: absolute; right: -4px; bottom: -8px;
  font-family: 'Bebas Neue', sans-serif; font-size: 5rem; line-height: 1;
  color: rgba(255,255,255,0.06); pointer-events: none; letter-spacing: -0.02em;
}
.mp-body { padding: 0.9rem 1rem 1.1rem; }
.mp-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); margin-bottom: 0.12rem; }
.mp-stats { font-size: 0.65rem; color: rgba(255,255,255,0.22); letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.mp-prices { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.12rem; }
.mp-was { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; color: #ef4444; text-decoration: line-through; text-decoration-color: #ef4444; text-decoration-thickness: 2px; }
.mp-now { font-family: 'Bebas Neue', sans-serif; font-size: 2.1rem; line-height: 1; color: #10b981; text-shadow: 0 0 24px rgba(16,185,129,0.5); }
.mp-crypto-lbl { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(16,185,129,0.5); text-transform: uppercase; margin-bottom: 0.75rem; }
.mp-btns { display: flex; gap: 0.4rem; }
.mp-btn-fab {
  flex: 1; text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.45); font-size: 0.72rem; font-weight: 600;
  padding: 0.45rem 0.35rem; border-radius: 7px; transition: all 0.16s;
}
.mp-btn-fab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.mp-btn-dc-wrap { flex: 1; display: flex; flex-direction: column; gap: 0.18rem; }
.mp-btn-dc {
  display: block; text-align: center;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.45rem 0.35rem; border-radius: 7px;
  box-shadow: 0 2px 10px rgba(16,185,129,0.28);
  transition: transform 0.16s;
}
.mp-btn-dc:hover { transform: translateY(-1px); }
.mp-btn-note { font-size: 0.5rem; color: rgba(255,255,255,0.2); text-align: center; letter-spacing: 0.05em; }
.mp-soon-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.2); font-style: italic; padding-top: 0.4rem; }

/* Discord bar */
.dc-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: #5865F2; border-radius: 16px;
  padding: 1.1rem 1.6rem; gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 0 50px rgba(88,101,242,0.28);
}
.dc-bar-left { display: flex; align-items: center; gap: 0.9rem; color: #fff; }
.dc-bar-text strong { display: block; font-size: 0.9rem; font-weight: 700; }
.dc-bar-text span   { font-size: 0.76rem; opacity: 0.7; }
.dc-btn {
  background: #fff; color: #5865F2; font-weight: 800; font-size: 0.9rem;
  padding: 0.7rem 1.6rem; border-radius: 9px; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform 0.18s, box-shadow 0.18s;
}
.dc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* ══════════════════
   PLATFORMS
══════════════════ */
.platforms { padding: 4.5rem 2rem; background: #f8f7ff; }
.plat-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.plat-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem,5vw,3.2rem); color: #1a1630; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.plat-sub   { color: #7a788a; font-size: 0.95rem; margin-bottom: 2rem; }
.plat-tags  { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.plat-tag {
  font-size: 0.82rem; font-weight: 600; color: #5a5880;
  background: #fff; border: 1.5px solid rgba(0,0,0,0.09);
  padding: 0.48rem 1.1rem; border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: border-color 0.18s, color 0.18s, transform 0.18s;
}
.plat-tag:hover { border-color: #6366f1; color: #6366f1; transform: translateY(-2px); }

/* ══════════════════
   CTA
══════════════════ */
.cta {
  padding: 9rem 2rem;
  background: linear-gradient(135deg, #1a1630, #2d1f5e);
  position: relative; overflow: hidden; text-align: center; color: #fff;
}
.cta-deco { position: absolute; inset: 0; pointer-events: none; }
.cta-sq { position: absolute; border-radius: 20px; opacity: 0.06; animation: decoSpin 32s linear infinite; }
.cq1 { width: 320px; height: 320px; background: #a855f7; top:-90px; right:-90px; }
.cq2 { width: 220px; height: 220px; background: #f59e0b; bottom:-70px; left:-70px; animation-direction:reverse; animation-duration:22s; }
.cq3 { width: 160px; height: 160px; background: #10b981; bottom:28%; right:14%; animation-duration:38s; }
.cta-chars { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.cta-char { position: absolute; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.4)); animation: stickerFloat 4s ease-in-out infinite alternate; }
.cc-l1 { bottom:0;   left:2%;  width:150px; } @keyframes cfl1{from{transform:rotate(8deg) translateY(0);}to{transform:rotate(8deg) translateY(-12px);}}
.cc-l2 { bottom:12%; left:12%; width:105px; opacity:0.7; }
.cc-r1 { bottom:0;   right:2%; width:145px; } 
.cc-r2 { bottom:12%; right:12%;width:110px; opacity:0.7; }
.cta-inner { position: relative; z-index: 3; max-width: 680px; margin: 0 auto; }
.cta-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.5rem; }
.cta-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem); line-height: 0.88; margin-bottom: 1.5rem; letter-spacing: 0.02em;
  display: flex; flex-direction: column; align-items: center; gap: 0.02em;
}
.cta-accent { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.32); display: block; }
.cta-sub { font-size: 0.9rem; color: rgba(255,255,255,0.35); margin-bottom: 3rem; letter-spacing: 0.04em; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #1a1630;
  font-weight: 800; font-size: 1.05rem; padding: 1rem 3rem; border-radius: 12px;
  box-shadow: 0 0 50px rgba(245,158,11,0.32); transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 0 72px rgba(245,158,11,0.5); }
.cta-by { margin-top: 1.2rem; font-size: 0.8rem; color: rgba(255,255,255,0.22); }
.cta-by strong { color: rgba(255,255,255,0.42); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */

/* 1100px */
@media (max-width: 1100px) {
  .sh-card { grid-template-columns: 300px 1fr; }
  .mp-grid { grid-template-columns: repeat(4,1fr); gap: 0.8rem; }
  .lab-layout { grid-template-columns: 1fr 140px; gap: 1.1rem; }
}

/* 900px */
@media (max-width: 900px) {
  .nav-center { display: none; }
  .nav { padding: 0.75rem 1.5rem; }

  /* Hero stickers: show only 4, slightly smaller */
  .hs-l3, .hs-r3 { display: none; }
  .hs-l1 { width: 120px; }
  .hs-l2 { width: 105px; }
  .hs-r1 { width: 118px; }
  .hs-r2 { width: 108px; }

  .hero { padding: 8rem 1.5rem 4rem; }
  .hero-stats { overflow-x: auto; max-width: 100%; }

  /* Lab: stack */
  .lab-layout { grid-template-columns: 1fr; }
  .tex-col { position: static; flex-direction: column; }
  .tex-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; }
  .lab { padding: 3.5rem 1.5rem; }

  /* Store */
  .store { padding: 3.5rem 1.5rem; }
  .sh-card { grid-template-columns: 1fr; }
  .sh-img-col { max-height: 260px; }
  .sh-p-now { font-size: 4rem; }
  .sh-p-was { font-size: 2.2rem; }
  .mp-grid { grid-template-columns: repeat(2,1fr); }
  .dc-bar { flex-direction: column; align-items: stretch; }
  .dc-btn { text-align: center; }

  .platforms { padding: 3.5rem 1.5rem; }
  .cta { padding: 6rem 1.5rem; }
  .cc-l2, .cc-r2 { display: none; }
  .cc-l1 { width: 110px; }
  .cc-r1 { width: 110px; }
}

/* 640px */
@media (max-width: 640px) {
  .nav { padding: 0.65rem 1rem; }
  .logo { font-size: 1.4rem; }
  .nav-btn { font-size: 0.76rem; padding: 0.44rem 0.9rem; }

  /* Hero stickers: all 4, even smaller */
  .hs-l1 { width: 88px; top: 9%; left: 0; }
  .hs-l2 { width: 76px; top: 42%; left: -1%; }
  .hs-r1 { width: 86px; top: 6%; right: 0; }
  .hs-r2 { width: 78px; top: 43%; right: -1%; }

  .hero { padding: 7rem 1rem 3.5rem; }
  .h1-line { font-size: clamp(3.5rem, 13vw, 6rem); }
  .hero-stats { width: 100%; }
  .hstat { padding: 0.85rem 1rem; flex: 1; }
  .hstat strong { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }

  .mq-card { width: 84px; }
  .mq-card img { width: 58px; height: 58px; }

  .lab { padding: 3rem 1rem; }
  .lab-layout { grid-template-columns: 1fr; }
  .tex-list { grid-template-columns: repeat(4,1fr); gap: 0.35rem; }
  .tex-thumb { width: 34px; height: 34px; }
  .tex-name { font-size: 0.6rem; }
  .viewer-frame { aspect-ratio: 1 / 0.85; max-height: 360px; }

  .store { padding: 3rem 1rem; }
  .coin-strip { gap: 0.6rem; }
  .ci img { width: 30px; height: 30px; }
  .sh-body { padding: 1.5rem 1.4rem; }
  .sh-name { font-size: 2.6rem; }
  .sh-prices { gap: 1rem; }
  .sh-p-now { font-size: 3.4rem; }
  .sh-p-was { font-size: 1.9rem; }
  .sh-btns { flex-direction: column; gap: 0.5rem; }
  .sh-btn-dc-wrap { flex: 1; }
  .mp-grid { grid-template-columns: repeat(2,1fr); gap: 0.7rem; }
  .mp-now { font-size: 1.8rem; }

  .platforms { padding: 3rem 1rem; }
  .cta { padding: 5rem 1rem; }
  .cta-chars { display: none; }
}

/* 420px */
@media (max-width: 420px) {
  .hs-l1 { width: 72px; } .hs-l2 { width: 64px; }
  .hs-r1 { width: 70px; } .hs-r2 { width: 66px; }
  .h1-line { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hstat { padding: 0.7rem 0.65rem; }
  .hstat strong { font-size: 1.5rem; }
  .hstat span { font-size: 0.54rem; }
  .tex-list { grid-template-columns: repeat(4,1fr); }
  .mp-grid { grid-template-columns: 1fr; }
  .sh-p-now { font-size: 3rem; }
}
