/* YONO Rummy 888 — main stylesheet */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; display: block; }
a { color: var(--ruby-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: var(--fs-40); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-28); }
h3 { font-size: var(--fs-20); }
h4 { font-size: var(--fs-18); }

p { margin: 0 0 1em 0; }

ul, ol { margin: 0 0 1em 1.1em; padding: 0; }
li { margin-bottom: .35em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-lg { padding: 80px 0; }
@media (max-width: 899px) { .section { padding: 36px 0; } .section-lg { padding: 52px 0; } }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-12);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ruby);
  font-weight: 700;
  margin-bottom: .8em;
}

.lede {
  font-size: var(--fs-18);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 70ch;
}

/* ===========================
   HEADER + NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 246, 248, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: var(--fs-18);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 100%);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-card);
}
.brand-name { line-height: 1; }
.brand-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-weight: 600;
  font-size: var(--fs-14);
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--ruby-tint);
  color: var(--ruby-dark);
  text-decoration: none;
}
.main-nav a.is-active {
  background: var(--ruby-tint);
  color: var(--ruby-dark);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta-ghost {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-14);
  background: transparent;
}
.header-cta-ghost:hover { background: var(--surface); text-decoration: none; }
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ruby);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-14);
  box-shadow: 0 4px 14px rgba(183, 47, 85, 0.28);
  white-space: nowrap;
}
.header-cta:hover { background: var(--ruby-dark); text-decoration: none; color: #fff; }

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 300;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.hamburger span::before { top: -7px; }
.hamburger span::after { top: 7px; }

@media (max-width: 1023px) {
  .main-nav, .header-cta-ghost { display: none; }
  .hamburger { display: inline-flex; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .25s var(--ease);
  z-index: 260;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  visibility: hidden;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-drawer a {
  display: block;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-16);
}
.mobile-drawer a:hover { background: var(--ruby-tint); color: var(--ruby-dark); text-decoration: none; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.drawer-foot .header-cta { width: 100%; justify-content: center; padding: 12px 18px; }
.drawer-foot .header-cta-ghost { width: 100%; justify-content: center; padding: 12px 18px; }
.drawer-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(53, 25, 35, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
  z-index: 250;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

body.is-locked { overflow: hidden; }

/* ===========================
   BUTTONS + CTAs
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-15);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--ruby);
  color: #fff;
  box-shadow: 0 8px 22px rgba(183, 47, 85, 0.28);
}
.btn-primary:hover { background: var(--ruby-dark); color: #fff; }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--canvas-2); color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--canvas-2); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: var(--fs-13); }

/* ===========================
   HERO — TYPOGRAPHY-LED EDITORIAL COVER
   =========================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(183, 47, 85, 0.10), transparent 70%),
    radial-gradient(900px 320px at -10% 20%, rgba(39, 95, 199, 0.06), transparent 70%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas) 60%, var(--surface) 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ruby);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ruby);
  box-shadow: 0 0 0 4px var(--ruby-tint);
}
.hero-h {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 18px 0 16px;
}
.hero-h em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: var(--fs-18);
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 24px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
}
.hero-meta-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--fs-13);
  color: var(--ink-3);
}
.hero-meta-item strong {
  color: var(--ink);
  font-weight: 800;
  font-size: var(--fs-18);
  letter-spacing: -0.01em;
}
.hero-meta-item .meta-label {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
}

.hero-shot {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px;
  box-shadow: var(--shadow-deep);
}
.hero-shot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #1a0d12;
}
.hero-shot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-shot-overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: rgba(33, 19, 26, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-13);
  font-weight: 600;
}
.hero-shot-overlay .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d27a; box-shadow: 0 0 0 3px rgba(52, 210, 122, .25); }
.hero-shot-overlay .badge { background: var(--ruby); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.hero-shot-stack {
  position: absolute;
  top: -28px; right: -28px;
  width: 138px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line);
  display: none;
}
@media (min-width: 1024px) { .hero-shot-stack { display: block; } }
.hero-shot-stack strong { display: block; font-size: var(--fs-18); color: var(--ruby-dark); }
.hero-shot-stack span { display: block; font-size: var(--fs-12); color: var(--muted); margin-top: 2px; }

@media (max-width: 899px) {
  .hero { padding: 28px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-h { font-size: 32px; }
  .hero-cta-row .btn { flex: 1 1 auto; }
}

/* ===========================
   FACT STRIP
   =========================== */
.fact-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.fact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.fact-strip-cell {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fact-strip-cell:last-child { border-right: 0; }
.fact-strip-icon {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: var(--ruby-tint);
  color: var(--ruby-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: var(--fs-18);
}
.fact-strip-cell h4 { margin: 0 0 2px; font-size: var(--fs-14); font-weight: 800; }
.fact-strip-cell p { margin: 0; font-size: var(--fs-13); color: var(--ink-3); line-height: 1.45; }
@media (max-width: 899px) {
  .fact-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-strip-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .fact-strip-cell:nth-child(2n) { border-left: 1px solid var(--line); }
  .fact-strip-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ===========================
   INSTALL PANEL
   =========================== */
.install-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.install-panel h2 { margin: 0 0 8px; }
.install-panel .steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}
.install-panel .steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--canvas);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.install-panel .step-num {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ruby);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: var(--fs-13);
}
.install-panel .step-body strong { display: block; font-size: var(--fs-14); }
.install-panel .step-body span { display: block; font-size: var(--fs-13); color: var(--ink-3); margin-top: 2px; }
.install-side {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
}
.install-side h3 { margin: 0 0 6px; }
.install-side .apk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.install-side .apk-stats > div {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--line);
}
.install-side .apk-stats strong { display: block; font-size: var(--fs-18); color: var(--ruby-dark); }
.install-side .apk-stats span { display: block; font-size: var(--fs-12); color: var(--muted); }
@media (max-width: 899px) {
  .install-panel { grid-template-columns: 1fr; padding: 20px; }
}

/* ===========================
   PRODUCT GALLERY (framed screenshots)
   =========================== */
.product-gallery {
  background: var(--canvas);
}
.gallery-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-deep);
  aspect-ratio: 9/16;
}
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-rail .gallery-frame { aspect-ratio: 9/16; }
@media (max-width: 899px) {
  .gallery-rail { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===========================
   TABBED EVIDENCE DESK
   =========================== */
.evidence-desk {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tab-bar {
  display: flex;
  gap: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 1 0 auto;
  padding: 16px 22px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink-2);
  font-weight: 700;
  font-size: var(--fs-14);
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--ruby-dark); }
.tab-btn.is-active {
  color: var(--ruby-dark);
  border-bottom-color: var(--ruby);
  background: var(--surface);
}
.tab-panel { display: none; padding: 28px; }
.tab-panel.is-active { display: block; }
.tab-panel h3 { margin-top: 0; }
.tab-panel .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0;
}
.feature-card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.feature-card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ruby-tint);
  color: var(--ruby-dark);
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.feature-card h4 { margin: 0 0 4px; font-size: var(--fs-15); }
.feature-card p { margin: 0; font-size: var(--fs-13); color: var(--ink-3); line-height: 1.5; }
@media (max-width: 899px) {
  .tab-panel { padding: 18px; }
  .tab-panel .feature-grid { grid-template-columns: 1fr; }
}

/* ===========================
   GAME GRID (compact five-column)
   =========================== */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .lede { margin: 4px 0 0; }
.section-head .head-cta { white-space: nowrap; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.game-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
  text-decoration: none;
}
.game-card .poster {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface-2);
  overflow: hidden;
}
.game-card .poster img {
  width: 100%; height: 100%; object-fit: cover;
}
.game-card .poster .provider-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(33, 19, 26, 0.72);
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.game-card .poster .hot-tag {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--ruby);
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 800;
}
.game-card .meta {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.game-card .meta strong { font-size: var(--fs-14); color: var(--ink); line-height: 1.3; }
.game-card .meta span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
@media (max-width: 1100px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px)  { .game-grid { grid-template-columns: repeat(2, 1fr); } }

/* Provider tabs */
.provider-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.provider-tab {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-weight: 700;
  font-size: var(--fs-13);
  cursor: pointer;
}
.provider-tab.is-active { background: var(--ruby); color: #fff; border-color: var(--ruby); }
.provider-tab:hover:not(.is-active) { background: var(--canvas-2); }

/* ===========================
   REWARD RAIL (promo)
   =========================== */
.reward-rail {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.reward-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 200px at 100% 0%, rgba(229, 139, 162, 0.30), transparent 60%);
  pointer-events: none;
}
.reward-rail h2 { color: #fff; }
.reward-rail .lede { color: var(--muted-on-ink); }
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  position: relative;
}
.reward-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
}
.reward-card .ribbon {
  display: inline-block;
  background: var(--ruby);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.reward-card h3 { color: #fff; margin: 0 0 4px; }
.reward-card p { color: var(--muted-on-ink); margin: 0; font-size: var(--fs-14); }
.reward-card .amount {
  display: block;
  font-size: var(--fs-32);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #FFE2EC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 6px 0 4px;
}
@media (max-width: 899px) { .reward-rail { padding: 24px; } .reward-grid { grid-template-columns: 1fr; } }

/* ===========================
   APP DIRECTORY
   =========================== */
.app-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.app-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); text-decoration: none; }
.app-card .logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  flex: 0 0 48px;
  background: var(--canvas-2);
  overflow: hidden;
  display: grid; place-items: center;
}
.app-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.app-card .app-name { font-weight: 800; font-size: var(--fs-14); color: var(--ink); }
.app-card .app-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
@media (max-width: 899px) { .app-rail { grid-template-columns: repeat(2, 1fr); } }

/* ===========================
   NEWS STRIP
   =========================== */
.news-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.news-card:hover { text-decoration: none; box-shadow: var(--shadow-card); }
.news-card .news-img {
  aspect-ratio: 16/9;
  background: var(--canvas-2);
  overflow: hidden;
}
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .news-body { padding: 18px 20px 22px; }
.news-card .news-date {
  font-size: var(--fs-12);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.news-card h3 { font-size: var(--fs-18); margin: 0 0 6px; line-height: 1.3; }
.news-card p { margin: 0; font-size: var(--fs-14); color: var(--ink-3); line-height: 1.5; }
@media (max-width: 899px) { .news-strip { grid-template-columns: 1fr; } }

/* ===========================
   FAQ
   =========================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-size: var(--fs-15);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--ruby);
  font-weight: 900;
  font-size: var(--fs-20);
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 16px; color: var(--ink-3); font-size: var(--fs-14); line-height: 1.55; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===========================
   RESPONSIBLE-USE BAND
   =========================== */
.responsible-band {
  background: linear-gradient(180deg, var(--canvas-2) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.responsible-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}
.responsible-grid .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: var(--fs-13);
  font-weight: 700;
  border-radius: 999px;
}
@media (max-width: 899px) { .responsible-grid { grid-template-columns: 1fr; } }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--night);
  color: var(--muted-on-ink);
  padding: 56px 0 32px;
}
.site-footer .container { color: inherit; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.foot-brand h3 { color: #fff; margin: 0 0 4px; }
.foot-brand p { font-size: var(--fs-13); color: var(--muted-on-ink); }
.foot-col h4 { color: #fff; font-size: var(--fs-13); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.foot-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col a {
  color: var(--muted-on-ink);
  font-size: var(--fs-14);
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-12);
  color: rgba(231, 207, 215, 0.6);
}
.foot-bottom .legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-bottom .legal-row a { color: rgba(231, 207, 215, 0.8); }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Cookie consent */
.cookie-panel {
  position: fixed;
  inset: auto 12px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  padding: 16px 20px;
  z-index: 220;
  display: none;
  align-items: center;
  gap: 16px;
}
.cookie-panel.is-open { display: flex; }
.cookie-panel p { margin: 0; font-size: var(--fs-13); color: var(--ink-2); flex: 1; }
.cookie-panel .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===========================
   MOBILE STICKY AFFILIATE CTA
   =========================== */
.mobile-cta {
  position: fixed;
  inset: auto 12px 12px 12px;
  background: var(--ruby);
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 210;
  box-shadow: 0 12px 30px rgba(183, 47, 85, 0.35);
  text-decoration: none;
  font-weight: 800;
}
.mobile-cta:hover { background: var(--ruby-dark); color: #fff; text-decoration: none; }
.mobile-cta .label { display: flex; align-items: center; gap: 10px; flex: 1; }
.mobile-cta .label .ico { width: 28px; height: 28px; background: rgba(255,255,255,0.18); border-radius: 8px; display: grid; place-items: center; font-size: 16px; }
.mobile-cta .arrow { font-weight: 900; }
.mobile-cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 12px;
  background: var(--canvas);
}
@media (max-width: 899px) { .mobile-cta { display: flex; } body { padding-bottom: 72px; } }

/* ===========================
   PAGE SHELL — ARTICLE/CONTENT
   =========================== */
.page-banner {
  background: linear-gradient(180deg, var(--canvas) 0%, var(--surface) 100%);
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin: 0 0 10px; }
.page-banner .breadcrumb {
  font-size: var(--fs-13);
  color: var(--muted);
  margin-bottom: 14px;
}
.page-banner .breadcrumb a { color: var(--ink-3); }
.page-banner .breadcrumb a:hover { color: var(--ruby-dark); }

main.page-main {
  padding: 40px 0 60px;
  min-height: 60vh;
}
main.page-main p { font-size: var(--fs-16); color: var(--ink-2); line-height: 1.7; }
main.page-main ul, main.page-main ol { font-size: var(--fs-16); color: var(--ink-2); }
main.page-main h2 { margin-top: 1.6em; }
main.page-main h3 { margin-top: 1.3em; }

.callout {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ruby);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
}
.callout h4 { margin: 0 0 6px; }
.callout p { margin: 0; font-size: var(--fs-14); }

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
  font-size: var(--fs-14);
}
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.info-table th {
  background: var(--canvas-2);
  font-weight: 800;
  font-size: var(--fs-13);
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.info-table tr:last-child td { border-bottom: 0; }

.kbd-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.kbd-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.kbd-card strong { display: block; font-size: var(--fs-24); color: var(--ruby-dark); }
.kbd-card span { font-size: var(--fs-12); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
@media (max-width: 700px) { .kbd-row { grid-template-columns: repeat(2, 1fr); } }

.next-step {
  margin-top: 36px;
  padding: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.next-step p { margin: 0; }
.next-step strong { display: block; font-size: var(--fs-18); margin-bottom: 4px; }

/* Inline image row */
.inline-image-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: center;
  margin: 28px 0;
}
.inline-image-row .visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--canvas-2);
}
.inline-image-row img { width: 100%; height: 100%; object-fit: cover; }
.inline-image-row.reverse { grid-template-columns: 1.4fr 1fr; }
.inline-image-row.reverse .visual { order: 2; }
@media (max-width: 700px) {
  .inline-image-row, .inline-image-row.reverse { grid-template-columns: 1fr; }
  .inline-image-row.reverse .visual { order: 0; }
}

/* Loose card */
.loose-card {
  background: linear-gradient(135deg, rgba(183, 47, 85, 0.05) 0%, rgba(252, 228, 234, 0.5) 100%);
  border: 1px solid rgba(183, 47, 85, 0.18);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 22px 0;
}
.loose-card h3, .loose-card h4 { margin-top: 0; color: var(--ruby-dark); }
.loose-card p:last-child { margin-bottom: 0; }

/* Step card */
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}
.step-card .step-num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ruby);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: var(--fs-20);
}
.step-card h3, .step-card h4 { margin: 0 0 6px; }
.step-card p { margin: 0; }

/* V12 sticky nav offset */
section[id], div[id] { scroll-margin-top: 80px; }

/* Search bar */
.search-bar {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  max-width: 460px;
  margin: 0 0 18px;
}
.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: var(--fs-15);
  color: var(--ink);
  font-family: inherit;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar button {
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-13);
  cursor: pointer;
}
.search-bar button:hover { background: var(--ink-2); }

/* Generic helpers */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 899px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
