:root {
  color-scheme: dark;
  --bg: #050815;
  --bg-soft: rgba(11, 16, 35, 0.84);
  --panel: rgba(11, 16, 35, 0.68);
  --panel-strong: rgba(16, 22, 45, 0.92);
  --line: rgba(113, 182, 255, 0.18);
  --line-strong: rgba(126, 236, 255, 0.42);
  --text: #f7f5ff;
  --muted: #b1b8d8;
  --cyan: #59e8ff;
  --violet: #aa63ff;
  --rose: #ff4fd8;
  --green: #59ffbf;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(89, 232, 255, 0.14), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(255, 79, 216, 0.12), transparent 25%),
    linear-gradient(180deg, #060817 0%, #03050e 60%, #050614 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(89, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 232, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 80%);
  opacity: 0.22;
}

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

button,
a,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  top: 10%;
  left: -8%;
  width: 26rem;
  height: 26rem;
  background: rgba(89, 232, 255, 0.18);
}

.ambient-two {
  top: 32%;
  right: -12%;
  width: 30rem;
  height: 30rem;
  background: rgba(255, 79, 216, 0.16);
}

.section,
.topbar,
.site-footer,
.toast,
.detail-modal {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  width: var(--content);
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 11, 26, 0.56);
  border: 1px solid rgba(130, 158, 255, 0.18);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(2, 4, 12, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(89, 232, 255, 0.9), rgba(170, 99, 255, 0.62) 45%, rgba(255, 79, 216, 0.88));
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, 0.28),
    0 0 24px rgba(89, 232, 255, 0.36);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.eyebrow,
.feature-kicker,
.timeline-phase {
  font-family: "Orbitron", sans-serif;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.14em;
}

.brand-copy span {
  font-size: 0.76rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.nav-cta,
.button {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.nav-cta::after,
.button::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -40%;
  width: 28%;
  height: 320%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: transform 360ms ease;
}

.nav-cta:hover::after,
.button:hover::after {
  transform: translateX(340%) rotate(24deg);
}

.nav-cta,
.button-primary {
  padding: 12px 18px;
  color: #06101e;
  background: linear-gradient(135deg, var(--cyan), #baf9ff 46%, #b684ff 90%);
  box-shadow: 0 10px 26px rgba(89, 232, 255, 0.26);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(152, 163, 222, 0.22);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.section {
  width: var(--content);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 110px);
  padding: 88px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 34px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.86rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-text,
.section-heading p,
.artist-card p,
.timeline-item p,
.cta-card p,
.site-footer p,
.modal-description,
#modal-creator {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-signal,
.feature-card,
.floating-note,
.stat-card,
.controls,
.artist-card,
.timeline-item,
.cta-card,
.site-footer,
.detail-modal,
.nft-card,
.sort-wrap select {
  border: 1px solid rgba(126, 236, 255, 0.14);
  background: linear-gradient(180deg, rgba(10, 15, 33, 0.78), rgba(9, 12, 25, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-signal {
  margin-top: 26px;
  max-width: 360px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.hero-signal span,
.hero-signal small {
  display: block;
  color: var(--muted);
}

.hero-signal strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 1.12rem;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(6, 8, 23, 0.24), rgba(6, 8, 23, 0.84)),
    url("./assets/brand/neon-vault/hero-vault-bg.jpg") center/cover no-repeat;
  border: 1px solid rgba(114, 157, 255, 0.16);
  overflow: hidden;
}

.hero-stage-glow {
  position: absolute;
  inset: 14% 14% auto auto;
  width: 44%;
  height: 34%;
  background: radial-gradient(circle, rgba(89, 232, 255, 0.22), transparent 72%);
  filter: blur(14px);
}

.feature-card {
  position: relative;
  margin: 120px 34px 0 auto;
  width: min(100%, 430px);
  padding: 22px;
  border-radius: 32px;
}

.feature-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(89, 232, 255, 0.16), transparent 60%), #050815;
}

.feature-media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.feature-sculpture {
  aspect-ratio: 4 / 5;
  width: 100%;
  background:
    radial-gradient(circle at 50% 24%, rgba(89, 232, 255, 0.3), transparent 22%),
    radial-gradient(circle at 50% 48%, rgba(255, 79, 216, 0.26), transparent 34%),
    linear-gradient(160deg, #030712 0%, #0f1536 40%, #050811 100%);
  position: relative;
}

.feature-sculpture::before,
.feature-sculpture::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-sculpture::before {
  top: 8%;
  width: 64%;
  height: 82%;
  border-radius: 40% 40% 38% 38% / 24% 24% 58% 58%;
  box-shadow:
    inset 0 0 34px rgba(89, 232, 255, 0.22),
    0 0 40px rgba(146, 109, 255, 0.16);
}

.feature-sculpture::after {
  top: 28%;
  width: 20%;
  height: 36%;
  border-radius: 44% 44% 60% 60% / 28% 28% 72% 72%;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(180deg, rgba(89, 232, 255, 0.26), rgba(255, 79, 216, 0.14));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.rarity-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 22, 0.76);
}

.rarity-legendary,
.rarity[data-rarity="Legendary"] {
  box-shadow: 0 0 22px rgba(89, 232, 255, 0.3);
  color: var(--cyan);
}

.rarity[data-rarity="Mythic"] {
  color: #ff8ef2;
}

.rarity[data-rarity="Epic"] {
  color: #d1a6ff;
}

.rarity[data-rarity="Rare"] {
  color: #7dffd3;
}

.rarity[data-rarity="Common"] {
  color: #d0d6f7;
}

.feature-meta {
  display: grid;
  gap: 18px;
  padding-top: 20px;
}

.feature-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-meta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.feature-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.feature-stats div,
.modal-specs article,
.artist-card dl div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.feature-stats dt,
.modal-specs span,
.artist-card dt,
.stat-card span,
.timeline-phase {
  font-size: 0.82rem;
  color: var(--muted);
}

.feature-stats dd,
.modal-specs strong,
.artist-card dd {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.floating-note {
  position: absolute;
  left: 0;
  bottom: 36px;
  width: min(290px, 88%);
  padding: 18px 20px;
  border-radius: 22px;
}

.floating-note span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
}

.floating-note strong {
  display: block;
  margin-bottom: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 14px 0 34px;
}

.stat-card {
  padding: 24px;
  border-radius: 26px;
}

.stat-card strong {
  display: block;
  margin: 16px 0 12px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.stat-card small {
  color: var(--muted);
}

.collection-section,
.artists-section,
.roadmap-section {
  padding-top: 56px;
}

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

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-heading p {
  max-width: 52ch;
  margin: 0;
}

.controls {
  padding: 18px;
  border-radius: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-button {
  border: 1px solid rgba(168, 180, 237, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px 16px;
  cursor: pointer;
  transition: all 180ms ease;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--text);
  border-color: rgba(89, 232, 255, 0.42);
  box-shadow: 0 0 24px rgba(89, 232, 255, 0.18);
  background: rgba(89, 232, 255, 0.08);
}

.sort-wrap {
  display: grid;
  gap: 8px;
  color: var(--muted);
  min-width: 220px;
}

.sort-wrap select {
  width: 100%;
  appearance: none;
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--text);
  outline: none;
}

.collection-shell {
  position: relative;
  min-height: 540px;
  margin-top: 24px;
}

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

.skeleton-card,
.nft-card {
  min-height: 404px;
  border-radius: 28px;
}

.skeleton-card {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  background-size: 240% 100%;
  animation: shimmer 1.7s infinite linear;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.nft-card {
  padding: 16px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nft-card:hover {
  transform: translateY(-10px);
  border-color: rgba(89, 232, 255, 0.34);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(89, 232, 255, 0.12);
}

.card-art {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.26), transparent 20%),
    radial-gradient(circle at 78% 20%, rgba(89, 232, 255, 0.32), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 79, 216, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(49, 78, 137, 0.9), rgba(24, 13, 61, 0.96));
}

.card-art::before,
.card-art::after {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 26% 74% 62% 38% / 44% 40% 60% 56%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(12deg);
}

.card-art::after {
  inset: auto 14% 16% auto;
  width: 42%;
  height: 42%;
  border-radius: 42% 58% 60% 40% / 30% 34% 66% 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  filter: blur(0.4px);
}

.card-art.art-avatar {
  background:
    radial-gradient(circle at 50% 50%, rgba(89, 232, 255, 0.34), transparent 36%),
    linear-gradient(145deg, #14153c, #1e0f3c 42%, #051426 100%);
}

.card-art.art-avatar::before {
  inset: 18% 24%;
  border-radius: 36% 36% 44% 44% / 32% 32% 52% 52%;
  box-shadow: inset 0 0 24px rgba(89, 232, 255, 0.24);
}

.card-art.art-avatar::after {
  inset: auto 31% 14%;
  width: 38%;
  height: 24%;
}

.card-art.art-game {
  background:
    radial-gradient(circle at 50% 20%, rgba(89, 232, 255, 0.2), transparent 28%),
    linear-gradient(160deg, #11102b 10%, #01223d 52%, #08101a 100%);
}

.card-art.art-game::before {
  inset: 18% 18%;
  border-radius: 18px;
  transform: rotate(24deg);
}

.card-art.art-game::after {
  inset: 18% 44%;
  width: 12%;
  height: 60%;
  border-radius: 999px;
}

.card-art.art-planet {
  background:
    radial-gradient(circle at 46% 40%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(89, 232, 255, 0.22), transparent 34%),
    linear-gradient(145deg, #1c1042 4%, #0a2548 54%, #060a19 100%);
}

.card-art.art-planet::before {
  inset: 18%;
  border-radius: 50%;
  box-shadow:
    0 0 26px rgba(89, 232, 255, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.card-art.art-planet::after {
  inset: 42% 12% auto;
  width: auto;
  height: 18%;
  border-radius: 999px;
  border-width: 2px;
  transform: rotate(-14deg);
}

.card-art.art-rose {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 79, 216, 0.2), transparent 30%),
    radial-gradient(circle at 32% 22%, rgba(89, 232, 255, 0.2), transparent 24%),
    linear-gradient(145deg, #1d0d2c 12%, #23114b 56%, #081321 100%);
}

.card-art.art-rose::before {
  inset: 18% 26%;
  border-radius: 54% 46% 58% 42% / 22% 24% 76% 78%;
  transform: rotate(22deg);
}

.card-art.art-rose::after {
  inset: 18% 49% 14% auto;
  width: 5px;
  height: auto;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(89, 232, 255, 0.84), rgba(255, 79, 216, 0.2));
  border: 0;
}

.card-art.art-music {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 79, 216, 0.24), transparent 28%),
    radial-gradient(circle at 74% 72%, rgba(89, 232, 255, 0.28), transparent 24%),
    linear-gradient(140deg, #1b1034, #10173f 56%, #06111d);
}

.card-art.art-music::before {
  inset: 16% 22%;
  border-radius: 50% 50% 14px 14px;
}

.card-topline,
.card-footer,
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-meta {
  align-items: start;
}

.card-meta h3 {
  margin: 0 0 6px;
  font-size: 1.14rem;
}

.card-meta p,
.card-footer span,
.like-count {
  margin: 0;
  color: var(--muted);
}

.price-tag {
  min-width: fit-content;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.card-footer .button {
  min-height: 44px;
  padding: 0 18px;
}

.empty-state {
  margin-top: 10px;
  padding: 42px 24px;
  text-align: center;
  border-radius: 28px;
  border: 1px dashed rgba(89, 232, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

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

.artist-card {
  padding: 24px;
  border-radius: 28px;
}

.artist-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: #fff;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(89, 232, 255, 0.18);
}

.avatar-aurora {
  background: linear-gradient(135deg, #54efff, #8b7cff, #ff58d0);
}

.avatar-metaluna {
  background: linear-gradient(135deg, #7df0ff, #557cff, #6d3fff);
}

.avatar-knode {
  background: linear-gradient(135deg, #36ffd2, #00b0ff, #8b56ff);
}

.avatar-novaink {
  background: linear-gradient(135deg, #ff8bd7, #a95cff, #5ae3ff);
}

.artist-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.artist-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}

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

.timeline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(89, 232, 255, 0.2), rgba(255, 79, 216, 0.54), rgba(89, 232, 255, 0.2));
}

.timeline-item {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 28px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--rose));
  box-shadow: 0 0 22px rgba(89, 232, 255, 0.4);
}

.timeline-phase {
  display: block;
  padding-left: 28px;
  margin-bottom: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.cta-section {
  padding: 64px 0 92px;
}

.cta-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(5, 10, 22, 0.64), rgba(6, 10, 22, 0.92)),
    url("./assets/brand/neon-vault/hero-vault-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

.cta-card h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 14px;
}

.cta-card p {
  max-width: 56ch;
}

.site-footer {
  width: var(--content);
  margin: 0 auto 34px;
  padding: 26px 24px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 18px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120%);
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(12, 18, 36, 0.94);
  border: 1px solid rgba(89, 232, 255, 0.24);
  color: var(--text);
  transition: transform 240ms ease, opacity 240ms ease;
  opacity: 0;
}

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

.detail-modal {
  width: min(980px, calc(100vw - 28px));
  padding: 0;
  border-radius: 32px;
  color: var(--text);
}

.detail-modal::backdrop {
  background: rgba(4, 5, 14, 0.82);
  backdrop-filter: blur(12px);
}

.detail-modal[open] {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  z-index: 2;
}

.modal-media {
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(89, 232, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(6, 11, 23, 0.96), rgba(6, 9, 18, 0.98));
}

.modal-art {
  min-height: 100%;
  border-radius: 28px;
}

.modal-body {
  padding: 28px 26px 26px;
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.modal-head h3 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.modal-description {
  margin-top: 18px;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trait-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.trait-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.reveal {
  opacity: 1;
}

.reveal.visible {
  animation: fade-up 520ms ease both;
}

@keyframes fade-up {
  from {
    opacity: 0.42;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .detail-modal[open],
  .stats,
  .artist-grid,
  .timeline,
  .skeleton-grid,
  .nft-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    align-items: start;
  }

  .hero-stage {
    min-height: 540px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .timeline::before {
    display: none;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar {
    border-radius: 28px;
    align-items: start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .stats,
  .artist-grid,
  .timeline,
  .skeleton-grid,
  .nft-grid,
  .detail-modal[open],
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .feature-card {
    margin: 84px 18px 0 auto;
  }

  .floating-note {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 18px 18px 0;
  }

  .feature-stats,
  .modal-specs {
    grid-template-columns: 1fr;
  }

  .detail-modal[open] {
    max-height: min(90vh, 820px);
    overflow: auto;
  }

  .cta-section {
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .topbar {
    width: min(100vw - 18px, var(--content));
    margin-top: 10px;
    padding: 14px;
  }

  .section {
    width: min(100vw - 18px, var(--content));
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 3rem;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-actions,
  .modal-actions {
    flex-direction: column;
  }

  .feature-card,
  .stat-card,
  .artist-card,
  .timeline-item,
  .cta-card,
  .site-footer,
  .controls,
  .nft-card {
    border-radius: 24px;
  }
}
