:root {
  --bg: #070401;
  --bg-2: #120a04;
  --gold: #f6c453;
  --gold-2: #ffb020;
  --ember: #ff7a18;
  --glow: #ffd789;
  --sol: #14f195;
  --text: #fff6e8;
  --muted: #cbb79a;
  --line: rgba(246, 196, 83, 0.28);
  --card: rgba(18, 10, 4, 0.72);
  --display: "Cinzel", serif;
  --serif: "Cormorant Garamond", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  cursor: none;
  overflow-x: hidden;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(255, 122, 24, 0.18), transparent 55%),
    radial-gradient(800px 420px at 92% 6%, rgba(246, 196, 83, 0.12), transparent 50%),
    linear-gradient(180deg, #120804 0%, var(--bg) 38%, #040200 100%);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 215, 137, 0.16) 1px, transparent 1px),
    radial-gradient(rgba(255, 122, 24, 0.1) 1px, transparent 1px);
  background-size: 48px 48px, 92px 92px;
  background-position: 0 0, 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 28%, transparent 78%);
  z-index: 0;
}

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

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

button {
  cursor: none;
}

#stars,
#spark {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#spark {
  z-index: 45;
}

.veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 36;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(0, 0, 0, 0.08) 3px 4px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 460px;
  height: 460px;
  background: rgba(255, 122, 24, 0.22);
  top: -90px;
  left: -80px;
}

.orb-b {
  width: 380px;
  height: 380px;
  background: rgba(246, 196, 83, 0.16);
  right: -100px;
  bottom: 8%;
  animation-delay: -8s;
}

.orb-c {
  width: 240px;
  height: 240px;
  background: rgba(20, 241, 149, 0.08);
  left: 40%;
  top: 55%;
  animation-delay: -4s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(36px, 28px) scale(1.14); }
}

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

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--glow);
  box-shadow: 0 0 16px var(--gold), 0 0 28px var(--ember);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(246, 196, 83, 0.75);
  box-shadow: 0 0 18px rgba(255, 122, 24, 0.25);
  transition: width 0.18s, height 0.18s, background 0.18s, border-color 0.18s;
}

body.is-hover .cursor-ring {
  width: 58px;
  height: 58px;
  background: rgba(246, 196, 83, 0.1);
  border-color: var(--glow);
}

.nav,
main,
footer {
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 7vw;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 4, 1, 0.72);
}

.nav-buy {
  white-space: nowrap;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 13px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 22px rgba(255, 122, 24, 0.45);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold-2), var(--ember));
  color: #1a0d04;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(255, 122, 24, 0.4);
}

.btn-solid:hover {
  box-shadow: 0 0 44px rgba(246, 196, 83, 0.7);
}

.btn-ghost {
  border-color: rgba(246, 196, 83, 0.4);
}

.btn-ghost:hover {
  border-color: var(--glow);
  color: var(--glow);
  box-shadow: 0 0 24px rgba(246, 196, 83, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 56px 7vw 36px;
}

.kicker,
.eyebrow,
.status,
.tick small,
.panel-label,
figcaption,
.section-note,
.disclaimer {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker,
.status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--gold);
  font-family: var(--mono);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.92;
  margin: 16px 0 22px;
}

h1 em,
h2 em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--gold);
  text-shadow: 0 0 28px rgba(246, 196, 83, 0.35);
}

.lede {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
  font-family: var(--serif);
}

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

.status .sep {
  opacity: 0.4;
}

.hero-stage {
  position: relative;
  min-height: min(560px, 78vw);
  display: grid;
  place-items: center;
}

.sigil,
.hero-logo,
.hero-cut,
.runes,
.hero-caption {
  grid-area: 1 / 1;
}

.sigil {
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(246, 196, 83, 0.35);
  box-shadow:
    0 0 80px rgba(255, 122, 24, 0.22),
    inset 0 0 80px rgba(246, 196, 83, 0.08);
  animation: spin 32s linear infinite;
}

.sigil.delay {
  width: 68%;
  border-style: dashed;
  animation-duration: 22s;
  animation-direction: reverse;
}

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

.runes {
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  color: rgba(255, 215, 137, 0.55);
  animation: spin 48s linear infinite;
  pointer-events: none;
}

.hero-logo {
  width: 46%;
  border-radius: 50%;
  z-index: 2;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 10px rgba(7, 4, 1, 0.55),
    0 0 70px rgba(255, 122, 24, 0.55);
  animation: breathe 4.8s ease-in-out infinite;
}

.hero-cut {
  width: 28%;
  z-index: 3;
  justify-self: end;
  align-self: end;
  margin: 0 6% 8% 0;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(255, 122, 24, 0.45));
  animation: floaty 5.4s ease-in-out infinite;
}

.hero-caption {
  align-self: end;
  justify-self: center;
  margin-bottom: 0;
  z-index: 4;
  color: var(--gold);
  font-family: var(--mono);
}

@keyframes breathe {
  0%, 100% { transform: scale(1); filter: saturate(1.05); }
  50% { transform: scale(1.035); filter: saturate(1.2); }
}

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

.banner-band {
  margin: 8px 7vw 0;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 122, 24, 0.2);
}

.banner-band img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.15) contrast(1.05);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
  padding: 12px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: scroll 28s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.28em;
  color: var(--gold);
  font-size: 13px;
  white-space: nowrap;
}

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

.ticker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.tick {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
}

.tick:last-child { border-right: none; }

.tick b {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 18px;
  font-family: var(--display);
}

.about,
.archive,
.social-feed,
.token,
.community {
  padding: 96px 7vw;
}

.about-grid,
.token-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.eyebrow {
  color: var(--gold);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  margin: 0 0 24px;
  line-height: 1.05;
}

.about-copy p,
.token-copy p,
.community p,
.card p,
.regulars p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
  font-family: var(--serif);
}

blockquote {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  font-family: var(--display);
  color: var(--glow);
  font-size: 18px;
  box-shadow: -12px 0 30px rgba(255, 122, 24, 0.08);
}

.file-card,
.panel,
.card,
.regulars article {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 24px;
  box-shadow: 0 0 40px rgba(255, 122, 24, 0.08);
}

.file-card dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.file-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(246, 196, 83, 0.12);
  padding-bottom: 8px;
}

.file-card dt {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.file-card dd {
  margin: 0;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 13px;
}

.traits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 7vw 40px;
}

.card {
  min-height: 220px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--glow);
  box-shadow: 0 0 40px rgba(255, 122, 24, 0.22);
}

.card small {
  color: var(--gold);
  font-family: var(--mono);
}

.card h3 {
  font-size: 26px;
  margin: 16px 0 12px;
}

.section-note {
  margin-top: -8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
  border-color: var(--glow);
  box-shadow: 0 0 36px rgba(255, 122, 24, 0.4);
}

.span-wide {
  grid-column: span 3;
}

.span-wide img {
  aspect-ratio: 16 / 7;
}

figcaption {
  margin-top: 8px;
}

.social-feed {
  text-align: center;
}

.social-feed .section-note {
  max-width: 62ch;
  margin: 0 auto;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 40px auto 0;
  align-items: stretch;
}

.feed-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 122, 24, 0.08);
}

.feed-card h3 {
  margin: 8px 0 10px;
  font-size: 22px;
}

.feed-card p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  margin: 0 0 8px;
}

.feed-embed {
  width: 100%;
  max-width: 420px;
  margin: 18px auto 22px;
  min-height: 540px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feed-embed blockquote {
  margin: 0 auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.feed-embed iframe {
  max-width: 100% !important;
}

.regulars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 7vw 40px;
}

.regulars h3 {
  margin: 8px 0 10px;
  font-size: 22px;
}

.regulars small {
  color: var(--gold);
  letter-spacing: 0.16em;
}

.token-copy ul,
.buy-steps ol {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.token-copy li,
.buy-steps li {
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 13px;
}

.buy-steps ol {
  counter-reset: step;
}

.buy-steps li {
  counter-increment: step;
}

.buy-steps li::before {
  content: "0" counter(step) " · ";
  color: var(--gold);
}

.panel {
  display: grid;
  gap: 16px;
}

.panel code {
  font-size: 22px;
  color: var(--gold);
  word-break: break-all;
  text-shadow: 0 0 18px rgba(246, 196, 83, 0.35);
}

.copied {
  color: var(--sol);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

footer {
  border-top: 1px solid var(--line);
  padding: 40px 7vw 28px;
  display: grid;
  gap: 18px;
}

.foot-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.foot-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 20px rgba(255, 122, 24, 0.4);
}

.foot-brand p,
.copy {
  color: var(--muted);
  font-size: 13px;
  font-family: var(--serif);
}

.foot-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot-links a:hover { color: var(--glow); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 4, 1, 0.9);
  display: grid;
  place-items: center;
  z-index: 70;
  padding: 40px;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 0 80px rgba(255, 122, 24, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 36px;
}

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero,
  .about-grid,
  .token-grid,
  .traits,
  .regulars,
  .gallery-grid,
  .ticker,
  .feed-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .ticker .tick { border-right: none; border-bottom: 1px solid var(--line); }
  .span-wide { grid-column: auto; }
  .span-wide img { aspect-ratio: 4 / 5; }
  .hero-cut { width: 34%; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .nav { padding: 12px 5vw; }
}

@media (pointer: coarse) {
  body,
  button { cursor: auto; }
  .cursor-dot,
  .cursor-ring { display: none; }
}

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