:root {
  --bg: #080a0f;
  --bg-elevated: #10141d;
  --navy: #141a28;
  --ink: #f4efe4;
  --muted: #a8b0c0;
  --gold: #ffb347;
  --gold-hot: #ffd56a;
  --gold-deep: #e08a1a;
  --cream: #fff6e0;
  --red: #d62828;
  --line: rgba(255, 179, 71, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

#sparks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 10, 15, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(255, 179, 71, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.35), 0 0 22px rgba(255, 179, 71, 0.35);
  animation: brand-pulse 3.5s ease-in-out infinite;
}

@keyframes brand-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 179, 71, 0.35), 0 0 18px rgba(255, 179, 71, 0.28); }
  50% { box-shadow: 0 0 0 2px rgba(255, 213, 106, 0.55), 0 0 30px rgba(255, 179, 71, 0.55); }
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.nav a:hover {
  color: var(--gold-hot);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--cream);
  border: 1px solid rgba(255, 246, 224, 0.14);
  transition: border-color 0.25s, color 0.25s, transform 0.25s, background 0.25s;
}

.icon-link:hover {
  color: var(--gold-hot);
  border-color: rgba(255, 179, 71, 0.5);
  background: rgba(255, 179, 71, 0.08);
  transform: translateY(-2px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 246, 224, 0.14);
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 39;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(8, 10, 15, 0.96);
  border-bottom: 1px solid rgba(255, 179, 71, 0.15);
  backdrop-filter: blur(12px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.9rem 0.4rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 246, 224, 0.06);
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 0.95rem;
}

.btn-gold {
  color: #1a1205;
  background: linear-gradient(135deg, var(--gold-hot), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 0 1px rgba(255, 213, 106, 0.35), 0 10px 30px rgba(255, 147, 40, 0.28);
}

.btn-gold:hover {
  box-shadow: 0 0 0 1px rgba(255, 213, 106, 0.55), 0 14px 40px rgba(255, 147, 40, 0.42);
}

.btn-ghost {
  color: var(--cream);
  border: 1px solid rgba(255, 246, 224, 0.22);
  background: rgba(255, 246, 224, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 179, 71, 0.55);
  background: rgba(255, 179, 71, 0.08);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.06);
  will-change: transform;
  animation: hero- ken 22s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, 0.35) 0%, rgba(8, 10, 15, 0.15) 35%, rgba(8, 10, 15, 0.55) 68%, rgba(8, 10, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(8, 10, 15, 0.55) 0%, transparent 42%, transparent 70%, rgba(8, 10, 15, 0.35) 100%);
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 32%;
  width: min(70vw, 680px);
  height: min(70vw, 680px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 179, 71, 0.28) 0%, rgba(255, 147, 40, 0.1) 35%, transparent 68%);
  filter: blur(8px);
  animation: glow-breathe 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4vh) 0 18vh;
}

.ticker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 179, 71, 0.45);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-line {
  display: inline-block;
  background: linear-gradient(180deg, #fff9e8 10%, #ffe09a 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 179, 71, 0.45));
  animation: title-shimmer 4.5s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(255, 179, 71, 0.4)); }
  50% { filter: drop-shadow(0 0 38px rgba(255, 213, 106, 0.7)); }
}

.lede {
  margin: 1rem 0 0;
  max-width: 28ch;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: rgba(244, 239, 228, 0.88);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.cta-row.center {
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 3;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 246, 224, 0.35);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  animation: cue-fall 1.6s var(--ease-out) infinite;
}

@keyframes cue-fall {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Wire dividers */
.wire {
  position: relative;
  z-index: 3;
  height: 40px;
  margin: -8px 0;
  color: var(--gold);
}

.wire svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wire-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.55;
  stroke-dasharray: 8 10;
  animation: wire-dash 18s linear infinite;
}

.wire-spark {
  fill: var(--gold-hot);
  filter: drop-shadow(0 0 6px var(--gold));
  offset-path: path("M0 20 Q300 0 600 20 T1200 20");
  animation: spark-run 4.5s linear infinite;
}

@keyframes wire-dash {
  to { stroke-dashoffset: -180; }
}

@keyframes spark-run {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.wire-flip .wire-path {
  animation-direction: reverse;
}

/* Sections */
.section-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(820px, calc(100% - 2.5rem));
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-lede {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42ch;
}

.about {
  position: relative;
  z-index: 3;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 40%, rgba(255, 147, 40, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--navy) 55%, var(--bg));
}

.about .section-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about .section-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.about-visual {
  display: grid;
  place-items: center;
}

.logo-orb {
  position: relative;
  width: min(78vw, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-orb img {
  width: 78%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(255, 147, 40, 0.35);
  animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.orb-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(255, 179, 71, 0.35);
  animation: spin 18s linear infinite;
}

.orb-ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-hot);
  box-shadow: 0 0 16px var(--gold);
  transform: translateX(-50%);
}

.orb-ring-2 {
  inset: -2%;
  border-color: rgba(255, 179, 71, 0.18);
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.about-copy p {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
}

.pillars {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pillars li {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 179, 71, 0.18);
}

.pillars strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
}

.pillars span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Buy */
.buy {
  position: relative;
  z-index: 3;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(214, 40, 40, 0.08), transparent 55%),
    var(--bg);
}

.buy .section-lede {
  margin-bottom: 2.5rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.45rem 0;
  border-bottom: 1px solid rgba(255, 246, 224, 0.08);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 179, 71, 0.35);
}

.step h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.step p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.step em {
  font-style: normal;
  color: var(--gold-hot);
}

.ca-block {
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 179, 71, 0.22);
  background: linear-gradient(160deg, rgba(255, 179, 71, 0.07), rgba(16, 20, 29, 0.6));
  border-radius: 18px;
}

.ca-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.ca-row code {
  font-size: 0.88rem;
  color: var(--cream);
  word-break: break-all;
}

.ca-hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.ca-hint code {
  font-size: 0.78rem;
  color: var(--gold);
}

/* Community */
.community {
  position: relative;
  z-index: 3;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, 0.88), rgba(8, 10, 15, 0.92)),
    url("../assets/banner.png") center 40% / cover no-repeat;
  filter: saturate(1.05);
  transform: scale(1.04);
  animation: community-drift 24s ease-in-out infinite alternate;
}

@keyframes community-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-2%); }
}

.community .section-inner {
  position: relative;
  z-index: 1;
}

.community .section-lede {
  margin-bottom: 2.25rem;
}

.social-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(255, 179, 71, 0.2);
  background: rgba(8, 10, 15, 0.55);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 71, 0.55);
  background: rgba(20, 26, 40, 0.75);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 147, 40, 0.12);
}

.social-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold-hot);
  background: rgba(255, 179, 71, 0.1);
  border: 1px solid rgba(255, 179, 71, 0.22);
}

.social-card strong {
  display: block;
  font-size: 1rem;
}

.social-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 3;
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(255, 179, 71, 0.12);
  background: #06080c;
}

.footer-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.footer-inner .brand {
  font-size: 1.15rem;
}

.footer-inner .brand img {
  width: 36px;
  height: 36px;
}

.footer-inner p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links a:hover {
  color: var(--gold-hot);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-banner,
  .hero-glow,
  .brand img,
  .brand-line,
  .logo-orb img,
  .orb-ring,
  .wire-path,
  .wire-spark,
  .community-bg,
  .scroll-cue span {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
