:root {
  --bg: #07142f;
  --bg-2: #0c2147;
  --panel: #102b58;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7fbff;
  --muted: #c3d1e8;
  --muted-2: #8ea3c0;
  --red: #ff6b57;
  --red-dark: #d64a32;
  --cyan: #5ce1ff;
  --gold: #ffd166;
  --green: #35d07f;
  --cream: #fff8e8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(9, 11, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--green));
  color: white;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 25px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.18s ease;
  content: "";
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 900;
  text-transform: uppercase;
}

.header-cta,
.button-primary {
  background: var(--red);
  color: white;
}

.header-cta:hover,
.button-primary:hover {
  background: #ff4b63;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  border-color: var(--text);
}

.nav-toggle {
  display: none;
}

.page-marker {
  position: fixed;
  z-index: 25;
  top: 86px;
  right: max(20px, calc((100vw - var(--max)) / 2));
  display: grid;
  gap: 2px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(5, 13, 31, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.page-marker span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
}

.page-marker b {
  color: var(--text);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 20, 47, 0.98), rgba(7, 20, 47, 0.66) 44%, rgba(7, 20, 47, 0.1)),
    linear-gradient(0deg, var(--bg) 0, rgba(9, 11, 15, 0) 38%);
}

.hero::after {
  position: absolute;
  right: -8vw;
  bottom: -5vw;
  z-index: -1;
  width: 42vw;
  height: 22vw;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.28), rgba(53, 208, 127, 0.08));
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  content: "";
}

.hero-content {
  width: min(720px, calc(100% - 40px));
  padding: 22svh 0 120px;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-content p:not(.eyebrow),
.page-hero p,
.split-copy p,
.two-column p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: absolute;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 54px;
  display: grid;
  gap: 2px;
  width: min(300px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(16, 43, 88, 0.78);
  backdrop-filter: blur(16px);
}

.hero-panel span,
.hero-panel small {
  color: var(--muted);
  font-weight: 800;
}

.hero-panel strong {
  font-size: 2rem;
  line-height: 1;
}

.section,
.split-section,
.cta-band,
.page-hero,
.legal-page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.section-tight {
  padding-top: 84px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.row-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

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

.feature-card,
.news-card,
.wide-news,
.contact-card,
details,
.stat-grid div {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
}

.feature-card,
.news-card {
  min-height: 230px;
  padding: 26px;
}

.feature-card span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-weight: 950;
}

.feature-card p,
.news-card p,
.wide-news p,
.contact-card p,
details p {
  color: var(--muted);
}

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

.game-card {
  position: relative;
  overflow: hidden;
  padding: 0 0 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.game-card::before {
  display: none;
}

.game-card span {
  display: inline-flex;
  margin: 22px 22px 12px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 900;
}

.game-card p {
  min-height: 76px;
  margin: 0 22px 20px;
  color: var(--muted);
}

.game-card h3 {
  margin: 0 22px 10px;
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 22px;
  padding: 0 16px;
  background: var(--gold);
  color: #13213e;
  font-weight: 950;
}

.play-link:hover {
  background: #ffe08b;
}

.mahjong {
  background: linear-gradient(150deg, rgba(53, 208, 127, 0.28), rgba(16, 43, 88, 0.96));
}

.poker {
  background: linear-gradient(150deg, rgba(255, 107, 87, 0.3), rgba(16, 43, 88, 0.96));
}

.match {
  background: linear-gradient(150deg, rgba(92, 225, 255, 0.3), rgba(16, 43, 88, 0.96));
}

.puzzle {
  background: linear-gradient(150deg, rgba(255, 209, 102, 0.32), rgba(16, 43, 88, 0.96));
}

.mahjong::before {
  content: "麻";
}

.poker::before {
  content: "A";
}

.match::before {
  content: "◆";
}

.puzzle::before {
  content: "■";
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: center;
  padding: 92px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 420px;
  gap: 12px;
}

.agent-strip article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 51, 79, 0.25)),
    var(--panel);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.agent-strip article::before {
  position: absolute;
  inset: 48px 26px 96px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: skewX(-8deg);
  content: "";
}

.agent-strip b {
  font-size: 2rem;
  line-height: 1;
}

.agent-strip span {
  color: var(--muted);
}

.phone-card,
.app-showcase-image {
  display: grid;
  min-height: 430px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 16%, rgba(92, 225, 255, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(255, 209, 102, 0.22), rgba(53, 208, 127, 0.08)),
    var(--panel);
  border: 1px solid var(--line);
}

.app-showcase-image {
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: min(260px, 72%);
  min-height: 360px;
  padding: 26px;
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 20, 47, 0.05), rgba(7, 20, 47, 0.85)),
    linear-gradient(135deg, var(--green), var(--cyan) 45%, var(--gold));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.phone-screen span,
.phone-screen small {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.phone-screen b {
  margin: 8px 0;
  font-size: 1.7rem;
  line-height: 1.08;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 0;
}

.category-tabs a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 900;
}

.category-tabs a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.34);
}

.game-list-section {
  display: grid;
  gap: 18px;
}

.game-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
}

.game-row-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.download-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 420px);
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.download-showcase {
  width: min(720px, 100%);
  margin: 32px 0 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.official-download {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(53, 208, 127, 0.18), rgba(255, 209, 102, 0.08));
}

.official-download p {
  color: var(--muted);
}

.qr-card,
.store-button,
.install-notes article,
.community-grid article,
.support-cats a {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028));
}

.qr-card {
  display: grid;
  gap: 14px;
  place-items: center;
  padding: 22px;
}

.qr-grid {
  width: 154px;
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(#111 10px, transparent 10px) 0 0 / 22px 22px,
    white;
}

.download-options {
  display: grid;
  gap: 12px;
}

.store-button {
  display: grid;
  gap: 2px;
  padding: 20px;
}

.store-button b {
  font-size: 1.25rem;
}

.store-button span,
.install-notes span {
  color: var(--muted);
}

.install-notes {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.note-grid {
  display: grid;
  gap: 12px;
}

.note-grid article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

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

.community-grid article {
  min-height: 260px;
  padding: 26px;
}

.community-grid span {
  color: var(--gold);
  font-weight: 950;
}

.support-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}

.support-cats {
  display: grid;
  align-content: start;
  gap: 10px;
}

.support-cats a {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 900;
}

.play-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 24px;
  align-items: stretch;
}

.play-board {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 209, 102, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(92, 225, 255, 0.2), rgba(53, 208, 127, 0.12)),
    var(--panel);
  text-align: center;
}

.play-board[data-game="mahjong"] {
  background:
    radial-gradient(circle at 50% 28%, rgba(53, 208, 127, 0.35), transparent 32%),
    linear-gradient(135deg, rgba(53, 208, 127, 0.28), rgba(255, 209, 102, 0.14)),
    var(--panel);
}

.play-board[data-game="poker"] {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 107, 87, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(255, 107, 87, 0.22), rgba(92, 225, 255, 0.14)),
    var(--panel);
}

.play-board[data-game="match"],
.play-board[data-game="puzzle"] {
  background:
    radial-gradient(circle at 50% 28%, rgba(92, 225, 255, 0.35), transparent 32%),
    linear-gradient(135deg, rgba(123, 92, 255, 0.24), rgba(255, 209, 102, 0.16)),
    var(--panel);
}

.play-board span {
  color: var(--gold);
  font-weight: 950;
}

.play-board b {
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 1;
}

.play-board small {
  color: var(--muted);
  font-size: 1rem;
}

.play-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028));
}

.text-link {
  color: var(--text);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.news-card time,
.wide-news time {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.news-card a:not(.text-link),
.live-card a,
.article-item h2 a {
  color: var(--text);
}

.live-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 18px;
}

.live-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028));
}

.live-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.live-card div {
  padding: 22px;
}

.live-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
}

.live-card-large {
  grid-row: span 2;
}

.live-card-large img {
  aspect-ratio: 4 / 3.35;
}

.reward-grid,
.leaderboard,
.rules-grid {
  display: grid;
  gap: 14px;
}

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

.reward-grid article,
.leaderboard div,
.article-item,
.news-sidebar a,
.rules-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028));
}

.reward-grid article {
  min-height: 128px;
  padding: 22px;
}

.reward-grid b,
.leaderboard b {
  display: block;
  color: var(--gold);
  font-size: 1.35rem;
}

.reward-grid span,
.leaderboard span,
.article-item p {
  color: var(--muted);
}

.leaderboard div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
}

.leaderboard strong {
  color: var(--green);
  font-size: 1.25rem;
}

.news-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
}

.news-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
}

.news-sidebar a {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 900;
}

.news-sidebar a.is-active,
.news-sidebar a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.34);
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-item {
  padding: 26px;
}

.article-item time,
.article-detail time {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.article-item h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.article-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 140px;
}

.article-detail {
  padding-bottom: 92px;
}

.article-detail h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.article-detail h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.article-detail p {
  color: var(--muted);
  font-size: 1.1rem;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.article-nav a,
.sitemap-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028));
}

.article-nav a {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.article-nav span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.article-nav b {
  font-size: 1.15rem;
}

.related-articles {
  margin-top: 54px;
}

.related-articles h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.game-detail-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding-top: 118px;
}

.game-detail-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.row-actions {
  display: grid;
  gap: 10px;
  min-width: 170px;
}

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

.rules-grid article {
  padding: 26px;
}

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

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

.sitemap-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
}

.sitemap-grid h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.sitemap-grid a {
  color: var(--muted);
  font-weight: 800;
}

.sitemap-grid a:hover {
  color: var(--text);
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-metrics article,
.timeline-list article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.028));
}

.about-metrics article {
  min-height: 132px;
  padding: 22px;
}

.about-metrics b {
  display: block;
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}

.about-metrics span,
.timeline-list p,
.compliance-section p {
  color: var(--muted);
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-list article {
  padding: 26px;
}

.timeline-list time {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 950;
}

.compliance-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.compliance-line {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 82px;
  padding: 42px;
  background: var(--cream);
  color: #11151c;
}

.cta-band .eyebrow {
  color: var(--red-dark);
}

.cta-band h2 {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  padding: 46px max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #050608;
}

.site-footer p {
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 18px 24px;
  color: var(--muted);
}

.page-main {
  padding-top: 72px;
}

.page-hero {
  padding: 118px 0 70px;
}

.compact-hero {
  border-bottom: 1px solid var(--line);
}

.store-hero {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-grid div {
  min-height: 126px;
  padding: 22px;
}

.stat-grid b {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
}

.system-card {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.requirements {
  display: grid;
  gap: 14px;
}

.requirements div,
.wide-news,
.contact-card,
details {
  padding: 26px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.wide-news h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

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

.media-feature {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.media-tile {
  display: grid;
  min-height: 170px;
  place-items: end start;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 51, 79, 0.32), rgba(124, 232, 255, 0.05)),
    var(--panel);
  font-weight: 950;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 840px;
}

summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
}

.compact-footer {
  display: block;
}

.legal-page {
  padding-top: 150px;
  padding-bottom: 90px;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.legal-date {
  color: var(--gold);
  font-weight: 900;
}

.legal-section {
  max-width: 880px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.legal-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .page-marker {
    top: 82px;
    left: 20px;
    right: 20px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    background: rgba(9, 11, 15, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open a {
    padding: 17px 20px;
    border-top: 1px solid var(--line);
  }

  .hero-content {
    padding-top: 18svh;
  }

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

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -82px 20px 40px;
  }

  .feature-grid,
  .news-grid,
  .four-grid,
  .game-grid,
  .live-grid,
  .split-section,
  .two-column,
  .system-card,
  .install-notes,
  .community-grid,
  .support-layout,
  .news-layout,
  .game-detail-hero,
  .rules-grid,
  .sitemap-grid,
  .about-metrics,
  .compliance-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .agent-strip,
  .media-grid,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .agent-strip {
    min-height: auto;
  }

  .agent-strip article {
    min-height: 220px;
  }

  .row-heading,
  .cta-band {
    align-items: start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: start;
  }

  .media-feature {
    aspect-ratio: 4 / 3;
  }

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

  .leaderboard div {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .leaderboard strong {
    grid-column: 2;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .store-buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }
}
