:root {
  --bg: #070114;
  --ink: #f7f2ff;
  --muted: #c3b3df;
  --pink: #ff4fd8;
  --cyan: #3de4ff;
  --violet: #8b6cff;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(16, 6, 36, 0.62);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  background:
    radial-gradient(900px 520px at 90% -10%, rgba(255, 79, 216, 0.22), transparent 60%),
    radial-gradient(760px 480px at -10% 10%, rgba(61, 228, 255, 0.16), transparent 55%),
    var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
button, a { font: inherit; }
button { cursor: pointer; }
code {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--cyan);
}

html.magic-cursor, html.magic-cursor * { cursor: none; }
html.magic-cursor a, html.magic-cursor button { cursor: none; }

.aurora, .spot, #magic, .cursor { pointer-events: none; }
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}
.aurora span:nth-child(1) {
  background: #ff4fd8;
  top: -8%;
  left: -6%;
}
.aurora span:nth-child(2) {
  background: #3d6bff;
  right: -10%;
  top: 20%;
  animation-delay: -8s;
}
.aurora span:nth-child(3) {
  background: #7a2cff;
  left: 30%;
  bottom: -18%;
  animation-delay: -14s;
}
#magic {
  position: fixed;
  inset: 0;
  z-index: 15;
  width: 100%;
  height: 100%;
}
.spot {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 216, 0.18), rgba(61, 228, 255, 0.06) 42%, transparent 70%);
  mix-blend-mode: screen;
}
.cursor {
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  display: none;
}
html.magic-cursor .cursor { display: block; }
.cursor i, .cursor b {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor i {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(61, 228, 255, 0.9);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.55), inset 0 0 10px rgba(61, 228, 255, 0.35);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}
.cursor b {
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 12px var(--pink), 0 0 22px var(--cyan);
}
.cursor.hot i {
  width: 58px;
  height: 58px;
  border-color: var(--pink);
}

.nav, main, .footer { position: relative; z-index: 3; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 6vw;
  background: rgba(7, 1, 20, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Bricolage Grotesque", Outfit, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand img, .footer img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(255, 79, 216, 0.55);
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:hover { color: white; }
.nav-social { display: flex; gap: 8px; }
.chip, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.chip {
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}
.chip-pink { border-color: rgba(255, 79, 216, 0.45); }
.btn {
  padding: 12px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary {
  color: #1a0520;
  background: linear-gradient(100deg, var(--cyan), #fff 40%, var(--pink));
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(255, 79, 216, 0.28);
}
.btn-ghost:hover, .chip:hover { background: rgba(255, 255, 255, 0.1); }
.btn:hover { box-shadow: 0 10px 28px rgba(61, 228, 255, 0.2); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 6vw 28px;
  min-height: calc(100vh - 74px);
  overflow: clip;
}
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cyan);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  animation: blink 1.6s ease-in-out infinite;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", Outfit, sans-serif; letter-spacing: -0.045em; }
h1 {
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: 0.88;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(110deg, #9af7ff, #fff 28%, #ff7ae2 58%, #fff 78%, #7ef0ff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
.symbol {
  margin: 14px 0 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pink);
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 300;
}
.ca, .contract {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ca {
  margin-top: 8px;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 2, 22, 0.55);
  max-width: 460px;
  box-shadow: inset 0 0 24px rgba(61, 228, 255, 0.05);
}
.ca-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ca strong, .contract-addr {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.copy {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  color: #1a0520;
  font-weight: 600;
  background: linear-gradient(100deg, var(--cyan), var(--pink));
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.stage {
  position: relative;
  width: min(480px, 100%);
  margin-inline: auto;
  aspect-ratio: 1;
}
.halo {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--cyan), var(--pink), var(--violet), var(--cyan));
  animation: spin 16s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 61%, #000 63%, #000 68%, transparent 71%);
  mask: radial-gradient(circle, transparent 61%, #000 63%, #000 68%, transparent 71%);
  filter: drop-shadow(0 0 18px rgba(255, 79, 216, 0.45));
}
.rune {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  animation: spin 40s linear infinite;
  fill: rgba(214, 245, 255, 0.78);
  font-family: Outfit, sans-serif;
  font-size: 7.4px;
  letter-spacing: 2.4px;
}
.dog {
  position: absolute;
  inset: 14%;
  width: 72%;
  height: 72%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 40px rgba(255, 79, 216, 0.35);
}
.orbit {
  position: absolute;
  border-radius: 50%;
  animation: spin linear infinite;
}
.orbit img {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 22px rgba(61, 228, 255, 0.7);
}
.orbit-a { inset: -4%; animation-duration: 18s; }
.orbit-a img { top: 0; left: 50%; margin-left: -34px; }
.orbit-b { inset: 6%; animation-duration: 26s; animation-direction: reverse; }
.orbit-b img { bottom: 4%; right: 0; width: 54px; height: 54px; }
.orbit-c { inset: -12%; animation-duration: 34s; }
.orbit-c img { top: 58%; left: -2%; width: 48px; height: 48px; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

.section-head, .lore, .spec, .gallery, .send, .community { padding-inline: 6vw; }
.lore, .spec, .gallery, .send, .community { padding-top: 84px; }
.section-head h2, .join h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}
.sub { color: var(--muted); max-width: 38rem; }

.lore-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.lore-copy p { color: var(--muted); font-size: 1.05rem; }
.lore-copy strong { color: var(--cyan); }
.lore-copy em { color: var(--ink); font-style: normal; }
.lore-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.lore-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.lore-points span {
  color: var(--pink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
}
.banner-frame {
  margin: 0;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(61, 228, 255, 0.7), rgba(255, 79, 216, 0.7));
  box-shadow: var(--shadow);
}
.banner-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.banner-frame figcaption {
  padding: 10px 8px 4px;
  color: #1a0520;
  font-size: 0.85rem;
  font-weight: 600;
}

.spec-grid, .steps, .shots {
  display: grid;
  gap: 16px;
}
.spec-grid { grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.spec-grid .glass, .steps .glass { padding: 20px; }
.spec-grid span, .steps span {
  display: block;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.spec-grid strong {
  display: block;
  margin-top: 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}
.contract {
  margin-top: 16px;
  padding: 22px 24px;
}
.contract-addr {
  margin: 6px 0 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.shots { grid-template-columns: repeat(3, 1fr); perspective: 1000px; }
.shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #10061f;
  color: white;
  text-align: left;
  box-shadow: var(--shadow);
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shot span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 2, 20, 0.72);
  backdrop-filter: blur(8px);
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.03em;
}
.shot small { color: var(--cyan); }
.shot:hover img { transform: scale(1.05); }
.shot:hover { border-color: rgba(255, 79, 216, 0.6); }

.steps { grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.steps h3 { margin: 10px 0 6px; font-size: 1.5rem; }
.steps p { margin: 0; color: var(--muted); }

.join {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
}
.join img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 0 40px rgba(255, 79, 216, 0.35);
}
.join p { color: var(--muted); }

.footer {
  margin-top: 80px;
  padding: 28px 6vw 40px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer .fine { font-size: 0.85rem; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(4, 0, 12, 0.82);
  backdrop-filter: blur(10px);
}
.lightbox figure { margin: 0; }
.lightbox img {
  width: min(960px, 92vw);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption {
  text-align: center;
  margin-top: 10px;
  font-family: "Bricolage Grotesque", sans-serif;
}
.lightbox-close, .lightbox-nav {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-radius: 999px;
}
.lightbox-close { position: absolute; top: 18px; right: 18px; padding: 8px 14px; }
.lightbox-nav { width: 48px; height: 48px; font-size: 1.6rem; }
.lightbox[hidden] { display: none; }

.toast {
  position: fixed;
  z-index: 110;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #1a0520;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { animation: rise 0.8s ease both; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine {
  from { background-position: 0% 50%; }
  to { background-position: 220% 50%; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes drift {
  50% { transform: translate3d(6%, 8%, 0) scale(1.08); }
}
@keyframes blink {
  50% { opacity: 0.35; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero, .lore-grid, .spec-grid, .steps, .join { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-top: 28px; }
  .nav { flex-wrap: wrap; row-gap: 10px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; }
  .join img { width: 120px; height: 120px; }
}
@media (max-width: 680px) {
  .shots { grid-template-columns: 1fr; }
  .nav { padding-inline: 16px; }
  .hero, .section-head, .lore, .spec, .gallery, .send, .community, .footer { padding-inline: 16px; }
  .nav-social .chip { padding-inline: 8px; font-size: 0.78rem; }
  h1 { font-size: 3.4rem; }
  .stage { width: min(420px, 78%); }
  .orbit-a { inset: 0; }
  .orbit-c { inset: -4%; }
  .orbit img { width: 48px; height: 48px; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox-nav { display: none; }
}

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