@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #090909;
  --panel: #141414;
  --panel-2: #1c1c1c;
  --text: #fafafa;
  --muted: #a6a6a6;
  --line: #303030;
  --red: #ff2020;
  --orange: #ff6a1c;
  --shadow: 0 0 40px rgb(255 32 32 / 45%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgb(255 32 32 / 18%), transparent 34rem),
    radial-gradient(circle at 85% 38%, rgb(255 106 28 / 12%), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Header ────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  background: #090909c7;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.brand, h1, h2, h3, .ticker {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.02em;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--red); font-size: 1.7rem;
}
.brand-tagline { color: var(--text); }
.muted { color: var(--muted); }
.pulse-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 999px;
  background: var(--red); box-shadow: var(--shadow);
  animation: pulse 1.4s infinite;
}
.nav-links {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  color: var(--muted); font-size: 0.78rem;
  font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a em {
  margin-left: 0.3rem; padding: 0.05rem 0.4rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-style: normal; font-size: 0.65rem; color: var(--muted);
}

/* ── Layout primitives ─────────────────────────── */
.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}
.eyebrow {
  margin: 0 0 1rem; color: var(--red);
  font-size: 0.76rem; font-weight: 900;
  letter-spacing: 0.22em; text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1.25rem; font-size: clamp(4.8rem, 12vw, 9.5rem); line-height: 0.86; }
h1 span,
.roadmap-grid span,
.gradient-text {
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 { margin-bottom: 0.8rem; font-size: clamp(3rem, 7vw, 5.8rem); line-height: 0.95; }
h3 { margin-bottom: 0.4rem; font-size: 2rem; }
.lead, .section-heading p, .cta p, .site-footer p { color: var(--muted); line-height: 1.7; }
.lead { max-width: 42rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
.center { justify-content: center; }
.section-heading { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }

/* ── Hero ──────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 4.5rem);
}
.hero-image {
  width: 100%;
  border: 1px solid var(--line); border-radius: 1.25rem;
  box-shadow: 0 0 80px #ff202057;
  animation: float 4s ease-in-out infinite;
}
.socials {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-top: 1.6rem; color: var(--muted); font-size: 0.95rem;
}
.socials a:hover { color: var(--red); }

/* ── Buttons ───────────────────────────────────── */
.button, .copy-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.8rem; padding: 0.8rem 1.1rem;
  border: 1px solid transparent; border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff; font-weight: 900; cursor: pointer;
  box-shadow: 0 0 25px #ff202052;
}
.button-small { min-height: 2.2rem; padding: 0.55rem 0.9rem; }
.button-secondary { border-color: #ffffff40; background: transparent; box-shadow: none; }
.button-ghost { background: transparent; color: var(--text); box-shadow: none; }

/* ── Ticker ────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #ffffff0d;
  font-size: clamp(1.8rem, 4vw, 3rem); white-space: nowrap;
}
.ticker div {
  display: flex; width: max-content; gap: 2rem;
  padding: 1rem; animation: ticker 26s linear infinite;
}
.ticker span:nth-child(4n+1) {
  color: var(--red); text-shadow: 0 0 20px rgb(255 32 32 / 60%);
}

/* ── Cards / Grids ─────────────────────────────── */
.chart-grid, .contract-grid, .roadmap-grid, .utility-grid {
  display: grid; gap: 1rem;
}
.chart-grid { grid-template-columns: 1fr; }
.contract-grid { grid-template-columns: 1fr; }
.utility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-card, .contract-card, .roadmap-grid article, .utility-card, .cta {
  border: 1px solid var(--line); border-radius: 0.9rem;
  background: #141414d1;
}
.card-head, .contract-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.card-head { padding: 1rem; border-bottom: 1px solid var(--line); background: #ffffff0a; }
.card-head strong { color: var(--red); }
.card-head a {
  color: var(--muted); font-size: 0.72rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase;
}
iframe { display: block; width: 100%; aspect-ratio: 10 / 7; border: 0; }
.contract-card { padding: 1.2rem; }
.contract-card h3 { color: var(--red); }
code { display: block; max-width: 100%; color: var(--muted); font-size: 0.82rem; overflow-wrap: anywhere; }
.copy-button { min-width: 5rem; border: 0; }

/* ── Utilities (landing) ───────────────────────── */
.utility-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.6rem 1.4rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.utility-card:hover { transform: translateY(-4px); border-color: var(--red); }
.utility-card .emoji { font-size: 2.4rem; line-height: 1; }
.utility-card h3 { color: var(--red); margin-bottom: 0; }
.utility-card p { color: var(--muted); flex: 1; line-height: 1.55; margin: 0; }
.utility-card .pill {
  align-self: flex-start;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.utility-card.is-soon { opacity: 0.78; }

/* ── Meme section ──────────────────────────────── */
.meme-section {
  position: relative; min-height: 34rem;
  display: grid; place-items: center;
  overflow: hidden; text-align: center;
}
.meme-section img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
}
.meme-section:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(9 9 9 / 94%), rgb(9 9 9 / 35%), transparent);
}
.meme-section div { position: relative; z-index: 1; padding: 2rem; }
.meme-section h2 { margin: 0; font-size: clamp(4rem, 10vw, 9rem); }

/* ── Roadmap ───────────────────────────────────── */
.roadmap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.roadmap-grid article { padding: 1.4rem; }
.roadmap-grid span {
  display: block; margin-bottom: 0.5rem;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 4.8rem; line-height: 0.9;
}

/* ── CTA + Footer ──────────────────────────────── */
.cta { padding: clamp(2rem, 6vw, 4rem); text-align: center; box-shadow: var(--shadow); }
.site-footer {
  max-width: 760px; margin: 0 auto; padding: 3rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted); text-align: center;
}
.site-footer strong {
  display: block; margin-bottom: 1rem;
  color: var(--red); font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 3rem;
}
.site-footer .ca-line code { display: inline-block; margin-top: 0.3rem; font-size: 0.78rem; }

/* ── Sub-page hero (smaller than landing) ──────── */
.page-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
.page-hero .lead { margin-left: auto; margin-right: auto; }

/* ── "Coming soon" placeholder block ───────────── */
.coming-soon {
  border: 1px dashed var(--line); border-radius: 0.9rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: #141414aa; text-align: center;
}
.coming-soon .badge {
  display: inline-block; padding: 0.25rem 0.7rem; margin-bottom: 1rem;
  border: 1px solid var(--red); border-radius: 999px;
  color: var(--red); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ── Toast ─────────────────────────────────────── */
.toast {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 20;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(255 255 255 / 18%); border-radius: 0.7rem;
  background: var(--panel-2); box-shadow: var(--shadow);
  transform: translateY(1rem); opacity: 0; transition: 0.18s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Animations ────────────────────────────────── */
@keyframes pulse  { 50% { opacity: 0.5; } }
@keyframes float  { 50% { transform: translateY(-0.75rem); } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 0.85rem; font-size: 0.72rem; }
}
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; padding: 0.7rem 1rem; gap: 0.6rem; }
  .nav-links {
    order: 3; width: 100%;
    justify-content: center; gap: 0.7rem;
    font-size: 0.68rem; letter-spacing: 0.1em;
    padding-top: 0.5rem; border-top: 1px solid rgb(255 255 255 / 6%);
  }
  .nav-links a em { display: none; }
  .hero, .chart-grid, .contract-grid, .roadmap-grid, .utility-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 3rem; }
  .section { padding: 4rem 0; }
  .contract-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .nav-links { gap: 0.55rem; font-size: 0.62rem; }
}
@media (min-width: 720px) {
  .chart-grid { grid-template-columns: 1fr; }
  .contract-grid { grid-template-columns: 1fr; }
}
