.games-page {
  min-height: 100vh;
}

.games-page .primary-nav a[aria-current="page"] {
  border-color: var(--purple);
  color: var(--green);
}

.games-hero {
  display: grid;
  min-height: 31rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
}

.games-page h1 {
  white-space: normal;
}

.games-page h1 em {
  margin-left: 0;
  white-space: nowrap;
}

.games-intro {
  border-top: 3px solid var(--text);
  padding-top: 1.2rem;
}

.games-intro p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.games-intro span {
  display: block;
  margin-top: 1.4rem;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.game-cabinet {
  border-block: 2px solid var(--line-hot);
  background:
    repeating-linear-gradient(90deg, rgba(112, 230, 219, 0.025) 0 1px, transparent 1px 28px),
    #0c100c;
  padding-block: clamp(1rem, 3vw, 2rem);
}

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

.game-card {
  position: relative;
  display: grid;
  min-height: 43rem;
  grid-template-rows: 17rem 1fr;
  border: 2px solid var(--line-hot);
  background: #111611;
  color: var(--text);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.game-card:hover {
  border-color: var(--green);
  color: var(--text);
  transform: translateY(-5px);
}

.game-card-pick {
  border-color: #725828;
  background: #17130c;
}

.game-card-pick:hover {
  border-color: var(--yellow);
}

.game-card-spum {
  border-color: #69746c;
  background: #111916;
}

.game-card-spum:hover {
  border-color: #f0edda;
}

.game-number {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  left: 1rem;
  color: rgba(240, 239, 226, 0.3);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.game-status {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.85rem;
  border: 1px solid currentColor;
  background: rgba(3, 5, 3, 0.82);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.4rem;
  text-transform: uppercase;
}

.game-card-pick .game-status {
  color: var(--yellow);
}

.game-card-spum .game-status {
  color: #f0edda;
}

.game-status i {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0.55rem currentColor;
}

.game-mark {
  position: relative;
  display: grid;
  border-bottom: 1px dashed var(--line-hot);
  place-items: center;
  overflow: hidden;
}

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

.game-mark-quotes {
  grid-template-columns: repeat(2, 1fr);
  background:
    radial-gradient(circle at 30% 45%, rgba(255, 103, 179, 0.2), transparent 9rem),
    #080b08;
}

.game-mark-quotes span:first-child {
  color: var(--purple);
  font-family: Georgia, serif;
  font-size: 14rem;
  line-height: 0.5;
  transform: translateY(2.5rem) rotate(-7deg);
}

.game-mark-quotes span:last-child {
  color: var(--green);
  font-family: var(--mono);
  font-size: 8rem;
  font-weight: 900;
  transform: rotate(6deg);
}

.game-mark-pick {
  grid-template-columns: 1fr auto 1fr;
  background:
    linear-gradient(115deg, rgba(255, 194, 71, 0.13), transparent 42%),
    #0d0b07;
}

.game-mark-pick span {
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
}

.game-mark-pick span:last-child {
  color: var(--yellow);
}

.game-mark-pick b {
  border: 2px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.55rem 0.4rem;
  transform: rotate(-9deg);
}

.game-mark-spum {
  background:
    radial-gradient(circle at 52% 54%, rgba(240, 237, 218, 0.13), transparent 9rem),
    linear-gradient(145deg, #14201a, #080c0a);
}

.spum-nozzle {
  position: absolute;
  width: 5.6rem;
  height: 1.7rem;
  left: 12%;
  bottom: 24%;
  border: 3px solid #9baa9f;
  background: #26342d;
  transform: rotate(-28deg);
}

.spum-arc {
  position: absolute;
  width: 56%;
  height: 55%;
  left: 26%;
  top: 20%;
  border-top: 1.5rem solid #f0edda;
  border-radius: 50%;
  filter: drop-shadow(0 0 0.7rem rgba(255, 255, 255, 0.28));
  transform: rotate(7deg);
}

.spum-vessel {
  position: absolute;
  width: 4.2rem;
  height: 5rem;
  right: 9%;
  bottom: 17%;
  border: 4px solid var(--green);
  border-top-width: 2px;
  background: linear-gradient(to top, rgba(240, 237, 218, 0.6) 0 38%, transparent 38%);
}

.game-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.game-route {
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.game-copy h2 {
  margin: 1.2rem 0 0;
  font-family: var(--mono);
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.78;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}

.game-card-quotes h2 {
  color: var(--green);
}

.game-card-pick h2 {
  color: var(--yellow);
}

.game-card-spum h2 {
  color: #f0edda;
}

.game-copy > p:not(.game-route) {
  max-width: 52ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.game-facts {
  display: grid;
  margin: auto 0 1.2rem;
  border-block: 1px solid var(--line);
  font-family: var(--mono);
}

.game-facts div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  gap: 1rem;
  padding: 0.4rem 0;
}

.game-facts div:last-child {
  border-bottom: 0;
}

.game-facts dt {
  color: var(--dim);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.game-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 800;
  text-align: right;
}

.game-launch {
  align-self: flex-start;
  border-bottom: 2px solid var(--purple);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.game-card:hover .game-launch {
  color: var(--green);
}

.game-card-pick:hover .game-launch {
  color: var(--yellow);
}

.game-card-spum:hover .game-launch {
  color: #f0edda;
}

.cabinet-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-right: 1px solid var(--line-hot);
  border-bottom: 1px solid var(--line-hot);
  border-left: 1px solid var(--line-hot);
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1rem 1.2rem;
}

.cabinet-note span,
.cabinet-note a {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cabinet-note span {
  color: var(--purple);
}

.cabinet-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.cabinet-note a {
  color: var(--cyan);
}

@media (max-width: 800px) {
  .games-hero,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .games-hero {
    min-height: 0;
    align-items: start;
    gap: 2.5rem;
  }

  .game-card {
    min-height: 39rem;
  }

  .cabinet-note {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (max-width: 1080px) and (min-width: 801px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card-spum {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .games-page .shell {
    width: min(100% - 1.25rem, 1240px);
  }

  .games-page h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .games-page h1 em {
    white-space: normal;
  }

  .game-card {
    min-height: 38rem;
    grid-template-rows: 13rem 1fr;
  }

  .game-mark-quotes span:first-child {
    font-size: 10rem;
  }

  .game-mark-quotes span:last-child {
    font-size: 6rem;
  }

  .game-copy h2 {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }
}
