:root {
  --bg: #081d19;
  --bg-soft: #0d2b26;
  --panel: rgba(10, 33, 29, 0.78);
  --panel-strong: rgba(8, 24, 21, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(246, 211, 138, 0.38);
  --text: #f6f3ea;
  --text-soft: rgba(246, 243, 234, 0.74);
  --text-dim: rgba(246, 243, 234, 0.56);
  --accent: #f6d38a;
  --accent-deep: #d69639;
  --danger: #c24f4f;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --card-width: clamp(4.4rem, 7.1vw, 5.8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(246, 211, 138, 0.12), transparent 24rem),
    radial-gradient(circle at right center, rgba(255, 255, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #0a2b26 0%, #061410 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  opacity: 0.24;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  position: relative;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.site-shell-inner {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #10322d;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 32px rgba(214, 150, 57, 0.24);
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-soft);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--accent);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[data-active="true"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[data-active="true"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100svh - 5.5rem);
  padding: 2rem 0 4rem;
}

.hero-copy,
.hero-stage,
.page-hero,
.game-hero,
.section-heading,
.rail-item,
.page-card,
.policy-block,
.cta-section,
.game-spotlight,
.split-copy,
.split-visual {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.game-hero h1,
.section-heading h2,
.cta-section h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 8vw, 6.7rem);
}

.hero-text,
.page-hero p,
.game-hero p,
.section-heading p,
.spotlight-copy p,
.split-copy p,
.rail-item p,
.page-card p,
.policy-block p,
.cta-section p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 36rem;
  font-size: 1.05rem;
  margin: 1.25rem 0 0;
}

.hero-actions,
.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button,
.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.control-button:hover {
  transform: translateY(-1px);
}

.button:disabled,
.control-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

.button-primary,
.control-button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #0e2e29;
  box-shadow: 0 10px 30px rgba(214, 150, 57, 0.2);
}

.button-secondary,
.control-button {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.hero-stage {
  position: relative;
  min-height: 40rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top, rgba(246, 211, 138, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-fan {
  position: absolute;
  inset: 4rem 3rem auto auto;
  width: 22rem;
  height: 24rem;
}

.fan-card {
  position: absolute;
  inset: auto;
  width: 10.2rem;
  aspect-ratio: 5 / 7;
  border-radius: 1.35rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(242, 237, 227, 0.92)),
    linear-gradient(135deg, rgba(246, 211, 138, 0.65), transparent 70%);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.fan-card::before,
.fan-card::after {
  content: "A";
  position: absolute;
  left: 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #b13f3f;
}

.fan-card::after {
  content: "♥";
  left: auto;
  right: 1rem;
  bottom: 1rem;
  font-size: 2rem;
}

.fan-card-a {
  right: 0;
  top: 1.5rem;
  transform: rotate(11deg);
}

.fan-card-b {
  right: 4rem;
  top: 0;
  transform: rotate(3deg);
}

.fan-card-c {
  right: 8rem;
  top: 1rem;
  transform: rotate(-7deg);
}

.fan-card-d {
  right: 12rem;
  top: 4rem;
  transform: rotate(-16deg);
}

.hero-panel {
  position: absolute;
  left: 2.2rem;
  right: 2.2rem;
  bottom: 2.2rem;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(8, 24, 21, 0.76);
  border: 1px solid rgba(246, 211, 138, 0.16);
  backdrop-filter: blur(14px);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
}

.hero-panel-top strong {
  color: var(--text);
}

.hero-list,
.detail-list,
.help-list,
.feature-list,
.teaser-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-list li,
.detail-list li,
.help-list li,
.feature-list li,
.teaser-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-soft);
}

.hero-list li::before,
.detail-list li::before,
.help-list li::before,
.feature-list li::before,
.teaser-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: 4rem 0;
}

.games-section {
  padding-top: 1rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.page-hero h1,
.game-hero h1,
.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.game-grid,
.rail-grid,
.page-grid,
.policy-layout {
  display: grid;
  gap: 1.3rem;
}

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

.game-spotlight,
.rail-item,
.page-card,
.policy-block,
.ad-slot,
.game-panel,
.help-card,
.teaser-card,
.more-games {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.game-spotlight,
.page-card,
.policy-block,
.rail-item {
  padding: 1.4rem;
}

.spotlight-copy h3,
.rail-item h3,
.page-card h2,
.policy-block h2,
.help-card h2,
.teaser-card h2,
.more-games h2,
.panel-heading h2,
.game-panel h2 {
  margin: 0 0 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.05;
}

.inline-link {
  color: var(--accent);
  font-weight: 700;
}

.board-preview {
  position: relative;
  min-height: 14rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top left, rgba(246, 211, 138, 0.14), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.board-preview span {
  position: absolute;
  width: 4.6rem;
  aspect-ratio: 5 / 7;
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(239, 234, 224, 0.9));
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.18);
}

.board-preview-klondike span:nth-child(1) {
  left: 1.2rem;
  top: 1.6rem;
}

.board-preview-klondike span:nth-child(2) {
  left: 4.2rem;
  top: 2.2rem;
}

.board-preview-klondike span:nth-child(3) {
  left: 7.2rem;
  top: 2.9rem;
}

.board-preview-klondike span:nth-child(4) {
  left: 10.2rem;
  top: 3.5rem;
}

.board-preview-freecell span:nth-child(1) {
  left: 1rem;
  top: 1rem;
}

.board-preview-freecell span:nth-child(2) {
  left: 5rem;
  top: 1rem;
}

.board-preview-freecell span:nth-child(3) {
  left: 9rem;
  top: 1rem;
}

.board-preview-freecell span:nth-child(4) {
  left: 6.2rem;
  top: 4rem;
}

.board-preview-spider span:nth-child(1) {
  left: 1rem;
  top: 4rem;
}

.board-preview-spider span:nth-child(2) {
  left: 4rem;
  top: 3.5rem;
}

.board-preview-spider span:nth-child(3) {
  left: 7rem;
  top: 3rem;
}

.board-preview-spider span:nth-child(4) {
  left: 10rem;
  top: 2.5rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.92fr);
  gap: 1.5rem;
  align-items: center;
}

.ad-mockup {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top, rgba(246, 211, 138, 0.18), transparent 16rem);
  border: 1px solid rgba(246, 211, 138, 0.16);
  min-height: 20rem;
}

.ad-mockup span,
.ad-slot {
  display: grid;
  place-items: center;
  min-height: 7rem;
  padding: 1.2rem;
  text-align: center;
  color: var(--text-soft);
}

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

.cta-section {
  display: grid;
  justify-items: start;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at right top, rgba(246, 211, 138, 0.18), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(246, 211, 138, 0.2);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 0;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-main {
  padding: 3rem 0;
}

.page-hero,
.game-hero {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.article-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.article-card h2,
.article-card h3,
.article-sidebar h2,
.article-sidebar h3 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.05;
}

.article-card h2,
.article-sidebar h2 {
  font-size: 2rem;
}

.article-card h3,
.article-sidebar h3 {
  font-size: 1.35rem;
}

.article-card p,
.article-card li,
.article-sidebar p,
.article-sidebar li {
  color: var(--text-soft);
  line-height: 1.72;
}

.article-card ul,
.article-sidebar ul {
  margin: 0;
  padding-left: 1.15rem;
}

.article-card section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-intro {
  font-size: 1.08rem;
}

.article-sidebar {
  display: grid;
  gap: 1rem;
}

.guide-list {
  display: grid;
  gap: 1rem;
}

.guide-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.guide-card p {
  margin: 0 0 0.9rem;
}

.meta-list {
  display: grid;
  gap: 0.8rem;
}

.meta-list strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text);
}

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

.policy-layout {
  grid-template-columns: 1fr;
}

.game-page-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.75fr);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 3rem;
}

.game-panel {
  padding: 1.2rem;
}

.game-panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading p,
.sidebar-copy p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.status-pill {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.ad-slot {
  position: relative;
  border-style: dashed;
  border-color: rgba(246, 211, 138, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ad-slot[data-ad-size="banner"] {
  min-height: 7.5rem;
}

.ad-slot[data-ad-size="sidebar"] {
  min-height: 18rem;
}

.ad-slot-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.ad-slot-note {
  max-width: 24rem;
  margin-top: 0.45rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.adsbygoogle {
  display: block;
  width: 100%;
  min-height: inherit;
}

.game-board {
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.board-top,
.board-top.freecell-top {
  display: grid;
  grid-template-columns: repeat(6, minmax(var(--card-width), 1fr));
  gap: 0.9rem;
  min-width: 44rem;
}

.board-top.freecell-top {
  grid-template-columns: repeat(8, minmax(var(--card-width), 1fr));
}

.board-top.spider-top {
  grid-template-columns: repeat(10, minmax(var(--card-width), 1fr));
  min-width: 62rem;
}

.tableau {
  display: grid;
  grid-template-columns: repeat(7, minmax(var(--card-width), 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
  min-width: 44rem;
}

.tableau.freecell-columns {
  grid-template-columns: repeat(8, minmax(var(--card-width), 1fr));
}

.tableau.spider-columns {
  grid-template-columns: repeat(10, minmax(var(--card-width), 1fr));
  min-width: 62rem;
}

.pile,
.foundation-pile,
.stock-pile,
.waste-pile,
.freecell-pile,
.tableau-pile {
  position: relative;
  min-width: var(--card-width);
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.stock-pile,
.waste-pile,
.foundation-pile,
.freecell-pile {
  min-height: calc(var(--card-width) * 1.38);
}

.tableau-pile {
  min-height: 21rem;
}

.tableau-pile.spider-pile {
  min-height: 30rem;
}

.pile-label {
  position: absolute;
  inset: 0.8rem auto auto 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.pile.is-valid-target {
  border-color: rgba(246, 211, 138, 0.55);
  box-shadow: inset 0 0 0 1px rgba(246, 211, 138, 0.2);
}

.card {
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: 5 / 7;
  border-radius: 1rem;
  border: 1px solid rgba(10, 15, 13, 0.15);
  background: linear-gradient(180deg, #fffdfa 0%, #f3eee4 100%);
  color: #111111;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.card:hover {
  transform: translateY(-2px);
}

.card.is-selected {
  border-color: rgba(246, 211, 138, 0.82);
  box-shadow: 0 0 0 2px rgba(246, 211, 138, 0.32), 0 18px 28px rgba(0, 0, 0, 0.22);
}

.card.card-face-down {
  background:
    linear-gradient(135deg, rgba(246, 211, 138, 0.18), transparent 60%),
    linear-gradient(180deg, #20443d 0%, #123029 100%);
  border-color: rgba(246, 211, 138, 0.2);
}

.card.card-face-down::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(246, 211, 138, 0.24);
  background-image:
    linear-gradient(rgba(246, 211, 138, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 211, 138, 0.18) 1px, transparent 1px);
  background-size: 0.85rem 0.85rem;
}

.card-corner,
.card-suit {
  position: absolute;
}

.card-corner {
  top: 0.55rem;
  left: 0.6rem;
  display: grid;
  gap: 0.1rem;
  font-weight: 800;
  line-height: 1;
  font-size: 1rem;
}

.card-suit {
  right: 0.7rem;
  bottom: 0.55rem;
  font-size: 1.6rem;
}

.card-red {
  color: #b33f3f;
}

.card-black {
  color: #101312;
}

.waste-pile .card,
.stock-pile .card,
.foundation-pile .card,
.freecell-pile .card {
  top: 0;
}

.stock-pile .card + .card {
  top: 0.4rem;
}

.stock-badge,
.spider-meta-copy {
  position: absolute;
  inset: auto 0.6rem 0.6rem 0.6rem;
  border-radius: 999px;
  padding: 0.4rem 0.55rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spider-meta-copy {
  display: grid;
  gap: 0.18rem;
  text-transform: none;
  letter-spacing: 0;
}

.spider-meta-copy strong {
  color: var(--text);
  font-size: 1rem;
}

.completed-pile .pile-label {
  letter-spacing: 0.08em;
}

.game-sidebar {
  display: grid;
  gap: 1rem;
}

.help-card,
.teaser-card,
.more-games {
  padding: 1.2rem;
}

.small-muted {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.game-status-message {
  min-height: 1.5rem;
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-weight: 600;
}

.stack-link-list {
  display: grid;
  gap: 0.8rem;
}

.stack-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.stack-link strong {
  display: block;
}

.stack-link span {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.stack-link em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.coming-soon-hero {
  display: grid;
  gap: 1.3rem;
}

.teaser-board {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(246, 211, 138, 0.15), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.teaser-board span {
  position: absolute;
  width: 5.2rem;
  aspect-ratio: 5 / 7;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffdf9 0%, #efe8dc 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.teaser-board span:nth-child(1) { left: 4%; top: 48%; }
.teaser-board span:nth-child(2) { left: 14%; top: 43%; }
.teaser-board span:nth-child(3) { left: 24%; top: 38%; }
.teaser-board span:nth-child(4) { left: 34%; top: 33%; }
.teaser-board span:nth-child(5) { left: 44%; top: 28%; }
.teaser-board span:nth-child(6) { left: 54%; top: 23%; }
.teaser-board span:nth-child(7) { left: 64%; top: 18%; }
.teaser-board span:nth-child(8) { left: 74%; top: 13%; }

.board-caption {
  color: var(--text-dim);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .hero,
  .split-section,
  .game-page-main,
  .article-shell,
  .game-grid,
  .page-grid,
  .feature-rail .rail-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-stage {
    min-height: 32rem;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 1.1rem, 100%);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 14rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: var(--panel-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-stage {
    min-height: 28rem;
  }

  .card-fan {
    right: 1.6rem;
    top: 2.4rem;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .hero-panel {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .status-row,
  .hero-actions,
  .board-actions {
    align-items: stretch;
  }

  .button,
  .control-button {
    width: 100%;
  }
}
