:root {
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #102535;
  --muted: #5d6c75;
  --line: #dce4e2;
  --navy: #123349;
  --blue: #2d6cdf;
  --mint: #83d9b6;
  --mint-light: #e7f8f1;
  --coral: #f06d55;
  --coral-light: #fff0ec;
  --yellow: #f5c84c;
  --yellow-light: #fff8db;
  --sky: #dcedfa;
  --shadow: 0 14px 36px rgba(16, 37, 53, 0.09);
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

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

button {
  color: inherit;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.button,
.big-score strong,
.game-score,
.rank,
.method-number {
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.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;
}

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

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

.safety-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 20px;
  color: #174b3b;
  background: var(--mint-light);
  border-bottom: 1px solid #c9ebdd;
  font-size: 13px;
  text-align: center;
}

.safety-bar strong {
  font-weight: 800;
}

.safety-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #2ca773;
  border-radius: 50%;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(16, 37, 53, 0.1);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--shell);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-4deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 4px;
  right: 4px;
  background: var(--yellow);
  border-radius: 50%;
}

.brand-mark span {
  transform: rotate(4deg);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--white);
  border-color: var(--ink);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.saved-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: var(--white);
  background: var(--coral);
  border: 2px solid var(--paper);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 12px 20px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 70px));
  display: flex;
  align-items: center;
  background-color: #f7fbfe;
  background-image: url("assets/images/westmora-hero.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  padding: 82px 0 115px;
}

.hero-inner > * {
  max-width: 590px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
}

.hero .eyebrow span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 9px;
}

.hero h1 {
  margin-bottom: 0;
  font-size: 74px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 20px;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-style: italic;
  line-height: 1.15;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 28px;
  color: #3c5260;
  font-size: 18px;
}

.hero-actions,
.weekly-actions,
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  color: var(--white);
  background: var(--coral);
  border-color: #d8533c;
  box-shadow: 4px 4px 0 var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #df5d45;
  box-shadow: 2px 2px 0 var(--ink);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #1d4359;
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0 rgba(16, 37, 53, 0.45);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.external-link::after {
  content: "↗";
  text-decoration: none;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 50px;
  color: #536875;
  font-size: 12px;
}

.hero-meta span {
  display: grid;
  gap: 1px;
}

.hero-meta strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 37, 53, 0.15);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-scroll svg {
  width: 18px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 25px 35px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item > span:last-child {
  display: grid;
  color: var(--muted);
  font-size: 12px;
}

.trust-item strong {
  color: var(--ink);
  font-size: 14px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.trust-icon svg {
  width: 21px;
  height: 21px;
}

.trust-icon.mint {
  background: var(--mint-light);
}

.trust-icon.yellow {
  background: var(--yellow-light);
}

.trust-icon.coral {
  background: var(--coral-light);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.weekly-section,
.catalog-section,
.method-section,
.leaderboard-section,
.community-section,
.faq-section {
  padding: 105px 0;
}

.weekly-section {
  background: var(--paper);
}

.weekly-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 80px;
}

.weekly-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #dce7e3;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.weekly-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.weekly-logo,
.weekly-score {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
}

.weekly-logo {
  width: 64px;
  height: 64px;
  left: 18px;
  bottom: 18px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 37, 53, 0.18);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(16, 37, 53, 0.22);
}

.weekly-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.weekly-score {
  right: 18px;
  bottom: 18px;
  min-width: 64px;
  height: 44px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(16, 37, 53, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  font-size: 18px;
  font-weight: 900;
}

.weekly-copy h2 {
  margin-bottom: 20px;
  font-size: 64px;
}

.weekly-intro {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.score-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  margin-bottom: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.big-score {
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
}

.big-score strong {
  font-size: 47px;
  line-height: 1;
}

.big-score span {
  color: var(--muted);
  font-size: 11px;
}

.score-bars {
  display: grid;
  gap: 12px;
}

.score-bars > div {
  display: grid;
  grid-template-columns: 92px 1fr 25px;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.score-bars span {
  color: var(--muted);
}

.score-bars i {
  height: 6px;
  display: block;
  background: #e4e9e8;
  border-radius: 3px;
  overflow: hidden;
}

.score-bars i b {
  height: 100%;
  display: block;
  background: var(--coral);
}

.score-bars em {
  font-style: normal;
  font-weight: 800;
}

.weekly-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.weekly-tags span,
.game-tag,
.dialog-kicker {
  padding: 5px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 750;
}

.catalog-section {
  background: #f3f8f7;
  border-top: 1px solid var(--line);
}

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

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.saved-filter {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.saved-filter svg {
  width: 17px;
  height: 17px;
}

.saved-filter[aria-pressed="true"] {
  color: #9f3827;
  background: var(--coral-light);
  border-color: #f0ab9e;
}

.saved-filter[aria-pressed="true"] svg {
  fill: currentColor;
}

.catalog-toolbar {
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto 180px;
  align-items: center;
  gap: 14px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field svg {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  height: 46px;
  padding: 9px 12px 9px 40px;
  color: var(--ink);
  background: #f6f8f7;
  border: 1px solid transparent;
  border-radius: 5px;
  outline: none;
}

.search-field input:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.13);
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-button {
  min-height: 40px;
  padding: 8px 11px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.filter-button:hover,
.filter-button:focus-visible {
  color: var(--ink);
  background: #f2f5f4;
}

.filter-button.active {
  color: var(--white);
  background: var(--ink);
}

.sort-field {
  position: relative;
}

.sort-field select {
  width: 100%;
  height: 42px;
  padding: 8px 35px 8px 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  appearance: none;
  cursor: pointer;
  outline: none;
  font-size: 12px;
  font-weight: 700;
}

.sort-field svg {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 15px;
  pointer-events: none;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  margin: 16px 2px 20px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-meta span:first-child {
  color: var(--ink);
  font-weight: 800;
}

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

.game-card {
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.game-card:hover,
.game-card:focus-within {
  border-color: #aebfba;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.game-art {
  position: relative;
  height: 172px;
  overflow: hidden;
  background: #dce7e3;
}

.game-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
}

.game-card:hover .game-cover,
.game-card:focus-within .game-cover {
  transform: scale(1.035);
}

.art-mint { background: var(--mint); }
.art-coral { background: #f39a86; }
.art-yellow { background: #f5d56e; }
.art-sky { background: #acd7ef; }
.art-lilac { background: #d7c8ef; }
.art-peach { background: #fac79f; }

.game-logo-wrap {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 7px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 37, 53, 0.18);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(16, 37, 53, 0.2);
}

.game-logo-wrap img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  image-rendering: auto;
}

.game-save {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 37, 53, 0.14);
  border-radius: 50%;
  cursor: pointer;
}

.game-save svg {
  width: 16px;
  height: 16px;
}

.game-save.saved {
  color: #c94734;
  background: var(--coral-light);
}

.game-save.saved svg {
  fill: currentColor;
}

.game-card-body {
  padding: 17px;
}

.game-card-top {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-tag {
  max-width: 150px;
  overflow: hidden;
  padding: 4px 8px;
  color: var(--muted);
  background: #f7f9f8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 20px;
}

.game-score small {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
}

.game-card h3 {
  margin: 9px 0 7px;
  overflow: hidden;
  font-size: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card-copy {
  min-height: 61px;
  margin-bottom: 14px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.game-facts {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
  overflow: hidden;
}

.game-facts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #48606e;
  font-size: 10px;
  white-space: nowrap;
}

.game-facts span + span::before {
  content: "·";
  margin-right: 3px;
  color: #a3afad;
}

.game-card-actions {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
}

.review-button {
  height: 40px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.review-button:hover,
.review-button:focus-visible {
  background: #1d4359;
}

.official-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.official-button:hover,
.official-button:focus-visible {
  border-color: var(--ink);
  background: #f5f7f6;
}

.official-button svg {
  width: 16px;
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
}

.empty-state > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
}

.empty-state h3 {
  margin-bottom: 5px;
  font-size: 23px;
}

.empty-state p {
  color: var(--muted);
}

.method-section {
  background: var(--white);
}

.method-heading > p {
  max-width: 490px;
}

.method-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 72px 1fr 145px;
  align-items: center;
  gap: 26px;
  min-height: 145px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.method-number {
  color: var(--coral);
  font-size: 25px;
}

.method-list h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.method-list p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.method-weight {
  justify-self: end;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--mint-light);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}

.leaderboard-section {
  color: var(--white);
  background: var(--navy);
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 90px;
}

.leaderboard-copy .eyebrow {
  color: var(--mint);
}

.leaderboard-copy p:last-child {
  color: #b9c9d1;
}

.podium {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.podium button {
  width: 100%;
  min-height: 100px;
  display: grid;
  grid-template-columns: 48px 54px 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 14px 5px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-align: left;
  cursor: pointer;
}

.podium button:hover,
.podium button:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.podium .rank {
  color: var(--mint);
}

.podium img {
  width: 50px;
  height: 50px;
  padding: 7px;
  background: var(--white);
  border-radius: 6px;
  object-fit: contain;
}

.podium button > span:nth-child(3) {
  display: grid;
}

.podium strong {
  font-size: 17px;
}

.podium small {
  color: #aec0ca;
}

.podium b {
  font-size: 26px;
}

.community-section {
  background: #fff8e4;
}

.review-average {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-average > strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 42px;
}

.review-average > span {
  display: grid;
  color: var(--muted);
  font-size: 11px;
}

.review-average > span > span,
.stars {
  color: #d69a00;
  letter-spacing: 2px;
}

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

.review-card {
  min-height: 280px;
  padding: 26px;
  background: var(--white);
  border: 1px solid #eadfbf;
  border-radius: 8px;
}

.featured-review {
  color: var(--white);
  background: var(--coral);
  border-color: #dc5d46;
  transform: translateY(-12px);
}

.featured-review small,
.featured-review .stars {
  color: #fff4da;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.review-top > span:last-child {
  display: grid;
}

.review-top small {
  color: var(--muted);
  font-size: 11px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.coral-avatar { background: #f6ac9f; }
.mint-avatar { background: var(--mint); }
.yellow-avatar { background: var(--yellow); }

.stars {
  margin-bottom: 13px;
  font-size: 13px;
}

blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.55;
}

.faq-section {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 100px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-intro p:not(.eyebrow) {
  color: var(--muted);
}

.accordion {
  border-top: 2px solid var(--ink);
}

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

.accordion summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

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

.accordion summary span {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion summary span::before,
.accordion summary span::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 12px;
  height: 2px;
  background: var(--ink);
}

.accordion summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.accordion details[open] summary span::after {
  transform: rotate(0deg);
}

.accordion details p {
  max-width: 690px;
  margin: -5px 50px 25px 0;
  color: var(--muted);
}

.final-band {
  padding: 70px 0;
  color: var(--white);
  background: var(--coral);
}

.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-inner .eyebrow {
  color: #ffece7;
}

.final-inner h2 {
  margin: 0;
  font-size: 54px;
}

.site-footer {
  color: #d6e0e5;
  background: #0d2738;
}

.footer-main {
  width: var(--shell);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr);
  gap: 55px;
  margin: 0 auto;
  padding: 78px 0 58px;
}

.brand-light {
  color: var(--white);
}

.footer-brand > p {
  max-width: 310px;
  margin: 24px 0;
  color: #9eb0ba;
}

.footer-safety {
  max-width: 330px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  padding: 14px;
  background: rgba(131, 217, 182, 0.08);
  border: 1px solid rgba(131, 217, 182, 0.25);
  border-radius: 6px;
  color: #b4c4cc;
  font-size: 11px;
}

.footer-safety > span {
  grid-row: span 2;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 50%;
  font-weight: 900;
}

.footer-safety strong {
  color: var(--white);
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 9px;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-link {
  color: #9eb0ba;
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-link {
  cursor: pointer;
}

.footer-bottom {
  width: var(--shell);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  color: #7f959f;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
  text-align: right;
}

dialog {
  color: var(--ink);
  border: 0;
}

dialog::backdrop {
  background: rgba(7, 22, 31, 0.62);
  backdrop-filter: blur(4px);
}

.game-dialog {
  width: min(920px, calc(100% - 30px));
  max-height: min(760px, calc(100svh - 30px));
  grid-template-columns: 0.42fr 0.58fr;
  padding: 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(5, 18, 26, 0.35);
}

.game-dialog[open] {
  display: grid;
}

.dialog-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.dialog-visual {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 40px;
  background: var(--mint);
  background-position: center;
  background-size: cover;
}

.dialog-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 26, 37, 0.16);
}

.dialog-visual img {
  width: 126px;
  height: 126px;
  padding: 20px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 9px 9px 0 rgba(16, 37, 53, 0.28);
  object-fit: contain;
  transform: rotate(-4deg);
}

.dialog-visual > strong {
  min-width: 118px;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(16, 37, 53, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 56px;
  line-height: 1;
  text-align: center;
}

.dialog-kicker {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 37, 53, 0.25);
  text-transform: uppercase;
}

.dialog-content {
  padding: 55px 48px 42px;
  overflow-y: auto;
}

.dialog-content h2 {
  margin-bottom: 12px;
}

.dialog-summary {
  color: var(--muted);
}

.dialog-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 26px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dialog-facts div {
  min-height: 78px;
  display: grid;
  align-content: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-facts span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.dialog-facts strong {
  font-size: 13px;
}

.editor-note {
  padding: 17px 18px;
  background: var(--yellow-light);
  border-left: 3px solid var(--yellow);
}

.editor-note strong {
  font-size: 12px;
  text-transform: uppercase;
}

.editor-note p {
  margin: 4px 0 0;
  color: #52616a;
  font-size: 13px;
}

.money-notice {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0;
  color: #1f604b;
}

.money-notice svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.money-notice span {
  display: grid;
  font-size: 11px;
}

.money-notice strong {
  font-size: 12px;
}

.save-text-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.save-text-button svg {
  width: 17px;
  height: 17px;
}

.save-text-button.saved {
  color: #b6412f;
  background: var(--coral-light);
}

.save-text-button.saved svg {
  fill: currentColor;
}

.third-party-note {
  margin: 18px 0 0;
  color: #849197;
  font-size: 10px;
}

.cookie-banner {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 1120px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(16, 37, 53, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 12px;
  white-space: nowrap;
}

.cookie-dialog {
  width: min(560px, calc(100% - 30px));
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(5, 18, 26, 0.35);
}

.cookie-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.cookie-dialog-head h2 {
  font-size: 32px;
}

.cookie-dialog > p {
  color: var(--muted);
  font-size: 14px;
}

.cookie-option {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.cookie-option > span:first-child {
  display: grid;
}

.cookie-option small {
  color: var(--muted);
}

.always-on {
  color: #247254;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch i {
  position: absolute;
  inset: 0;
  background: #ced7d5;
  border-radius: 14px;
  cursor: pointer;
}

.switch i::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 4px;
  left: 4px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
}

.switch input:checked + i {
  background: #2ca773;
}

.switch input:checked + i::after {
  transform: translateX(20px);
}

.switch input:focus-visible + i {
  outline: 3px solid rgba(45, 108, 223, 0.25);
}

.cookie-dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

/* Legal pages */
.legal-page {
  background: #f6f9f8;
}

.legal-hero {
  padding: 75px 0 55px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-hero h1 {
  margin-bottom: 16px;
  font-size: 58px;
  line-height: 1;
}

.legal-hero p:not(.eyebrow) {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-layout {
  width: min(1100px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 235px minmax(0, 760px);
  gap: 70px;
  margin: 0 auto;
  padding: 65px 0 100px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding-top: 13px;
  border-top: 2px solid var(--ink);
}

.legal-toc strong {
  margin-bottom: 5px;
  font-size: 11px;
  text-transform: uppercase;
}

.legal-toc a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--coral);
}

.legal-content {
  padding: 42px 50px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-summary {
  margin-bottom: 38px;
  padding: 18px;
  color: #255743;
  background: var(--mint-light);
  border-left: 3px solid var(--mint);
  font-size: 14px;
}

.legal-content section {
  padding: 7px 0 30px;
  scroll-margin-top: 110px;
}

.legal-content section + section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 15px;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 25px;
}

.legal-content h3 {
  margin: 22px 0 8px;
  font-size: 16px;
}

.legal-content p,
.legal-content li {
  color: #4f616b;
  font-size: 14px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.legal-table th,
.legal-table td {
  padding: 11px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #f2f6f5;
}

.legal-contact {
  padding: 19px;
  background: var(--yellow-light);
  border: 1px solid #f0dfa3;
  border-radius: 6px;
}

:focus-visible {
  outline: 3px solid rgba(45, 108, 223, 0.36);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .catalog-toolbar {
    grid-template-columns: 1fr 180px;
  }

  .category-filters {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .weekly-grid {
    gap: 45px;
  }

  .leaderboard-grid {
    gap: 55px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 30px, 720px);
    --header-height: 68px;
  }

  h2 {
    font-size: 38px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 700px;
    align-items: start;
    background-position: 60% center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.58);
  }

  .hero-inner {
    padding-top: 92px;
  }

  .hero h1 {
    font-size: 61px;
  }

  .hero-copy {
    max-width: 440px;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 92px;
    justify-content: start;
    padding-left: calc((100% - min(100% - 30px, 720px)) / 2);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .weekly-section,
  .catalog-section,
  .method-section,
  .leaderboard-section,
  .community-section,
  .faq-section {
    padding: 78px 0;
  }

  .weekly-grid,
  .leaderboard-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .section-heading {
    align-items: start;
  }

  .method-list li {
    grid-template-columns: 58px 1fr;
  }

  .method-weight {
    grid-column: 2;
    justify-self: start;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 0;
  }

  .featured-review {
    transform: none;
  }

  .faq-intro {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-end;
  }

  .game-dialog {
    grid-template-columns: 0.35fr 0.65fr;
  }

  .dialog-visual {
    min-height: 100%;
    padding: 24px;
  }

  .dialog-visual img {
    width: 94px;
    height: 94px;
  }

  .dialog-visual > strong {
    font-size: 42px;
  }

  .dialog-content {
    padding: 45px 30px 35px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .legal-toc strong {
    width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 24px);
  }

  .safety-bar {
    min-height: 45px;
    align-items: flex-start;
    line-height: 1.25;
  }

  .safety-bar strong {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .hero {
    min-height: 690px;
    background-position: 66% center;
  }

  .hero::before {
    background: rgba(255, 255, 255, 0.72);
  }

  .hero-inner {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .weekly-actions,
  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .text-link,
  .weekly-actions .text-link {
    align-self: flex-start;
  }

  .hero-meta {
    gap: 16px;
    margin-top: 40px;
  }

  .hero-meta strong {
    font-size: 18px;
  }

  .trust-item {
    padding-left: 18px;
  }

  .weekly-section,
  .catalog-section,
  .method-section,
  .leaderboard-section,
  .community-section,
  .faq-section {
    padding: 62px 0;
  }

  .weekly-logo {
    width: 52px;
    height: 52px;
    left: 12px;
    bottom: 12px;
    padding: 7px;
  }

  .weekly-logo img {
    width: 38px;
    height: 38px;
  }

  .weekly-score {
    right: 12px;
    bottom: 12px;
  }

  .weekly-copy h2 {
    font-size: 48px;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .big-score {
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .category-filters,
  .sort-field {
    grid-column: 1;
  }

  .category-filters {
    grid-row: auto;
  }

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

  .game-art {
    height: 190px;
  }

  .catalog-meta {
    gap: 15px;
    font-size: 10px;
  }

  .method-list li {
    grid-template-columns: 45px 1fr;
    gap: 14px;
  }

  .method-list p {
    font-size: 13px;
  }

  .leaderboard-copy h2 {
    font-size: 36px;
  }

  .podium button {
    grid-template-columns: 36px 46px 1fr auto;
    gap: 10px;
  }

  .podium img {
    width: 42px;
    height: 42px;
  }

  .podium b {
    font-size: 20px;
  }

  .review-average {
    align-self: flex-start;
  }

  .final-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-inner h2 {
    font-size: 42px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
    padding-top: 60px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 0;
  }

  .footer-bottom p {
    text-align: left;
  }

  .game-dialog[open] {
    display: block;
  }

  .game-dialog {
    max-height: calc(100svh - 20px);
    overflow-y: auto;
  }

  .dialog-visual {
    min-height: 235px;
    flex-direction: row;
  }

  .dialog-content {
    overflow: visible;
  }

  .dialog-facts {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 16px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions .cookie-customize {
    grid-column: 1 / -1;
  }

  .cookie-dialog {
    padding: 24px;
  }

  .legal-hero {
    padding: 55px 0 40px;
  }

  .legal-hero h1 {
    font-size: 40px;
  }

  .legal-layout {
    width: calc(100% - 24px);
    padding-top: 35px;
  }

  .legal-content {
    padding: 30px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
