/* ============================================================
   91 Club — Brand App Profile · shared stylesheet
   cool-silver-marketplace · light-modular-cards · amber-action
   version: 1.0
   ============================================================ */

:root {
  --ink-900: #0c1627;
  --ink-800: #16223a;
  --ink-700: #243150;
  --ink-600: #3a4a6b;
  --ink-500: #5a6a85;
  --ink-400: #8895ad;
  --ink-300: #b6bfd0;
  --ink-200: #d6dce6;
  --ink-100: #e8edf4;
  --paper-50: #fafaf7;
  --paper-100: #f3f3ec;
  --paper-200: #ebebe2;
  --paper-300: #ddddd0;
  --accent-700: #8d5d10;
  --accent-600: #b47a18;
  --accent-500: #c8861d;
  --accent-400: #e0a142;
  --accent-100: #fbeccd;
  --good-600: #1f7a4c;
  --good-100: #dff3e6;
  --warn-600: #9b5310;
  --warn-100: #f7e3c5;
  --bad-600: #b02d3a;
  --bad-100: #f8d8db;

  --rule: rgba(20, 32, 56, 0.10);
  --rule-strong: rgba(20, 32, 56, 0.18);
  --shadow-1: 0 1px 2px rgba(12, 22, 39, 0.04), 0 1px 1px rgba(12, 22, 39, 0.03);
  --shadow-2: 0 4px 16px rgba(12, 22, 39, 0.06), 0 1px 2px rgba(12, 22, 39, 0.04);
  --shadow-3: 0 10px 32px rgba(12, 22, 39, 0.10), 0 2px 8px rgba(12, 22, 39, 0.06);
  --radius-card: 14px;
  --radius-pill: 999px;
  --gap: 20px;
  --gap-lg: 32px;
  --content-max: 1200px;
  --header-h: 68px;
  --cta-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--paper-50);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-700); text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent-600); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 6px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", "Work Sans", system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
h1 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.015em; }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== utility classes ===== */
.text-mute { color: var(--ink-500); }
.text-eyebrow {
  font-family: "Sora", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.text-num { font-variant-numeric: tabular-nums; }
.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;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--cta-h);
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-500);
  color: #fff;
  box-shadow: 0 6px 16px rgba(200,134,29,0.30);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-600); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--rule-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--paper-100); color: var(--ink-900); }
.btn-quiet {
  background: var(--ink-900);
  color: var(--paper-50);
}
.btn-quiet:hover, .btn-quiet:focus-visible { background: var(--ink-800); color: var(--paper-50); }
.btn-block { width: 100%; }

/* ===== Site header (utility bar) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-900);
}
.brand-mark img { width: 36px; height: 36px; border-radius: 9px; }
.brand-mark .brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark .brand-tag {
  display: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-700);
  text-transform: uppercase;
  margin-left: 6px;
}
@media (min-width: 720px) {
  .brand-mark .brand-tag { display: inline-block; }
}
.main-nav {
  margin-left: auto;
  display: none;
  gap: 6px;
  align-items: center;
}
@media (min-width: 960px) {
  .main-nav { display: inline-flex; }
}
.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 14.5px;
}
.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--ink-900);
  background: var(--paper-100);
}
.main-nav a[aria-current="page"] {
  color: var(--accent-700);
  background: var(--accent-100);
}
.main-nav a.cta {
  background: var(--accent-500);
  color: #fff;
  padding: 10px 18px;
}
.main-nav a.cta:hover { background: var(--accent-600); color: #fff; }
.header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 960px) {
  .header-cta { margin-left: 0; }
}
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 350;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 1px;
  transition: transform 180ms ease, opacity 120ms ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* row-100126 fix: when the drawer is open, drop the hamburger below the
   drawer so the drawer-close button (z-index 2 inside the drawer) is the
   topmost element at the top-right hit zone. Playwright's actionability
   check needs the close target to receive pointer events, not be covered. */
.hamburger[aria-expanded="true"] { z-index: 100; }
@media (min-width: 960px) {
  .hamburger { display: none; }
}

/* ===== Mobile drawer ===== */
.mobile-drawer {
  position: fixed;
  top: 0;
  /* row-100126 fix: position offscreen via left (so getBoundingClientRect stays
     outside viewport) instead of transform-only. transform was causing the
     closed drawer's box to be reported past the right edge of the viewport. */
  left: 100%;
  height: 100dvh;
  width: min(86vw, 320px);
  max-width: calc(100vw - 8px);
  background: var(--paper-50);
  border-left: 1px solid var(--rule);
  box-shadow: -10px 0 32px rgba(12, 22, 39, 0.16);
  transition: left 220ms ease;
  z-index: 320;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 64px 16px 24px;
  contain: layout paint;
  isolation: isolate; /* row-100126: independent stacking context so the
                          drawer-close z-index is unambiguous at the top of the
                          drawer stack, not competing with the sticky header. */
}
.mobile-drawer[data-open="true"] { left: calc(100% - min(86vw, 320px)); }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer li { margin: 0; border-bottom: 1px solid var(--rule); }
.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  color: var(--ink-800);
  font-weight: 600;
  font-size: 16px;
  word-break: break-word;
}
.mobile-drawer .drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink-800);
  /* row-100126 fix: close button must stay above the sticky header
     (z-index 200) and any backdrop / drawer siblings so it is the
     topmost interactive element at the top-right hit zone. */
  z-index: 400;
  pointer-events: auto;
}
.mobile-drawer .drawer-close::before,
.mobile-drawer .drawer-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.mobile-drawer .drawer-close::before { transform: rotate(45deg); }
.mobile-drawer .drawer-close::after  { transform: rotate(-45deg); }
.mobile-drawer a.cta {
  margin-top: 16px;
  background: var(--accent-500);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  text-align: center;
}
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(12, 22, 39, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 310;
}
.drawer-backdrop[data-open="true"] {
  opacity: 1; pointer-events: auto;
}
body[data-drawer-open="true"] { overflow: hidden; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background: var(--paper-50);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; padding-top: 24px; padding-bottom: 24px; }
}
.hero-copy h1 {
  margin: 14px 0 14px;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 56ch;
  margin-bottom: 24px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.hero-fact-strip > div {
  background: var(--paper-50);
  padding: 16px 14px;
}
.hero-fact-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.1;
}
.hero-fact-strip span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 4px;
}
@media (min-width: 720px) {
  .hero-fact-strip { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* Diagonal media crop — signature device */
.diag {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900));
}
.diag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,134,29,0.0) 0 56%, rgba(200,134,29,0.30) 56% 60%, rgba(200,134,29,0.0) 60% 100%);
  pointer-events: none;
}
.diag img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.diag-cap {
  position: absolute;
  left: 18px; right: 18px;
  bottom: 16px;
  background: rgba(12, 22, 39, 0.78);
  color: var(--paper-50);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  z-index: 2;
}
.diag-cap strong {
  display: block;
  color: var(--accent-400);
  font-family: "Sora", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Diagonal-media-crop with brand tile (no protected pool image) */
.diag-tile {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  color: var(--paper-50);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(200,134,29,0.18) 0%, transparent 70%),
    linear-gradient(135deg, var(--ink-700) 0%, var(--ink-900) 100%);
}
.diag-tile img {
  position: static;
  width: clamp(120px, 36vw, 180px);
  height: clamp(120px, 36vw, 180px);
  border-radius: 28px;
  background: var(--paper-50);
  padding: 18px;
  object-fit: contain;
  inset: auto;
  clip-path: none;
}
.diag-tile .diag-tag {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 6vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1;
}
.diag-tile .diag-sub {
  font-size: 13px;
  color: var(--ink-200);
  letter-spacing: 0.04em;
  max-width: 28ch;
  line-height: 1.4;
}

/* ===== Sections ===== */
section { scroll-margin-top: 90px; }
.section {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
.section:first-of-type { border-top: 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 6px 0 0; max-width: 30ch; }
.section-head .text-mute { max-width: 44ch; font-size: 15px; }
.section-cta { margin-top: 28px; text-align: right; }

/* ===== Card grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper-50);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.card h3 {
  font-size: 17px;
  margin: 0;
}
.card p { color: var(--ink-600); font-size: 14.5px; margin: 0; }
.card .meta {
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.card .card-link {
  margin-top: auto;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--accent-700);
}
.card .card-link::after { content: " →"; }

/* ===== Rules list (numbered) ===== */
.rules {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.rule {
  padding: 22px 20px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--paper-50);
}
.rule:last-child { border-bottom: 0; }
@media (min-width: 720px) {
  .rule:nth-child(2n) { border-right: 0; }
  .rule:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .rule { border-right: 1px solid var(--rule); }
  .rule:last-child { border-right: 0; }
}
.rule .num {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--paper-50);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center; justify-content: center;
}
.rule h4 {
  margin: 0 0 4px;
  font-family: "Sora", sans-serif;
  font-size: 15px;
  color: var(--ink-900);
}
.rule p { margin: 0; font-size: 14px; color: var(--ink-600); }

/* ===== Stat strip ===== */
.stat-strip {
  background: var(--ink-900);
  color: var(--paper-50);
  padding: 48px 0;
}
.stat-strip .container {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 480px) {
  /* row-100126 fix: long currency strings (₹3,000,000 / ₹10,000) force 2-col
     grid past 320px viewport. Stack single-column on small phones. */
  .stat-strip .container { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stat-strip .stat { padding-left: 12px; }
}
@media (min-width: 720px) {
  .stat-strip .container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stat-strip .stat {
  border-left: 3px solid var(--accent-500);
  padding-left: 16px;
  min-width: 0;
}
.stat-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--paper-50);
  line-height: 1;
}
.stat-strip span {
  display: block;
  font-size: 13px;
  color: var(--ink-300);
  margin-top: 8px;
  line-height: 1.35;
}

/* ===== Product gallery (image rail) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-100);
  min-width: 0;
}
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.gallery .thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--ink-700) 0%, var(--ink-900) 100%);
  position: relative;
}
.gallery .thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,134,29,0) 0 56%, rgba(200,134,29,0.30) 56% 60%, rgba(200,134,29,0) 60% 100%);
  pointer-events: none;
}
.gallery .thumb-mark {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 88px);
  color: var(--paper-50);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.gallery figcaption strong {
  display: block;
  color: var(--ink-900);
  font-family: "Sora", sans-serif;
  font-size: 14px;
}
.gallery figcaption .pill {
  display: inline-block;
  background: var(--accent-100);
  color: var(--accent-700);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ===== App directory (YONO preview) ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.app-card {
  background: var(--paper-50);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.app-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); border-color: var(--rule-strong); }
.app-card img {
  width: 44px; height: 44px;
  border-radius: 10px;
  flex: 0 0 44px;
}
.app-card .app-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  flex: 0 0 44px;
  background: linear-gradient(135deg, var(--ink-700) 0%, var(--ink-900) 100%);
  color: var(--paper-50);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.app-card .name {
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}
.app-card .cat {
  font-size: 11.5px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Game provider shelves ===== */
.shelf {
  margin-bottom: 28px;
}
.shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-strong);
}
.shelf-head h3 { margin: 0; }
.shelf-head .pill {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper-200);
  color: var(--ink-700);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.game-card {
  background: var(--paper-50);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  min-width: 0;
}
.game-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--accent-400); }
.game-card .thumb {
  position: relative;
  background: var(--ink-700);
  aspect-ratio: 1 / 1;
}
.game-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.game-card .thumb .corner {
  position: absolute;
  top: 0; right: 0;
  width: 26px; height: 26px;
  background: var(--accent-500);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.game-card .body {
  padding: 10px 12px 12px;
  border-top: 1px solid var(--rule);
}
.game-card .name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.game-card .meta {
  font-size: 11.5px;
  color: var(--ink-500);
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== News ===== */
.news-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .news-list { grid-template-columns: repeat(3, 1fr); }
}
.news-card {
  background: var(--paper-50);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, border-color 140ms ease;
}
.news-card:hover { transform: translateY(-1px); border-color: var(--accent-400); }
.news-card .date {
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-card h3 {
  font-family: "Sora", sans-serif;
  font-size: 17px;
  margin: 0;
  line-height: 1.3;
  color: var(--ink-900);
}
.news-card p { font-size: 14px; color: var(--ink-600); margin: 0; }
.news-card .tag {
  font-family: "Sora", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: auto;
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-strong);
}
.faq details {
  border-bottom: 1px solid var(--rule-strong);
  padding: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--ink-900);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent-500);
  color: #fff;
}
.faq details > div {
  padding: 0 4px 18px;
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.6;
  max-width: 72ch;
}
.faq-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.faq-cat {
  background: var(--paper-100);
  border: 1px solid var(--rule);
  color: var(--ink-800);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.faq-cat[aria-pressed="true"] {
  background: var(--ink-900);
  color: var(--paper-50);
  border-color: var(--ink-900);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 56px 0 24px;
}
.site-footer .container {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .site-footer .container { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-brand .name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--paper-50);
}
.footer-brand p { color: var(--ink-400); font-size: 13.5px; margin: 0; max-width: 36ch; }
.footer-col h4 {
  color: var(--paper-50);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--ink-300);
  font-size: 14px;
}
.footer-col a:hover { color: var(--paper-50); }
.footer-bottom {
  max-width: var(--content-max);
  margin: 32px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-400);
}
@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--ink-300);
}
.footer-social a:hover { color: var(--paper-50); border-color: rgba(255,255,255,0.4); }
.footer-social svg { width: 16px; height: 16px; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 280;
  display: flex;
  pointer-events: none;
}
.sticky-cta .btn {
  pointer-events: auto;
  width: 100%;
  box-shadow: 0 12px 36px rgba(12, 22, 39, 0.30), 0 4px 12px rgba(200, 134, 29, 0.32);
  background: var(--accent-500);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 56px;
}
.sticky-cta .btn:hover { background: var(--accent-600); color: #fff; }
@media (min-width: 720px) {
  .sticky-cta { display: none; }
}
body.has-sticky-cta { padding-bottom: 80px; }
@media (min-width: 720px) {
  body.has-sticky-cta { padding-bottom: 0; }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 80px;
  left: 12px; right: 12px;
  background: var(--ink-900);
  color: var(--paper-50);
  border-radius: 14px;
  padding: 16px 18px;
  z-index: 290;
  box-shadow: var(--shadow-3);
  display: none;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}
@media (min-width: 720px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: auto;
    max-width: 380px;
    flex-direction: column;
  }
}
.cookie-banner[data-show="true"] { display: flex; }
.cookie-banner p { margin: 0; line-height: 1.5; color: var(--ink-200); }
.cookie-banner .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.cookie-banner .btn-accept { background: var(--accent-500); color: #fff; }
.cookie-banner .btn-reject { background: transparent; color: var(--paper-50); border-color: rgba(255,255,255,0.3); }
.cookie-banner a { color: var(--accent-400); text-decoration: underline; }

/* ===== Article styles ===== */
.prose {
  max-width: 70ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-800);
}
.prose h2 {
  margin-top: 36px;
  font-size: 26px;
}
.prose h3 {
  margin-top: 28px;
  font-size: 20px;
}
.prose p { margin: 0 0 16px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 18px; }
.prose blockquote {
  border-left: 3px solid var(--accent-500);
  padding: 4px 18px;
  margin: 20px 0;
  font-style: normal;
  color: var(--ink-600);
}
.prose figure { margin: 24px 0; }
.prose figure img { border-radius: 12px; border: 1px solid var(--rule); }
.prose figcaption {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 8px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  table-layout: auto;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.prose th { background: var(--paper-100); color: var(--ink-900); font-family: "Sora", sans-serif; }

/* ===== Grid for two-column page ===== */
.page-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 40px 0 64px;
}
@media (min-width: 900px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
}
.page-aside {
  position: sticky;
  top: 88px;
  align-self: start;
  background: var(--paper-100);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  padding: 18px 18px 20px;
}
.page-aside h4 {
  font-family: "Sora", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 12px;
}
.page-aside ul { list-style: none; padding: 0; margin: 0 0 18px; }
.page-aside li { margin: 0; border-bottom: 1px solid var(--rule); }
.page-aside li:last-child { border-bottom: 0; }
.page-aside a { display: block; padding: 10px 0; color: var(--ink-800); font-size: 14.5px; }
.page-aside a:hover { color: var(--accent-700); }
.page-aside a[aria-current="page"] { color: var(--accent-700); font-weight: 700; }

/* ===== Hero profile (single article) ===== */
.page-hero {
  padding: 56px 0 24px;
  background: var(--paper-50);
  border-bottom: 1px solid var(--rule);
}
.page-hero .container { max-width: 820px; }
.page-hero .breadcrumb {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--ink-700); }
.page-hero .login-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0 22px;
  padding: 10px 14px;
  background: var(--paper-100);
  border: 1px solid var(--rule);
  border-radius: 14px;
  width: max-content;
  max-width: 100%;
}
.page-hero .login-identity img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--paper-50);
  padding: 4px;
  flex: 0 0 56px;
}
.page-hero .login-identity-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.page-hero .login-identity-meta strong {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.page-hero .login-identity-meta span {
  font-size: 12.5px;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 44px);
}
.page-hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 60ch;
  margin: 0 0 18px;
}
.page-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
  color: var(--ink-500);
}
.page-hero .meta-row strong { color: var(--ink-700); }

/* ===== Game detail ===== */
.game-detail {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding: 40px 0 56px;
}
@media (min-width: 900px) {
  .game-detail { grid-template-columns: 360px 1fr; gap: 48px; }
}
.game-cover {
  border-radius: 18px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--ink-700);
  position: relative;
  isolation: isolate;
}
.game-cover img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
.game-cover::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 56px; height: 56px;
  background: var(--accent-500);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.game-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 16px 0 24px;
}
.game-meta > div {
  background: var(--paper-50);
  padding: 12px 14px;
  font-size: 13px;
}
.game-meta strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.game-meta span {
  color: var(--ink-500);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Mini hero (sub-pages) ===== */
.mini-hero {
  padding: 32px 0;
  background: var(--paper-100);
  border-bottom: 1px solid var(--rule);
}
.mini-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 34px);
}
.mini-hero p { color: var(--ink-600); max-width: 60ch; margin: 0; }

/* ===== Trust bar ===== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 480px) {
  /* row-100126 fix: trust-bar text "Use the in-app deposit cap" etc
     overflowed the 2-col grid at 320px. Stack single-column on small phones. */
  .trust-bar { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (min-width: 720px) {
  .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--paper-100);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  min-width: 0;
}
.trust-item > div { min-width: 0; }
.trust-item .ico {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  background: var(--ink-900);
  color: var(--paper-50);
  border-radius: 8px;
  display: inline-flex;
  align-items: center; justify-content: center;
}
.trust-item strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 13.5px;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
.trust-item span { font-size: 12.5px; color: var(--ink-600); }

/* ===== Search ===== */
.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.search-form input[type="search"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--paper-50);
  color: var(--ink-900);
}

/* ===== Tabs ===== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tab {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--paper-100);
  border: 1px solid var(--rule);
  color: var(--ink-800);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}
.tab[aria-pressed="true"] {
  background: var(--ink-900);
  color: var(--paper-50);
  border-color: var(--ink-900);
}

/* ===== Print + reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Grid-track safety ===== */
.card-grid > *, .shelf-grid > *, .news-list > *, .card, .game-card, .app-card {
  min-width: 0;
}
img, picture, video { max-width: 100%; width: 100%; }
