:root {
  --bg: #070605;
  --bg-2: #100e0b;
  --ink: #f6efe2;
  --muted: #9a8f7c;
  --gold: #d4af37;
  --gold-2: #f3d98a;
  --line: rgba(212, 175, 55, 0.22);
  --red: #c23b22;
  --ok: #7dba6a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: rgba(7, 6, 5, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.22em;
  font-family: var(--font-display);
  font-size: 13px;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #ead07a, #b48a1d);
  color: #1a1406;
  padding: 11px 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn.ghost {
  background: transparent;
  color: var(--gold-2);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100svh - 69px);
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,6,5,0.15) 0%, rgba(7,6,5,0.28) 40%, rgba(7,6,5,0.92) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 20%, rgba(7,6,5,0.45) 80%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 22px 64px;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.kicker {
  color: var(--gold-2);
  letter-spacing: 0.38em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 13vw, 148px);
  line-height: 0.82;
  letter-spacing: 0.04em;
}
.sub {
  margin-top: 16px;
  max-width: 560px;
  color: #ddd3c0;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.ca-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.45);
  padding: 10px 12px;
  min-width: min(520px, 100%);
}
.ca-box code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca-box button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

/* TICKER */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0c0a08;
  padding: 10px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-2);
  margin-top: 6px;
}
.stat span { color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

section { padding: 88px 0; scroll-margin-top: 84px; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.lead { color: var(--muted); max-width: 640px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.portrait {
  position: relative;
}
.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.portrait::before {
  content: "01 / THE BULL";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
#lore .cards { margin-top: 28px; }
.card {
  border: 1px solid var(--line);
  padding: 22px;
  background: linear-gradient(180deg, #14110d, #0b0907);
}
.card h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-size: 20px;
}
.card p { color: var(--muted); font-size: 15px; }

.steps { display: grid; gap: 14px; margin-top: 28px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  padding: 18px;
}
.num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 24px;
}

.chart-frame {
  margin-top: 28px;
  border: 1px solid var(--line);
  min-height: 420px;
  background: #0b0907;
}
.chart-frame iframe {
  width: 100%;
  height: 480px;
  border: 0;
}
.placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 40px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px 80px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.disclaimer { max-width: 720px; }

.mobile-buy {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
}
.mobile-buy .btn { width: 100%; }

@media (max-width: 860px) {
  .mobile-buy { display: block; }
  footer { padding-bottom: 96px; }
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: #1a1406;
  padding: 10px 16px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .grid-2, .cards { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  h1 { letter-spacing: 0.02em; }
}
