/* The game selector stays light: artwork and links, no game runtime. */
:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #fff3d6;
  background: #100b18;
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #72f4dd;
  outline-offset: 5px;
}
.arcade {
  width: min(1460px, calc(100% - 64px));
  margin: 36px auto 64px;
}
.arcade > h1 {
  margin: 0 0 24px;
  font:
    400 clamp(36px, 4vw, 54px)/1 BunzDisplay,
    Impact,
    sans-serif;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.game-card {
  min-width: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 640px;
  border: 1px solid #ff91c540;
  border-radius: 22px;
  background: #1b102b;
  box-shadow: 0 24px 70px #0005;
}
.card-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.card-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, #160c2570 48%, #160c25f5 74%, #160c25 100%);
}
.hood-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.roof-art,
.yoga-art {
  display: block;
  width: 100%;
  height: auto;
}
.game-card.yoga-card {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2 / 3;
}
.yoga-card .card-content {
  position: absolute;
  inset: 0;
}
.hood-art {
  object-position: 32% center;
}
.roof-art {
  object-position: center top;
}
.yoga-art {
  object-position: center center;
}
.yoga-card .card-art::after {
  background: linear-gradient(180deg, transparent 64%, #160c2540 78%, #160c25e8 100%);
}
.yoga-card h2 span {
  display: block;
  color: #ffb4da;
}
.hood-card h2 > span {
  display: block;
}
.card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 32px;
}
.card-content h2 {
  margin: 0;
  font:
    400 clamp(56px, 4.6vw, 72px)/0.94 BunzDisplay,
    Impact,
    sans-serif;
  text-transform: uppercase;
  text-shadow: 3px 5px #210e2c;
}
.hood-card h2 span {
  color: #ff389e;
}
.hood-card h2 small {
  font: inherit;
  font-size: 0.37em;
  display: inline-block;
  width: 1.5em;
  margin: 0 0.3em;
  line-height: 0.95;
  text-align: center;
}
.roof-card h2 span {
  display: block;
  color: #72f4dd;
}
.card-content p {
  min-height: 48px;
  margin: 20px 0;
  max-width: 390px;
  color: #dfcfe3;
  font-size: 17px;
}
.card-actions {
  display: grid;
  gap: 12px;
}
.card-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  border: 1px solid #ff91c54d;
  border-radius: 13px;
  font:
    400 29px/1 BunzDisplay,
    Impact,
    sans-serif;
  letter-spacing: 0.025em;
  transition:
    background 0.15s,
    transform 0.15s;
  touch-action: manipulation;
}
.card-actions .play-button {
  min-height: 66px;
  background: linear-gradient(125deg, #ff429f, #fb1594);
  border-color: #ff8ec6;
  box-shadow: 0 4px #8f1759;
  font-size: 36px;
}
.card-actions .board-button {
  background: #20122bdb;
}
.card-actions span {
  font:
    19px/1 system-ui,
    sans-serif;
}
.board-button span {
  color: #ffdc70;
}
.card-actions a:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}
.beta-ribbon,
.coming-ribbon {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: -49px;
  width: 190px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border-block: 1px solid #fff4dc80;
  background: #ff299b;
  box-shadow:
    0 3px #8f1759,
    0 6px 14px #0005;
  font:
    26px/1 BunzDisplay,
    Impact,
    sans-serif;
  letter-spacing: 0.12em;
}
.coming-ribbon {
  top: 40px;
  right: -66px;
  width: 260px;
  height: 38px;
  background: #594782;
  box-shadow:
    0 3px #302246,
    0 6px 14px #0005;
  font-size: 22px;
  letter-spacing: 0.03em;
}
@media (max-width: 1100px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .arcade {
    width: calc(100% - 40px);
  }
  .game-grid {
    gap: 20px;
  }
  .game-card {
    min-height: 590px;
  }
  .card-content {
    padding: 24px;
  }
  .card-content h2 {
    font-size: 58px;
  }
  .hood-card h2 small {
    display: block;
    width: auto;
    text-align: left;
    margin: 6px 0;
  }
  .card-content p {
    font-size: 16px;
    min-height: 72px;
  }
}
@media (max-width: 640px) {
  .arcade {
    width: calc(100% - 32px);
    margin-top: 26px;
    margin-bottom: 32px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .game-card {
    min-height: 590px;
  }
  .hood-card h2 small {
    display: inline-block;
    width: 1.5em;
    margin: 0 0.3em;
  }
  .card-content p {
    min-height: 48px;
  }
  .card-content h2 {
    font-size: clamp(49px, 13vw, 70px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .card-actions a {
    transition: none;
  }
}
