:root {
  --midnight: #050712;
  --night: #071326;
  --blue: #1c67ff;
  --cyan: #23d8ff;
  --violet: #8b5cff;
  --pink: #ff4fc3;
  --white: #eef6ff;
  --glass: rgba(238, 246, 255, 0.12);
  --line: rgba(238, 246, 255, 0.2);
  color-scheme: dark;
  font-family:
    "Trebuchet MS", 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(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 79, 195, 0.32), transparent 24rem),
    radial-gradient(circle at 20% 26%, rgba(35, 216, 255, 0.22), transparent 30rem),
    linear-gradient(135deg, #050712 0%, #071326 42%, #1d1230 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 18, 0.92), rgba(5, 7, 18, 0.34), rgba(5, 7, 18, 0.88)),
    url("./assets/miami-banner.png") center / cover;
  opacity: 0.42;
  filter: saturate(1.18) contrast(1.06);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 5px
    ),
    linear-gradient(90deg, rgba(255, 79, 195, 0.08), transparent 22%, rgba(35, 216, 255, 0.07));
  mix-blend-mode: screen;
  opacity: 0.38;
}

a {
  color: inherit;
}

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

.page {
  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 32px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 18, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(238, 246, 255, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 18%),
    radial-gradient(circle at 78% 22%, var(--pink) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--blue), var(--cyan) 48%, var(--violet));
  box-shadow: 0 0 22px rgba(35, 216, 255, 0.45);
}

.nav,
.hero-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(238, 246, 255, 0.2);
  border-radius: 8px;
  padding: 11px 15px;
  color: var(--white);
  background: rgba(238, 246, 255, 0.08);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.nav a:hover,
.button:hover {
  border-color: rgba(35, 216, 255, 0.82);
  background: rgba(35, 216, 255, 0.16);
  box-shadow: 0 0 28px rgba(35, 216, 255, 0.18);
  transform: translateY(-2px);
}

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

.button.primary {
  border-color: rgba(255, 79, 195, 0.9);
  background: linear-gradient(135deg, var(--pink), var(--violet) 48%, var(--cyan));
  box-shadow: 0 12px 34px rgba(255, 79, 195, 0.18);
}

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

.hero {
  --tilt-x: 0px;
  --tilt-y: 0px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  min-height: calc(100vh - 122px);
  padding: 26px 0 74px;
}

.command-window,
.token-card,
.manifest,
.mood-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 246, 255, 0.1), rgba(238, 246, 255, 0.035)),
    rgba(5, 7, 18, 0.74);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.command-window {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 4vw, 42px);
}

.command-window::before {
  position: absolute;
  inset: -2px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(35, 216, 255, 0.12), transparent),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 79, 195, 0.07) 18px 20px);
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-bar span:nth-child(1) {
  background: var(--pink);
}

.window-bar span:nth-child(2) {
  background: var(--cyan);
}

.window-bar span:nth-child(3) {
  background: var(--violet);
}

.window-bar strong,
.prompt {
  color: rgba(238, 246, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.prompt {
  margin: 0 0 14px;
  color: var(--cyan);
}

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

h1 {
  position: relative;
  max-width: 9ch;
  margin-bottom: 20px;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.8;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    2px 0 0 rgba(255, 79, 195, 0.58),
    -2px 0 0 rgba(35, 216, 255, 0.58),
    0 22px 56px rgba(0, 0, 0, 0.42);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(238, 246, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.ticker-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ticker-strip span {
  border: 1px solid rgba(35, 216, 255, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(238, 246, 255, 0.84);
  background: rgba(35, 216, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.screen-card {
  position: relative;
  margin: 0;
  transform: translate(var(--tilt-x), var(--tilt-y));
  transition: transform 220ms ease;
}

.screen-card::before {
  position: absolute;
  inset: 20px -14px -14px 18px;
  z-index: -1;
  content: "";
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 79, 195, 0.5), rgba(35, 216, 255, 0.34));
  filter: blur(18px);
}

.screen-card img {
  width: min(500px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(238, 246, 255, 0.24);
  border-radius: 8px;
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.54),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.screen-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(238, 246, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 7, 18, 0.72);
  backdrop-filter: blur(12px);
}

.screen-card span,
.screen-card strong {
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.screen-card span {
  color: var(--cyan);
}

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

.dock-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 79, 195, 0.18), rgba(35, 216, 255, 0.09));
}

.banner-dock figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

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

.manifest {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  margin-bottom: 66px;
  padding: clamp(24px, 5vw, 48px);
}

.terminal-label {
  color: var(--pink);
  font-size: clamp(2rem, 6vw, 5.7rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.manifest p {
  margin: 0;
  color: rgba(238, 246, 255, 0.86);
  font-size: clamp(1.15rem, 2.2vw, 1.86rem);
  line-height: 1.42;
}

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

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

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

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

.mood-grid p {
  margin-bottom: 0;
  color: rgba(238, 246, 255, 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, 48px);
}

.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(238, 246, 255, 0.14);
}

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

.token-card dd {
  margin: 0;
  color: rgba(238, 246, 255, 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(238, 246, 255, 0.58);
  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-dock,
  .manifest,
  .token-card {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: stretch;
  }

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

  .hero {
    min-height: auto;
  }

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

  .dock-copy {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .page {
    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.3rem, 21vw, 5.6rem);
  }

  .screen-card figcaption {
    position: static;
    margin-top: 10px;
  }

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