:root {
  color-scheme: dark;
  --void: #050606;
  --obsidian: #0a0d0d;
  --onyx: #101413;
  --carbon: #171d1a;
  --glass: rgba(16, 20, 19, 0.72);
  --glass-strong: rgba(22, 28, 25, 0.9);
  --platinum: #f5f1df;
  --pearl: #cbc6b8;
  --muted: rgba(245, 241, 223, 0.68);
  --dim: rgba(245, 241, 223, 0.44);
  --signal: #c8ff00;
  --signal-soft: #e6ff7c;
  --cyan: #7df8ff;
  --champagne: #d8bb72;
  --ember: #ff5c38;
  --line: rgba(245, 241, 223, 0.14);
  --line-strong: rgba(200, 255, 0, 0.38);
  --shadow: rgba(0, 0, 0, 0.52);
  --max: 1320px;
}

@keyframes railPulse {
  0%,
  100% {
    transform: scaleY(0.7);
    opacity: 0.42;
  }

  50% {
    transform: scaleY(1);
    opacity: 0.95;
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-115%) skewX(-12deg);
  }

  100% {
    transform: translateX(115%) skewX(-12deg);
  }
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(200, 255, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(125, 248, 255, 0.1), transparent 50%),
    linear-gradient(90deg, rgba(245, 241, 223, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(245, 241, 223, 0.038) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--void);
  color: var(--platinum);
  font-family:
    "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 6, 0.08), rgba(5, 6, 6, 0.88) 78%),
    linear-gradient(90deg, transparent 0 49%, rgba(200, 255, 0, 0.14) 49.4% 49.7%, transparent 50%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(transparent 0 96%, rgba(245, 241, 223, 0.06) 96% 100%) 0 0 / 100% 9px;
  mix-blend-mode: screen;
  opacity: 0.24;
}

.signal-rails {
  position: fixed;
  right: clamp(10px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  z-index: 1;
  display: flex;
  gap: 9px;
  align-items: end;
  height: 32vh;
  pointer-events: none;
  opacity: 0.8;
}

.signal-rails span {
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--signal) 52%, transparent);
  box-shadow: 0 0 20px rgba(125, 248, 255, 0.38), 0 0 30px rgba(200, 255, 0, 0.3);
  transform-origin: bottom;
  animation: railPulse 2.8s steps(4, end) infinite;
}

.signal-rails span:nth-child(2) {
  height: 64%;
  animation-delay: 0.22s;
}

.signal-rails span:nth-child(3) {
  height: 42%;
  animation-delay: 0.44s;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  min-height: 64px;
  padding: 8px clamp(16px, 3vw, 40px);
  background: rgba(5, 6, 6, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.35);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.wallet-chip {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(200, 255, 0, 0.35);
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.08);
  color: var(--signal-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.wallet-chip:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(125, 248, 255, 0.2);
}

.wallet-chip.is-connected {
  background: rgba(125, 248, 255, 0.1);
  border-color: rgba(125, 248, 255, 0.45);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.02em;
}

.site-header::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: -1px;
  width: min(360px, 44vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--signal), var(--cyan));
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(148px, 34vw);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(200, 255, 0, 0.16));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(200, 255, 0, 0.3));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  padding: 0 2px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--platinum);
  border-color: var(--signal);
}

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

.hero {
  width: min(100%, var(--max));
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 440px);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 92px) clamp(18px, 4vw, 56px) 42px;
}

.hero-copy {
  max-width: 640px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-logo {
  display: block;
  width: min(100%, 380px);
  height: auto;
  max-width: 100%;
  margin: 0 0 12px;
  object-fit: contain;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.55));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 0.94;
  font-family: "Syne", "Space Grotesk", sans-serif;
}

h1::after {
  content: none;
}

h2 {
  color: var(--platinum);
  font-size: 4.6rem;
  text-transform: uppercase;
}

.lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.58;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.hero-art-meta button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button::after,
.hero-art-meta button::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-115%) skewX(-12deg);
}

.button:hover,
.hero-art-meta button:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 248, 255, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36), 0 0 24px rgba(125, 248, 255, 0.18);
}

.button:hover::after,
.hero-art-meta button:hover::after {
  animation: sheen 760ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--platinum), var(--signal-soft) 62%, var(--signal));
  color: var(--void);
  border-color: rgba(245, 241, 223, 0.5);
}

.button.secondary,
.hero-art-meta button {
  background: rgba(245, 241, 223, 0.06);
  color: var(--platinum);
}

.button.mint {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.92), var(--signal));
  color: var(--void);
  border-color: rgba(200, 255, 0, 0.55);
  box-shadow: 0 0 28px rgba(200, 255, 0, 0.18);
}

a.button {
  text-decoration: none;
}

.button.mint:disabled,
.button.mint.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 156px));
  gap: 10px;
  max-width: 560px;
  margin: 36px 0 0;
}

.stats div {
  min-height: 92px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(245, 241, 223, 0.08), rgba(245, 241, 223, 0.035));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stats dt {
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.stats dd {
  margin: 8px 0 0;
  color: var(--platinum);
  font-size: 24px;
  font-weight: 950;
}

.stats div:first-child dd {
  color: var(--signal);
}

.hero-art {
  align-self: center;
  min-width: 0;
  max-width: 440px;
  justify-self: end;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% -10% 10% 8%;
  z-index: -1;
  border: 1px solid rgba(125, 248, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(125, 248, 255, 0.08), transparent),
    linear-gradient(180deg, rgba(200, 255, 0, 0.06), transparent);
  transform: skewY(-4deg);
}

.hero-art img {
  width: 100%;
  max-height: min(66vh, 620px);
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: crisp-edges;
  border: 1px solid rgba(245, 241, 223, 0.34);
  border-radius: 8px;
  background: var(--obsidian);
  box-shadow:
    0 0 0 8px rgba(245, 241, 223, 0.035),
    0 28px 80px var(--shadow),
    0 0 70px rgba(200, 255, 0, 0.22);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.hero-art img.is-loading {
  opacity: 0.68;
}

.hero-art:hover img {
  transform: translateY(-4px) scale(1.018);
  filter: saturate(1.14) contrast(1.05);
  box-shadow:
    0 0 0 8px rgba(125, 248, 255, 0.06),
    0 34px 96px rgba(0, 0, 0, 0.62),
    0 0 86px rgba(200, 255, 0, 0.3);
}

.hero-art-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: var(--platinum);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-art-meta span {
  padding-left: 14px;
  border-left: 2px solid var(--signal);
}

.hero-art-meta button {
  min-height: 40px;
}

.hero-art-meta button:disabled {
  cursor: progress;
  opacity: 0.58;
}

.ticker-band {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 223, 0.055);
  color: var(--platinum);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.ticker-band span {
  flex: 0 0 auto;
  position: relative;
}

.ticker-band span::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(200, 255, 0, 0.48);
  transform: translateY(-50%) rotate(45deg);
}

.collection-section,
.trait-section,
.mint-section,
.game-section,
.roadmap-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.roadmap-section {
  padding-top: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-step {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(245, 241, 223, 0.04);
  opacity: 0.55;
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.roadmap-step.is-active {
  opacity: 1;
}

.roadmap-step.is-current {
  border-color: var(--line-strong);
  box-shadow: 0 0 32px rgba(200, 255, 0, 0.12);
  background: linear-gradient(145deg, rgba(200, 255, 0, 0.08), rgba(125, 248, 255, 0.03));
}

.roadmap-index {
  color: var(--champagne);
  font-size: 11px;
  font-weight: 900;
}

.roadmap-step h3 {
  margin: 0;
  color: var(--platinum);
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.roadmap-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.mint-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 20px;
}

.mint-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mint-steps li {
  padding: 6px 10px;
  border: 1px solid rgba(200, 255, 0, 0.22);
  border-radius: 999px;
  color: var(--signal-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mint-aside {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 6, 6, 0.45);
}

.mint-aside h3 {
  margin: 0 0 12px;
  color: var(--champagne);
  font-size: 12px;
  text-transform: uppercase;
}

.mint-aside ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.game-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(20px, 4vw, 32px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(125, 248, 255, 0.06), rgba(200, 255, 0, 0.04)),
    rgba(5, 6, 6, 0.55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.game-lead {
  margin: 0 0 18px;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.game-lead strong {
  color: var(--signal-soft);
}

.game-window {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(125, 248, 255, 0.22);
  border-radius: 10px;
  background: rgba(125, 248, 255, 0.05);
}

.game-window-label {
  margin: 0;
  color: var(--champagne);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-countdown {
  margin: 0;
  color: var(--platinum);
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
}

.game-countdown.is-live {
  color: var(--cyan);
}

.game-video-wrap {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.game-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(245, 241, 223, 0.2);
  border-radius: 10px;
  background: #000;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

.game-video-caption {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
}

.stats--roadmap dd {
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.2;
}

.stats--roadmap dd.is-live {
  color: var(--signal);
}

.lede strong {
  color: var(--signal-soft);
}

.mint-panel {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(200, 255, 0, 0.08), rgba(125, 248, 255, 0.03)),
    rgba(5, 6, 6, 0.55);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.mint-panel-copy {
  display: grid;
  gap: 18px;
}

.mint-lead {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.mint-lead strong {
  color: var(--signal-soft);
}

.mint-supply {
  margin: 0;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contract-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(125, 248, 255, 0.22);
  border-radius: 8px;
  background: rgba(125, 248, 255, 0.05);
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contract-address span {
  color: var(--champagne);
}

.contract-address a {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  overflow-wrap: anywhere;
}

.copy-ca {
  min-height: 30px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid rgba(200, 255, 0, 0.28);
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.08);
  color: var(--signal-soft);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.mint-window {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 255, 0, 0.22);
  border-radius: 10px;
  background: rgba(200, 255, 0, 0.05);
}

.mint-window-label {
  margin: 0;
  color: var(--champagne);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mint-countdown {
  margin: 0;
  color: var(--platinum);
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mint-countdown.is-live {
  color: var(--signal);
}

.mint-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mint-status {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
}

.mint-status.is-error {
  color: var(--ember);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.result-count {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(150px, 220px) minmax(220px, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 6, 0.42);
  backdrop-filter: blur(18px);
}

.toolbar label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.toolbar span {
  color: var(--champagne);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.toolbar select,
.toolbar input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(245, 241, 223, 0.16);
  border-radius: 8px;
  background: rgba(245, 241, 223, 0.07);
  color: var(--platinum);
  padding: 0 13px;
  outline: none;
}

.toolbar select {
  color-scheme: dark;
}

.toolbar input::placeholder {
  color: rgba(245, 241, 223, 0.42);
}

.toolbar input:focus,
.toolbar select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(125, 248, 255, 0.14);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(194px, 1fr));
  gap: 16px;
}

.nft-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  background: linear-gradient(145deg, rgba(245, 241, 223, 0.082), rgba(245, 241, 223, 0.035));
  border: 1px solid rgba(245, 241, 223, 0.13);
  border-radius: 8px;
  box-shadow: 0 18px 54px var(--shadow);
  cursor: pointer;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
  will-change: transform;
}

.nft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  pointer-events: none;
}

.nft-card:hover,
.nft-card.is-selected {
  background: linear-gradient(145deg, rgba(200, 255, 0, 0.12), rgba(125, 248, 255, 0.04));
  border-color: var(--line-strong);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.58), 0 0 42px rgba(200, 255, 0, 0.18);
}

.nft-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: crisp-edges;
  border: 1px solid rgba(245, 241, 223, 0.12);
  border-radius: 6px;
  background: var(--signal);
  transition: transform 190ms ease, filter 190ms ease;
}

.nft-card:hover img,
.nft-card.is-selected img {
  transform: scale(1.04);
  filter: saturate(1.18) contrast(1.05);
}

.nft-card h3 {
  margin: 0;
  color: var(--platinum);
  font-size: 15px;
  line-height: 1.25;
}

.rarity-badge {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 223, 0.18);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rarity-badge.rarity-legendary {
  background: rgba(216, 187, 114, 0.18);
  border-color: rgba(216, 187, 114, 0.45);
  color: var(--champagne);
}

.rarity-badge.rarity-rare {
  background: rgba(125, 248, 255, 0.12);
  border-color: rgba(125, 248, 255, 0.35);
  color: var(--cyan);
}

.rarity-badge.rarity-uncommon {
  background: rgba(200, 255, 0, 0.1);
  border-color: rgba(200, 255, 0, 0.32);
  color: var(--signal-soft);
}

.rarity-badge.rarity-core,
.rarity-badge.rarity-common {
  background: rgba(245, 241, 223, 0.06);
  color: var(--muted);
}

.nft-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.nft-card a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 241, 223, 0.15);
  border-radius: 7px;
  color: var(--signal-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trait-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.trait-group {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(245, 241, 223, 0.075), rgba(245, 241, 223, 0.032));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.trait-group h3 {
  margin: 0 0 14px;
  color: var(--champagne);
  font-size: 14px;
  text-transform: uppercase;
}

.trait-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  border-top: 1px solid rgba(245, 241, 223, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.trait-row:first-of-type {
  border-top: 0;
}

.trait-row span:first-child {
  overflow-wrap: anywhere;
}

.trait-row span:last-child {
  color: var(--platinum);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 6, 0.62);
}

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

.footer p {
  margin: 0;
}

.footer a {
  color: var(--signal-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.nav a[href^="https://x.com"] {
  color: var(--platinum);
}

@media (max-width: 860px) {
  .section-heading,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px 12px;
    min-height: 58px;
    padding-block: 8px;
  }

  .brand-logo {
    height: 40px;
    max-width: 120px;
  }

  .nav {
    justify-content: flex-start;
    gap: 4px 10px;
    font-size: 10px;
  }

  .wallet-chip {
    padding: 0 10px;
    font-size: 10px;
    min-height: 32px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-logo {
    width: min(100%, 300px);
  }

  .hero-art {
    justify-self: stretch;
    max-width: min(420px, 100%);
    min-height: 0;
  }

  h2 {
    font-size: 3.5rem;
  }

  .hero-art {
    min-height: 0;
  }

  .hero-actions .button {
    flex: 1 1 220px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .roadmap {
    grid-template-columns: 1fr 1fr;
  }

  .mint-panel-grid,
  .game-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
    padding-inline: 14px;
  }

  .nav {
    gap: 2px 8px;
    font-size: 9px;
  }

  .nav a {
    padding: 0;
  }

  .wallet-chip {
    padding: 0 8px;
    font-size: 9px;
  }

  h2 {
    font-size: 2.7rem;
  }

  .brand-logo {
    height: 36px;
    max-width: 104px;
  }

  .hero-logo {
    width: min(100%, 260px);
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-copy,
  .lede,
  .hero-actions,
  .stats,
  .hero-art {
    width: 100%;
    max-width: min(350px, calc(100vw - 40px));
  }

  .lede {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .roadmap {
    grid-template-columns: 1fr;
  }

  .signal-rails {
    opacity: 0.34;
  }

  .nft-card {
    padding: 8px;
  }

  .nft-card h3 {
    font-size: 13px;
  }

  .nft-card p {
    font-size: 11px;
  }
}

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