:root {
  --ink: #080712;
  --gallery: #120916;
  --wall: #241726;
  --violet: #8a69ff;
  --purple: #b74fff;
  --pink: #ff4fe8;
  --blue: #2bc7ff;
  --amber: #e6b16f;
  --cream: #fff3de;
  --soft: rgba(255, 243, 222, 0.78);
  --line: rgba(255, 243, 222, 0.18);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 18%, rgba(43, 199, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(255, 79, 232, 0.22), transparent 30rem),
    linear-gradient(145deg, #06050c 0%, var(--gallery) 48%, #22121b 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 7, 18, 0.82), rgba(8, 7, 18, 0.34), rgba(8, 7, 18, 0.9)),
    url("./assets/fart-banner.png") center / cover;
  opacity: 0.34;
  filter: saturate(1.08) contrast(1.06);
}

.gallery-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(230, 177, 111, 0.1) 19% 20%, transparent 20% 49%, rgba(43, 199, 255, 0.08) 49% 50%, transparent 50% 100%),
    radial-gradient(circle at 52% 0%, rgba(230, 177, 111, 0.18), transparent 30rem);
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

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

.site {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 34px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 7, 18, 0.76);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--cream);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-frame {
  width: 34px;
  height: 34px;
  border: 3px solid var(--amber);
  border-radius: 5px;
  background:
    linear-gradient(135deg, transparent 0 30%, rgba(255, 255, 255, 0.28) 31% 42%, transparent 43%),
    linear-gradient(135deg, var(--blue), var(--violet), var(--pink));
  box-shadow:
    0 0 18px rgba(43, 199, 255, 0.42),
    0 0 26px rgba(255, 79, 232, 0.25);
}

.nav,
.actions,
.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav {
  justify-content: flex-end;
}

.nav a,
.button {
  min-height: 40px;
  border: 1px solid rgba(255, 243, 222, 0.2);
  border-radius: 8px;
  padding: 11px 15px;
  color: var(--cream);
  background: rgba(255, 243, 222, 0.075);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav a:hover,
.button:hover {
  border-color: rgba(43, 199, 255, 0.86);
  background: rgba(43, 199, 255, 0.13);
  box-shadow: 0 0 30px rgba(43, 199, 255, 0.18);
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary {
  border-color: rgba(255, 79, 232, 0.95);
  background: linear-gradient(135deg, var(--pink), var(--violet) 55%, var(--blue));
  box-shadow: 0 14px 42px rgba(255, 79, 232, 0.2);
}

.button.ghost {
  color: var(--blue);
}

.hero {
  --gallery-x: 0px;
  --gallery-y: 0px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  min-height: calc(100vh - 128px);
  padding: 28px 0 74px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  left: 0;
  top: -30px;
  width: 220px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--amber), var(--pink), transparent);
  box-shadow: 0 0 22px rgba(230, 177, 111, 0.42);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 13vw, 10.4rem);
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 26px rgba(138, 105, 255, 0.28),
    0 26px 56px rgba(0, 0, 0, 0.52);
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag-row span {
  border: 1px solid rgba(230, 177, 111, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 243, 222, 0.84);
  background: rgba(230, 177, 111, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.feature-art {
  position: relative;
  margin: 0;
  transform: translate(var(--gallery-x), var(--gallery-y));
  transition: transform 220ms ease;
}

.feature-art::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(230, 177, 111, 0.34);
  border-radius: 8px;
  transform: rotate(-2deg);
}

.art-light {
  position: absolute;
  inset: -28px;
  z-index: -2;
  border-radius: 12px;
  background:
    radial-gradient(circle at 44% 8%, rgba(230, 177, 111, 0.34), transparent 30%),
    radial-gradient(circle at 80% 34%, rgba(43, 199, 255, 0.22), transparent 32%),
    radial-gradient(circle at 22% 74%, rgba(255, 79, 232, 0.2), transparent 32%);
  filter: blur(5px);
}

.feature-art img {
  width: min(530px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid #07060d;
  outline: 1px solid rgba(230, 177, 111, 0.56);
  border-radius: 8px;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.feature-art figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 243, 222, 0.2);
  border-radius: 8px;
  background: rgba(8, 7, 18, 0.72);
  backdrop-filter: blur(14px);
  text-transform: uppercase;
}

.feature-art span {
  color: var(--amber);
  font-weight: 950;
}

.feature-art strong {
  color: var(--cream);
  font-weight: 950;
}

.banner-hall {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 66px;
}

.hall-label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(230, 177, 111, 0.14), rgba(138, 105, 255, 0.14)),
    rgba(8, 7, 18, 0.68);
}

.banner-hall figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.42);
}

.banner-hall img {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
}

.statement {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: clamp(22px, 4vw, 60px);
  align-items: center;
  margin-bottom: 66px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(43, 199, 255, 0.12), rgba(255, 79, 232, 0.08)),
    rgba(8, 7, 18, 0.68);
}

.statement div {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 6.2rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
}

.statement p {
  margin: 0;
  color: rgba(255, 243, 222, 0.86);
  font-size: clamp(1.16rem, 2.2vw, 1.8rem);
  line-height: 1.4;
}

.collection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 66px;
}

.collection article,
.token-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 243, 222, 0.08), rgba(255, 243, 222, 0.03)),
    rgba(8, 7, 18, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.collection article {
  min-height: 260px;
  padding: 24px;
}

.collection span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--amber);
  font-weight: 950;
}

.collection h2 {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
}

.collection p {
  margin-bottom: 0;
  color: rgba(255, 243, 222, 0.76);
  line-height: 1.55;
}

.token-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-bottom: 54px;
  padding: clamp(24px, 5vw, 50px);
}

.token-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.token-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 243, 222, 0.14);
}

.token-card dt {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.token-card dd {
  margin: 0;
  color: rgba(255, 243, 222, 0.82);
  font-weight: 800;
}

.token-actions {
  grid-column: 1 / -1;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: rgba(255, 243, 222, 0.56);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

[data-reveal] {
  transform: translateY(22px);
  opacity: 0;
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 920px) {
  .topbar,
  .hero,
  .banner-hall,
  .statement,
  .token-card {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

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

  .hall-label {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site {
    width: min(100% - 20px, 1220px);
  }

  .topbar {
    position: static;
    margin-top: 10px;
  }

  .nav a,
  .button {
    flex: 1 1 auto;
    min-width: 104px;
    padding: 10px 12px;
  }

  h1 {
    font-size: clamp(3.4rem, 22vw, 5.8rem);
  }

  .feature-art figcaption {
    position: static;
    margin-top: 10px;
  }

  .token-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
