body {
  margin: 0;
  background: #100b1d;
  color: #fff4d6;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

.arcade {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.arcade-intro {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.arcade-eyebrow {
  margin: 0 0 0.5rem;
  color: #ff8a5b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.arcade-intro h1 {
  margin: 0;
  color: #fff4d6;
  font-family: "Courier New", monospace;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #6c3bd1;
}

.arcade-intro p:last-child {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: #c9bde5;
  line-height: 1.6;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 2px solid #3f2a64;
  border-radius: 4px;
  background: #1a1230;
  box-shadow: 6px 6px 0 #090611;
  color: #fff4d6;
  text-decoration: none;
  transform: translate(0, 0);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.025) 3px 4px);
}

.game-card:hover,
.game-card:focus-visible {
  transform: translate(-3px, -3px);
  border-color: #ffcc4d;
  box-shadow: 9px 9px 0 #090611;
}

.game-card:focus-visible {
  outline: 3px solid #5df2d6;
  outline-offset: 4px;
}

.game-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  image-rendering: pixelated;
  background: #0d0920;
  border-bottom: 2px solid #3f2a64;
}

.game-card span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem 1.15rem;
}

.game-card strong {
  font-family: "Courier New", monospace;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.game-card small {
  color: #c9bde5;
  font-size: 0.86rem;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 190px;
  }

  .game-card img {
    height: 145px;
  }
}
