:root {
  --paper: #f3f7ff;
  --ink: #10162a;
  --blue: #2563eb;
  --blue-dark: #1741a6;
  --lime: #a3ff12;
  --coral: #ff5068;
  --yellow: #ffd447;
  --purple: #7c4dff;
  --white: #ffffff;
  --muted: #596277;
  --line: #10162a;
  --shadow: 7px 7px 0 #10162a;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 72px);
  border-bottom: 2px solid var(--line);
  background: rgba(244, 241, 232, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 7px);
  align-items: end;
  gap: 3px;
  width: 30px;
  height: 30px;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--lime);
}

.brand-mark span {
  display: block;
  height: 8px;
  background: var(--ink);
}

.brand-mark span:nth-child(2) {
  height: 16px;
}

.brand-mark span:nth-child(3) {
  height: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.nav-shortlist {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.nav-shortlist span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
}

main,
footer {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  min-height: 690px;
  padding: clamp(70px, 9vw, 120px) 0 90px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1,
.section-heading h2,
.faq-section h2,
.roulette-modal h2,
.drawer-header h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 7.5vw, 7.1rem);
}

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

.hero-deck {
  max-width: 620px;
  margin: 28px 0;
  color: #41413e;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.primary-cta,
.find-button,
.roulette-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-cta,
.find-button {
  background: var(--blue);
  color: white;
  box-shadow: 5px 5px 0 var(--ink);
}

.primary-cta:hover,
.find-button:hover,
.roulette-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.primary-cta:active,
.find-button:active,
.roulette-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero-stack {
  position: relative;
  min-height: 470px;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(360px, 82%);
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.float-card strong {
  margin: 10px 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 0.95;
}

.float-card small {
  font-weight: 700;
}

.float-label {
  align-self: flex-start;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
}

.float-card-a {
  top: 45px;
  right: 8%;
  transform: rotate(4deg);
  background: var(--lime);
}

.float-card-b {
  top: 255px;
  left: 2%;
  transform: rotate(-5deg);
  background: var(--coral);
}

.hero-orbit {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.orbit-one {
  top: 5px;
  right: -30px;
  width: 360px;
  height: 360px;
}

.orbit-two {
  right: 120px;
  bottom: 5px;
  width: 180px;
  height: 180px;
  border-style: dashed;
}

.trust-strip {
  position: absolute;
  bottom: 32px;
  left: 0;
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.trust-strip span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--blue);
}

.finder-section,
.results-section,
.collections-section,
.how-section,
.faq-section {
  padding: clamp(70px, 10vw, 120px) 0;
}

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

.section-heading h2,
.faq-section h2 {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
}

.text-button {
  padding: 8px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.finder-panel {
  padding: clamp(22px, 4vw, 44px);
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

fieldset {
  margin: 0;
  padding: 25px 0 30px;
  border: 0;
  border-bottom: 2px solid var(--ink);
}

legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  padding: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

legend span {
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
}

.choice-row {
  display: flex;
  gap: 10px;
}

.choice-wrap {
  flex-wrap: wrap;
}

.choice-row button {
  min-width: 66px;
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.choice-row button:hover {
  background: rgba(53, 88, 246, 0.08);
}

.choice-row button.is-active {
  background: var(--ink);
  color: white;
}

.preference-fieldset {
  border-bottom: 0;
}

.preference-details {
  border-bottom: 1px solid var(--line);
}

.preference-details > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}

.preference-details > summary::-webkit-details-marker {
  display: none;
}

.preference-details > summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.45rem;
  font-weight: 900;
}

.preference-details[open] > summary::after {
  content: "−";
}

.preference-details .step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.preference-details summary strong,
.preference-details summary small {
  display: block;
}

.preference-details summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.preference-details .preference-fieldset {
  padding-top: 0;
}

.toggle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  cursor: pointer;
}

.toggle-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-ui {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 25px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #d8d5cd;
}

.toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 160ms ease;
}

.toggle-control input:checked + .toggle-ui {
  background: var(--lime);
}

.toggle-control input:checked + .toggle-ui::after {
  transform: translateX(19px);
}

.toggle-control strong,
.toggle-control small {
  display: block;
}

.toggle-control small {
  color: var(--muted);
}

.finder-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 20px;
}

.finder-actions > button {
  flex: 1;
}

.roulette-button {
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: 112px;
  margin: 10px 0;
  border: 2px dashed #8f8d85;
  border-radius: 14px;
  color: #77756e;
  text-align: center;
}

.ad-slot[data-ad-state="inactive"] {
  display: none;
}

.ad-slot span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ad-slot p {
  margin: 4px;
  font-size: 0.85rem;
}

.results-heading {
  align-items: end;
}

.search-box {
  position: relative;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 10px 42px 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
}

.search-box > span:last-child {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 1.25rem;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 34px;
  margin-bottom: 18px;
}

.filter-chip {
  padding: 5px 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.game-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(53, 88, 246, 0.86), rgba(200, 243, 90, 0.9));
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Archivo Black", sans-serif;
  font-size: 3rem;
}

.game-art img + .game-initials {
  display: none;
}

.game-guide-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  color: inherit;
}

.game-guide-thumbnail:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -5px;
}

.game-title-link {
  color: inherit;
  text-decoration: none;
}

.game-title-link:hover,
.game-title-link:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.match-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.7rem;
  font-weight: 900;
}

.save-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

.save-button.is-saved {
  background: var(--coral);
}

.game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.game-genre {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-body h3 {
  margin: 0 0 9px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.game-body > p {
  margin: 0 0 16px;
  color: #55534e;
  font-size: 0.92rem;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.game-meta span {
  padding: 5px 8px;
  border: 1px solid #aaa69b;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.play-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 2px solid var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.play-link:hover {
  color: var(--blue);
}

.load-more {
  display: block;
  min-height: 50px;
  margin: 30px auto 0;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.load-more[hidden] {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 2px dashed var(--ink);
  border-radius: 18px;
  text-align: center;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.more-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.more-collections a {
  min-height: 48px;
  padding: 11px 0;
  font-weight: 800;
}

.collection-card {
  position: relative;
  min-height: 315px;
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.collection-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.collection-card strong {
  display: block;
  max-width: 300px;
  margin-top: 60px;
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.collection-card p {
  margin-bottom: 25px;
}

.collection-number {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
}

.collection-link {
  font-weight: 900;
}

.collection-lime {
  background: var(--lime);
}

.collection-blue {
  background: var(--blue);
  color: white;
}

.collection-coral {
  background: var(--coral);
}

.how-section {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-grid article {
  padding: 20px 20px 20px 0;
}

.how-grid span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  font-family: "Archivo Black", sans-serif;
}

.how-grid h3 {
  margin-bottom: 6px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.6rem;
}

.how-grid p {
  color: var(--muted);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.faq-list details {
  border-top: 2px solid var(--ink);
}

.faq-list details:last-child {
  border-bottom: 2px solid var(--ink);
}

.faq-list summary {
  padding: 21px 3px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 5px 22px;
  color: var(--muted);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 45px 0 55px;
  border-top: 3px solid var(--ink);
}

.footer-brand span {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
}

.footer-brand p {
  margin: 4px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-weight: 800;
}

.legal {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 16, 16, 0.56);
  backdrop-filter: blur(4px);
}

.drawer-backdrop[hidden],
.modal-backdrop[hidden] {
  display: none;
}

.shortlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 26px;
  border-left: 3px solid var(--ink);
  background: var(--paper);
  transform: translateX(105%);
  transition: transform 200ms ease;
}

.shortlist-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}

.drawer-header h2,
.roulette-modal h2 {
  font-size: 2.6rem;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.drawer-games {
  flex: 1;
  overflow: auto;
  padding: 16px 0;
}

.drawer-game {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #aaa69b;
}

.drawer-game-thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  font-weight: 900;
}

.drawer-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-game strong,
.drawer-game small {
  display: block;
}

.drawer-game small {
  color: var(--muted);
}

.remove-saved {
  border: 0;
  background: transparent;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 18px;
}

.roulette-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: clamp(24px, 5vw, 46px);
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--ink);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.roulette-result-card {
  margin: 24px 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
}

.roulette-result-card .game-art {
  aspect-ratio: 16 / 8.5;
}

.roulette-result-card .game-body {
  padding: 20px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 800;
  transform: translateY(160%);
  transition: transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal-page {
  max-width: 820px;
  padding: 80px 0 120px;
}

.legal-page h1 {
  margin: 0 0 30px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1;
}

.legal-page h2 {
  margin-top: 36px;
  font-family: "Archivo Black", sans-serif;
}

.legal-page p,
.legal-page li {
  color: #4f4d48;
}

.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 50px;
  align-items: center;
  padding: clamp(65px, 9vw, 110px) 0 65px;
}

.collection-hero h1 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.collection-hero .hero-deck {
  margin-bottom: 0;
}

.collection-summary {
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--lime);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.collection-summary strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Archivo Black", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.editorial-section {
  padding: 45px 0 110px;
}

.editorial-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.05rem;
}

.static-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.static-game-card {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.static-game-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--blue), var(--lime));
  font-family: "Archivo Black", sans-serif;
  font-size: 2.7rem;
}

.static-game-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.static-game-body {
  padding: 19px;
}

.static-game-body h2 {
  margin: 4px 0 9px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.static-game-body p {
  color: var(--muted);
}

.static-game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.static-game-meta span {
  padding: 5px 8px;
  border: 1px solid #aaa69b;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.collection-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 10px 0 100px;
  padding: clamp(25px, 5vw, 48px);
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--coral);
  box-shadow: var(--shadow);
}

.collection-cta h2 {
  margin: 0 0 8px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

:focus-visible {
  outline: 4px solid var(--coral);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 110px;
  }

  .hero-stack {
    min-height: 400px;
  }

  .float-card-a {
    right: 5%;
  }

  .float-card-b {
    left: 4%;
  }

  .trust-strip {
    bottom: 35px;
    flex-wrap: wrap;
    gap: 9px 18px;
  }

  .toggle-grid,
  .game-grid,
  .collection-grid,
  .how-grid,
  .static-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collection-hero {
    grid-template-columns: 1fr;
  }

  .collection-card:last-child,
  .how-grid article:last-child {
    grid-column: 1 / -1;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .discovery-tools,
  .recent-grid,
  .details-heading,
  .details-facts,
  .details-gallery {
    grid-template-columns: 1fr;
  }

  .game-card-actions {
    grid-template-columns: 1fr;
  }

  .recent-card button {
    grid-template-columns: 88px 1fr;
  }

  .details-icon {
    width: 150px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 16px;
  }

  nav > a {
    display: none;
  }

  main,
  footer {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    gap: 12px;
    padding-top: 55px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-deck {
    font-size: 1rem;
  }

  .hero-stack {
    min-height: 270px;
  }

  .float-card {
    padding: 20px;
  }

  .float-card strong {
    font-size: 1.8rem;
  }

  .float-card-a {
    top: 20px;
  }

  .float-card-b {
    top: 145px;
  }

  .orbit-one {
    width: 270px;
    height: 270px;
  }

  .section-heading,
  .results-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading .text-button {
    align-self: flex-start;
  }

  .finder-panel {
    padding: 18px;
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .choice-row {
    flex-wrap: wrap;
  }

  .choice-row button {
    flex: 1 1 auto;
  }

  .toggle-grid,
  .game-grid,
  .collection-grid,
  .how-grid,
  .static-game-grid {
    grid-template-columns: 1fr;
  }

  .game-body > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .collection-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .collection-card:last-child,
  .how-grid article:last-child {
    grid-column: auto;
  }

  .finder-actions {
    flex-direction: column;
  }

  .search-box {
    width: 100%;
    min-width: 0;
  }

  .collection-card {
    min-height: 275px;
  }

  .how-grid article {
    border-bottom: 1px solid #aaa69b;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .legal {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Block-world arcade theme */

::selection {
  background: var(--lime);
  color: var(--ink);
}

.site-header {
  min-height: 76px;
  border-bottom: 3px solid var(--ink);
  background: rgba(16, 22, 42, 0.96);
  color: var(--white);
}

.brand {
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  grid-template-columns: repeat(3, 8px);
  padding: 5px;
  border-color: var(--white);
  border-radius: 7px;
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--coral);
  transform: rotate(-4deg);
}

.brand-mark span {
  background: var(--white);
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transition: transform 150ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.nav-shortlist {
  border-color: var(--white);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--blue);
}

.nav-shortlist span {
  border-radius: 6px;
  background: var(--coral);
}

.hero {
  isolation: isolate;
  min-height: 670px;
  margin-top: 24px;
  padding: clamp(58px, 8vw, 96px) clamp(22px, 5vw, 68px) 92px;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background:
    radial-gradient(circle at 76% 22%, rgba(163, 255, 18, 0.23), transparent 18rem),
    radial-gradient(circle at 12% 88%, rgba(255, 80, 104, 0.32), transparent 22rem),
    linear-gradient(135deg, #1737a7 0%, #2563eb 48%, #6c48e8 100%);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, black, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  z-index: -1;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  background: rgba(16, 22, 42, 0.22);
  box-shadow: 3px 3px 0 rgba(16, 22, 42, 0.6);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.22);
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  50% {
    transform: scale(0.72);
    opacity: 0.72;
  }
}

.hero h1 {
  max-width: 670px;
  margin-top: 20px;
  font-size: clamp(3.4rem, 7vw, 6.9rem);
  text-shadow: 5px 5px 0 rgba(16, 22, 42, 0.72);
}

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

.hero-deck {
  color: rgba(255, 255, 255, 0.9);
}

.primary-cta,
.find-button,
.roulette-button {
  position: relative;
  border-width: 3px;
  border-radius: 9px;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.hero .primary-cta {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.hero .primary-cta::before,
.find-button::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 8px;
  left: 8px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.hero-stack {
  z-index: 2;
}

.float-card {
  overflow: hidden;
  border-width: 4px;
  border-radius: 14px;
  box-shadow: 9px 9px 0 rgba(16, 22, 42, 0.92);
}

.float-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(16, 22, 42, 0.12);
  transform: rotate(18deg);
}

.float-card strong,
.float-card small,
.float-card .float-label {
  position: relative;
  z-index: 2;
}

.float-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.65rem;
  transform: rotate(5deg);
}

.float-label {
  border-radius: 6px;
}

.float-card-a {
  background: var(--lime);
}

.float-card-b {
  background: var(--yellow);
}

.hero-orbit {
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-blocks .block {
  position: absolute;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(12deg);
}

.block-one {
  top: 34px;
  left: 48%;
  background: var(--yellow);
}

.block-two {
  right: 34px;
  bottom: 72px;
  background: var(--coral);
}

.block-three {
  bottom: 32px;
  left: 43%;
  background: var(--lime);
}

.block-four {
  top: 56px;
  right: 42px;
  background: var(--white);
}

.trust-strip {
  right: clamp(22px, 5vw, 68px);
  left: clamp(22px, 5vw, 68px);
  color: rgba(255, 255, 255, 0.8);
}

.trust-strip span::before {
  color: var(--lime);
}

.finder-section,
.results-section,
.collections-section,
.faq-section {
  position: relative;
}

.section-heading .eyebrow,
.faq-section .eyebrow,
.collection-hero .eyebrow,
.editorial-section > .eyebrow,
.collection-cta .eyebrow {
  color: var(--blue);
}

.section-heading h2,
.faq-section h2 {
  text-shadow: 3px 3px 0 rgba(37, 99, 235, 0.14);
}

.finder-panel {
  position: relative;
  border-width: 3px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 24px 24px;
  box-shadow: 9px 9px 0 var(--ink);
}

.finder-panel::before {
  content: "LOBBY BUILDER";
  position: absolute;
  top: -17px;
  right: 28px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

legend span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--white);
  font-size: 0.75rem;
}

.choice-row button {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.choice-row button:hover {
  background: #e6eeff;
  transform: translateY(-2px);
}

.choice-row button.is-active {
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--white);
  transform: translate(-1px, -1px);
}

.toggle-control {
  border-radius: 10px;
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(16, 22, 42, 0.15);
}

.toggle-control:has(input:checked) {
  background: #f2ffda;
  box-shadow: 4px 4px 0 var(--ink);
}

.hidden-gem-toggle:has(input:checked) {
  background: #f0e8ff;
}

.toggle-ui {
  border-radius: 7px;
}

.toggle-ui::after {
  border-radius: 4px;
}

.find-button {
  background: var(--blue);
}

.roulette-button {
  background: var(--yellow);
}

.search-box input {
  border-radius: 9px;
  box-shadow: 3px 3px 0 var(--ink);
}

.filter-chip,
.game-meta span,
.static-game-meta span {
  border-width: 2px;
  border-radius: 6px;
  box-shadow: 2px 2px 0 rgba(16, 22, 42, 0.12);
}

.game-grid,
.static-game-grid {
  gap: 24px;
}

.game-card,
.static-game-card {
  border-width: 3px;
  border-radius: 13px;
  box-shadow: 6px 6px 0 var(--ink);
}

.game-card::before,
.static-game-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 7px;
  background: var(--lime);
}

.game-card:nth-child(3n + 2)::before,
.static-game-card:nth-child(3n + 2)::before {
  background: var(--coral);
}

.game-card:nth-child(3n + 3)::before,
.static-game-card:nth-child(3n + 3)::before {
  background: var(--yellow);
}

.game-card.is-hidden-gem::before {
  background: linear-gradient(90deg, var(--purple), var(--coral), var(--yellow));
}

.game-card.is-hidden-gem .match-badge {
  background: #e8dcff;
}

.discovery-tools {
  display: grid;
  grid-template-columns: minmax(170px, 1fr);
  gap: 12px;
  align-items: end;
  margin: 18px 0 28px;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #f5f7ff;
  box-shadow: 5px 5px 0 var(--ink);
}

.discovery-tools[hidden] {
  display: none;
}

.results-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.advanced-filters-toggle {
  min-height: 48px;
  padding: 10px 15px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.advanced-filters-toggle span {
  display: inline-block;
  min-width: 1em;
  margin-left: 7px;
}

.sort-control {
  min-width: 190px;
}

.sort-control > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sort-control select {
  width: 100%;
  min-height: 48px;
  padding: 10px 38px 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.discovery-tools label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.discovery-tools select {
  width: 100%;
  min-height: 48px;
  padding: 10px 38px 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.compact-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.compact-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.compact-check > span {
  margin: 0 !important;
  white-space: nowrap;
}

.game-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto -18px -18px;
}

.game-card-actions .play-link {
  margin: 0;
}

.details-link {
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-top: 2px solid var(--ink);
  background: #fff5d9;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.details-link:hover {
  background: var(--yellow);
}

.recent-section {
  padding: 76px 0;
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.recent-card button {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.recent-card button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.recent-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: var(--white);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.45rem;
}

.recent-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-card button > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.recent-card small,
.recent-card strong,
.recent-card b {
  display: block;
}

.recent-card small {
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-card strong {
  margin: 5px 0 12px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1rem;
}

.recent-card b {
  font-size: 0.72rem;
}

.game-details-modal {
  position: relative;
  width: min(960px, calc(100% - 28px));
  max-height: min(90vh, 900px);
  overflow: auto;
  padding: clamp(24px, 5vw, 48px);
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}

.details-heading {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
}

.details-heading h2 {
  margin: 0 0 10px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.details-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: var(--white);
  font-family: "Archivo Black", sans-serif;
  font-size: 2.5rem;
}

.details-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.details-facts > span {
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #f5f7ff;
  font-size: 0.78rem;
}

.details-facts strong {
  display: block;
  margin-bottom: 4px;
}

.details-media h3 {
  margin: 0 0 14px;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
}

.details-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.details-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: #e9edf7;
}

.details-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.details-actions .play-link,
.details-guide-link {
  min-height: 50px;
  margin: 0;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.details-guide-link {
  background: var(--yellow);
  color: var(--ink);
}

.static-game-card {
  position: relative;
}

.game-art,
.static-game-art {
  border-bottom-width: 3px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
    linear-gradient(135deg, var(--blue), var(--purple));
  background-size: 28px 28px, 28px 28px, auto;
}

.match-badge {
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
}

.save-button {
  border-radius: 9px;
  box-shadow: 3px 3px 0 var(--ink);
}

.save-button:hover {
  transform: rotate(-5deg) scale(1.04);
}

.game-genre {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 7px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 4px;
  background: #eef3ff;
}

.play-link {
  min-height: 48px;
  margin-inline: -18px;
  margin-bottom: -18px;
  padding: 13px 18px;
  background: #f0f4ff;
}

.play-link:hover {
  background: var(--blue);
  color: var(--white);
}

.load-more {
  border-width: 3px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.collection-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.collection-card::before,
.collection-card::after {
  content: "";
  position: absolute;
  border: 3px solid currentColor;
  opacity: 0.16;
  transform: rotate(20deg);
}

.collection-card::before {
  top: -35px;
  left: -20px;
  width: 120px;
  height: 120px;
}

.collection-card::after {
  right: -35px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.collection-card > * {
  position: relative;
  z-index: 2;
}

.collection-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid currentColor;
  border-radius: 10px;
  font-size: 1.35rem;
}

.collection-lime {
  background: var(--lime);
}

.collection-blue {
  background: var(--purple);
}

.collection-coral {
  background: var(--coral);
}

.more-collections a {
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.how-section {
  padding-inline: clamp(20px, 4vw, 48px);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
  color: var(--white);
}

.how-grid {
  margin-top: 22px;
}

.how-grid article {
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: #19213c;
}

.how-grid span {
  border-color: var(--white);
  border-radius: 8px;
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--white);
  color: var(--ink);
}

.how-grid p {
  color: #c6cee2;
}

.faq-list details {
  margin-bottom: 10px;
  padding-inline: 18px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(16, 22, 42, 0.15);
}

.faq-list details:last-child {
  border-bottom: 2px solid var(--ink);
}

.faq-list details[open] {
  box-shadow: 4px 4px 0 var(--blue);
}

footer {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100% - 1240px) / 2));
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.footer-brand p,
.legal {
  color: #b9c2d7;
}

.shortlist-drawer,
.roulette-modal {
  background:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
}

.shortlist-drawer {
  border-left-width: 4px;
  box-shadow: -10px 0 0 rgba(37, 99, 235, 0.45);
}

.drawer-game-thumb,
.roulette-result-card {
  border-radius: 9px;
}

.icon-button {
  border-radius: 9px;
  box-shadow: 3px 3px 0 var(--ink);
}

.toast {
  border-width: 3px;
  border-radius: 9px;
}

.collection-hero {
  position: relative;
  margin-top: 24px;
  padding: clamp(55px, 7vw, 86px) clamp(22px, 5vw, 62px);
  border: 3px solid var(--ink);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 15%, rgba(163, 255, 18, 0.3), transparent 16rem),
    linear-gradient(135deg, #193aa9, var(--purple));
  box-shadow: 9px 9px 0 var(--ink);
  color: var(--white);
  overflow: hidden;
}

.collection-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 35px solid rgba(255, 255, 255, 0.1);
  transform: rotate(18deg);
}

.collection-hero > * {
  position: relative;
  z-index: 2;
}

.collection-hero .eyebrow {
  color: var(--lime);
}

.collection-hero h1 {
  text-shadow: 5px 5px 0 rgba(16, 22, 42, 0.66);
}

.collection-hero .hero-deck {
  color: rgba(255, 255, 255, 0.88);
}

.collection-summary {
  border-width: 4px;
  border-radius: 12px;
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--ink);
}

.collection-cta {
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    var(--coral);
  background-size: 34px 34px;
}

.legal-page {
  margin-top: 28px;
  margin-bottom: 70px;
  padding: clamp(42px, 7vw, 76px);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

@media (max-width: 900px) {
  .hero {
    margin-top: 16px;
    padding-bottom: 120px;
  }

  .block-one,
  .block-three {
    display: none;
  }

  .how-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    grid-template-columns: repeat(3, 7px);
    padding: 4px;
  }

  .hero {
    margin-top: 12px;
    padding: 44px 18px 110px;
    border-radius: 17px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
    text-shadow: 4px 4px 0 rgba(16, 22, 42, 0.72);
  }

  .hero .eyebrow {
    font-size: 0.64rem;
  }

  .hero-stack {
    min-height: 300px;
  }

  .float-card {
    width: 82%;
    border-width: 3px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .float-card-a {
    top: 18px;
    right: 4%;
  }

  .float-card-b {
    top: 160px;
    left: 3%;
  }

  .float-icon {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .block-two,
  .block-four {
    display: none;
  }

  .trust-strip {
    right: 18px;
    bottom: 24px;
    left: 18px;
    font-size: 0.63rem;
  }

  .finder-panel::before {
    right: 16px;
  }

  .toggle-control:has(input:checked) {
    box-shadow: 3px 3px 0 var(--ink);
  }

  .game-card,
  .static-game-card {
    box-shadow: 5px 5px 0 var(--ink);
  }

  .game-art {
    aspect-ratio: 16 / 8.8;
  }

  .how-section {
    padding-inline: 18px;
    box-shadow: 5px 5px 0 var(--blue);
  }

  .how-grid article,
  .how-grid article:last-child {
    grid-column: auto;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  }

  .collection-hero {
    margin-top: 12px;
    padding: 42px 20px;
    border-radius: 16px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .collection-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .collection-summary {
    transform: rotate(1deg);
  }

  .legal-page {
    margin-top: 18px;
    padding: 28px 20px 45px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  footer {
    width: 100%;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot {
    animation: none;
  }
}
