/* ramses.fun — pharaoh-gold on desert-black */
:root {
  --bg: #0b0906;
  --bg-2: #120e08;
  --surface: #171208;
  --surface-2: #1e180c;
  --border: #2c2412;
  --border-hi: #4a3b1c;
  --gold: #e0af4b;
  --gold-hi: #f3ce7d;
  --gold-dim: #8c6d2e;
  --text: #ece2cb;
  --muted: #a2946f;
  --faint: #6d6248;
  --green: #7fc97f;
  --red: #e07a5f;
  --font-display: "Clash Display", sans-serif;
  --font-body: "Satoshi", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --r: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.gold { color: var(--gold); }
.hidden { display: none !important; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
code { font-family: var(--font-mono); background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }

/* ---- topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 9, 6, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-in { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.logo { width: 30px; height: 30px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: 0.01em; }
.brand-name.sm { font-size: 17px; }
.brand-dot { color: var(--gold); }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.topnav a:hover { color: var(--text); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  padding: 9px 18px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #1a1305; }
.btn-gold:hover { background: var(--gold-hi); color: #1a1305; transform: translateY(-1px); }
.btn-gold:disabled { background: var(--gold-dim); cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 13px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 7px; }

/* ---- config banner ---- */
.config-banner {
  background: #3a2606; color: var(--gold-hi);
  font-family: var(--font-mono); font-size: 13px;
  padding: 8px 0; border-bottom: 1px solid var(--border-hi);
}

/* ---- hero ---- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-glow {
  position: absolute; inset: -40% -20% auto; height: 130%;
  background:
    radial-gradient(600px 320px at 70% 20%, rgba(224, 175, 75, 0.13), transparent 70%),
    radial-gradient(500px 300px at 20% 80%, rgba(224, 175, 75, 0.07), transparent 70%);
  pointer-events: none;
}
.hero-in { position: relative; }
.hero-kicker {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.015em; margin-bottom: 22px; }
.hero-sub { max-width: 640px; color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }

.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; max-width: 760px;
}
.stat { background: var(--bg-2); padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; }
.stat-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.stat-value { font-size: 17px; font-weight: 500; }

/* ---- sections ---- */
.section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 36px; max-width: 620px; }
.section-head h2 { font-size: 32px; margin-bottom: 8px; }
.section-head p { color: var(--muted); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px;
}

/* ---- launch form ---- */
.launch-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.field-row { display: flex; gap: 14px; margin-bottom: 18px; }
.field { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.field-sm { flex: 0 0 140px; }
.field label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.field input, .field select {
  background: var(--bg-2); border: 1px solid var(--border-hi); border-radius: 8px;
  color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 11px 13px;
  outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus { border-color: var(--gold); }
.seg { display: flex; background: var(--bg-2); border: 1px solid var(--border-hi); border-radius: 8px; padding: 3px; gap: 3px; }
.seg-btn {
  flex: 1; background: transparent; border: none; border-radius: 6px; cursor: pointer;
  color: var(--muted); font-family: var(--font-mono); font-weight: 500; font-size: 14px; padding: 8px 0;
  transition: all .12s;
}
.seg-btn.active { background: var(--gold); color: #1a1305; font-weight: 700; }
.launch-summary {
  border: 1px dashed var(--border-hi); border-radius: 8px; padding: 14px 16px;
  font-size: 13px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 6px;
}
.launch-summary div { display: flex; justify-content: space-between; gap: 16px; }
.launch-summary span:last-child { text-align: right; }
.launch-summary span:first-child { color: var(--faint); }
.form-status { font-family: var(--font-mono); font-size: 13px; margin-top: 12px; color: var(--muted); min-height: 18px; word-break: break-all; }
.form-status.err { color: var(--red); }
.form-status.ok { color: var(--green); }

.side-card h3 { font-size: 19px; margin-bottom: 14px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 14.5px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "☥"; position: absolute; left: 0; color: var(--gold); }
.ticks em { color: var(--text); font-style: normal; font-weight: 700; }

/* ---- feed ---- */
.feed-wrap { padding: 0; overflow-x: auto; }
.feed { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.feed th {
  text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint);
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
.feed th.num, .feed td.num { text-align: right; }
.feed td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.feed tbody tr:last-child td { border-bottom: none; }
.feed tbody tr:hover { background: rgba(224, 175, 75, 0.03); }
.feed-empty td { text-align: center; color: var(--faint); font-family: var(--font-mono); padding: 34px 16px; }
.tok-name { font-weight: 700; }
.tok-sym { color: var(--gold); font-family: var(--font-mono); font-size: 12.5px; }
.feed .addr { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.feed .links a { margin-right: 10px; font-size: 12.5px; font-family: var(--font-mono); }
.pill { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; padding: 2px 9px; border-radius: 20px; border: 1px solid var(--border-hi); color: var(--muted); }

.claim-inline { margin-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.claim-inline label { color: var(--faint); font-size: 13px; }
.claim-inline input { flex: 1; min-width: 260px; background: var(--bg-2); border: 1px solid var(--border-hi); border-radius: 8px; color: var(--text); font-size: 13px; padding: 10px 13px; outline: none; }
.claim-inline input:focus { border-color: var(--gold); }

/* ---- how ---- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.how-num { color: var(--gold-dim); font-size: 13px; letter-spacing: 0.15em; }
.how-card h3 { font-size: 20px; margin: 10px 0 10px; }
.how-card p { color: var(--muted); font-size: 14.5px; }
.how-card strong { color: var(--gold); }
.fee-note h3 { font-size: 17px; margin-bottom: 10px; }
.fee-note .mono { color: var(--gold); font-size: 13.5px; margin-bottom: 8px; }
.fee-note p:last-child { color: var(--muted); font-size: 14px; }

/* ---- footer ---- */
.footer { padding: 40px 0 28px; }
.footer-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot-sub { color: var(--faint); font-size: 13.5px; margin-top: 6px; }
.foot-links { display: flex; gap: 20px; font-size: 13px; }
.foot-legal { color: var(--faint); font-size: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .launch-grid, .how-grid { grid-template-columns: 1fr; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .topnav { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 64px 0 48px; }
  .field-row { flex-direction: column; }
  .field-sm { flex: 1; }
  .section { padding: 52px 0; }
}
