:root {
  --bg: #07040c;
  --bg-2: #120818;
  --ink: #f6ead8;
  --muted: #c9b7a2;
  --gold: #f4c46a;
  --gold-2: #e08a2c;
  --sunset: #ff7a4a;
  --plum: #7b4dff;
  --teal: #5eead4;
  --glass: rgba(18, 10, 24, 0.62);
  --line: rgba(244, 196, 106, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255, 122, 74, 0.18), transparent 55%),
    radial-gradient(900px 600px at 0% 20%, rgba(123, 77, 255, 0.2), transparent 50%),
    linear-gradient(180deg, var(--bg), #14091a 40%, #0b0610);
  overflow-x: hidden;
}
body.magic-cursor,
body.magic-cursor button { cursor: none; }

body.touch-device,
body.touch-device * { cursor: auto; }
body.touch-device .cursor { display: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; border: 0; background: none; color: inherit; }

.aurora {
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(244, 196, 106, 0.16), transparent 40%),
    radial-gradient(ellipse at 80% 20%, rgba(94, 234, 212, 0.1), transparent 42%),
    radial-gradient(ellipse at 60% 80%, rgba(123, 77, 255, 0.16), transparent 45%);
  filter: blur(40px);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

#magic-canvas {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  z-index: 80;
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
}
body.magic-cursor .cursor { display: block; }
.cursor-core {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7d6, var(--gold) 55%, transparent 72%);
  box-shadow: 0 0 18px var(--gold);
}
.cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(244, 196, 106, 0.7);
  animation: spin 4s linear infinite;
}
.cursor-paw {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.85;
  white-space: nowrap;
}
body.is-hovering .cursor-ring { transform: scale(1.45); }
@keyframes spin { to { transform: rotate(360deg); } }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #08050e;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-cat {
  width: 120px;
  filter: drop-shadow(0 0 24px rgba(244, 196, 106, 0.55));
  animation: floaty 2.4s ease-in-out infinite;
}
.preloader-text {
  margin-top: 12px;
  letter-spacing: 0.4em;
  text-transform: lowercase;
  color: var(--gold);
}
.dots::after {
  content: "";
  animation: dots 1.4s steps(4, end) infinite;
}
@keyframes dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75% { content: "..."; }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  backdrop-filter: blur(16px);
  background: rgba(7, 4, 12, 0.55);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nav-brand img { width: 42px; height: 42px; border-radius: 50%; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--gold); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; font-size: 24px; color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #2a1406;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(244, 196, 106, 0.28);
}
.btn-ghost { background: rgba(255,255,255,0.03); }
.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 32px rgba(244, 196, 106, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 72px 7vw 40px;
  min-height: calc(100vh - 80px);
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; }
h1 {
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.88;
  font-weight: 600;
}
.hero-symbol {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
  margin: 10px 0 16px;
  letter-spacing: 0.18em;
}
.hero-tag {
  max-width: 520px;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 12px; margin: 28px 0 18px; flex-wrap: wrap; }
.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: rgba(244, 196, 106, 0.06);
  color: var(--ink);
}
.ca-label { color: var(--gold); font-weight: 700; font-size: 12px; }
.ca-value { font-family: ui-monospace, monospace; letter-spacing: 0.04em; }
.ca-copy { color: var(--muted); font-size: 12px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-pills span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.hero-art { position: relative; }
.hero-cat {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow), 0 0 80px rgba(255, 122, 74, 0.18);
  animation: floaty 6s ease-in-out infinite;
}
.hero-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(244, 196, 106, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.thought {
  position: absolute;
  padding: 8px 14px;
  border-radius: 18px 18px 18px 4px;
  background: rgba(8, 5, 14, 0.72);
  border: 1px solid var(--line);
  color: var(--gold);
  backdrop-filter: blur(8px);
  animation: floaty 5s ease-in-out infinite;
}
.thought-1 { top: 8%; left: -4%; }
.thought-2 { top: 28%; right: -6%; animation-delay: -1.4s; }
.thought-3 { bottom: 14%; left: 6%; animation-delay: -2.5s; }
.thought { pointer-events: none; }
.polaroid {
  position: absolute;
  width: 92px;
  height: 92px;
  object-fit: cover;
  padding: 6px 6px 16px;
  background: #f6ead8;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  animation: polaroid-float 7s ease-in-out infinite;
}
.polaroid.p1 { left: -28px; bottom: 18%; --rot: -12deg; }
.polaroid.p2 { right: -18px; top: 12%; --rot: 10deg; animation-delay: -2s; }
.polaroid.p3 { right: 8%; bottom: -12px; --rot: -6deg; animation-delay: -3.4s; }
@keyframes polaroid-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slide 80s linear infinite;
  padding: 14px 0;
}
.marquee-track img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}
@keyframes slide { to { transform: translateX(-50%); } }

section { padding: 88px 7vw; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
h2 { font-size: clamp(40px, 6vw, 72px); line-height: 0.95; margin-bottom: 14px; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.6; }

.glass-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.story-grid, .stat-grid, .buy-steps, .social-grid {
  display: grid;
  gap: 18px;
}
.story-grid { grid-template-columns: repeat(3, 1fr); }
.story-grid img, .buy-steps img, .social-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}
.story-grid h3, .buy-steps h3, .social-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.story-grid p, .buy-steps p, .social-card p { color: var(--muted); line-height: 1.55; }

.ticker-wrap {
  padding: 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(244,196,106,0.08), rgba(123,77,255,0.08));
}
.live-ticker {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 14px 0;
  animation: slide 40s linear infinite;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.stat-grid { grid-template-columns: repeat(3, 1fr); }
.stat span { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.stat strong { display: block; margin-top: 8px; font-size: 28px; font-family: "Cormorant Garamond", serif; }
.ca-banner {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(244, 196, 106, 0.06);
}
.ca-banner code { font-size: 20px; color: var(--gold); }

.oracle { display: grid; place-items: center; }
.oracle-panel { max-width: 720px; width: 100%; text-align: center; padding: 42px 28px; }
.oracle-stage {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 28px auto;
}
.oracle-stage img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: drop-shadow(0 0 28px rgba(244,196,106,0.45));
}
.oracle-orb {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.18), rgba(123,77,255,0.18) 42%, rgba(7,4,12,0.55));
  border: 1px solid var(--line);
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.oracle-orb.show { opacity: 1; transform: scale(1.02); }
.oracle-answer {
  min-height: 48px;
  margin: 8px 0 22px;
  font-size: 22px;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
}
.oracle-stage.thinking img { animation: pulse 0.8s ease-in-out infinite; }
@keyframes pulse {
  50% { filter: drop-shadow(0 0 40px rgba(255,122,74,0.8)) saturate(1.3); transform: scale(1.04); }
}

.depot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.depot-grid button {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #110815;
}
.depot-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.depot-grid button:hover img {
  transform: scale(1.08) rotate(-1deg);
  filter: saturate(1.15) brightness(1.08);
}
.depot-actions { display: flex; justify-content: center; margin-top: 28px; }

.buy-steps { grid-template-columns: repeat(4, 1fr); list-style: none; }
.step-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 12px;
}
.buy-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.social-grid { grid-template-columns: repeat(3, 1fr); }
.social-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(123, 77, 255, 0.25);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 28px 7vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; border-radius: 50%; }
.footer-brand strong { color: var(--ink); display: block; }
.disclaimer { max-width: 420px; font-size: 13px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(4, 2, 8, 0.86);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 820px);
  max-height: 86vh;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(244,196,106,0.25);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s ease forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(244, 196, 106, 0.95);
  color: #2a1406;
  font-weight: 600;
  z-index: 85;
}

@media (max-width: 980px) {
  .hero, .story-grid, .stat-grid, .buy-steps, .social-grid, .depot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 24px 22px;
    background: rgba(7,4,12,0.94);
  }
  .nav-toggle { display: block; }
  .hero { padding-top: 36px; min-height: auto; }
  h1 { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee-track, .live-ticker { animation: none; }
}

@media (max-width: 680px) {
  .hero, .story-grid, .stat-grid, .buy-steps, .social-grid, .depot-grid, .footer {
    grid-template-columns: 1fr;
    display: grid;
  }
  .nav-actions .btn-ghost { display: none; }
  .hero-cta, .buy-links { flex-direction: column; }
  .thought, .polaroid { display: none; }
  section { padding: 64px 20px; }
}
