:root {
  --bg: #07040f;
  --bg-2: #11081d;
  --ink: #f6efe2;
  --muted: #c9bba3;
  --gold: #e4c36a;
  --gold-2: #f7de98;
  --gold-deep: #a8842e;
  --purple: #8b4dff;
  --violet: #c084fc;
  --cyan: #7dd3fc;
  --glass: rgba(18, 10, 32, 0.72);
  --line: rgba(228, 195, 106, 0.28);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  overflow-x: hidden;
}

body.has-cursor {
  cursor: none;
}

body.has-cursor a,
body.has-cursor button,
body.has-cursor summary {
  cursor: none;
}

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

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

#magic-bg,
#cursor-fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#cursor-fx {
  z-index: 9998;
}

.orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: #6d28d9;
  top: -80px;
  left: -60px;
}

.orb-b {
  width: 360px;
  height: 360px;
  background: #b45309;
  right: -80px;
  top: 20%;
  animation-delay: -6s;
}

.orb-c {
  width: 480px;
  height: 480px;
  background: #4c1d95;
  bottom: -120px;
  left: 30%;
  animation-delay: -12s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  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");
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-2);
  box-shadow: 0 0 18px var(--gold);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  box-shadow: 0 0 20px rgba(228, 195, 106, 0.35);
  transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
  opacity: 1;
}

.cursor-ring.hover {
  width: 72px;
  height: 72px;
  background: rgba(228, 195, 106, 0.08);
  border-color: var(--violet);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: radial-gradient(circle at 50% 40%, #2a1548 0%, #07040f 62%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-crest {
  position: relative;
  width: 128px;
  height: 128px;
}

.loader-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(228, 195, 106, 0.45);
}

.loader-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold-2);
  border-right-color: var(--violet);
  animation: spin 1.1s linear infinite;
}

.loader-word {
  font-family: Cinzel, serif;
  letter-spacing: 0.42em;
  font-weight: 700;
  color: var(--gold-2);
}

.loader-sub {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  background: linear-gradient(180deg, rgba(7, 4, 15, 0.92), rgba(7, 4, 15, 0.35) 70%, transparent);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Cinzel, serif;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(228, 195, 106, 0.3);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 78px 16px auto;
  z-index: 49;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(18px);
}

.mobile-menu.open {
  display: grid;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3d98a, #c89a36);
  color: #2a1a05;
  box-shadow: 0 8px 30px rgba(228, 195, 106, 0.28);
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sweep 3.2s ease-in-out infinite;
}

@keyframes sweep {
  60%,
  100% {
    transform: translateX(120%);
  }
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(228, 195, 106, 0.45);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(228, 195, 106, 0.08);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 140px 8vw 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
}

.sol-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

h1,
h2,
h3,
.brand,
.loader-word,
.stat-card strong,
.quote {
  font-family: Cinzel, serif;
}

h1 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 22px;
}

.gold-shimmer {
  display: block;
  background: linear-gradient(110deg, #8a6a28 0%, #f8e7a8 28%, #d4af37 50%, #fff6d2 72%, #b8860b 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 220% center;
  }
}

.lede {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
}

.ca-row {
  margin: 28px 0 18px;
}

.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 8, 28, 0.8);
  backdrop-filter: blur(12px);
}

.ca-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.ca-pill code {
  color: var(--ink);
  font-size: 14px;
}

.copy-btn,
.linkish {
  border: 0;
  background: var(--gold);
  color: #2a1a05;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stats strong {
  display: block;
  font-family: Cinzel, serif;
  color: var(--gold-2);
  font-size: 22px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-mascot {
  position: relative;
  width: min(460px, 100%);
  justify-self: center;
}

.hero-mascot img {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow), 0 0 80px rgba(139, 77, 255, 0.35), 0 0 40px rgba(228, 195, 106, 0.35);
  animation: floaty 6s ease-in-out infinite;
  background: #1a1024;
}

.mascot-glow {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle, rgba(228, 195, 106, 0.55), transparent 70%);
  filter: blur(30px);
  z-index: 1;
}

.mascot-ring {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px dashed rgba(228, 195, 106, 0.45);
  animation: spin 18s linear infinite;
}

.paw-burst {
  position: fixed;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.9;
  animation: pawfade 0.9s ease forwards;
}

@keyframes pawfade {
  to {
    opacity: 0;
    transform: translateY(-28px) scale(0.4);
  }
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold-2);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  z-index: 3;
  animation: twinkle 2.4s ease-in-out infinite;
}

.s1 {
  top: 12%;
  left: 8%;
}
.s2 {
  top: 22%;
  right: 6%;
  animation-delay: 0.4s;
}
.s3 {
  bottom: 18%;
  left: 14%;
  animation-delay: 0.9s;
}
.s4 {
  bottom: 10%;
  right: 16%;
  animation-delay: 1.3s;
}

.float-coins i {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #e4c36a 40%, #8a6a28);
  box-shadow: 0 0 12px rgba(228, 195, 106, 0.7), inset 0 0 0 2px rgba(168, 132, 46, 0.6);
  z-index: 4;
  animation: coinfloat 5.5s ease-in-out infinite;
}

.float-coins i::after {
  content: "$";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #6b4b12;
  font-family: Cinzel, serif;
}

.float-coins i:nth-child(1) {
  top: 8%;
  right: -8%;
}
.float-coins i:nth-child(2) {
  top: 48%;
  left: -10%;
  animation-delay: -1.2s;
  width: 16px;
  height: 16px;
}
.float-coins i:nth-child(3) {
  bottom: 8%;
  right: 2%;
  animation-delay: -2s;
}
.float-coins i:nth-child(4) {
  top: 18%;
  left: 4%;
  animation-delay: -3.1s;
  width: 14px;
  height: 14px;
}
.float-coins i:nth-child(5) {
  bottom: 28%;
  right: -6%;
  animation-delay: -4s;
}

@keyframes coinfloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(18deg);
  }
}

@keyframes twinkle {
  50% {
    transform: scale(1.8) rotate(20deg);
    opacity: 0.3;
  }
}

@keyframes floaty {
  50% {
    transform: translateY(-14px);
  }
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(139, 77, 255, 0.08);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: Cinzel, serif;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-size: 13px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 110px 8vw;
}

.section-head {
  margin-bottom: 42px;
}

.kicker {
  color: var(--violet);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
}

.sub {
  color: var(--muted);
  margin-top: 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-style: italic;
}

.treasury {
  padding: 20px 8vw 40px;
}

.frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(228, 195, 106, 0.08), var(--shadow);
}

.frame img {
  width: 100%;
  height: min(62vh, 680px);
  object-fit: cover;
}

.frame-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 32px;
  background: linear-gradient(transparent, rgba(7, 4, 15, 0.92));
}

.frame-caption p {
  font-family: Cinzel, serif;
  font-size: 28px;
  color: var(--gold-2);
}

.frame-caption span {
  color: var(--muted);
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.glass,
.stat-card,
.steps li,
.timeline article,
.faq-list details {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass {
  padding: 32px;
}

.glass h3,
.stat-card h3,
.steps h3,
.timeline h3 {
  margin-bottom: 12px;
  color: var(--gold-2);
}

.glass p,
.stat-card p,
.steps p,
.timeline p,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.glass p + p {
  margin-top: 14px;
}

.glass em {
  color: var(--gold);
}

.quote {
  margin: 36px 0 28px;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--gold-2);
  text-align: center;
}

.quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.14em;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  justify-content: center;
}

.pills li {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 13px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 28px 24px;
}

.stat-card strong {
  display: block;
  font-size: 42px;
  color: var(--gold-2);
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  counter-reset: none;
}

.steps li {
  padding: 28px 22px;
}

.steps span {
  font-family: Cinzel, serif;
  color: var(--violet);
  letter-spacing: 0.16em;
  font-size: 13px;
}

.buy-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 28px 22px;
  position: relative;
}

.phase {
  color: var(--violet);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 8px 22px 8px;
}

.faq-list summary {
  list-style: none;
  padding: 18px 0;
  font-family: Cinzel, serif;
  font-size: 18px;
  color: var(--gold-2);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  padding-bottom: 18px;
}

.footer {
  position: relative;
  z-index: 2;
  padding: 60px 8vw 40px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 22px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.footer-brand strong {
  font-family: Cinzel, serif;
  display: block;
  margin-bottom: 6px;
}

.footer-brand p,
.disclaimer {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--gold);
}

.linkish {
  background: transparent;
  color: var(--gold);
  padding: 0;
  font-size: 16px;
  font-weight: 500;
}

.disclaimer {
  font-size: 12px;
  max-width: 720px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: #2a1a05;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 30000;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s ease forwards;
}

.reveal.delay {
  animation-delay: 0.15s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta .btn,
  .nav-cta .icon-btn {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero,
  .lore-grid,
  .stat-grid,
  .steps,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-mascot {
    order: -1;
    width: min(280px, 70%);
  }

  h1 {
    font-size: 42px;
  }
}

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