:root {
  --orange: #F5820B;
  --orange-dim: #b35f08;
  --bg: #0d0d0f;
  --bg2: #141417;
  --card: #1a1a1e;
  --text: #f2f0eb;
  --muted: #a8a49c;
  --line: #2a2a30;
  --radius: 14px;
  --gap: 16px;
  --section-pad: 64px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--orange); text-decoration: none; }
img { max-width: 100%; }

/* ---------- nav ---------- */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; max-width: 1100px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: 2px; flex-shrink: 0; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 12px; align-items: center; }
.btn-nav {
  border: 1px solid var(--orange); color: var(--orange);
  padding: 7px 16px; border-radius: 20px; font-weight: 600; font-size: 15px;
  white-space: nowrap; transition: background .15s ease;
}
.btn-nav:hover { background: rgba(245,130,11,.12); }
.btn-nav.active { background: var(--orange); border-color: var(--orange); color: #14100a; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 56px 20px 48px; max-width: 800px; margin: 0 auto; }
.hero.compact { padding-bottom: 20px; }
.hero-logo { border-radius: 28px; box-shadow: 0 0 80px rgba(245,130,11,.25); }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 6px 16px; border-radius: 20px;
  background: rgba(245,130,11,.12); border: 1px solid var(--orange);
  color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 2px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero h1 { font-size: clamp(40px, 9vw, 72px); line-height: 1.05; margin: 18px 0; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--orange); }
.tagline { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-row.left { justify-content: flex-start; margin-top: 26px; }
.cta-row.flush { margin: 0 0 18px; }
.cta-row.tight { margin-top: 8px; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 30px;
  font-weight: 700; font-size: 16px;
}
.btn-primary { background: var(--orange); color: #14100a; }
.btn-primary:hover { background: #ffa03a; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1000px; margin: 0 auto; padding: 26px 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  gap: 12px; text-align: center;
}
.stat-num { display: block; font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: var(--orange); }
.stat-num .unit { font-size: .55em; }
.stat-label { color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
section { max-width: 1000px; margin: 0 auto; padding: var(--section-pad) 20px; }
section.flush-top { padding-top: 20px; }
h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 800; margin-bottom: 14px; }
h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--orange); border-radius: 2px; margin-top: 10px; }
h2.mt-lg { margin-top: 32px; }
.big { font-size: clamp(19px, 4vw, 25px); line-height: 1.5; margin-bottom: 16px; }
.big strong { color: var(--orange); }
.thesis p, .panel p { color: var(--muted); max-width: 720px; }
.section-sub { color: var(--muted); margin-bottom: 26px; }

/* ---------- tokenomics cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; overflow: hidden; position: relative;
}
.card .bar {
  height: 6px; border-radius: 3px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dim));
  width: var(--w);
}
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card h3 span { color: var(--orange); float: right; }
.card p { color: var(--muted); font-size: 14px; }
.note { margin-top: 20px; color: var(--muted); font-size: 14px; border-left: 3px solid var(--orange); padding-left: 12px; }

/* ---------- tinted panel sections ---------- */
.panel { background: var(--bg2); border-radius: 20px; }
.mine-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin-top: 26px; }
.mine-points div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--muted); font-size: 15px; }
.mine-points strong { color: var(--text); }

/* ---------- shared components (bridge / launchpad) ---------- */
.tabs { display: flex; gap: 10px; justify-content: center; margin: 26px 0 8px; flex-wrap: wrap; }
.tab-btn {
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  padding: 12px 34px; border-radius: 30px; font-weight: 700; font-size: 16px; cursor: pointer;
}
.tab-btn.active { background: var(--orange); border-color: var(--orange); color: #14100a; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); margin: 26px 0; }
.status-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.status-card h3 { font-size: 17px; margin-bottom: 8px; }
.status-card p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.pill { display: inline-block; padding: 4px 14px; border-radius: 16px; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.pill.live { background: rgba(245,130,11,.14); border: 1px solid var(--orange); color: var(--orange); }
.pill.soon { background: rgba(168,164,156,.12); border: 1px solid var(--muted); color: var(--muted); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin: 26px 0; }
.flow-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.flow-step h3 { color: var(--orange); font-size: 16px; margin-bottom: 8px; }
.flow-step p { color: var(--muted); font-size: 14px; }
.flow-arrow { display: flex; align-items: center; color: var(--orange); font-size: 28px; font-weight: 800; }
.warn {
  border: 1px solid var(--orange); border-radius: var(--radius); padding: 20px 22px;
  background: rgba(245,130,11,.07); color: var(--text); margin: 26px 0; font-size: 15px;
}
.warn strong { color: var(--orange); }
.soon-hero { text-align: center; padding: 40px 20px; }
.soon-hero .big-emoji { font-size: 56px; }
.gated { position: relative; }
.gated .gate-veil {
  position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center;
  background: rgba(13,13,15,.72); backdrop-filter: blur(2px); border-radius: var(--radius);
  font-weight: 800; font-size: 18px; color: var(--orange); text-align: center; padding: 20px;
}
.gate-veil .sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 18px 0; }
.form-card h3 { margin-bottom: 6px; }
.form-card p.hint { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input {
  width: 100%; box-sizing: border-box; background: #000; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 15px;
}
.field input:disabled { opacity: .55; cursor: not-allowed; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.addr-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.addr-table th, .addr-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.addr-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
code.addr { background: #000; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 13px; color: var(--orange); word-break: break-all; }

/* ---------- links band ---------- */
.links-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px; max-width: 1000px; margin: 0 auto; padding: 0 20px 64px;
}
.links-band a {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: block;
}
.links-band a:hover { border-color: var(--orange); }
.links-band strong { display: block; color: var(--text); font-size: 17px; }
.links-band span { color: var(--muted); font-size: 13px; }

/* ---------- footer ---------- */
footer { text-align: center; padding: 48px 20px 40px; border-top: 1px solid var(--line); color: var(--muted); }
footer img { border-radius: 12px; margin-bottom: 12px; }
.footer-links { margin: 14px 0 6px; font-size: 14px; line-height: 2.1; }
.footer-links a { color: var(--muted); margin: 0 10px; white-space: nowrap; }
.footer-links a:hover { color: var(--orange); }
.signoff { color: var(--orange); font-weight: 700; font-size: 20px; margin: 10px 0; }
.fine { font-size: 12px; opacity: .7; }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  body { overflow-x: clip; }
  nav { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 16px; }
  .brand { align-self: flex-start; }
  .nav-links {
    display: flex; gap: 10px; align-items: center;
    overflow-x: auto; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .btn-nav { flex-shrink: 0; }
  section { padding: 48px 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { justify-content: center; transform: rotate(90deg); }
  .field-row { grid-template-columns: 1fr; }
  .links-band { padding-bottom: 48px; }
}
