:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --black-panel: #151515;
  --green: #00c805;
  --green-dark: #007f35;
  --orange: #ff6a00;
  --gold: #f8c12c;
  --paper: #f6f1df;
  --muted: #a9aa9d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow-hard: 7px 7px 0 #000;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(0, 200, 5, 0.08), transparent 360px),
    linear-gradient(135deg, #0a0a0a 0%, #101010 44%, #070707 100%);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: #121212;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: soft-light;
  opacity: 0.38;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 14px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.78);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.nav-cta {
  border-radius: 6px;
  color: rgba(246, 241, 223, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a {
  padding: 9px 10px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(0, 200, 5, 0.14);
  color: var(--green);
}

.nav-cta {
  padding: 10px 13px;
  background: var(--green);
  color: #061107;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  color: #111;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 92svh;
  padding: 124px 18px 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(1.08) contrast(1.06);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.36) 58%, #0a0a0a 100%);
}

.hero-content {
  align-self: center;
  width: min(790px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000;
}

.gta-title {
  position: relative;
  max-width: 100%;
  margin: 0;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 2.25rem;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    4px 4px 0 #000,
    7px 7px 0 var(--green-dark),
    10px 10px 0 rgba(255, 106, 0, 0.8);
  -webkit-text-stroke: 1px #000;
}

.glitch::before,
.glitch::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  opacity: 0;
  pointer-events: none;
}

.glitch:hover::before,
.glitch:focus-visible::before {
  color: var(--green);
  opacity: 0.72;
  transform: translate(2px, -2px);
  clip-path: inset(0 0 48% 0);
  animation: glitch-hop 480ms steps(2, end) infinite;
}

.glitch:hover::after,
.glitch:focus-visible::after {
  color: var(--orange);
  opacity: 0.62;
  transform: translate(-2px, 2px);
  clip-path: inset(52% 0 0 0);
  animation: glitch-hop 560ms steps(2, end) infinite reverse;
}

.hero-subtitle {
  margin: 20px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 3px 3px 0 #000;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(246, 241, 223, 0.86);
  font-size: 1rem;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid #000;
  border-radius: 6px;
  box-shadow: var(--shadow-hard);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 #000;
  filter: saturate(1.14);
}

.button-primary {
  background: var(--green);
  color: #071107;
}

.button-secondary {
  background: var(--orange);
  color: #150b05;
}

.music-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  width: min(620px, 100%);
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgba(248, 193, 44, 0.48);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.72);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.music-button {
  position: relative;
  isolation: isolate;
  min-height: 42px;
  padding: 10px 16px;
  border: 2px solid #000;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  cursor: pointer;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.music-panel.needs-interaction {
  border-color: rgba(0, 200, 5, 0.86);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(0, 200, 5, 0.28),
    0 0 32px rgba(0, 200, 5, 0.2);
}

.music-panel.needs-interaction .music-button {
  background: var(--green);
  color: #061107;
  animation: music-button-pulse 1100ms ease-in-out infinite;
}

.music-panel.needs-interaction .music-button::after {
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 2px solid rgba(248, 193, 44, 0.72);
  border-radius: 10px;
  content: "";
  animation: music-ring-pulse 1100ms ease-out infinite;
}

.music-panel p {
  flex: 1 1 220px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-tape {
  position: absolute;
  right: -20px;
  bottom: 34px;
  left: -20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 11px 20px;
  border-block: 2px solid #000;
  background: var(--gold);
  color: #111;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: rotate(-1deg);
  box-shadow: 0 8px 0 #000;
}

.hero-tape span {
  white-space: nowrap;
}

.section {
  position: relative;
  padding: 72px 18px;
}

.section:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.section-heading,
.lore-layout,
.gallery-grid,
.steps-grid,
.contract-strip,
.link-row,
.token-grid,
.community-grid {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 2.35rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #000;
}

.lore-layout {
  display: grid;
  gap: 22px;
  color: rgba(246, 241, 223, 0.82);
  font-size: 1.02rem;
}

.lore-lead {
  margin: 0;
  color: var(--paper);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.28;
}

.lore-layout p {
  margin: 0;
}

.lore-callout {
  padding: 22px;
  border: 2px solid #000;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 200, 5, 0.95), rgba(0, 127, 53, 0.92)),
    var(--green);
  color: #071107;
  box-shadow: var(--shadow-hard);
}

.lore-callout span {
  display: block;
  margin-bottom: 8px;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.lore-callout strong {
  display: block;
  color: #071107;
  font-size: 1.35rem;
  line-height: 1.12;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-card {
  position: relative;
  margin: 0;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: #1b1b1b;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}

.gallery-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  padding: 14px;
  border-top: 2px solid #000;
  background: var(--paper);
  color: #141414;
}

.gallery-card span {
  grid-row: span 2;
  align-self: center;
  color: var(--orange);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.45rem;
}

.gallery-card strong {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  text-transform: uppercase;
}

.gallery-card em {
  color: #3f3f3f;
  font-size: 0.92rem;
  font-style: normal;
}

.section-buy {
  background:
    linear-gradient(180deg, rgba(255, 106, 0, 0.09), transparent 42%),
    rgba(0, 0, 0, 0.22);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step-card,
.token-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 21, 21, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.step-card {
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 2px solid #000;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.step-card p {
  margin: 0;
  color: rgba(246, 241, 223, 0.78);
}

.contract-strip {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: var(--paper);
  color: #121212;
  box-shadow: var(--shadow-hard);
}

.contract-strip span {
  display: block;
  margin-bottom: 8px;
  color: #4a4a42;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contract-strip code {
  display: block;
  max-width: 100%;
  color: #111;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.link-row {
  margin-top: 22px;
}

.link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 200, 5, 0.48);
  border-radius: 999px;
  background: rgba(0, 200, 5, 0.08);
  color: var(--paper);
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.link-row a:hover,
.link-row a:focus-visible {
  background: var(--green);
  color: #071107;
  transform: translateY(-2px);
}

.token-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.token-grid article {
  min-height: 122px;
  padding: 18px;
}

.token-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.token-grid strong {
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-community {
  padding-bottom: 92px;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.community-button {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 20px;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: var(--black-panel);
  box-shadow: var(--shadow-hard);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.community-button:hover,
.community-button:focus-visible {
  background: var(--gold);
  color: #111;
  transform: translate(-2px, -2px);
}

.community-button span {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.community-button:hover span,
.community-button:focus-visible span {
  color: #111;
}

.community-button strong {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.floating-copy {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  min-height: 48px;
  padding: 12px 17px;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--green);
  color: #061107;
  box-shadow: 6px 6px 0 #000;
  cursor: pointer;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.copy-toast {
  position: fixed;
  right: 16px;
  bottom: 78px;
  z-index: 55;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid rgba(248, 193, 44, 0.5);
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.92);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 18px 96px;
  border-top: 1px solid var(--line);
  color: rgba(246, 241, 223, 0.7);
  background: #070707;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes glitch-hop {
  0% {
    transform: translate(2px, -2px);
  }
  50% {
    transform: translate(-2px, 1px);
  }
  100% {
    transform: translate(1px, 2px);
  }
}

@keyframes music-button-pulse {
  0%,
  100% {
    box-shadow: 5px 5px 0 #000, 0 0 0 rgba(0, 200, 5, 0);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow: 7px 7px 0 #000, 0 0 28px rgba(0, 200, 5, 0.72);
    transform: translateY(-2px) scale(1.05);
  }
}

@keyframes music-ring-pulse {
  0% {
    opacity: 0.86;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@media (min-width: 380px) {
  .gta-title {
    font-size: 2.75rem;
  }
}

@media (min-width: 520px) {
  .gta-title {
    font-size: 3.8rem;
  }
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .hero-section {
    padding-inline: 32px;
  }

  .hero-content {
    margin-left: max(32px, calc((100% - 1120px) / 2));
  }

  .gta-title {
    font-size: 5.85rem;
  }

  .hero-subtitle {
    font-size: 2.55rem;
  }

  .hero-copy {
    font-size: 1.1rem;
  }

  .section {
    padding: 92px 28px;
  }

  .section-heading h2 {
    font-size: 3.35rem;
  }

  .lore-layout {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
  }

  .lore-callout {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tilt-left {
    transform: rotate(-1.2deg);
  }

  .tilt-right {
    transform: rotate(1.2deg);
  }

  .steps-grid,
  .token-grid,
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contract-strip {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 22px;
  }
}

@media (min-width: 1100px) {
  .gta-title {
    font-size: 7.5rem;
  }

  .hero-subtitle {
    font-size: 3.2rem;
  }

  .hero-copy {
    font-size: 1.18rem;
  }

  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .token-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .site-header {
    padding: 10px;
  }

  .nav-shell {
    align-items: stretch;
  }

  .brand-mark span {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
  }

  .hero-section {
    padding-top: 106px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .music-button {
    width: 100%;
  }

  .hero-tape {
    justify-content: flex-start;
    overflow: hidden;
  }

  .floating-copy {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .music-panel.needs-interaction .music-button,
  .music-panel.needs-interaction .music-button::after {
    animation: none !important;
  }
}
