:root {
  --bg: #13111a;
  --bg-soft: #1b1722;
  --ink: #fff8e8;
  --muted: #c5bdca;
  --line: rgba(255, 228, 162, .18);
  --gold: #ffc95a;
  --gold-2: #fff0a7;
  --gold-deep: #b86b16;
  --panel: rgba(34, 28, 42, .72);
  --shadow: 0 0 26px rgba(255, 190, 62, .34), 0 30px 90px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 201, 90, .10), transparent 32%),
    linear-gradient(180deg, #918c9f 0%, #4a4354 24%, #241d2a 52%, var(--bg) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: .26;
  background-image: radial-gradient(rgba(255, 242, 196, .55) .75px, transparent .75px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -2;
  opacity: .3;
}
.ambient-one { background: #ffd06d; top: 8vh; left: -280px; }
.ambient-two { background: #7f6d8a; right: -260px; top: 38vh; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 900; font-size: 14px; letter-spacing: .11em; }
.brand-mark { color: var(--gold); filter: drop-shadow(0 0 9px rgba(255, 205, 105, .7)); }
.nav-links { display: flex; gap: 24px; color: #eee8ed; font-size: 14px; }
.nav-links a:hover { color: var(--gold-2); }

.hero { text-align: center; padding: 78px 0 88px; position: relative; }
.eyebrow, .section-kicker { color: var(--gold-2); font-size: 12px; font-weight: 900; letter-spacing: .22em; }
h1 {
  margin: 14px auto 14px;
  font-size: clamp(62px, 11vw, 150px);
  line-height: .78;
  letter-spacing: -.065em;
  font-weight: 1000;
  text-transform: uppercase;
  max-width: 970px;
  text-shadow: 0 7px 38px rgba(0, 0, 0, .22);
}
h1 span {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 240, 183, .94);
  text-shadow: 0 0 24px rgba(255, 189, 56, .23);
}
.hero-copy { width: min(670px, 100%); margin: 24px auto 34px; color: #e2dbe4; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }

.hero-art-shell { width: min(650px, 86vw); margin: 0 auto 34px; position: relative; }
.hero-art-shell::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: -24px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 184, 39, .24);
  filter: blur(28px);
  z-index: -1;
}
.halo {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 167, .5), rgba(255, 173, 43, .15) 40%, transparent 70%);
  filter: blur(24px);
  z-index: -1;
}
.hero-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
  border: 1px solid rgba(255, 240, 185, .38);
  box-shadow: var(--shadow);
}

.cta-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pill {
  min-width: 122px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 244, 201, .28);
  border-radius: 999px;
  background: rgba(24, 19, 28, .62);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 850;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
  flex: 0 0 19px;
}
.pill:not(.primary) .btn-icon { filter: drop-shadow(0 0 7px rgba(255, 218, 126, .16)); }
.pill .x-icon { filter: invert(1) drop-shadow(0 0 7px rgba(255, 218, 126, .16)); }
.pill.primary .btn-icon { filter: drop-shadow(0 1px 0 rgba(0,0,0,.12)); }
.external { opacity: .72; font-size: 12px; margin-left: 1px; }
.pill:hover { transform: translateY(-2px); border-color: var(--gold-2); background: rgba(70, 49, 24, .56); }
.pill.primary { color: #26190a; background: linear-gradient(180deg, #ffe796, #f5b63e); border-color: #ffe7a1; box-shadow: 0 0 28px rgba(255, 188, 67, .3); }

.ca-card {
  width: min(760px, 100%);
  margin: 14px auto 0;
  padding: 12px 12px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(26, 21, 31, .74);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.ca-card > div { min-width: 0; }
.ca-label { display: block; margin-bottom: 6px; font-size: 10px; color: var(--gold-2); letter-spacing: .16em; font-weight: 900; }
.ca-card code { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #f3edf3; }
.ca-card button {
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  color: #2c1c06;
  background: var(--gold);
  font-weight: 950;
  cursor: pointer;
}

.section { padding: 82px 0; border-top: 1px solid rgba(255,255,255,.08); }
.lore-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: end; margin-top: 18px; }
h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: .95; letter-spacing: -.05em; }
.lore-grid p, .disclaimer p { color: var(--muted); line-height: 1.8; font-size: 17px; margin: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.stat { padding: 24px; min-height: 155px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.stat span { color: var(--gold); font-size: 13px; font-weight: 900; }
.stat strong { display: block; margin-top: 24px; font-size: 25px; }
.stat small { display: block; margin-top: 6px; color: #a99fac; }

.faq-list { margin-top: 20px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; list-style: none; font-weight: 850; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 14px 0 0; max-width: 820px; line-height: 1.75; }
details code { color: var(--gold-2); }

.disclaimer { padding-bottom: 70px; }
.disclaimer p { margin-top: 18px; width: min(850px, 100%); }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 36px; color: #8f8693; font-size: 12px; border-top: 1px solid rgba(255,255,255,.08); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 18px);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff3c8;
  color: #281a08;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
  z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding-top: 56px; }
  .lore-grid { grid-template-columns: 1fr; gap: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .ca-card { align-items: stretch; flex-direction: column; }
  .ca-card button { width: 100%; }
  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
