:root {
  --sky: #1684ff;
  --sky-deep: #083fd1;
  --hot: #ff17cc;
  --cyan: #00fff0;
  --acid: #b9ff16;
  --orange: #ff5a1f;
  --tile: #fff3dc;
  --ink: #07060b;
  --robe: #141018;
  --white: #ffffff;
  --shadow: 0 28px 86px rgba(7, 6, 11, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(255, 23, 204, 0.18), transparent 28%),
    linear-gradient(45deg, transparent 0 42%, rgba(0, 255, 240, 0.16) 42% 44%, transparent 44%),
    linear-gradient(180deg, #1684ff 0%, #5ebcff 35%, #fff3dc 35.4%, #ffe0b7 100%);
}

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

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

button {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 243, 220, 0.88);
  border-bottom: 3px solid var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--hot);
  box-shadow: 5px 5px 0 var(--cyan);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 7px;
  bottom: -9px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 18px 0 0 var(--acid), 18px 0 0 3px var(--ink);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 9px;
  top: 9px;
  height: 5px;
  background: var(--ink);
  transform: skewX(-22deg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a,
.nav button,
.ride-button {
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav a:hover,
.nav button:hover,
.ride-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--acid);
}

.hero {
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(34px, 6vw, 84px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 66px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12vw -110px -12vw;
  z-index: -1;
  height: 260px;
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(255, 255, 255, 0.84) 45.4% 46.4%, transparent 46.8%),
    repeating-linear-gradient(105deg, #33231f 0 18px, #271817 18px 36px);
  transform: rotate(-4deg);
  box-shadow: 0 -18px 0 rgba(255, 23, 204, 0.18);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--hot);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10.8vw, 9.4rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--tile);
  text-shadow:
    4px 4px 0 var(--ink),
    8px 8px 0 var(--hot),
    13px 13px 0 var(--cyan);
}

.ticker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.ticker-chip {
  display: inline-flex;
  padding: 12px 16px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--robe);
  color: var(--white);
  font-weight: 950;
  box-shadow: 6px 6px 0 var(--hot);
}

.small-note {
  max-width: 300px;
  color: rgba(7, 6, 11, 0.74);
  font-weight: 800;
  line-height: 1.38;
}

.description-card {
  max-width: 680px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 243, 220, 0.82)),
    var(--tile);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 12px 12px 0 rgba(7, 6, 11, 0.92), var(--shadow);
}

.description-card p {
  margin: 0;
  color: #171019;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.52;
  font-weight: 830;
}

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

.ride-button.primary {
  background: var(--hot);
  color: var(--white);
}

.art-stage {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.glitch-panel {
  position: absolute;
  width: min(84vw, 650px);
  height: min(76vw, 560px);
  border: 4px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(96deg, rgba(0, 255, 240, 0.92), rgba(255, 23, 204, 0.85), rgba(185, 255, 22, 0.64)),
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(7, 6, 11, 0.24) 10px 14px);
  clip-path: polygon(0 12%, 87% 0, 100% 82%, 12% 100%);
  transform: translate(var(--shift-x), var(--shift-y)) rotate(3deg);
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: min(86vw, 520px);
  border: 5px solid var(--ink);
  border-radius: 8px;
  background: var(--tile);
  padding: 10px;
  box-shadow: -16px 16px 0 var(--hot), 16px -16px 0 var(--cyan);
  transform: rotate(-2deg);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  object-fit: cover;
}

.ride-badge {
  position: absolute;
  right: -18px;
  bottom: 32px;
  z-index: 4;
  width: 136px;
  height: 136px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 var(--hot);
  transform: rotate(9deg);
}

.banner-section {
  padding: 18px clamp(14px, 4vw, 46px) 44px;
  background: linear-gradient(180deg, rgba(7, 6, 11, 0.12), rgba(7, 6, 11, 0.22));
}

.banner-frame {
  position: relative;
  border: 5px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.banner-frame img {
  width: 100%;
  min-height: 300px;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.banner-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: min(620px, calc(100% - 36px));
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 243, 220, 0.9);
  padding: 14px 16px;
  font-weight: 850;
  line-height: 1.42;
  box-shadow: 7px 7px 0 var(--hot);
}

.ticker-tape {
  overflow: hidden;
  border-block: 4px solid var(--ink);
  background: var(--robe);
  color: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerRide 23s linear infinite;
}

.ticker-track span {
  padding: 14px 24px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span:nth-child(odd) {
  color: var(--cyan);
}

.ticker-track span:nth-child(3n) {
  color: var(--hot);
}

.content-band {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.route-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--hot);
  font-size: 0.98rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 243, 220, 0.9);
  padding: 16px;
  box-shadow: 8px 8px 0 rgba(7, 6, 11, 0.9);
}

.route-number {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 950;
  box-shadow: 5px 5px 0 var(--hot);
}

.route-card h3 {
  margin: 0 0 6px;
  font-size: 1.16rem;
  text-transform: uppercase;
}

.route-card p {
  margin: 0;
  color: rgba(7, 6, 11, 0.72);
  font-weight: 740;
  line-height: 1.46;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.token-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--tile);
  padding: 18px;
  box-shadow: 8px 8px 0 rgba(7, 6, 11, 0.92);
}

.token-card:nth-child(2) {
  background: var(--robe);
  color: var(--white);
  box-shadow: 8px 8px 0 var(--hot);
}

.token-card span {
  font-weight: 900;
  text-transform: uppercase;
}

.token-card strong {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.finale {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(28px, 6vw, 58px);
  border: 5px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(112deg, rgba(7, 6, 11, 0.86), rgba(255, 23, 204, 0.5), rgba(0, 255, 240, 0.35)),
    url("./assets/dos-banner.png") center / cover;
  color: var(--white);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.finale h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.finale p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 760;
  line-height: 1.5;
}

.footer {
  padding: 22px clamp(18px, 5vw, 72px) 34px;
  color: rgba(7, 6, 11, 0.72);
  font-weight: 820;
  text-align: center;
}

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

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

@keyframes tickerRide {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1020px) {
  .hero,
  .route-grid,
  .finale {
    grid-template-columns: 1fr;
  }

  .art-stage {
    min-height: 470px;
  }

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

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav a,
  .nav button,
  .ride-button {
    padding: 9px 10px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 19vw, 5.8rem);
    text-shadow:
      3px 3px 0 var(--ink),
      6px 6px 0 var(--hot),
      9px 9px 0 var(--cyan);
  }

  .art-stage {
    min-height: 390px;
  }

  .portrait-frame {
    width: min(86vw, 390px);
    box-shadow: -9px 9px 0 var(--hot), 9px -9px 0 var(--cyan);
  }

  .ride-badge {
    width: 106px;
    height: 106px;
    right: -4px;
    bottom: 12px;
    font-size: 0.78rem;
  }

  .banner-caption {
    position: static;
    max-width: none;
    border-radius: 0;
    border-width: 4px 0 0;
    box-shadow: none;
  }

  .route-card {
    grid-template-columns: 1fr;
  }
}
