/* ============ FONTS (self-hosted, variable weight) ============ */
@font-face {
  font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/bungee-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bungee'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/bungee-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/jakarta-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1E9F, U+2020, U+20A0-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ TOKENS / BASE ============ */
:root {
  --bg: #090A0F;
  --bg-alt: #0B0D14;
  --card: #14161F;
  --card-hover: #181B26;
  --line: #282D3C;
  --line-soft: #1B1E2A;
  --text: #EDEFF7;
  --text-mid: #B4B9CC;
  --text-dim: #8A90A6;
  --text-faint: #4A4F63;
  --green: #00FF66;
  --red: #FF0033;
  --orange: #FF6600;
  --yellow: #FFE600;
  --display: 'Bungee', cursive;
  --mono: 'JetBrains Mono', monospace;
  --body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--green); }
a:hover { color: var(--yellow); }
img, video { max-width: 100%; }

.green { color: var(--green); }
.red { color: var(--red); }
.orange { color: var(--orange); }
.yellow { color: var(--yellow); }
.mono { font-family: var(--mono); }

/* ============ ANIMATIONS ============ */
@keyframes pulseRed { 0%,100%{box-shadow:0 0 0 0 rgba(255,0,51,.6)} 50%{box-shadow:0 0 0 10px rgba(255,0,51,0)} }
@keyframes pulseGreen { 0%,100%{box-shadow:0 0 12px 0 rgba(0,255,102,.5)} 50%{box-shadow:0 0 26px 4px rgba(0,255,102,.25)} }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes igniteIn {
  0%{color:#1B1E2A; text-shadow:none; transform:translateY(14px)}
  55%{color:#FF6600; text-shadow:0 0 30px rgba(255,102,0,.9)}
  100%{color:#fff; text-shadow:0 0 18px rgba(255,102,0,.55), 4px 4px 0 #FF0033; transform:translateY(0)}
}
@keyframes glowPulse { 0%,100%{opacity:.55} 50%{opacity:.95} }

/* ============ TICKER ============ */
.ticker {
  overflow: hidden;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 13px;
  padding: 7px 0;
  white-space: nowrap;
  border-bottom: 3px solid var(--bg);
}
.ticker-track { display: inline-block; animation: marquee 22s linear infinite; }
.ticker-track span { padding: 0 28px; }

/* ============ NAV ============ */
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--bg);
  border: 3px solid var(--orange);
  border-radius: 10px;
  display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--yellow);
  transform: rotate(-4deg);
  overflow: hidden;
}
.brand-logo img { width: 44px; height: 44px; image-rendering: pixelated; transform: scale(1.35); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 19px; line-height: 1; color: #fff; }
.brand-ticker { font-family: var(--mono); font-size: 11px; color: var(--green); font-weight: 700; }

.ca-wrap { flex: 1 1 240px; display: flex; justify-content: center; min-width: 0; }
.ca-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 8px 8px 18px;
  max-width: 520px; min-width: 0;
}
.ca-address {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ca-copy {
  font-family: var(--mono); font-weight: 800; font-size: 11px;
  background: var(--line); color: var(--yellow);
  border: none; border-radius: 99px;
  padding: 7px 14px; cursor: pointer; flex-shrink: 0;
}
.ca-copy:hover { background: var(--yellow); color: var(--bg); }
.ca-tba {
  font-family: var(--mono); font-size: 12px; font-weight: 800;
  color: var(--yellow); white-space: nowrap; padding-right: 10px;
}

.nav-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mode-badge {
  font-family: var(--mono); font-size: 12px; font-weight: 800;
  border-radius: 99px; padding: 8px 16px; white-space: nowrap;
}
.mode-panic { color: var(--red); border: 2px solid var(--red); animation: pulseRed 1.2s infinite; }
.mode-chill { color: var(--green); border: 2px solid var(--green); animation: pulseGreen 2.4s infinite; }

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--display);
  text-decoration: none;
  display: inline-block;
  border-radius: 14px;
  transition: transform .1s ease, box-shadow .1s ease, border-color .15s ease, color .15s ease;
}
.btn-buy {
  background: var(--green); color: var(--bg) !important;
  border: 3px solid var(--bg);
  box-shadow: 5px 5px 0 var(--orange);
  animation: pulseGreen 2.4s infinite;
}
.btn-buy:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--orange); }
.btn-nav { font-size: 14px; padding: 12px 22px; border-radius: 12px; box-shadow: 4px 4px 0 var(--orange); }
.btn-nav:hover { box-shadow: 2px 2px 0 var(--orange); }
.btn-lg { font-size: 17px; padding: 18px 32px; }
.btn-ghost {
  background: rgba(9,10,15,.7); color: var(--text-mid);
  border: 3px solid var(--line);
}
.btn-ghost:hover { border-color: var(--text-mid); color: #fff; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(56px, 8vw, 90px) clamp(16px, 4vw, 40px) clamp(70px, 9vw, 110px);
}
.hero-chart {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, #000 35%, #000 80%, rgba(0,0,0,.7) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55) 0%, #000 35%, #000 80%, rgba(0,0,0,.7) 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,102,0,.2), transparent 55%);
  animation: glowPulse 2.8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero.is-panic .hero-glow { opacity: 1; }
.panic-stamp {
  position: absolute;
  top: 22px; right: clamp(16px, 4vw, 40px);
  z-index: 2;
  font-family: var(--mono); font-size: 12px; font-weight: 800;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 99px;
  padding: 7px 16px;
  background: rgba(9,10,15,.85);
  transform: rotate(-3deg) scale(1);
  animation: stampIn .25s ease-out both, pulseRed 1.2s .25s infinite;
}
@keyframes stampIn {
  0% { opacity: 0; transform: rotate(-3deg) scale(1.7); }
  100% { opacity: 1; transform: rotate(-3deg) scale(1); }
}
.scanlines {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0px, rgba(0,0,0,.18) 2px, transparent 2px, transparent 5px);
}
.hero-inner { position: relative; }

.warn-chip {
  display: inline-block;
  font-family: var(--mono); font-size: 13px; font-weight: 800;
  color: var(--yellow);
  background: rgba(9,10,15,.75);
  border: 1px dashed var(--yellow);
  border-radius: 8px;
  padding: 7px 14px;
  transform: rotate(-1.5deg);
  margin-bottom: 30px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(58px, 13vw, 150px);
  line-height: .88;
  margin: 0 0 10px;
  letter-spacing: -2px;
  font-weight: 400;
}
.ig { display: inline-block; animation: igniteIn .5s both; }
.i1{animation-delay:.1s} .i2{animation-delay:.18s} .i3{animation-delay:.26s} .i4{animation-delay:.34s} .i5{animation-delay:.42s}
.i6{animation-delay:.55s} .i7{animation-delay:.63s} .i8{animation-delay:.71s} .i9{animation-delay:.79s} .i10{animation-delay:.87s}
.i11{animation-delay:1.05s; animation-duration:.6s}
.hero-tagline {
  font-family: var(--display);
  font-size: clamp(18px, 3vw, 28px);
  color: var(--orange);
  text-shadow: 3px 3px 0 var(--bg);
  margin-bottom: 26px;
}
.hero-copy {
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 38px;
  text-shadow: 0 2px 8px rgba(9,10,15,.9);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.tax-chips {
  display: flex; gap: 14px; margin-top: 44px;
  justify-content: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px;
}
.chip {
  background: rgba(9,10,15,.75);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 18px;
  color: var(--text-dim);
}

/* ============ SECTIONS ============ */
.section { padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 40px); }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 1080px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2, .center-title {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 10px;
  color: #fff;
  font-weight: 400;
}
.center-title { text-align: center; margin-bottom: 40px; font-size: clamp(26px, 4.5vw, 38px); }
.section-sub { font-family: var(--mono); font-size: 14px; color: var(--text-dim); }

/* ============ INCINERATOR ============ */
.incinerator-grid { display: flex; gap: 32px; align-items: stretch; flex-wrap: wrap; }
.furnace-cam {
  flex: 1 1 300px; min-height: 380px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.cam-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cam-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow); }
.dot-green { background: var(--green); }
.cam-title { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--text-dim); margin-left: 6px; }
.cam-live { font-family: var(--mono); font-size: 11px; font-weight: 800; color: var(--red); margin-left: auto; }
.cam-view { position: relative; flex: 1; min-height: 220px; overflow: hidden; }
.cam-view canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  image-rendering: pixelated;
  display: block;
}
.cam-label {
  position: absolute; left: 0; right: 0; bottom: 14px;
  text-align: center;
  font-family: var(--display); font-size: 16px;
  color: var(--orange);
  text-shadow: 2px 2px 0 var(--bg);
  z-index: 2;
}
.cam-log {
  flex-shrink: 0;
  padding: 8px 16px 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; line-height: 1.7;
  color: var(--text-dim);
  height: 76px; overflow: hidden;
}
.cam-log .log-id { color: var(--text-faint); }
.cam-log .log-amt { color: var(--orange); }
.cam-log .log-wallet { color: var(--text-mid); }
.cam-log .log-ok { color: var(--green); }
.stats-col { flex: 2 1 560px; display: grid; grid-template-rows: auto auto; gap: 32px; min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-width: 0; }
.stat-label { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--text-dim); margin-bottom: 12px; }
.stat-value {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1;
  overflow-wrap: anywhere;
}
.stat-note { font-family: var(--mono); font-size: 13px; color: var(--text-dim); margin-top: 8px; }
.stat-bar { height: 8px; background: var(--line); border-radius: 99px; margin-top: 16px; overflow: hidden; }
.stat-bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); border-radius: 99px; transition: width .8s ease; }

.shame-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.shame-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 8px;
}
.shame-title { font-family: var(--display); font-size: 18px; color: #fff; }
.shame-live { font-family: var(--mono); font-size: 11px; color: var(--red); font-weight: 800; }
.shame-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.shame-table { min-width: 720px; }
.shame-row {
  display: grid;
  grid-template-columns: 90px 1.3fr 1fr 1.2fr 1fr;
  align-items: center;
  font-family: var(--mono); font-size: 13px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.shame-row:hover:not(.shame-row-head) { background: var(--card-hover); }
.shame-row-head { font-size: 12px; font-weight: 700; color: var(--text-dim); padding: 10px 24px; border-bottom: 1px solid var(--line); }
.shame-time { color: var(--text-dim); }
.shame-wallet { color: var(--text-mid); }
.shame-sold { color: var(--red); }
.shame-burned { color: var(--orange); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.shame-tag {
  font-family: var(--display); font-size: 9px;
  background: var(--yellow); color: var(--bg);
  padding: 3px 8px; border-radius: 6px;
  transform: rotate(-2deg); white-space: nowrap;
}
.shame-tx { color: var(--green); text-decoration: underline; cursor: pointer; }

/* ============ GAME THEORY ============ */
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.rule-card { background: var(--card); border-radius: 20px; padding: 32px; }
.rule-green { border: 3px solid var(--green); box-shadow: 6px 6px 0 rgba(0,255,102,.25); transform: rotate(-.6deg); }
.rule-red { border: 3px solid var(--red); box-shadow: 6px 6px 0 rgba(255,0,51,.25); transform: rotate(.8deg); }
.rule-yellow { border: 3px solid var(--yellow); box-shadow: 6px 6px 0 rgba(255,230,0,.25); transform: rotate(-.4deg); }
.pulse-red { animation: pulseRed 2s infinite; }
.rule-emoji { font-size: 42px; margin-bottom: 16px; }
.rule-title { font-family: var(--display); font-size: 20px; margin-bottom: 6px; }
.rule-tax { font-family: var(--mono); font-size: 13px; font-weight: 800; margin-bottom: 16px; }
.rule-card p { font-size: 15px; line-height: 1.6; color: var(--text-mid); }

/* ============ HOW TO BUY ============ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.step-num { font-family: var(--display); font-size: 28px; color: var(--orange); margin-bottom: 12px; }
.step-title { font-family: var(--display); font-size: 16px; color: #fff; margin-bottom: 10px; }
.step-card p { font-size: 14px; line-height: 1.6; color: var(--text-dim); }

/* ============ FOOTER ============ */
.footer { padding: 48px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.brand-logo-sm { width: 36px; height: 36px; border-width: 2px; border-radius: 8px; box-shadow: none; }
.brand-logo-sm img { width: 32px; height: 32px; }
.brand-name-sm { font-size: 14px; }
.footer-links { display: flex; gap: 24px; font-family: var(--mono); font-size: 13px; font-weight: 700; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.disclaimer { font-family: var(--mono); font-size: 11px; color: var(--text-faint); max-width: 420px; }

/* ============ MOBILE FIXES ============ */
@media (max-width: 720px) {
  .nav { gap: 12px; }
  .ca-wrap { order: 3; flex-basis: 100%; }
  .ca-pill { width: 100%; max-width: none; justify-content: space-between; }
  .nav-right { margin-left: auto; }
  .mode-badge { font-size: 11px; padding: 7px 12px; }
  .hero-title { letter-spacing: -1px; }
  .hero-ctas .btn-lg { width: 100%; max-width: 340px; text-align: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .brand-text { display: none; }
  .btn-nav { font-size: 12px; padding: 10px 16px; }
  .ticker { font-size: 11px; }
}

/* ============ REDUCED MOTION ============ */
@media (max-width: 560px) {
  .panic-stamp { font-size: 10px; padding: 6px 12px; top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .mode-badge, .btn-buy, .pulse-red, .hero-glow, .panic-stamp { animation: none; }
  .ig { animation: none; color: #fff; text-shadow: 0 0 18px rgba(255,102,0,.55), 4px 4px 0 #FF0033; }
  .i11 { color: var(--orange); text-shadow: 3px 3px 0 var(--bg); }
  .hero.is-panic .hero-glow { opacity: .6; }
}
