:root {
  --gold: #f6d36b;
  --gold-2: #ffd27a;
  --gold-deep: #c8942a;
  --amber: #ffb347;
  --ginger: #e07832;
  --eye: #5ad0ff;
  --bg: #070503;
  --bg-2: #120c07;
  --cream: #fff4dc;
  --muted: #cbb892;
  --glass: rgba(28, 18, 8, 0.55);
  --line: rgba(246, 211, 107, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

body.has-touch {
  cursor: auto;
}

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

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

body.has-touch a,
body.has-touch button {
  cursor: pointer;
}

.noise,
.aurora,
.god-rays,
#magic-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  z-index: 80;
  opacity: 0.07;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora {
  z-index: 0;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(224, 120, 50, 0.22), transparent 60%),
    radial-gradient(700px 480px at 85% 20%, rgba(90, 208, 255, 0.12), transparent 55%),
    radial-gradient(800px 600px at 50% 100%, rgba(200, 148, 42, 0.18), transparent 60%);
  animation: aurora 14s ease-in-out infinite alternate;
}

.god-rays {
  z-index: 0;
  background: repeating-linear-gradient(
    115deg,
    transparent 0,
    rgba(246, 211, 107, 0.035) 18px,
    transparent 36px
  );
  mix-blend-mode: screen;
  animation: drift 22s linear infinite;
}

#magic-canvas {
  z-index: 70;
}

#coin-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.float-coin {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(246, 211, 107, 0.65));
  animation: float-coin linear infinite;
  opacity: 0.55;
}

.cursor-dot,
.cursor-ring,
.cursor-paw {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: screen;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff8dc;
  box-shadow:
    0 0 10px #ffe08a,
    0 0 22px var(--gold);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 211, 107, 0.85);
  box-shadow: 0 0 18px rgba(246, 211, 107, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease, width 0.18s, height 0.18s, margin 0.18s;
}

.cursor-ring.is-hot {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--eye);
  box-shadow: 0 0 24px rgba(90, 208, 255, 0.45);
}

.cursor-paw {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  opacity: 0;
  background: radial-gradient(circle at 50% 60%, var(--gold), transparent 70%);
  mask: radial-gradient(circle at 50% 70%, #000 6px, transparent 7px),
    radial-gradient(circle at 28% 38%, #000 4px, transparent 5px),
    radial-gradient(circle at 50% 22%, #000 4px, transparent 5px),
    radial-gradient(circle at 72% 38%, #000 4px, transparent 5px);
}

body.has-touch .cursor-dot,
body.has-touch .cursor-ring,
body.has-touch .cursor-paw {
  display: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 7vw;
  background: linear-gradient(to bottom, rgba(7, 5, 3, 0.92), rgba(7, 5, 3, 0.35) 70%, transparent);
  backdrop-filter: blur(10px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(246, 211, 107, 0.55);
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

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

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  color: #2a1906;
  box-shadow: 0 0 24px rgba(246, 211, 107, 0.35);
}

.btn-ghost {
  background: rgba(246, 211, 107, 0.06);
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 7vw 80px;
}

.hero-banner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
  animation: kenburns 28s ease-in-out infinite alternate;
  transform: scale(1.08);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7, 5, 3, 0.35), rgba(7, 5, 3, 0.72) 55%, var(--bg)),
    radial-gradient(circle at 50% 30%, transparent, rgba(7, 5, 3, 0.55));
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

.coin-stage {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 168px;
  height: 168px;
  margin: 26px auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(246, 211, 107, 0.35),
    0 0 40px rgba(246, 211, 107, 0.55);
  animation: pulse 3.6s ease-in-out infinite;
}

.rune-ring,
.rune-ring--slow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(246, 211, 107, 0.55);
  box-shadow: inset 0 0 30px rgba(90, 208, 255, 0.12), 0 0 24px rgba(246, 211, 107, 0.2);
  animation: spin 12s linear infinite;
}

.rune-ring::before,
.rune-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px solid rgba(90, 208, 255, 0.28);
}

.rune-ring::after {
  inset: 32px;
  border-style: dotted;
}

.rune-ring--slow {
  inset: -14px;
  animation-duration: 22s;
  animation-direction: reverse;
  border-style: solid;
  border-color: rgba(246, 211, 107, 0.2);
}

.coin-glow {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 211, 107, 0.45), transparent 70%);
  filter: blur(18px);
  animation: pulse 3.6s ease-in-out infinite;
}

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

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
  margin-bottom: 18px;
}

h1 small {
  display: block;
  margin-top: 8px;
  font-size: 0.32em;
  letter-spacing: 0.4em;
  color: var(--gold-2);
}

.gold-shimmer {
  background: linear-gradient(110deg, #8a6118 8%, #fff4c2 28%, #f6d36b 45%, #fff 52%, #f6d36b 62%, #c8942a 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 28px;
}

.ca-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.ca-label {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

code {
  font-family: "Outfit", monospace;
  color: #fff;
}

.copy-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--gold);
  color: #2a1906;
  font-weight: 700;
  cursor: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(246, 211, 107, 0.05);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 28s linear infinite;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section {
  position: relative;
  z-index: 2;
  padding: 96px 7vw;
}

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

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.lore-grid,
.stats,
.steps,
.socials {
  display: grid;
  gap: 20px;
}

.lore-grid,
.stats {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.glass:hover {
  border-color: rgba(246, 211, 107, 0.6);
  box-shadow: 0 0 32px rgba(246, 211, 107, 0.18);
}

.mark {
  color: var(--eye);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.glass h3 {
  margin: 10px 0 12px;
  font-size: 1.35rem;
}

.glass p,
.stat p {
  color: var(--muted);
  line-height: 1.65;
}

.quote {
  margin-top: 28px;
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: center;
}

.quote cite {
  display: block;
  margin-top: 14px;
  font-family: "Outfit", sans-serif;
  font-style: normal;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.stat {
  text-align: center;
}

.stat img {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
}

.stat h3 {
  font-size: 2rem;
  color: var(--gold);
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  counter-reset: none;
}

.buy-links,
.hero-actions {
  margin-top: 28px;
}

.buy-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.socials {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social span {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.social strong {
  font-size: 1.6rem;
  font-family: "Cinzel", serif;
  color: var(--gold);
}

.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 7vw 80px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(246, 211, 107, 0.4);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--gold);
  color: #2a1906;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.spark {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 95;
  background: var(--gold);
}

.paw-print {
  position: fixed;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  pointer-events: none;
  z-index: 94;
  opacity: 0.9;
  background:
    radial-gradient(circle at 50% 68%, #f6d36b 0 7px, transparent 8px),
    radial-gradient(circle at 24% 34%, #f6d36b 0 4.5px, transparent 5.5px),
    radial-gradient(circle at 50% 18%, #f6d36b 0 4.5px, transparent 5.5px),
    radial-gradient(circle at 76% 34%, #f6d36b 0 4.5px, transparent 5.5px);
  filter: drop-shadow(0 0 8px rgba(246, 211, 107, 0.8));
  animation: paw-fade 0.9s ease forwards;
}

@keyframes paw-fade {
  0% {
    opacity: 0.95;
    transform: scale(0.6) rotate(-12deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.25) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 860px) {
  .nav nav {
    display: none;
  }

  .coin-stage {
    width: 180px;
    height: 180px;
  }

  .hero-logo {
    width: 132px;
    height: 132px;
  }
}

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

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

@keyframes pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(246, 211, 107, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 28px rgba(246, 211, 107, 0.85));
    transform: scale(1.04);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-2%, -1%, 0);
  }
}

@keyframes aurora {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-120px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes float-coin {
  from {
    transform: translate3d(0, 110vh, 0) rotate(0deg);
  }
  to {
    transform: translate3d(40px, -20vh, 0) rotate(360deg);
  }
}
