/* BTCJR — BTC orange on near-black, Space Grotesk. */
:root {
  --bg: #0b0b0d;
  --bg-alt: #101013;
  --panel: #151518;
  --panel-2: #1a1a1e;
  --line: #26262b;
  --text: #f5f2ec;
  --muted: #9a958c;
  --orange: #f7931a;
  --orange-soft: #ffb74d;
  --green: #3ecf6e;
  --red: #e5534b;
  --radius: 14px;
  --font: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--orange-soft); }
img { max-width: 100%; }
.muted { color: var(--muted); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: 0.06em; }
.main-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.main-nav a:hover { color: var(--text); }
.header-right { display: flex; align-items: center; gap: 12px; }
.contract-pill {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.contract-pill b { color: var(--orange-soft); font-weight: 600; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button {
  background: transparent; color: var(--muted); border: 0; padding: 5px 12px;
  font-family: var(--font); font-size: 13px; cursor: pointer;
}
.lang-switch button.active { background: var(--orange); color: #161006; font-weight: 700; }

/* hero */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner {
  max-width: 1180px; margin: 0 auto; padding: 64px 20px 40px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 32px; align-items: center;
}
.eyebrow {
  color: var(--orange); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 12px; font-weight: 600; margin: 0 0 14px;
}
.display { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; margin: 0 0 18px; font-weight: 700; }
.accent { color: var(--orange); }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.btn {
  display: inline-block; border-radius: 10px; padding: 12px 22px; font-weight: 600;
  font-family: var(--font); font-size: 15px; cursor: pointer; text-decoration: none;
  border: 1px solid transparent; text-align: center;
}
.btn-primary { background: var(--orange); color: #161006; }
.btn-primary:hover { background: var(--orange-soft); }
.btn-primary:disabled { background: #4a3a20; color: var(--muted); cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); }
.btn-block { display: block; width: 100%; margin-top: 12px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.hero-stats b { font-size: 22px; }
.hero-art { display: flex; justify-content: center; }
.hero-coin { width: min(340px, 80%); height: auto; filter: drop-shadow(0 18px 44px rgba(247, 147, 26, 0.25)); }
.ticker {
  border-top: 1px solid var(--line); padding: 10px 20px; text-align: center;
  color: var(--muted); font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden;
}

/* stats band */
.stats-band { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.band-inner {
  max-width: 1180px; margin: 0 auto; padding: 22px 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center;
}
.band-inner b { display: block; font-size: 30px; color: var(--orange); }
.band-inner span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }

/* sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 0 0 14px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 46em; margin: 0 0 30px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-num { color: var(--orange); font-family: var(--mono); font-size: 13px; display: block; margin-bottom: 12px; }
.card-pct { color: var(--orange); font-size: 30px; font-weight: 700; display: block; margin-bottom: 10px; }
.big-value { font-size: 24px !important; color: var(--text) !important; font-weight: 700; margin-top: 8px !important; }
.big-pct { font-size: 64px; font-weight: 700; color: var(--orange); line-height: 1; }
.note-line { color: var(--muted); margin-top: 22px; max-width: 52em; }
.countdown { font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--orange-soft); }

/* mint layout */
.mint-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.mint-info .info-block { margin-bottom: 26px; }
.mint-info h3 { margin: 0 0 8px; font-size: 19px; }
.mint-info p { color: var(--muted); margin: 0; }
.mint-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.mint-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mint-card-head .label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; color: var(--muted);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; }
.pill[data-state="live"] { color: var(--green); border-color: var(--green); }
.pill[data-state="live"] i { background: var(--green); }
.pill[data-state="launched"] { color: var(--orange-soft); border-color: var(--orange); }
.pill[data-state="launched"] i { background: var(--orange); }
.pill[data-state="refunds"] { color: var(--red); border-color: var(--red); }
.pill[data-state="refunds"] i { background: var(--red); }
.progress-number { font-size: 34px; font-weight: 700; }
.progress-number em { font-style: normal; color: var(--muted); font-size: 18px; font-weight: 500; }
.progress-remain { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.progress { height: 10px; background: var(--panel-2); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--orange), var(--orange-soft)); transition: width 0.6s ease; }
.mint-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.mint-facts div { background: var(--panel-2); border-radius: 10px; padding: 10px 12px; }
.mint-facts span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.mint-facts b { font-size: 15px; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin: 16px 0 8px; }
.qty-row { display: flex; align-items: stretch; gap: 8px; }
.qty-row button {
  width: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2);
  color: var(--text); font-size: 20px; cursor: pointer;
}
.qty-row input, .mint-card input[type="text"], .prompt-card textarea, .mint-card textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: var(--mono); font-size: 14px; padding: 11px 12px;
}
.qty-row input { text-align: center; font-size: 17px; }
.mint-summary { margin: 16px 0 4px; }
.mint-summary div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mint-summary dt { color: var(--muted); }
.mint-summary dd { margin: 0; font-weight: 600; font-family: var(--mono); }
.check-row { display: flex; gap: 8px; align-items: center; }
.check-row input { flex: 1; }
.check-result { font-family: var(--mono); color: var(--orange-soft); min-height: 1.4em; margin: 8px 0 0; }
.check-value { font-family: var(--mono); color: var(--orange-soft); }
textarea { resize: vertical; line-height: 1.5; }
.card-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.agent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.prompt-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.checker-card { margin-top: 28px; }
.checker-card h3 { margin-top: 0; }

/* split */
.split-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 16px; }
.split-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; margin: 16px 0 12px; }
.split-lp { background: var(--orange); }
.split-vault { background: #6b543a; }
.split-legend { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.split-legend b { color: var(--text); }

/* faq */
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 16px 20px; margin-bottom: 10px; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.faq-list details p { color: var(--muted); margin: 10px 0 2px; }

/* contracts */
.contracts-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contract-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: var(--panel); padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.contract-row:last-child { border-bottom: 0; }
.contract-row span { color: var(--muted); font-size: 14px; }
.contract-row b, .contract-row a { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.contract-row a { text-decoration: none; }
.contract-row a:hover { text-decoration: underline; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-inner p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }

/* responsive */
@media (max-width: 960px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-inner, .mint-grid, .agent-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero-art { order: -1; }
  .hero-coin { width: min(220px, 60%); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .band-inner, .mint-facts { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero-inner { padding-top: 40px; }
}
