/* ═══════════════════════════════════════════════════════════════════
   $IGME — Infinite GME · GameStop storefront theme
   Palette straight off the banner: blackout store walls, GameStop red,
   receipt white, chalk marker.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0c;
  --bg2: #101014;
  --panel: #141419;
  --panel2: #1a1a21;
  --line: #26262e;
  --red: #e60012;
  --red-hot: #ff2a3c;
  --red-deep: #8f0210;
  --white: #f4f4f6;
  --muted: #9a9aa6;
  --dim: #62626e;
  --paper: #f6f3ea;
  --paper-ink: #17171a;
  --led: #ff3040;
  --font-display: "Archivo Black", sans-serif;
  --font-sign: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-chalk: "Permanent Marker", cursive;
  --font-led: "VT323", monospace;
  --font-mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  /* faint shelf-wall texture */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(230, 0, 18, 0.08), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(255,255,255,0.018) 118px 120px),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,0.012) 118px 120px);
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
b { font-weight: 700; }
.red { color: var(--red-hot); }
.white { color: var(--white); }
.dim { color: var(--dim); }
.center { text-align: center; }

/* ── CRT / store camera overlay ─────────────────────────────────── */
.crt {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.11) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
  opacity: .5;
}
#confetti { position: fixed; inset: 0; z-index: 9997; pointer-events: none; }

/* ── LED ticker ─────────────────────────────────────────────────── */
.led-ticker {
  position: sticky; top: 0; z-index: 100;
  background: #050506;
  border-bottom: 1px solid #1c0508;
  overflow: hidden;
  height: 38px;
  display: flex; align-items: center;
  box-shadow: 0 2px 18px rgba(230, 0, 18, 0.25);
}
.led-ticker::before, .led-ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
  pointer-events: none;
}
.led-ticker::before { left: 0; background: linear-gradient(90deg, #050506, transparent); }
.led-ticker::after { right: 0; background: linear-gradient(-90deg, #050506, transparent); }
.led-track {
  display: inline-flex; white-space: nowrap;
  animation: led-scroll 45s linear infinite;
  will-change: transform;
}
.led-track span {
  font-family: var(--font-led);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--led);
  text-shadow: 0 0 6px rgba(255, 48, 64, 0.9), 0 0 22px rgba(255, 48, 64, 0.35);
  padding-right: 60px;
}
@keyframes led-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Store header ───────────────────────────────────────────────── */
.store-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20,20,25,0.9), rgba(10,10,12,0.65));
  backdrop-filter: blur(6px);
}
.logo-lockup { display: flex; align-items: center; gap: 14px; }
.logo-coin {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--red);
  box-shadow: 0 0 22px rgba(230, 0, 18, 0.55);
  transform: rotate(-2deg);
}
.logo-words { display: flex; flex-direction: column; }
.logo-line1 { font-family: var(--font-display); font-size: 26px; letter-spacing: .5px; }
.logo-line1 .red { color: var(--red); }
.logo-line2 { font-family: var(--font-sign); font-size: 11px; letter-spacing: 3.5px; color: var(--muted); }
.logo-line2 sup { font-size: 7px; }
.header-nav { display: flex; gap: 26px; }
.header-nav a {
  font-family: var(--font-sign); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; color: var(--muted);
  transition: color .15s;
}
.header-nav a:hover { color: var(--red-hot); }
.header-status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.x-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line); border-radius: 7px;
  color: var(--muted);
  margin-right: 6px;
  transition: all .15s;
}
.x-link:hover { color: #fff; border-color: var(--red); background: var(--red); }
.btn-x { display: inline-flex; align-items: center; gap: 9px; }
.footer-social { margin-bottom: 12px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none;
  font-family: var(--font-sign); font-size: 12.5px; letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .15s;
}
.footer-social a:hover { color: var(--red-hot); }
.lamp {
  width: 10px; height: 10px; border-radius: 50%;
  background: #444; display: inline-block;
}
.lamp.live { background: var(--red-hot); box-shadow: 0 0 10px var(--red-hot); animation: pulse 1.6s infinite; }
.lamp.wait { background: #d9a400; box-shadow: 0 0 8px #d9a400; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.maintenance {
  background: #2a1005; color: #ffb86b;
  font-family: var(--font-mono); font-size: 13px;
  padding: 10px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid #4a2008;
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 48px) clamp(60px, 6vw, 100px);
  max-width: 1280px; margin: 0 auto;
  align-items: center;
  position: relative;
}
/* the clerk looms over the whole storefront */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/coin.jpg") right -60px center / min(640px, 72vw) no-repeat;
  opacity: .17;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 22%, #000 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-left, .hero-right { position: relative; z-index: 1; }
.neon-sign {
  display: inline-flex; gap: 10px; align-items: baseline;
  font-family: var(--font-sign); font-weight: 700; font-size: 15px;
  letter-spacing: 6px;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 7px 20px 6px;
  margin-bottom: 26px;
  text-shadow: 0 0 12px rgba(255,255,255,0.6);
  animation: neon-flicker 7s infinite;
}
.neon-sign .neon-red { color: var(--red-hot); text-shadow: 0 0 14px rgba(255, 42, 60, 0.9); }
@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  3% { opacity: .55; } 4% { opacity: 1; }
  52% { opacity: 1; } 53% { opacity: .4; } 54% { opacity: 1; } 55% { opacity: .75; } 56% { opacity: 1; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.2vw, 84px);
  line-height: .98;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line:last-child { color: var(--red); text-shadow: 0 6px 40px rgba(230,0,18,.35); }

/* glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  opacity: 0;
}
.glitch::before { color: #21d4fd; z-index: -1; }
.glitch::after { color: #ff2a3c; z-index: -2; }
.glitch.glitching::before { opacity: .8; animation: glitch-a .32s steps(2, end); }
.glitch.glitching::after { opacity: .8; animation: glitch-b .32s steps(2, end); }
@keyframes glitch-a {
  0% { transform: translate(-4px, -2px); clip-path: inset(10% 0 55% 0); }
  50% { transform: translate(3px, 1px); clip-path: inset(60% 0 8% 0); }
  100% { transform: translate(0); clip-path: inset(0 0 0 0); }
}
@keyframes glitch-b {
  0% { transform: translate(4px, 2px); clip-path: inset(58% 0 12% 0); }
  50% { transform: translate(-3px, -1px); clip-path: inset(6% 0 68% 0); }
  100% { transform: translate(0); clip-path: inset(0 0 0 0); }
}

.hero-sub {
  margin-top: 22px;
  font-size: 16.5px; line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}
.hero-sub b { color: var(--white); }
.hero-sub b.red { color: var(--red-hot); }

.ca-row { margin-top: 28px; }
.ca-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px 10px 14px;
  max-width: 100%;
}
.ca-label {
  font-family: var(--font-sign); font-size: 12px; letter-spacing: 2px;
  color: #fff; background: var(--red);
  padding: 3px 9px; border-radius: 5px;
}
.ca-value {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 340px;
}
.ca-copy {
  font-family: var(--font-sign); font-size: 11px; letter-spacing: 2px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 5px 10px; cursor: pointer;
  transition: all .15s;
}
.ca-copy:hover { color: #fff; border-color: var(--red); background: var(--red); }

.cta-row { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.btn {
  font-family: var(--font-sign); font-weight: 600;
  font-size: 14px; letter-spacing: 2.5px;
  text-decoration: none; text-transform: uppercase;
  padding: 15px 26px; border-radius: 8px;
  border: none; cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
  display: inline-block;
}
.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 26px rgba(230, 0, 18, 0.35), inset 0 -3px 0 rgba(0,0,0,0.25);
}
.btn-red:hover { transform: translateY(-2px); background: var(--red-hot); box-shadow: 0 10px 32px rgba(230, 0, 18, 0.5), inset 0 -3px 0 rgba(0,0,0,0.25); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red-hot); transform: translateY(-2px); }

.chalk {
  margin-top: 34px;
  font-family: var(--font-chalk);
  font-size: 21px;
  color: rgba(244,244,246,0.85);
  transform: rotate(-1.4deg);
}
.chalk-red { color: var(--red-hot); }
.chalk-sig { display: block; font-size: 15px; color: var(--dim); margin-top: 2px; }

/* ── Register card (countdown) ──────────────────────────────────── */
.register {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(230,0,18,0.08), 0 0 60px rgba(230,0,18,0.07);
}
.register-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-sign); font-size: 12px; letter-spacing: 2.5px;
  color: var(--muted);
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
}
.register-cam { color: var(--red-hot); animation: pulse 2s infinite; }
.register-cycle { color: var(--dim); }
.countdown {
  font-family: var(--font-led);
  font-size: clamp(84px, 9vw, 132px);
  line-height: 1;
  text-align: center;
  color: var(--led);
  text-shadow: 0 0 14px rgba(255, 48, 64, 0.85), 0 0 60px rgba(255, 48, 64, 0.3);
  padding: 26px 10px 10px;
  font-variant-numeric: tabular-nums;
}
.register-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.rg-item {
  background: var(--panel);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.rg-label { font-family: var(--font-sign); font-size: 10.5px; letter-spacing: 2px; color: var(--dim); }
.rg-value { font-family: var(--font-mono); font-size: 16px; color: var(--white); font-weight: 600; }
.register-foot {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted);
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
}

/* ── Employee-of-the-month polaroid ─────────────────────────────── */
.hero-right { position: relative; }
.polaroid {
  position: absolute;
  right: -150px; bottom: -24px;
  width: 210px;
  background: var(--paper);
  padding: 9px 9px 12px;
  transform: rotate(7deg);
  box-shadow: 0 18px 50px rgba(0,0,0,.65), 0 0 34px rgba(230,0,18,.12);
  z-index: 3;
  transition: transform .2s;
}
/* mid widths: no free right margin — hang it under the card's corner instead */
@media (max-width: 1500px) and (min-width: 981px) {
  .polaroid { width: 168px; right: -14px; bottom: -158px; transform: rotate(5deg); }
}
.polaroid:hover { transform: rotate(3deg) scale(1.04); }
.polaroid img { width: 100%; display: block; border: 1px solid #d8d2c2; }
.polaroid-tape {
  position: absolute; top: -12px; left: 50%;
  width: 92px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(230, 0, 18, .82);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.polaroid-caption {
  font-family: var(--font-sign); font-size: 10.5px; letter-spacing: 2px;
  color: var(--paper-ink); text-align: center; margin-top: 9px; font-weight: 700;
}
.polaroid-sub {
  font-family: var(--font-chalk); font-size: 12.5px;
  color: #8f0210; text-align: center; margin-top: 2px;
  transform: rotate(-1deg);
}

/* value-change pop (livestream juice) */
.bump { animation: bump .4s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}
.rg-value, .stat-value, .burn-value { display: inline-block; transform-origin: left center; }
.stat-value { transform-origin: center; }

/* ── Marquee divider ────────────────────────────────────────────── */
.marquee {
  background: var(--red);
  overflow: hidden;
  padding: 12px 0;
  transform: rotate(-1deg) scale(1.02);
  margin: 26px 0;
  box-shadow: 0 10px 50px rgba(230, 0, 18, 0.3);
}
.marquee-track {
  display: inline-flex; white-space: nowrap;
  animation: led-scroll 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 2px;
  color: #fff;
}

/* ── Sections base ──────────────────────────────────────────────── */
main section { max-width: 1280px; margin: 0 auto; padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 48px); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-sub { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* ── The Deal (price tags) ──────────────────────────────────────── */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 1080px) { .deal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .deal-grid { grid-template-columns: 1fr; } }
.tag {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}
.tag:hover {
  transform: translateY(-6px) rotate(-.6deg);
  border-color: rgba(230,0,18,.55);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 40px rgba(230,0,18,.12);
}
.tag::before {
  /* punched hole like a hanging price tag */
  content: ""; position: absolute; top: 12px; right: 14px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
}
.tag-top { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.tag-step {
  font-family: var(--font-sign); font-size: 11px; letter-spacing: 2px;
  color: var(--dim);
}
.tag-sticker {
  font-family: var(--font-sign); font-size: 10.5px; letter-spacing: 1.5px;
  background: var(--red); color: #fff;
  padding: 3px 9px; border-radius: 4px;
  transform: rotate(-2deg);
}
.tag h3 {
  font-family: var(--font-display);
  font-size: 24px; margin-bottom: 10px; letter-spacing: .5px;
}
.tag p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.tag p b { color: var(--white); }

.deal-poster {
  margin-top: 44px;
  border: 10px solid #1b1b22;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  position: relative;
}
.deal-poster img { width: 100%; display: block; }
.poster-caption {
  position: absolute; bottom: 12px; right: 14px;
  font-family: var(--font-sign); font-size: 11px; letter-spacing: 3px;
  background: rgba(0,0,0,.75); color: var(--muted);
  padding: 5px 12px; border-radius: 4px;
}

/* ── Stats wall ─────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr; } }
.stat {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 20px 22px;
  text-align: center;
  display: flex; flex-direction: column; gap: 9px;
}
.stat-value {
  font-family: var(--font-led);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-value.red { color: var(--led); text-shadow: 0 0 16px rgba(255,48,64,.5); }
.stat-value.fire { color: #ff7a1a; text-shadow: 0 0 16px rgba(255,122,26,.45); }
.stat-label { font-family: var(--font-sign); font-size: 11px; letter-spacing: 2px; color: var(--dim); }

/* ── Registers section: printer + buyback ───────────────────────── */
.registers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.printer { margin-top: 34px; position: relative; }
.printer-slot {
  height: 26px;
  background: linear-gradient(180deg, #222229, #101014);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative; z-index: 3;
  box-shadow: 0 8px 26px rgba(0,0,0,.5);
}
.printer-slot::after {
  content: ""; position: absolute; left: 5%; right: 5%; top: 10px;
  height: 6px; border-radius: 3px;
  background: #050506;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.9);
}
.receipt {
  width: min(92%, 420px);
  margin: -6px auto 0;
  background: var(--paper);
  color: var(--paper-ink);
  font-family: var(--font-mono);
  padding: 26px 24px 30px;
  position: relative; z-index: 2;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  /* zig-zag torn bottom */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px),
    97.5% 100%, 95% calc(100% - 10px), 92.5% 100%, 90% calc(100% - 10px),
    87.5% 100%, 85% calc(100% - 10px), 82.5% 100%, 80% calc(100% - 10px),
    77.5% 100%, 75% calc(100% - 10px), 72.5% 100%, 70% calc(100% - 10px),
    67.5% 100%, 65% calc(100% - 10px), 62.5% 100%, 60% calc(100% - 10px),
    57.5% 100%, 55% calc(100% - 10px), 52.5% 100%, 50% calc(100% - 10px),
    47.5% 100%, 45% calc(100% - 10px), 42.5% 100%, 40% calc(100% - 10px),
    37.5% 100%, 35% calc(100% - 10px), 32.5% 100%, 30% calc(100% - 10px),
    27.5% 100%, 25% calc(100% - 10px), 22.5% 100%, 20% calc(100% - 10px),
    17.5% 100%, 15% calc(100% - 10px), 12.5% 100%, 10% calc(100% - 10px),
    7.5% 100%, 5% calc(100% - 10px), 2.5% 100%, 0 calc(100% - 10px));
  transform-origin: top center;
}
.receipt.printing { animation: print .9s cubic-bezier(.2,.7,.3,1); }
@keyframes print {
  from { transform: translateY(-45%) ; opacity: .4; }
  to { transform: translateY(0); opacity: 1; }
}
.r-head { text-align: center; }
.r-logo { font-family: var(--font-display); font-size: 21px; }
.r-logo b { color: var(--red); }
.r-tagline { font-size: 10px; letter-spacing: 3px; margin-top: 3px; }
.r-store { font-size: 10.5px; color: #6b6b70; margin-top: 7px; }
.r-dash { border-top: 2px dashed #c9c4b4; margin: 13px 0; }
.r-meta { font-size: 12px; color: #44444a; line-height: 1.7; }
.r-lines { display: flex; flex-direction: column; gap: 6px; }
.r-line { display: flex; justify-content: space-between; font-size: 12.5px; }
.r-line.r-dim { color: #6b6b70; }
.r-more { font-size: 11.5px; color: #6b6b70; text-align: center; margin-top: 5px; }
.r-total {
  display: flex; justify-content: space-between;
  font-weight: 700; font-size: 15px;
}
.r-barcode {
  height: 44px; margin: 4px 8px 6px;
  background: repeating-linear-gradient(90deg,
    #17171a 0 2px, transparent 2px 4px, #17171a 4px 7px, transparent 7px 9px,
    #17171a 9px 10px, transparent 10px 14px, #17171a 14px 17px, transparent 17px 18px,
    #17171a 18px 20px, transparent 20px 25px);
}
.r-thanks { text-align: center; font-weight: 700; letter-spacing: 2px; font-size: 12.5px; }
.r-policy { text-align: center; font-size: 10.5px; color: #6b6b70; margin-top: 4px; letter-spacing: 1px; }

/* buyback panel */
.burn-panel {
  margin-top: 34px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.burn-panel::before {
  content: "🔥"; position: absolute; right: -14px; top: -18px;
  font-size: 110px; opacity: .06; transform: rotate(12deg);
}
.burn-big { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.burn-value {
  font-family: var(--font-led);
  font-size: clamp(52px, 5.5vw, 78px); line-height: 1;
  color: #ff7a1a;
  text-shadow: 0 0 24px rgba(255, 122, 26, 0.4);
  font-variant-numeric: tabular-nums;
}
.burn-label { font-family: var(--font-sign); font-size: 12px; letter-spacing: 3px; color: var(--dim); }
.burn-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden;
}
.bg-item { background: var(--panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.burn-note { margin-top: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.burn-link { color: var(--red-hot); }
.burn-link a { color: var(--red-hot); }

.drops { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.drops-head {
  font-family: var(--font-sign); font-size: 11.5px; letter-spacing: 2.5px;
  color: var(--dim); background: rgba(0,0,0,.3);
  padding: 11px 16px; border-bottom: 1px solid var(--line);
}
.drops-body { max-height: 250px; overflow-y: auto; }
.drop-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 10px 16px; border-bottom: 1px solid rgba(38,38,46,.5);
  color: var(--muted);
}
.drop-row b { color: var(--white); font-weight: 600; }
.drop-row .red { color: var(--red-hot); }

/* ── Members table ──────────────────────────────────────────────── */
.pro-badge {
  font-family: var(--font-sign); font-size: 10px; letter-spacing: 1.5px;
  background: var(--red); color: #fff;
  padding: 2px 8px; border-radius: 4px; vertical-align: 1px;
}
.members-table-wrap {
  margin-top: 30px;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: auto;
  max-height: 560px;
}
.members-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.members-table th {
  font-family: var(--font-sign); font-size: 11px; letter-spacing: 2px;
  color: var(--dim); text-align: left;
  padding: 13px 18px;
  background: #0d0d10;
  position: sticky; top: 0;
  border-bottom: 1px solid var(--line);
}
.members-table th.num, .members-table td.num { text-align: right; }
.members-table td {
  font-family: var(--font-mono); font-size: 13px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(38,38,46,.5);
  color: var(--muted);
}
.members-table tr:hover td { background: rgba(230,0,18,.04); }
.members-table .rank { color: var(--dim); }
.members-table .wallet { color: var(--white); }
.members-table .qualified { color: var(--red-hot); font-family: var(--font-sign); letter-spacing: 1.5px; font-size: 11px; }

/* ── Lookup ─────────────────────────────────────────────────────── */
.lookup-box {
  display: flex; gap: 12px; margin-top: 30px;
  max-width: 720px;
}
.lookup-box input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-mono); font-size: 14px;
  padding: 15px 18px;
  outline: none;
  transition: border-color .15s;
}
.lookup-box input:focus { border-color: var(--red); }
.lookup-result {
  margin-top: 24px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  max-width: 720px;
}
.lr-title { font-family: var(--font-sign); letter-spacing: 2px; font-size: 13px; color: var(--dim); margin-bottom: 16px; }
.lr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.lr-item { display: flex; flex-direction: column; gap: 5px; }
.lr-value { font-family: var(--font-led); font-size: 30px; color: var(--white); }
.lr-value.red { color: var(--led); }
.lr-label { font-family: var(--font-sign); font-size: 10.5px; letter-spacing: 2px; color: var(--dim); }
.lr-note { margin-top: 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.lr-note a { color: var(--red-hot); }
.lr-drops { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.lr-drop { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.lr-drop a { color: var(--red-hot); text-decoration: none; }

/* ── Security cam log ───────────────────────────────────────────── */
.cam {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #060607;
}
.cam-head {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--muted); letter-spacing: 1px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.cam-rec { color: var(--red-hot); animation: pulse 1.4s infinite; }
.cam-body {
  font-family: var(--font-mono); font-size: 12.8px;
  padding: 16px;
  height: 320px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 7px;
}
.cam-line { color: var(--muted); line-height: 1.5; }
.cam-line .t { color: var(--dim); margin-right: 10px; }
.cam-line.claim { color: #7dd87d; }
.cam-line.swap { color: #7db9ff; }
.cam-line.dispense { color: var(--red-hot); }
.cam-line.buyback { color: #ffb86b; }
.cam-line.burn { color: #ff7a1a; }
.cam-line.error { color: #ff5b5b; }
.cam-line a { color: inherit; }

/* ── Footer ─────────────────────────────────────────────────────── */
.store-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 46px clamp(16px, 4vw, 48px) 60px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.footer-logo { font-family: var(--font-display); font-size: 22px; margin-bottom: 14px; }
.store-footer p { color: var(--dim); font-size: 12.5px; line-height: 1.75; max-width: 760px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .registers { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .hero::before { background-position: right -120px top 40px; opacity: .12; }
  .polaroid {
    position: static;
    margin: 26px auto 0;
    transform: rotate(-2.5deg);
  }
}
@media (max-width: 560px) {
  .countdown { font-size: 72px; }
  .ca-value { max-width: 150px; }
  .stat-value { font-size: 34px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .led-track, .marquee-track { animation-duration: 120s; }
  .neon-sign, .register-cam, .cam-rec, .lamp.live { animation: none; }
  .receipt.printing { animation: none; }
}
