/* Bitmeme — hand-written styles. No frameworks, no CDNs, no external fonts. */

:root {
  --bg: #0b0d12;
  --surface: #12151d;
  --surface-2: #171b25;
  --line: #232936;
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --accent: #f7931a;
  --accent-2: #ff5e3a;
  --live: #3ddc84;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.link { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.link:hover, .link:focus { border-bottom-color: var(--accent); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 26px; height: 26px; }
.brand-name { font-weight: 800; letter-spacing: 0.12em; }
.nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.nav-links a:hover, .nav-links a:focus { color: var(--text); }

.btn {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 700;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--accent);
  background: transparent; color: var(--accent); cursor: pointer;
}
.btn-disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Hero ── */
.hero { text-align: center; padding: 72px 20px 48px; }
.ticker { font-family: var(--mono); color: var(--accent); letter-spacing: 0.2em; font-size: 0.95rem; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: 0.06em; line-height: 1.05; margin: 6px 0 10px; }
.tagline { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto 28px; }
.tagline strong { color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  font-size: 0.85rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px;
}
.chip strong { color: var(--text); font-family: var(--mono); font-weight: 600; }

.progress-block { max-width: 720px; margin: 0 auto; text-align: left; }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.progress-labels .mono { color: var(--accent); font-weight: 700; }
.progress-track { height: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 600ms ease;
}
.progress-sub { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); margin-top: 8px; }

/* ── Sections ── */
.section { padding: 56px 20px; border-top: 1px solid var(--line); }
.section h2 { font-size: 1.5rem; margin-bottom: 24px; letter-spacing: 0.02em; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 92px;
}
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.stat-value { font-size: 1.05rem; overflow-wrap: anywhere; }

.pill {
  display: inline-block; font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.pill-upcoming { color: var(--muted); }
.pill-ongoing { color: var(--accent); border-color: var(--accent); }
.pill-live { color: var(--live); border-color: var(--live); }

/* ── Burn feed ── */
.feed { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feed li {
  font-family: var(--mono); font-size: 0.85rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px;
}
.feed-placeholder { color: var(--muted); font-family: var(--sans); }

/* ── Tokenomics ── */
.tokenomics { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.tokenomics > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.tokenomics dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.tokenomics dd { margin-top: 4px; font-size: 0.98rem; }

/* ── Engine rules ── */
.rules { margin: 0 0 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.rules li::marker { color: var(--accent); font-weight: 700; }
.rules code { font-family: var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.85em; }
.epochs { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 18px; }
.epochs h3 { font-size: 1rem; margin-bottom: 6px; }
.epochs p { color: var(--muted); font-size: 0.95rem; }
.epochs strong { color: var(--text); }

/* ── Timeline ── */
.timeline { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.timeline li { display: flex; gap: 14px; align-items: flex-start; }
.timeline .pill { margin-top: 3px; white-space: nowrap; }
.timeline div { display: flex; flex-direction: column; gap: 2px; }
.timeline span { color: var(--muted); font-size: 0.95rem; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 40px; }
.disclaimer { color: var(--muted); font-size: 0.88rem; max-width: 780px; margin-bottom: 20px; }
.disclaimer strong { color: var(--text); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.socials { display: flex; gap: 16px; }
.socials a { color: var(--accent); text-decoration: none; font-size: 0.9rem; }

@media (max-width: 720px) {
  .nav-inner { height: auto; padding: 10px 0; flex-direction: column; align-items: flex-start; }
  .nav-links { gap: 12px; }
  .hero { padding-top: 48px; }
}
