/* ramsespad.com — pharaoh-gold on desert-black */
:root {
  --bg: #0a0805;
  --bg-2: #110d07;
  --surface: #151006;
  --surface-2: #1d160a;
  --border: #2b2311;
  --border-hi: #4a3b1c;
  --gold: #e0af4b;
  --gold-hi: #f6d68b;
  --gold-dim: #8c6d2e;
  --text: #f0e6cf;
  --muted: #a89a75;
  --faint: #6d6248;
  --green: #7fc97f;
  --red: #e07a5f;
  --font-display: "Cabinet Grotesk", "Satoshi", sans-serif;
  --font-body: "Satoshi", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --r: 12px;
  --shadow-card: 0 1px 0 rgba(246, 214, 139, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { 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;
}
/* faint sandstone grain over everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
main, header, footer, .config-banner { position: relative; z-index: 1; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.gold { color: var(--gold); }
.goldgrad {
  background: linear-gradient(100deg, #b9852c 0%, var(--gold) 30%, var(--gold-hi) 55%, var(--gold) 78%, #c19140 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.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: 700; line-height: 1.08; letter-spacing: -0.01em; }
code { font-family: var(--font-mono); background: var(--surface-2); padding: 1px 6px; border-radius: 4px; }
::selection { background: rgba(224, 175, 75, 0.28); }

/* ---- topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 5, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 175, 75, 0.35), transparent);
}
.topbar-in { display: flex; align-items: center; gap: 32px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.logo { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(224, 175, 75, 0.35)); }
.brand-name { font-family: var(--font-display); font-weight: 800; 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: 26px; margin-left: auto; }
.topnav a { position: relative; color: var(--muted); font-weight: 500; font-size: 14.5px; padding: 4px 0; }
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--gold); transition: right .2s ease;
}
.topnav a:hover { color: var(--text); }
.topnav a:hover::after { right: 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  padding: 10px 20px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 45%, #c99b3f 100%);
  color: #1a1305;
  box-shadow: 0 0 0 1px rgba(246, 214, 139, 0.25) inset, 0 6px 18px rgba(224, 175, 75, 0.18);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(246, 214, 139, 0.35) inset, 0 10px 26px rgba(224, 175, 75, 0.3);
}
.btn-gold:disabled {
  background: var(--surface-2); color: var(--faint); cursor: not-allowed; transform: none;
  border-color: var(--border-hi); box-shadow: none;
}
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 16px rgba(224, 175, 75, 0.12); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; border-radius: 8px; }

/* ---- config banner ---- */
.config-banner {
  background: linear-gradient(90deg, rgba(224, 175, 75, 0.12), rgba(224, 175, 75, 0.05));
  color: var(--gold-hi);
  font-family: var(--font-mono); font-size: 13px;
  padding: 9px 0; border-bottom: 1px solid var(--border-hi);
}

/* ---- hero ---- */
.hero { position: relative; padding: 110px 0 84px; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-glow {
  position: absolute; inset: -40% -20% auto; height: 140%;
  background:
    radial-gradient(720px 380px at 72% 14%, rgba(224, 175, 75, 0.16), transparent 70%),
    radial-gradient(560px 340px at 14% 86%, rgba(224, 175, 75, 0.08), transparent 70%),
    conic-gradient(from 200deg at 78% -10%, transparent 60%, rgba(246, 214, 139, 0.05) 74%, transparent 82%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 175, 75, 0.4), transparent);
}
.hero-in { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
  padding: 7px 14px; border: 1px solid var(--border-hi); border-radius: 100px;
  background: rgba(224, 175, 75, 0.05);
}
.hero-kicker::before { content: "◆"; font-size: 8px; color: var(--gold-dim); }
.hero h1 { font-size: clamp(42px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero-sub { max-width: 640px; color: var(--muted); font-size: 17.5px; margin-bottom: 34px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; margin-bottom: 56px; flex-wrap: wrap; }

.statbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 820px; }
.stat {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease;
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 175, 75, 0.45), transparent);
}
.stat:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); }
.stat-value { font-size: 19px; font-weight: 500; }

/* ---- sections ---- */
.section { padding: 84px 0; border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 40px; max-width: 620px; }
.kicker { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 10px; }
.section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.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 {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  box-shadow: var(--shadow-card);
}

/* ---- 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: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.field input, .field select {
  background: var(--bg-2); border: 1px solid var(--border-hi); border-radius: 9px;
  color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 12px 14px;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 175, 75, 0.12); }
.seg { display: flex; background: var(--bg-2); border: 1px solid var(--border-hi); border-radius: 9px; padding: 3px; gap: 3px; }
.seg-btn {
  flex: 1; background: transparent; border: none; border-radius: 7px; cursor: pointer;
  color: var(--muted); font-family: var(--font-mono); font-weight: 500; font-size: 14px; padding: 9px 0;
  transition: all .12s;
}
.seg-btn.active { background: var(--gold); color: #1a1305; font-weight: 700; box-shadow: 0 2px 10px rgba(224, 175, 75, 0.25); }
.launch-summary {
  border: 1px dashed var(--border-hi); border-radius: 9px; padding: 15px 17px;
  font-size: 13px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 7px;
  background: rgba(224, 175, 75, 0.02);
}
.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: 16px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 13px; color: var(--muted); font-size: 14.5px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: "☥"; position: absolute; left: 0; color: var(--gold); text-shadow: 0 0 8px rgba(224, 175, 75, 0.4); }
.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: 14px 18px; border-bottom: 1px solid var(--border);
  background: rgba(224, 175, 75, 0.025);
}
.feed th.num, .feed td.num { text-align: right; }
.feed td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.feed tbody tr:last-child td { border-bottom: none; }
.feed tbody tr { transition: background .15s; }
.feed tbody tr:hover { background: rgba(224, 175, 75, 0.045); }
.feed-empty td { text-align: center; color: var(--faint); font-family: var(--font-mono); padding: 38px 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 10px; border-radius: 20px; border: 1px solid var(--border-hi); color: var(--muted); background: rgba(224, 175, 75, 0.04); }

.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: 9px; color: var(--text); font-size: 13px; padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.claim-inline input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 175, 75, 0.12); }

/* ---- how ---- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.how-card { overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.how-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.how-num {
  position: absolute; top: -14px; right: 6px;
  font-size: 96px; font-weight: 700; color: rgba(224, 175, 75, 0.06);
  letter-spacing: 0; line-height: 1; pointer-events: none; user-select: none;
}
.how-card h3 { font-size: 20px; margin: 4px 0 10px; }
.how-card p { color: var(--muted); font-size: 14.5px; position: relative; }
.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: 44px 0 30px; }
.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: 28px; padding-top: 18px; border-top: 1px solid var(--border); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- 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: 70px 0 52px; }
  .field-row { flex-direction: column; }
  .field-sm { flex: 1; }
  .section { padding: 56px 0; }
}
