:root {
  --cream: #f6f1e4;
  --cream-2: #eee5d2;
  --paper: #fffdf7;
  --ink: #13251b;
  --muted: #5e6f64;
  --green: #0d5c3d;
  --green-mid: #147a50;
  --green-deep: #062f21;
  --green-soft: #deeadf;
  --gold: #d9b15c;
  --gold-2: #f1d795;
  --gold-deep: #8a6418;
  --red: #b23a32;
  --line: rgba(19, 37, 27, 0.12);
  --shadow: 0 28px 70px -36px rgba(6, 47, 33, 0.45);
  --radius: 18px;
  --wrap: 1180px;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --font-ui: "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold-2);
  color: var(--green-deep);
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-mid);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  text-wrap: balance;
}

p {
  margin-top: 0;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--gold-2);
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #f4dea6, var(--gold));
  color: #24310f;
  box-shadow: 0 14px 30px -14px rgba(217, 177, 92, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  color: #16200a;
  box-shadow: 0 18px 34px -14px rgba(217, 177, 92, 1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-lg {
  min-height: 60px;
  padding: 0 34px;
  font-size: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 39, 26, 0.9);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand svg {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--gold);
}

.brand small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: #fff;
}

.header-cta {
  flex: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(130% 120% at 82% 6%, #18845b 0%, #0c5539 42%, #052b1d 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 177, 92, 0.18), transparent 64%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: 76px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold-2);
}

.hero h1 {
  max-width: 12em;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.lead {
  max-width: 52ch;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(241, 215, 149, 0.16);
  color: var(--gold-2);
  font-size: 10px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.game-window {
  width: min(100%, 510px);
  border: 2px solid;
  border-color: #ececec #000 #000 #ececec;
  background: #c0c0c0;
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #808080,
    0 42px 90px -34px rgba(0, 0, 0, 0.72);
  color: #000;
  font-family: var(--font-ui);
  transform: rotate(-1.6deg);
  transform-origin: center;
}

.gw-titlebar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 4px 4px 5px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.gw-appicon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  background: #c0c0c0;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #808080;
  color: #000;
  font-size: 12px;
}

.gw-title {
  flex: 1;
  overflow: hidden;
  padding-left: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gw-winbtns {
  display: flex;
  flex: none;
  gap: 2px;
}

.gw-winbtns span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 15px;
  background: #c0c0c0;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #202020;
  color: #000;
  font-size: 10px;
  line-height: 1;
}

.gw-menubar {
  display: flex;
  gap: 14px;
  padding: 3px 7px 4px;
  border-bottom: 1px solid #808080;
  background: #c0c0c0;
  font-size: 10px;
  line-height: 1.3;
}

.gw-board {
  margin: 2px;
  padding: 9px;
  background:
    radial-gradient(110% 120% at 50% 0%, #0b8a0b, #007000 65%, #005c00 100%);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.32), inset -1px -1px 0 rgba(255, 255, 255, 0.16);
  --gw-card: clamp(33px, 8.4vw, 46px);
}

.gw-top {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.gw-pile {
  flex: none;
  line-height: 0;
}

.gw-top img,
.gw-col img {
  width: var(--gw-card);
  height: auto;
  border-radius: 2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.gw-spacer {
  flex: 1 1 auto;
  min-width: 4px;
}

.gw-tableau {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.gw-col {
  min-width: 0;
  line-height: 0;
}

.gw-col img {
  width: 100%;
}

.gw-col img + img {
  margin-top: -64%;
}

.gw-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px;
  padding: 4px 6px;
  border-top: 1px solid #808080;
  background: #c0c0c0;
  font-size: 9.5px;
  line-height: 1.4;
}

.gw-status b {
  font-weight: 700;
}

.gw-msg {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 1px 5px;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}

.trust-bar ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 28px;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  color: #4b5b50;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.trust-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-bar li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-deep);
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
  scroll-margin-top: 86px;
}

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

.section-head {
  max-width: 740px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
}

.section-lead {
  max-width: 56ch;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

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

.feature {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px -30px rgba(6, 47, 33, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 92, 61, 0.22);
  box-shadow: 0 22px 40px -28px rgba(6, 47, 33, 0.4);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-family: "Segoe UI Symbol", "Apple Symbols", "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;
}

.feature-icon.red {
  background: #f5e1de;
  color: var(--red);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.58;
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  margin-left: 21px;
  padding: 0 0 28px 62px;
  border-left: 1px solid var(--line);
}

.steps li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: -21px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--cream);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.steps h3 {
  margin: 3px 0 6px;
  font-size: 19px;
  line-height: 1.3;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.58;
}

.rules-card {
  position: sticky;
  top: 100px;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 90% 0%, #106845, var(--green-deep) 64%);
  box-shadow: var(--shadow);
  color: #fff;
}

.rules-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
}

.rules-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-card li {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.5;
}

.rules-card li:last-child {
  border-bottom: 0;
}

.suit {
  flex: none;
  width: 18px;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Segoe UI Symbol", "Apple Symbols", "Times New Roman", serif;
}

.suit.red {
  color: #eb8f87;
}

.keys {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
}

.keys span {
  margin-right: 4px;
}

kbd {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.2;
}

.rules-card .text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.rules-card .text-link:hover {
  text-decoration: underline;
}

.section-dark {
  background:
    radial-gradient(120% 140% at 18% 0%, #0f6847 0%, #073c29 45%, #04251a 100%);
  color: #fff;
}

.section-dark .eyebrow {
  color: var(--gold-2);
}

.section-dark h2 {
  max-width: 12em;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(241, 215, 149, 0.16);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 700;
}

.check-list-light li {
  color: var(--ink);
}

.check-list-light li::before {
  background: var(--green-soft);
  color: var(--green);
}

.section-note {
  margin: 0;
  font-size: 13.5px;
  font-style: italic;
}

.backs-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.8);
}

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

.backs-gallery img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 14px 24px -14px rgba(0, 0, 0, 0.9);
  transition: transform 0.2s ease;
}

.backs-gallery img:nth-child(1) { transform: rotate(-3deg); }
.backs-gallery img:nth-child(2) { transform: rotate(2deg); }
.backs-gallery img:nth-child(3) { transform: rotate(-1.5deg); }
.backs-gallery img:nth-child(4) { transform: rotate(3deg); }
.backs-gallery img:nth-child(5) { transform: rotate(2.5deg); }
.backs-gallery img:nth-child(6) { transform: rotate(-2deg); }
.backs-gallery img:nth-child(7) { transform: rotate(1.5deg); }
.backs-gallery img:nth-child(8) { transform: rotate(-2.5deg); }

.backs-gallery img:hover {
  transform: rotate(0) scale(1.05);
}

.backs-caption {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.settings-note {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.settings-window {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow:
    inset 1px 1px 0 #dfdfdf,
    inset -1px -1px 0 #808080,
    0 28px 56px -30px rgba(6, 47, 33, 0.46);
  color: #000;
  font-family: var(--font-ui);
  font-size: 11px;
}

.sw-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 5px 4px 7px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.sw-close {
  display: grid;
  place-items: center;
  width: 17px;
  height: 15px;
  background: #c0c0c0;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #202020;
  color: #000;
  font-size: 11px;
  line-height: 1;
}

.sw-body {
  padding: 12px;
}

.settings-window fieldset {
  margin: 0 0 10px;
  padding: 7px 10px 9px;
  border: 1px solid #808080;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #dfdfdf;
}

.settings-window legend {
  padding: 0 4px;
  font-weight: 700;
}

.sw-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sw-row-wrap {
  flex-wrap: wrap;
  gap: 7px 16px;
}

.sw-radio,
.sw-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.sw-radio input,
.sw-check input {
  width: 12px;
  height: 12px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #808080;
  background: #fff;
  box-shadow: inset 1px 1px 0 #808080;
  opacity: 1;
}

.sw-radio input {
  border-radius: 50%;
}

.sw-radio input:checked {
  background: radial-gradient(circle, #000 0 2px, #fff 2.5px 100%);
}

.sw-check input:checked {
  position: relative;
}

.sw-check input:checked::after {
  content: "✓";
  position: absolute;
  top: -4px;
  left: 1px;
  color: #000;
  font-size: 11px;
  line-height: 1;
}

.sw-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 10px;
  padding: 0 2px;
}

.sw-backs {
  padding: 8px 2px 4px;
}

.sw-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.sw-back-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sw-back-grid img {
  width: 34px;
  height: auto;
  padding: 1px;
  border: 2px solid transparent;
  background: #fff;
}

.sw-back-grid img.active {
  border-color: #000080;
  box-shadow: 0 0 0 1px #000;
}

.sw-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #808080;
}

.sw-btn {
  min-width: 74px;
  padding: 4px 14px;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  box-shadow: inset 1px 1px 0 #dfdfdf, inset -1px -1px 0 #808080;
  font-size: 11px;
  text-align: center;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 6px;
  color: var(--green);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq summary:hover {
  color: var(--green);
}

.faq details p {
  max-width: 72ch;
  margin: 0;
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.cta {
  padding: 0 0 clamp(58px, 8vw, 96px);
  background: var(--cream);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 68px);
  border: 1px solid rgba(241, 215, 149, 0.26);
  border-radius: 30px;
  background:
    radial-gradient(120% 160% at 50% 0%, #127048 0%, #07402c 55%, #04251a 100%);
  box-shadow: var(--shadow);
  color: #fff;
  text-align: center;
}

.cta-card::before,
.cta-card::after {
  position: absolute;
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--font-display);
  font-size: clamp(180px, 28vw, 300px);
  line-height: 1;
  pointer-events: none;
}

.cta-card::before {
  content: "♠";
  top: -40px;
  left: -26px;
}

.cta-card::after {
  content: "♥";
  right: -18px;
  bottom: -100px;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  max-width: 15em;
  margin: 0 auto 16px;
}

.cta-card p {
  max-width: 54ch;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.cta-card .eyebrow {
  margin-bottom: 12px;
  color: var(--gold-2);
}

.cta-card .cta-note {
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
}

.site-footer {
  padding: 52px 0 30px;
  background: #042419;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 22px;
}

.footer-brand svg {
  width: 27px;
  height: 27px;
}

.footer-about {
  max-width: 36ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-nav h3 {
  margin: 4px 0 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 58px 0 72px;
  }

  .hero h1 {
    max-width: 14em;
  }

  .hero-art {
    justify-content: flex-start;
  }

  .game-window {
    transform: rotate(-1deg);
  }

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

  .split,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .rules-card {
    position: static;
  }

  .settings-window {
    justify-self: start;
  }

  .backs-panel {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .site-header .wrap {
    min-height: 64px;
    gap: 14px;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .brand {
    font-size: 21px;
  }

  .brand svg {
    width: 27px;
    height: 27px;
  }

  .trust-bar ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    font-size: 10px;
  }

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

  .backs-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .gw-board {
    --gw-card: clamp(31px, 9.6vw, 46px);
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .hero-grid {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.2vw, 2.75rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-facts {
    gap: 8px 16px;
    font-size: 12px;
  }

  .game-window {
    transform: none;
  }

  .gw-titlebar {
    font-size: 10px;
  }

  .gw-status {
    gap: 6px;
    font-size: 8.5px;
  }

  .steps li {
    padding-left: 52px;
  }

  .rules-card {
    padding: 24px;
  }

  .settings-window {
    font-size: 10.5px;
  }

  .backs-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .cta-card {
    border-radius: 22px;
  }

  .btn-lg {
    width: 100%;
  }

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

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

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

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