/* ============================================================
   $GME — GameStop-styled memecoin site
   Tokens extracted from gamestop.com (2026-07):
   headings Poppins 600/700 (-0.24px), body Open Sans 14px,
   page bg #F2F4F7, white surfaces, CTA red #DD2B2B,
   inks #121212 / #212322, logo Impact two-tone.
   ============================================================ */

:root {
  --red: #DD2B2B;
  --red-dark: #B92222;
  --ink: #121212;
  --ink-2: #212322;
  --text: #212322;
  --text-2: #5B6068;
  --text-3: #8A9099;
  --page: #F2F4F7;
  --surface: #FFFFFF;
  --line: #E3E6EA;
  --grid: #ECEEF1;
  --font-head: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --font-logo: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(18,18,18,.05), 0 4px 16px rgba(18,18,18,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.24px; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }

/* ---------- Buttons (GameStop pill style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2e2e2e; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row {
  display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px;
}
.logo { display: inline-flex; align-items: baseline; gap: 0; }
.logo-game, .logo-stop {
  font-family: var(--font-logo); font-size: 30px; line-height: 1;
  letter-spacing: .01em; text-transform: none;
}
.logo-game { color: var(--ink); }
.logo-stop { color: var(--red); }
.logo-chip {
  font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .06em;
  background: var(--ink); color: #fff; border-radius: 4px;
  padding: 2px 6px; margin-left: 8px; align-self: center;
}

/* CA "search bar" */
.ca-bar {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--page); border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: 9px 10px 9px 16px;
  color: var(--text-2); min-width: 0;
}
.ca-text {
  font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.ca-copy {
  margin-left: auto; flex-shrink: 0;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-pill);
  padding: 5px 14px; cursor: pointer;
}
.ca-copy:hover { background: #2e2e2e; }
.header-actions { display: flex; gap: 10px; }

.site-nav { border-top: 1px solid var(--line); background: #EEEEEE; } /* gamestop.com sub-nav gray */
.nav-row { display: flex; gap: 28px; overflow-x: auto; }
.nav-row a {
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  padding: 10px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-row a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---------- Payout ticker ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.ticker-track {
  display: flex; gap: 40px; width: max-content;
  padding: 8px 0; animation: ticker 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-item { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.tick-item .addr { font-weight: 600; color: var(--ink); }
.tick-item .amt { font-weight: 700; color: var(--red); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 480px at 78% 18%, rgba(221,43,43,.38), transparent 62%),
              radial-gradient(700px 400px at 12% 100%, rgba(221,43,43,.16), transparent 60%),
              var(--ink);
  color: #fff; padding: 72px 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center;
}
.hero-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 14px;
}
.hero h1 { font-size: 56px; font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-fine { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 18px; }

.hero-panel {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 28px; backdrop-filter: blur(4px);
}
.panel-label {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 6px;
}
.countdown {
  font-family: var(--font-head); font-weight: 700; font-size: 72px; line-height: 1;
  color: #fff; margin-bottom: 22px;
}
.countdown .cd-red { color: var(--red); }
.panel-row { display: flex; gap: 32px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; }
.panel-mini-label { font-size: 11px; color: rgba(255,255,255,.55); }
.panel-mini-value { font-size: 14px; font-weight: 700; color: #fff; }

/* ---------- Stats ---------- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: -34px; position: relative; z-index: 2;
}
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.stat-label { font-size: 12px; color: var(--text-2); margin-bottom: 4px; }
.stat-value { font-family: var(--font-head); font-weight: 600; font-size: 30px; color: var(--ink); line-height: 1.15; }
.stat-delta { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.stat-delta.up { color: #1B7F3B; font-weight: 600; }

/* ---------- Sections ---------- */
.section { margin: 56px auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 30px; font-weight: 600; }
.link-more { font-size: 13px; font-weight: 700; color: var(--red); }
.link-more:hover { text-decoration: underline; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
}
.card-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 14px; }

/* ---------- Dividends grid ---------- */
.dividends-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: stretch; }
.chart-holder { position: relative; }
.chart-holder svg { display: block; width: 100%; height: 300px; outline: none; }
.chart-holder svg:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 6px; }
.chart-note { font-size: 12px; color: var(--text-3); margin-top: 10px; }
.chart-note a { color: var(--red); font-weight: 600; }

.tooltip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--ink); color: #fff; border-radius: 8px;
  padding: 8px 12px; font-size: 12px; line-height: 1.5;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); max-width: 220px;
}
.tooltip .tt-value { font-size: 15px; font-weight: 700; display: block; }
.tooltip .tt-label { color: rgba(255,255,255,.65); }

/* Fee split — single-hue magnitude bars */
.split-rows { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.split-row .split-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.split-row .split-name { font-weight: 600; color: var(--ink); }
.split-row .split-pct { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.split-track { height: 10px; background: var(--grid); border-radius: 5px; overflow: hidden; }
.split-fill { height: 100%; background: var(--red); border-radius: 5px 4px 4px 5px; }
.split-note { font-size: 12px; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 14px; }

/* APY side card */
.apy-value {
  font-family: var(--font-head); font-weight: 700; font-size: 48px; line-height: 1;
  color: var(--ink); margin-bottom: 18px;
}
.apy-facts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.apy-fact { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.apy-fact-v { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.apy-formula {
  font-size: 12.5px; color: var(--text-2); background: var(--page);
  border-radius: 8px; padding: 10px 14px; margin-bottom: 14px;
}

/* ---------- Feed table ---------- */
.table-card { padding: 6px 0 0; overflow-x: auto; }
.feed-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.feed-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-3); padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.feed-table td { padding: 11px 16px; border-bottom: 1px solid var(--grid); color: var(--text); }
.feed-table tr:last-child td { border-bottom: 0; }
.feed-table .num, .feed-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.feed-table .cycle-id { font-weight: 700; color: var(--ink); }
.feed-table .gme-amt { font-weight: 700; color: var(--red); }
.feed-table .tx a { color: var(--text-2); font-weight: 600; }
.feed-table .tx a:hover { color: var(--red); }
.feed-table tr:hover td { background: #FAFBFC; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.product-badge {
  align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: .08em;
  background: var(--ink); color: #fff; border-radius: 4px; padding: 3px 8px;
}
.product-badge.red { background: var(--red); }
.product-art { background: var(--page); border-radius: 10px; padding: 14px 0; }
.product-art svg { display: block; width: 100%; height: 96px; }
.product-card h3 { font-size: 19px; font-weight: 600; }
.product-card p { font-size: 13px; color: var(--text-2); flex: 1; }
.product-price { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); flex: 0 !important; }

/* ---------- Tokenomics ---------- */
.tok-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tok-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.tok-value { font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.tok-sub { font-size: 12.5px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0 22px;
}
.faq-list summary {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 16px 0; cursor: pointer; list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--red); font-weight: 400;
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p { padding: 0 0 18px; font-size: 13.5px; color: var(--text-2); max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); margin-top: 72px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 24px 32px;
}
.footer-brand p { font-size: 13px; }
.footer-logo { margin-bottom: 12px; display: inline-flex; }
.footer-logo .logo-game { color: #fff; }
.footer-logo .logo-chip { background: var(--red); }
.footer-head { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: #fff; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.65); padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; padding-bottom: 28px; }
.footer-legal p { font-size: 11.5px; color: rgba(255,255,255,.45); max-width: 860px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 42px; }
  .countdown { font-size: 56px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .dividends-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .tok-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ca-bar { display: none; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .stats-row, .tok-grid { grid-template-columns: 1fr; }
  .header-actions .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
