:root {
  --orange: #ffae18;
  --yellow: #ffd327;
  --ink: #111113;
  --paper: #fffaf0;
  --green: #008f5a;
  --blue: #2877eb;
  --red: #ee3d32;
  --shadow: 9px 9px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito", system-ui, sans-serif;
  overflow-x: hidden;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 900 1rem/1 "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
  font: 900 1.25rem/1 "Archivo Black", sans-serif;
  transform: rotate(-4deg);
}
.youtube {
  position: absolute;
  top: 22px;
  right: clamp(20px, 5vw, 76px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  font-weight: 900;
  transition: .18s ease;
}
.youtube svg { width: 24px; fill: var(--red); }
.youtube:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.hero {
  min-height: 100svh;
  padding: clamp(56px, 8vw, 112px) clamp(22px, 7vw, 110px) 60px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--orange);
  border-bottom: 4px solid var(--ink);
}
.pattern {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .18;
  background-image: radial-gradient(circle, var(--paper) 2px, transparent 2.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, #000, transparent 56%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  min-width: 520px;
  min-height: 520px;
  right: -8vw;
  bottom: -16vw;
  border-radius: 50%;
  background: var(--yellow);
  z-index: -2;
  border: 4px solid var(--ink);
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #263116;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .84rem;
}
.eyebrow span { width: 32px; height: 5px; background: var(--green); border: 1px solid var(--ink); }
h1, h2, h3 { margin: 0; }
h1 {
  font: 400 clamp(3.9rem, 8.1vw, 8.2rem)/.82 "Archivo Black", sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
  max-width: 760px;
  text-shadow: 5px 5px 0 rgba(255,255,255,.65);
}
h1 span { color: var(--paper); -webkit-text-stroke: 3px var(--ink); text-shadow: 7px 7px 0 var(--ink); }
.intro {
  position: relative;
  max-width: 530px;
  margin: 28px 0 30px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.8;
  font-weight: 800;
}
.text-highlight {
  background: var(--ink);
  color: #fff;
  padding: .12em .3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.primary-button, .card-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--green);
  color: white;
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .04em;
  transition: .18s ease;
}
.primary-button:hover, .game-card:hover .card-button { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--ink); }
.hero-art {
  height: min(710px, 72vw);
  min-height: 490px;
  position: relative;
  align-self: end;
  z-index: 2;
}
.hero-art > img {
  position: absolute;
  height: 106%;
  width: auto;
  max-width: none;
  right: -4vw;
  bottom: -70px;
  filter: drop-shadow(10px 12px 0 rgba(17,17,19,.18));
}
.burst {
  position: absolute;
  width: min(38vw, 570px);
  aspect-ratio: 1;
  right: 1vw;
  top: 9%;
  background: repeating-conic-gradient(var(--paper) 0 7deg, transparent 7deg 16deg);
  opacity: .45;
  border-radius: 50%;
  animation: spin 36s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }
.pixel-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  font: 900 2rem/1 "Archivo Black", sans-serif;
}
.chip-a { top: 10%; left: 10%; color: var(--red); transform: rotate(-12deg); }
.chip-b { right: 3%; top: 30%; color: var(--blue); transform: rotate(9deg); }
.spark { position: absolute; color: var(--paper); font-size: 2.3rem; -webkit-text-stroke: 2px var(--ink); }
.spark-one { left: 48%; top: 12%; transform: rotate(9deg); }
.spark-two { left: 5%; bottom: 12%; font-size: 1.5rem; }
.scroll-note {
  position: absolute;
  left: 20px;
  bottom: 110px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.games {
  padding: clamp(72px, 9vw, 130px) clamp(22px, 7vw, 110px) 100px;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(17,17,19,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,19,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.section-heading { max-width: 1120px; margin: 0 auto 38px; }
.eyebrow.dark { color: var(--ink); }
h2 {
  font: 400 clamp(2.6rem, 5vw, 5rem)/.95 "Archivo Black", sans-serif;
  letter-spacing: -.05em;
}
.games-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.game-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: .2s ease;
}
.game-card:focus-visible, .primary-button:focus-visible, .youtube:focus-visible { outline: 5px solid var(--blue); outline-offset: 5px; }
.game-image { position: relative; aspect-ratio: 1.46; overflow: hidden; border-bottom: 4px solid var(--ink); background: #111029; }
.game-image img { width: 100%; height: 100%; object-fit: contain; }
.new-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 8px 13px;
  color: white;
  background: var(--red);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-5deg);
  font-weight: 900;
}
.play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}
.play-icon svg { width: 44px; fill: var(--ink); }
.game-info { padding: clamp(24px, 3vw, 36px); display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 20px; }
.game-status { align-self: flex-start; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow); font-weight: 900; }
.game-type { color: var(--green); font-size: .8rem; font-weight: 900; letter-spacing: .1em; }
.game-info h3 { font: 400 clamp(1.6rem, 2.6vw, 2.6rem)/1.1 "Archivo Black", sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.game-info p:not(.game-type) { font-size: 1.08rem; line-height: 1.5; font-weight: 700; }
.card-button { align-self: flex-start; background: var(--orange); color: var(--ink); }
.more-games { text-align: center; margin: 42px 0 0; font-weight: 900; }
.more-games span { color: var(--green); }
footer {
  min-height: 130px;
  padding: 28px clamp(22px, 7vw, 110px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: white;
}
.footer-brand .brand-mark { color: var(--ink); }
footer p { margin: 0; font-weight: 800; opacity: .7; }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 110px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .intro { margin-left: auto; margin-right: auto; }
  .hero-art { height: 570px; min-height: 0; margin-top: 20px; }
  .hero-art > img { right: 50%; transform: translateX(50%); bottom: -62px; }
  .burst { width: 510px; right: 50%; transform: translateX(50%); }
  @keyframes spin { from { transform: translateX(50%) rotate(0); } to { transform: translateX(50%) rotate(1turn); } }
  .games-grid { grid-template-columns: 1fr; }
  .game-image { border-right: 0; border-bottom: 4px solid var(--ink); }
  .scroll-note { display: none; }
}

@media (max-width: 560px) {
  .brand > span:last-child { font-size: .82rem; }
  .youtube { padding: 9px; font-size: 0; }
  .hero { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: clamp(3.45rem, 18vw, 5.3rem); }
  h1 span { -webkit-text-stroke-width: 2px; text-shadow: 5px 5px 0 var(--ink); }
  .hero-art { height: 440px; }
  .hero-art > img { height: 102%; }
  .pixel-chip { width: 48px; font-size: 1.4rem; }
  .chip-a { left: 0; }
  .game-info { padding: 28px 23px 32px; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
