:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #171717;
  --muted: #5c6068;
  --line: #ded8ca;
  --panel: #fffdfa;
  --pink: #f23baa;
  --pink-dark: #b91679;
  --yellow: #f5b82e;
  --green: #2f7d4a;
  --blue: #2454d6;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(23, 23, 23, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, .035) 1px, transparent 1px),
    var(--bg);
  background-size: 36px 36px;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
}

.main-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--pink);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--ink);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  padding: 28px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: .86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--pink);
}

.lede {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

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

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.duck-stage::before {
  position: absolute;
  inset: 9% 4% 5% 12%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  content: "";
  transform: rotate(-3deg);
  box-shadow: 18px 18px 0 var(--green);
}

.duck-stage img {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  height: auto;
  border-radius: 8px;
}

.section {
  padding: 78px 0;
  border-top: 2px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
}

.section-heading p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.games-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 18px;
}

.game-card,
.legal-card {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 0 rgba(23, 23, 23, .14);
}

.game-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(260px, 1.05fr);
  overflow: hidden;
}

.game-copy {
  padding: 28px;
}

.game-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.game-copy p,
.about-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.game-art {
  min-height: 260px;
  background:
    radial-gradient(circle at 30% 35%, rgba(245, 184, 46, .9), transparent 24%),
    linear-gradient(135deg, #161616, #2b1c35 55%, #f23baa);
}

.legal-card {
  padding: 24px;
}

.legal-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.legal-list a::after {
  color: var(--pink);
  content: "->";
}

.about-band {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--green);
  padding: 30px;
  color: #fff;
}

.about-band h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

.about-copy p {
  color: rgba(255, 255, 255, .88);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 38px;
  border-top: 2px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.play-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  background: #000;
}

.play-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, .12);
  padding: 10px 14px;
  background: #101018;
}

.play-topbar .brand,
.play-topbar a {
  color: #fff;
}

.play-topbar > a {
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

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

  .hero-grid,
  .games-grid,
  .game-card,
  .about-band {
    grid-template-columns: 1fr;
  }

  .duck-stage {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 56px;
  }

  .button {
    width: 100%;
  }

  .duck-stage::before {
    inset: 14% 2% 8%;
  }
}
