:root {
  --ink: #090712;
  --panel: #171127;
  --panel-2: #211738;
  --line: #42f5d7;
  --pink: #ff3cac;
  --yellow: #ffe45e;
  --green: #4cff72;
  --red: #ff5b5b;
  --paper: #fff9d8;
  --muted: #c8c1e8;
  --shadow: #000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(66, 245, 215, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 60, 172, 0.07) 1px, transparent 1px),
    var(--ink);
  background-size: 28px 28px;
  color: var(--paper);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: screen;
  opacity: 0.35;
  z-index: 20;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(9, 7, 18, 0.88);
  border-bottom: 4px solid var(--line);
  box-shadow: 0 6px 0 var(--shadow);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  min-width: 46px;
  min-height: 34px;
  place-items: center;
  background: var(--yellow);
  border: 3px solid var(--shadow);
  box-shadow: 4px 4px 0 var(--pink);
  color: var(--ink);
  font-size: 0.95rem;
}

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

.main-nav a {
  padding: 8px 12px;
  border: 2px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 6px solid var(--pink);
}

.hero-image,
.hero-overlay,
.hero-content {
  grid-area: 1 / 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 72px);
  object-fit: cover;
  image-rendering: auto;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 7, 18, 0.9) 0%, rgba(9, 7, 18, 0.58) 44%, rgba(9, 7, 18, 0.12) 100%),
    linear-gradient(0deg, rgba(9, 7, 18, 0.92) 0%, rgba(9, 7, 18, 0) 38%);
}

.hero-content {
  align-self: center;
  max-width: 780px;
  padding: 76px clamp(18px, 5vw, 72px) 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--line);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--yellow);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 6px 6px 0 var(--pink), 11px 11px 0 var(--shadow);
  text-transform: uppercase;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 3px solid var(--shadow);
  box-shadow: 5px 5px 0 var(--shadow);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--shadow);
}

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

.button.secondary {
  background: var(--panel);
  color: var(--paper);
  border-color: var(--line);
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

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

.section-heading h2 {
  margin: 0;
  color: var(--paper);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--shadow);
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-section {
  background: linear-gradient(135deg, #11101f, #211738 52%, #11101f);
}

.intro-grid,
.download-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-panel,
.download-card,
.resource-card {
  min-height: 100%;
  padding: 22px;
  background: var(--panel);
  border: 4px solid var(--line);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--shadow);
}

.feature-panel:nth-child(2),
.download-card:nth-child(2),
.resource-card:nth-child(3n + 2) {
  border-color: var(--pink);
}

.feature-panel:nth-child(3),
.download-card:nth-child(3),
.resource-card:nth-child(3n) {
  border-color: var(--yellow);
}

.feature-panel h3,
.download-card h3,
.resource-card h3,
.timeline h3 {
  margin: 14px 0 8px;
  color: var(--yellow);
  font-size: 1.35rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.feature-panel p,
.download-card p,
.resource-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.pixel-icon {
  display: block;
  width: 48px;
  height: 48px;
  border: 4px solid var(--shadow);
  box-shadow: 4px 4px 0 var(--shadow);
}

.icon-cartridge {
  background:
    linear-gradient(var(--yellow), var(--yellow)) 12px 10px / 24px 8px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 10px 28px / 28px 6px no-repeat,
    var(--green);
}

.icon-controller {
  background:
    radial-gradient(circle at 32px 18px, var(--red) 0 4px, transparent 5px),
    radial-gradient(circle at 22px 26px, var(--yellow) 0 4px, transparent 5px),
    linear-gradient(var(--ink), var(--ink)) 8px 20px / 18px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 14px 14px / 6px 18px no-repeat,
    var(--line);
}

.icon-trophy {
  background:
    linear-gradient(var(--ink), var(--ink)) 14px 32px / 20px 6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 19px 24px / 10px 10px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 10px 10px / 28px 18px no-repeat,
    var(--pink);
}

.schedule-section {
  background:
    linear-gradient(180deg, rgba(255, 228, 94, 0.08), transparent 38%),
    var(--ink);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  min-height: 170px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--red);
  border: 3px solid var(--shadow);
  box-shadow: 4px 4px 0 var(--shadow);
  color: #fff;
  font-weight: 900;
}

.downloads-section {
  background: linear-gradient(135deg, #101927, #142a22 48%, #25132d);
}

.resources-section {
  background:
    linear-gradient(90deg, rgba(76, 255, 114, 0.1), transparent 42%),
    linear-gradient(135deg, #171127, #112336 54%, #23142e);
}

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

.download-tag {
  display: inline-block;
  padding: 5px 9px;
  background: var(--yellow);
  border: 2px solid var(--shadow);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card a,
.resource-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--line);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 18px;
  background: var(--ink);
  border-top: 4px solid var(--yellow);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .intro-grid,
  .download-grid,
  .resource-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 760px;
  }

  .hero-image {
    min-height: 760px;
  }

  .hero-content {
    align-self: end;
    padding-bottom: 72px;
  }

  .main-nav a {
    padding-left: 0;
  }

  .button {
    width: 100%;
  }
}
