:root {
  --ink: #1a1a1a;
  --snow: #f7f4ed;
  --moss: #6f8b5c;
  --gold: #f2c94c;
  --ember: #e4572e;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Rubik", "Trebuchet MS", sans-serif;
  color: var(--snow);
  background: #0c0c0c;
  scroll-behavior: smooth;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: 2;
}

.hero {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.slide {
  min-height: 100vh;
  padding: 120px 8vw 80px;
  position: relative;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.35));
  z-index: -1;
}

.slide-1 {
  background-image: url("/static/slide1.png");
}

.slide-2 {
  background-image: url("/static/slide2.png");
  justify-content: flex-start;
}

.slide-2 .content {
  margin-right: auto;
  text-align: left;
}

.slide-3 {
  background-image: url("/static/slide3.png");
}

.topbar {
  position: fixed;
  top: 24px;
  left: 5vw;
  right: 5vw;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.pill {
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
}

.content {
  max-width: 720px;
  animation: rise 0.8s ease-out both;
}

.eyebrow {
  font-family: "Press Start 2P", monospace;
  color: var(--gold);
  margin: 0 0 16px;
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Press Start 2P", monospace;
  line-height: 1.3;
  margin: 0 0 24px;
}

h1 {
  font-size: clamp(26px, 4vw, 46px);
}

h2 {
  font-size: clamp(22px, 3.3vw, 36px);
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--snow);
  color: var(--snow);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--ember);
  border-color: var(--ember);
}

.btn.ghost {
  background: rgba(0, 0, 0, 0.5);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 1.6s ease-in-out infinite;
}

.mods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.mod-card {
  padding: 18px 16px;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid var(--moss);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.note {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.steps li.step-muted {
  opacity: 0.75;
}

.steps a {
  color: var(--snow);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.steps a:hover {
  color: var(--gold);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
}

.server-pill {
  display: inline-flex;
  padding: 14px 18px;
  border: 2px dashed var(--gold);
  font-family: "Press Start 2P", monospace;
  text-transform: uppercase;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.4);
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    gap: 10px;
  }

  .slide {
    padding: 140px 8vw 80px;
  }

  .lead {
    font-size: 16px;
  }
}
