:root {
  --ink: #eafff7;
  --muted: rgba(234, 255, 247, 0.64);
  --acid: #bcff32;
  --cyan: #50eeff;
  --violet: #a97dff;
  --pink: #ff4fb6;
  --night: #061118;
  --glass: rgba(8, 22, 30, 0.44);
  --glass-bright: rgba(13, 43, 54, 0.63);
  --line: rgba(216, 255, 244, 0.22);
  --shell-width: min(94vw, 1920px);
  --vault-width: min(74vw, 1180px);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--night);
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.boot-screen {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 13px;
  color: var(--acid);
  background: #030708;
  letter-spacing: 0.24em;
  text-align: center;
  transition: opacity 580ms ease, visibility 580ms ease;
}

.boot-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-mark {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(188, 255, 50, 0.45), inset 0 0 28px rgba(188, 255, 50, 0.14);
  font-size: 1.55rem;
  font-weight: 900;
  transform: rotate(-12deg);
}

.boot-screen p {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 800;
}

.rave-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #061118;
}

.background-video {
  position: absolute;
  z-index: -6;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.025);
  filter: saturate(1.2) contrast(1.04) brightness(0.78);
}

.video-scrim,
.vignette,
.scanlines,
.grain,
.particle-field {
  position: absolute;
  pointer-events: none;
}

.video-scrim {
  z-index: -5;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 13, 16, 0.86) 0%, rgba(3, 15, 18, 0.57) 34%, rgba(3, 15, 18, 0.18) 70%, rgba(3, 15, 18, 0.26) 100%),
    linear-gradient(0deg, rgba(3, 8, 14, 0.82) 0%, rgba(3, 8, 14, 0.2) 36%, transparent 68%);
}

.vignette {
  z-index: -4;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), transparent 0 16%, rgba(0, 5, 10, 0.12) 46%, rgba(0, 4, 8, 0.7) 100%);
}

.scanlines {
  z-index: 5;
  inset: 0;
  opacity: 0.11;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.28) 3px 4px);
  mix-blend-mode: overlay;
}

.grain {
  z-index: 6;
  inset: -50%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: grain-shift 0.22s steps(2) infinite;
  mix-blend-mode: soft-light;
}

.particle-field {
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: var(--x);
  bottom: -12vh;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 16px currentColor;
  color: var(--color);
  opacity: 0;
  animation: float-up var(--duration) var(--delay) linear infinite;
}

.topbar,
.dancefloor,
.nft-showcase,
.bottom-dock,
.sound-notice {
  position: relative;
  z-index: 8;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell-width);
  margin: 0 auto;
  padding: clamp(22px, 3vh, 34px) 0;
  z-index: 24;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.brand:focus-visible {
  border-radius: 7px;
  outline: 1px solid var(--cyan);
  outline-offset: 6px;
}

.brand-orb {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(214, 255, 243, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ddffb3, var(--acid) 28%, #3a6919 31%, #0d2b22 72%);
  box-shadow: 0 0 0 5px rgba(188, 255, 50, 0.08), 0 0 28px rgba(188, 255, 50, 0.28);
  color: #071408;
  font-family: Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 950;
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-copy strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 0.97rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.brand-copy small,
.live-badge,
.eyebrow,
.kicker,
.dock-left,
.dance-prompt,
.mute-button {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.49rem;
  letter-spacing: 0.17em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(217, 255, 245, 0.3);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(2, 16, 19, 0.28);
  color: rgba(234, 255, 247, 0.88);
  backdrop-filter: blur(12px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-connect {
  position: relative;
}

.wallet-trigger {
  display: inline-flex;
  align-items: center;
  min-width: 208px;
  gap: 9px;
  padding: 8px 11px 8px 9px;
  border: 1px solid rgba(188, 255, 50, 0.62);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(18, 45, 30, 0.88), rgba(6, 24, 29, 0.82));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 0 0 1px rgba(188, 255, 50, 0.07), 0 10px 28px rgba(0, 0, 0, 0.2);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wallet-trigger:hover,
.wallet-connect.is-open .wallet-trigger,
.wallet-trigger:focus-visible {
  border-color: var(--acid);
  background: linear-gradient(135deg, rgba(30, 68, 37, 0.94), rgba(8, 35, 35, 0.9));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.13), 0 0 22px rgba(188, 255, 50, 0.16);
  outline: none;
  transform: translateY(-1px);
}

.wallet-connect.is-connected .wallet-trigger {
  border-color: rgba(80, 238, 255, 0.74);
  background: linear-gradient(135deg, rgba(8, 45, 54, 0.93), rgba(6, 22, 31, 0.9));
}

.wallet-connect.is-wrong-network .wallet-trigger {
  border-color: rgba(255, 176, 216, 0.74);
}

.wallet-trigger__orb {
  display: block;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  border: 1px solid rgba(221, 255, 179, 0.86);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #edffd3, var(--acid) 25%, #3b7321 29%, #0c2d25 72%);
  box-shadow: 0 0 12px rgba(188, 255, 50, 0.48);
}

.wallet-connect.is-connected .wallet-trigger__orb {
  border-color: rgba(203, 255, 254, 0.94);
  background: radial-gradient(circle at 35% 30%, #dcffff, var(--cyan) 26%, #126a72 30%, #082c35 72%);
  box-shadow: 0 0 13px rgba(80, 238, 255, 0.54);
}

.wallet-trigger__copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  line-height: 1;
}

.wallet-trigger__copy small {
  overflow: hidden;
  color: rgba(234, 255, 247, 0.58);
  font-size: 0.42rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-trigger__copy strong {
  overflow: hidden;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.59rem;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-trigger__chevron {
  margin-left: auto;
  color: var(--acid);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.wallet-connect.is-open .wallet-trigger__chevron {
  transform: rotate(90deg);
}

.wallet-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 11px);
  right: 0;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(191, 255, 241, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5, 24, 31, 0.98), rgba(4, 15, 22, 0.97));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.46), 0 0 28px rgba(80, 238, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  visibility: hidden;
  backdrop-filter: blur(20px) saturate(1.22);
}

.wallet-connect.is-open .wallet-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.wallet-menu__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(214, 255, 243, 0.13);
}

.wallet-menu__header p,
.wallet-menu__header span,
.wallet-menu__intro,
.wallet-menu__status {
  margin: 0;
}

.wallet-menu__header p {
  color: var(--acid);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.wallet-menu__header > div > span {
  display: block;
  margin-top: 5px;
  color: rgba(234, 255, 247, 0.54);
  font-size: 0.42rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.wallet-menu__network-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  animation: blink 1.3s ease-in-out infinite;
}

.wallet-menu__intro {
  color: rgba(234, 255, 247, 0.7);
  font-size: 0.63rem;
  letter-spacing: 0.035em;
  line-height: 1.55;
}

.wallet-option {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(218, 255, 246, 0.16);
  border-radius: 9px;
  background: rgba(225, 255, 248, 0.035);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.wallet-option:hover,
.wallet-option:focus-visible {
  border-color: rgba(80, 238, 255, 0.68);
  background: rgba(80, 238, 255, 0.09);
  outline: none;
  transform: translateX(2px);
}

.wallet-option:disabled {
  cursor: wait;
  opacity: 0.62;
}

.wallet-option__mark {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.5rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.wallet-option--metamask .wallet-option__mark {
  background: linear-gradient(135deg, #f6851b, #c65311);
  color: #fff8e9;
}

.wallet-option--okx .wallet-option__mark {
  background: #eefdfa;
  color: #071318;
  font-size: 0.46rem;
  letter-spacing: -0.07em;
}

.wallet-option__copy {
  display: grid;
  gap: 4px;
}

.wallet-option__copy strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
}

.wallet-option__copy small {
  color: rgba(234, 255, 247, 0.54);
  font-size: 0.4rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.wallet-option__arrow {
  margin-left: auto;
  color: var(--cyan);
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

.wallet-menu__status {
  min-height: 31px;
  padding: 2px 1px 0;
  color: rgba(234, 255, 247, 0.54);
  font-size: 0.43rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
}

.wallet-menu__status.is-error {
  color: #ffb0d8;
}

.wallet-menu__status.is-success {
  color: var(--cyan);
}

.wallet-disconnect {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(234, 255, 247, 0.2);
  border-radius: 7px;
  background: transparent;
  color: rgba(234, 255, 247, 0.72);
  cursor: pointer;
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  transition: border-color 180ms ease, color 180ms ease;
}

.wallet-disconnect:hover,
.wallet-disconnect:focus-visible {
  border-color: var(--pink);
  color: #ffd8eb;
  outline: none;
}

.live-dot,
.notice-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px var(--acid);
  animation: blink 1.3s ease-in-out infinite;
}

.dancefloor {
  position: absolute;
  top: clamp(116px, 13.5vh, 162px);
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(290px, 374px);
  align-items: start;
  justify-content: space-between;
  column-gap: clamp(68px, 10vw, 180px);
  width: var(--shell-width);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.hero-copy {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: 7px 0 16px 25px;
}

.hero-copy::before {
  position: absolute;
  top: 7px;
  bottom: 16px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(80, 238, 255, 0.08));
  box-shadow: 0 0 18px rgba(80, 238, 255, 0.5);
  content: "";
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-phase {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(188, 255, 50, 0.42);
  border-radius: 999px;
  background: rgba(8, 27, 24, 0.5);
  color: var(--acid);
  font-size: 0.43rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 510px);
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid rgba(192, 255, 242, 0.18);
  border-radius: 10px;
  background: rgba(3, 17, 24, 0.46);
  backdrop-filter: blur(12px);
}

.hero-stats > div {
  min-width: 0;
  padding: 12px 14px 13px;
}

.hero-stats > div + div {
  border-left: 1px solid rgba(192, 255, 242, 0.15);
}

.hero-stats dt,
.hero-stats dd,
.chain-console__data dt,
.chain-console__data dd {
  margin: 0;
}

.hero-stats dt {
  color: rgba(234, 255, 247, 0.5);
  font-size: 0.43rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.hero-stats dd {
  margin-top: 6px;
  color: var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(0.72rem, 0.86vw, 0.92rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.chain-console {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 374px;
  justify-self: end;
  overflow: hidden;
  padding: 19px;
  border: 1px solid rgba(80, 238, 255, 0.3);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(6, 30, 37, 0.93), rgba(3, 17, 25, 0.87) 58%, rgba(7, 34, 29, 0.82)),
    rgba(3, 17, 25, 0.82);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.33), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
}

.chain-console::before {
  position: absolute;
  z-index: -1;
  top: -110px;
  right: -100px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(80, 238, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(80, 238, 255, 0.035), 0 0 0 57px rgba(188, 255, 50, 0.024);
  content: "";
}

.chain-console__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(213, 255, 245, 0.16);
  color: rgba(234, 255, 247, 0.58);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.chain-console__topline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.chain-console__topline i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  animation: blink 1.3s ease-in-out infinite;
}

.chain-console__eyebrow {
  margin: 18px 0 0;
  color: var(--cyan);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.chain-console h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1.65rem, 2.2vw, 2.25rem);
  letter-spacing: 0.075em;
  line-height: 0.94;
}

.chain-console__lead {
  margin: 12px 0 0;
  color: rgba(234, 255, 247, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.chain-console__data {
  display: grid;
  gap: 0;
  margin: 17px 0 0;
  border-top: 1px solid rgba(213, 255, 245, 0.15);
}

.chain-console__data > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 31px;
  border-bottom: 1px solid rgba(213, 255, 245, 0.12);
}

.chain-console__data dt {
  color: rgba(234, 255, 247, 0.46);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.chain-console__data dd {
  color: rgba(234, 255, 247, 0.9);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-align: right;
}

.chain-console__wallet {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px solid rgba(188, 255, 50, 0.7);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(55, 105, 34, 0.62), rgba(9, 40, 32, 0.86));
  color: var(--ink);
  cursor: pointer;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.chain-console__wallet:hover,
.chain-console__wallet:focus-visible {
  border-color: var(--acid);
  box-shadow: 0 0 22px rgba(188, 255, 50, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.chain-console__wallet-label {
  color: var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.09em;
}

.chain-console__wallet-status {
  margin-left: auto;
  color: rgba(234, 255, 247, 0.62);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.chain-console__wallet--coming-soon,
.chain-console__wallet--coming-soon:disabled {
  cursor: not-allowed;
  opacity: 0.94;
}

.chain-console__wallet--coming-soon:hover,
.chain-console__wallet--coming-soon:focus-visible {
  border-color: rgba(188, 255, 50, 0.7);
  box-shadow: none;
  outline: none;
  transform: none;
}

.chain-console__wallet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.chain-console__fineprint {
  margin: 10px 0 0;
  color: rgba(234, 255, 247, 0.44);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-align: center;
}

.nft-showcase {
  --nft-gap: clamp(16px, 1.15vw, 22px);
  position: absolute;
  right: 0;
  bottom: 64px;
  left: 0;
  width: var(--vault-width);
  margin: 0 auto;
  padding: clamp(15px, 1.4vw, 20px);
  border: 1px solid rgba(181, 255, 237, 0.2);
  border-radius: 20px 20px 14px 14px;
  background:
    linear-gradient(115deg, rgba(3, 18, 25, 0.86), rgba(3, 20, 28, 0.68) 50%, rgba(3, 14, 22, 0.82)),
    rgba(3, 15, 22, 0.64);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px) saturate(1.18);
}

.nft-showcase::before {
  position: absolute;
  top: 0;
  right: clamp(18px, 2vw, 28px);
  left: clamp(18px, 2vw, 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(80, 238, 255, 0.16) 42%, rgba(188, 255, 50, 0.46));
  box-shadow: 0 0 15px rgba(80, 238, 255, 0.32);
  content: "";
}

.nft-showcase__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 12px;
}

.nft-showcase__eyebrow,
.nft-showcase__meta,
.nft-card__copy small {
  margin: 0;
  color: rgba(234, 255, 247, 0.72);
  font-size: 0.5rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.nft-showcase__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
}

.nft-showcase__eyebrow span {
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.nft-showcase h2 {
  margin: 7px 0 0;
  color: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1.45rem, 2.15vw, 2.05rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
}

.nft-showcase__meta {
  color: rgba(234, 255, 247, 0.56);
  text-align: right;
  white-space: nowrap;
}

.nft-showcase__details {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.nft-showcase__hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: rgba(234, 255, 247, 0.72);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.nft-showcase__hint span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}

.nft-carousel {
  position: relative;
  overflow: hidden;
  padding: 4px 0 12px;
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}

.nft-carousel__track {
  display: flex;
  align-items: stretch;
}

.nft-carousel__track {
  width: max-content;
  animation: nft-scroll 42s linear infinite;
  will-change: transform;
}

.nft-carousel:focus-within .nft-carousel__track {
  animation-play-state: paused;
}

.nft-carousel__set {
  display: flex;
  flex: 0 0 auto;
  gap: var(--nft-gap);
  padding-right: var(--nft-gap);
}

.nft-card {
  display: grid;
  flex: 0 0 clamp(158px, 9vw, 184px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 255, 245, 0.24);
  border-radius: 12px;
  background: rgba(4, 16, 23, 0.65);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.12);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.nft-card:hover,
.nft-card:focus-visible {
  border-color: rgba(188, 255, 50, 0.9);
  box-shadow: 0 19px 42px rgba(0, 0, 0, 0.42), 0 0 22px rgba(188, 255, 50, 0.16);
  outline: none;
  transform: translateY(-7px) rotate(-1deg);
}

.nft-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.nft-card__copy {
  display: grid;
  gap: 4px;
  min-height: 46px;
  padding: 8px 10px 9px;
  background: linear-gradient(135deg, rgba(9, 33, 40, 0.96), rgba(4, 13, 20, 0.95));
}

.nft-card__copy small {
  color: rgba(234, 255, 247, 0.58);
  font-size: 0.46rem;
  letter-spacing: 0.11em;
}

.nft-card__copy strong {
  overflow: hidden;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nft-card--uncommon { border-color: rgba(80, 238, 255, 0.42); }
.nft-card--rare { border-color: rgba(169, 125, 255, 0.5); }
.nft-card--epic { border-color: rgba(255, 79, 182, 0.58); }
.nft-card--legendary {
  border-color: rgba(255, 205, 83, 0.74);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), 0 0 17px rgba(255, 202, 75, 0.14);
}

.nft-lightbox {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  padding: clamp(20px, 5vw, 58px);
  place-items: center;
  background: rgba(1, 7, 10, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
  visibility: hidden;
}

.nft-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.nft-lightbox__panel {
  position: relative;
  display: grid;
  max-width: min(88vw, 780px);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.nft-lightbox.is-open .nft-lightbox__panel {
  transform: translateY(0) scale(1);
}

.nft-lightbox__image {
  display: block;
  width: min(76svh, 78vw, 720px);
  max-height: calc(100svh - 150px);
  margin: 0 auto;
  border: 1px solid rgba(217, 255, 245, 0.25);
  background: #03090c;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62), 0 0 40px rgba(80, 238, 255, 0.1);
  object-fit: contain;
}

.nft-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(234, 255, 247, 0.38);
  border-radius: 999px;
  background: rgba(3, 14, 18, 0.84);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.36);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nft-lightbox__close:hover,
.nft-lightbox__close:focus-visible {
  border-color: var(--acid);
  color: var(--acid);
  outline: none;
  transform: translateY(-2px);
}

.nft-lightbox__close span:first-child {
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 0.8;
}

.nft-lightbox__caption {
  display: grid;
  gap: 4px;
  padding: 12px 2px 0;
}

.nft-lightbox__caption p,
.nft-lightbox__caption h2 {
  margin: 0;
}

.nft-lightbox__caption p {
  color: var(--acid);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.nft-lightbox__caption h2 {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  letter-spacing: 0.08em;
}

body.nft-lightbox-open {
  overflow: hidden;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
}

.eyebrow span {
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.kicker {
  margin: 25px 0 0;
  color: rgba(234, 255, 247, 0.76);
}

h1 {
  margin: 13px 0 19px;
  color: #f1fff8;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(4.25rem, 8vw, 8.75rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.18), 0 0 45px rgba(80, 238, 255, 0.2);
}

h1 span,
h1 em {
  display: block;
  white-space: nowrap;
}

h1 span {
  color: var(--acid);
  text-shadow: 0 0 34px rgba(188, 255, 50, 0.48);
}

h1 em {
  margin-top: 0.15em;
  color: var(--cyan);
  font-style: normal;
  letter-spacing: 0.012em;
  text-shadow: 0 0 34px rgba(80, 238, 255, 0.36);
}

.intro {
  max-width: 490px;
  margin: 0;
  color: rgba(242, 255, 249, 0.82);
  font-size: clamp(0.8rem, 1.05vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.primary-action,
.ghost-action,
.mute-button {
  border: 0;
  cursor: pointer;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 195px;
  padding: 8px 12px 8px 9px;
  border: 1px solid rgba(241, 255, 213, 0.7);
  border-radius: 5px;
  background: var(--acid);
  box-shadow: 0 10px 38px rgba(188, 255, 50, 0.21), inset 0 1px rgba(255, 255, 255, 0.6);
  color: #08200e;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-action:hover {
  background: #d5ff67;
  box-shadow: 0 14px 45px rgba(188, 255, 50, 0.38), inset 0 1px rgba(255, 255, 255, 0.65);
  transform: translateY(-3px);
}

.primary-action:active {
  transform: translateY(0) scale(0.98);
}

.primary-action--coming-soon,
.primary-action--coming-soon:disabled {
  cursor: not-allowed;
  opacity: 0.96;
}

.primary-action--coming-soon:hover,
.primary-action--coming-soon:focus-visible {
  background: var(--acid);
  box-shadow: 0 10px 38px rgba(188, 255, 50, 0.21), inset 0 1px rgba(255, 255, 255, 0.6);
  outline: none;
  transform: none;
}

.button-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 3px;
  background: #143b17;
  box-shadow: inset 0 0 0 1px rgba(218, 255, 163, 0.24);
  color: var(--acid);
  font-size: 1.38rem;
}

.primary-action--coming-soon .button-icon {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.02em;
}

.button-copy {
  display: grid;
  gap: 3px;
  flex: 1;
}

.button-copy small {
  color: rgba(8, 32, 14, 0.66);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.button-copy strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.button-badge {
  padding: 5px 6px;
  border: 1px solid rgba(8, 32, 14, 0.25);
  border-radius: 3px;
  color: rgba(8, 32, 14, 0.72);
  font-size: 0.39rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.ghost-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  background: transparent;
  color: rgba(239, 255, 249, 0.9);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.pulse-icon {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(80, 238, 255, 0.8);
}

.pulse-icon::after {
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: var(--cyan);
  box-shadow: 0 0 7px var(--cyan);
  content: "";
}

.bottom-dock {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 max(4vw, calc((100vw - 1440px) / 2));
  border-top: 1px solid rgba(231, 255, 249, 0.18);
  background: rgba(2, 11, 16, 0.38);
  backdrop-filter: blur(13px);
}

.dock-left {
  color: rgba(235, 255, 248, 0.68);
  font-size: 0.5rem;
}

.dock-left span {
  margin-right: 7px;
  color: var(--acid);
}

.dance-prompt {
  margin: 0;
  color: rgba(236, 255, 249, 0.92);
  font-size: 0.53rem;
  white-space: nowrap;
}

.dance-prompt i {
  padding: 0 5px;
  color: var(--pink);
  font-style: normal;
}

.mute-button {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.53rem;
}

.speaker {
  color: var(--cyan);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: -0.15em;
  text-shadow: 0 0 9px currentColor;
}

.sound-notice {
  position: fixed;
  z-index: 20;
  right: 26px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(390px, calc(100vw - 40px));
  padding: 10px 13px;
  border: 1px solid rgba(214, 255, 241, 0.2);
  border-radius: 8px;
  background: rgba(4, 18, 23, 0.78);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: rgba(237, 255, 249, 0.88);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
  backdrop-filter: blur(10px);
}

.sound-notice.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.sound-notice .notice-dot {
  flex: 0 0 auto;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.rave-shell.lights-off .particle-field,
.rave-shell.lights-off .scanlines {
  animation-play-state: paused;
  opacity: 0.03;
}

.rave-shell.lights-off .grain {
  opacity: 0.03;
  animation-play-state: paused;
}

.rave-shell.lights-off .vignette {
  background: rgba(0, 0, 0, 0.36);
}

.rave-shell.lights-off .pulse-icon {
  border-color: rgba(234, 255, 247, 0.42);
  box-shadow: none;
}

.rave-shell.lights-off .pulse-icon::after {
  background: rgba(234, 255, 247, 0.42);
  box-shadow: none;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(3%, -4%); }
  50% { transform: translate(-4%, 2%); }
  75% { transform: translate(5%, 5%); }
  100% { transform: translate(-2%, -5%); }
}

@keyframes float-up {
  0% { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0; }
  13% { opacity: 0.82; }
  83% { opacity: 0.35; }
  100% { transform: translate3d(var(--drift), -120vh, 0) scale(1.25); opacity: 0; }
}

@keyframes nft-scroll {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes blink {
  50% { opacity: 0.25; transform: scale(0.7); }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .rave-shell {
    min-height: 100svh;
    overflow: visible;
    padding-bottom: 58px;
  }

  .dancefloor {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    width: var(--shell-width);
    min-height: auto;
    margin: 0 auto;
    padding: 22px 0 30px;
  }

  .chain-console {
    width: min(100%, 560px);
    margin-top: 30px;
  }

  .nft-showcase {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: var(--shell-width);
    margin: 0 auto 72px;
  }

  .nft-card {
    flex-basis: clamp(172px, 25vw, 210px);
  }

  .nft-showcase__details {
    gap: 6px;
  }

  .topbar-actions {
    gap: 9px;
  }

  .wallet-trigger {
    min-width: 192px;
  }

  .bottom-dock {
    position: fixed;
    grid-template-columns: 1fr auto;
  }

  .dance-prompt {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    overflow: auto;
  }

  .rave-shell {
    min-height: 100svh;
  }

  .topbar,
  .dancefloor {
    width: var(--shell-width);
  }

  .topbar {
    align-items: flex-start;
    padding: 20px 0;
  }

  .topbar-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .live-badge {
    justify-content: center;
    padding: 7px 9px;
    font-size: 0.43rem;
  }

  .wallet-trigger {
    min-width: 156px;
    padding: 8px 9px;
  }

  .wallet-trigger__copy small {
    display: none;
  }

  .wallet-trigger__copy strong {
    font-size: 0.5rem;
  }

  .wallet-menu {
    top: calc(100% + 8px);
  }

  .live-badge {
    padding: 8px 10px;
    font-size: 0.5rem;
  }

  .brand-copy small {
    font-size: 0.42rem;
  }

  .dancefloor {
    min-height: auto;
    padding: 32px 0 92px;
  }

  .hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-phase {
    min-height: 22px;
  }

  .hero-stats {
    margin-top: 24px;
  }

  .hero-stats > div {
    padding: 10px 9px 11px;
  }

  .hero-stats dd {
    font-size: 0.59rem;
    letter-spacing: 0.035em;
  }

  .chain-console {
    margin-top: 26px;
    padding: 17px;
  }

  .chain-console__lead {
    font-size: 0.78rem;
  }

  .nft-showcase {
    width: var(--shell-width);
    padding: 18px;
    margin-bottom: 72px;
  }

  .nft-showcase__header {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .nft-showcase__meta {
    padding: 0;
    font-size: 0.44rem;
    text-align: left;
  }

  .nft-showcase__details {
    justify-items: start;
  }

  .nft-card {
    flex-basis: min(52vw, 204px);
  }

  .nft-card__copy {
    min-height: 43px;
    padding: 8px 9px 9px;
  }

  h1 {
    margin: 15px 0 20px;
    font-size: clamp(3.35rem, 16.8vw, 5.9rem);
    letter-spacing: 0.008em;
    line-height: 0.98;
  }

  .intro {
    max-width: 34rem;
    font-size: 0.78rem;
  }

  .hero-actions {
    margin-top: 21px;
  }

  .bottom-dock {
    min-height: 53px;
    padding: 0 19px;
  }

  .dock-left {
    font-size: 0.43rem;
  }

  .mute-button {
    font-size: 0.45rem;
  }

  .sound-notice {
    right: 19px;
    bottom: 68px;
  }
}

@media (max-width: 420px) {
  .live-badge {
    display: none;
  }
}

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

  .nft-carousel__track {
    animation-name: nft-scroll !important;
    animation-duration: 42s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
  }
}

@media (max-height: 1180px) and (min-width: 901px) {
  .dancefloor {
    top: clamp(102px, 12.5vh, 136px);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 332px);
    gap: clamp(40px, 6vw, 92px);
  }

  h1 {
    font-size: clamp(3.85rem, 6.85vw, 6.8rem);
  }

  .kicker {
    margin-top: 17px;
  }

  .intro {
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 21px;
  }

  .hero-stats {
    margin-top: 22px;
  }

  .chain-console {
    padding: 14px;
  }

  .chain-console__topline {
    padding-bottom: 9px;
  }

  .chain-console__eyebrow {
    margin-top: 13px;
  }

  .chain-console__lead {
    margin-top: 9px;
    line-height: 1.48;
  }

  .chain-console__data {
    margin-top: 12px;
  }

  .chain-console__data > div {
    min-height: 27px;
  }

  .chain-console__wallet {
    margin-top: 12px;
    padding: 9px 10px;
  }

  .chain-console__fineprint {
    margin-top: 8px;
  }

  .nft-showcase {
    bottom: 54px;
    padding: 12px 15px 13px;
  }

  .nft-showcase__header {
    margin-bottom: 8px;
  }

  .nft-showcase h2 {
    font-size: 1.35rem;
  }

  .nft-card {
    flex-basis: clamp(146px, 8vw, 170px);
  }

  .nft-card__copy {
    min-height: 42px;
    padding: 8px 9px 9px;
  }
}

@media (max-height: 960px) and (min-width: 901px) {
  h1 {
    font-size: clamp(3.35rem, 6vw, 5.65rem);
  }

  .chain-console h2 {
    font-size: 1.65rem;
  }

  .chain-console__lead {
    font-size: 0.72rem;
  }

  .hero-stats {
    margin-top: 17px;
  }

  .hero-stats > div {
    padding: 9px 10px;
  }

  .nft-showcase {
    bottom: 48px;
    padding: 10px 14px 11px;
  }

  .nft-showcase__header {
    margin-bottom: 6px;
  }

  .nft-card {
    flex-basis: clamp(124px, 7.2vw, 148px);
  }

  .nft-card__copy {
    min-height: 38px;
    padding: 7px 8px 8px;
  }
}
