/* =========================================================
   Cash Games Rummy - Main Theme Stylesheet
   Authentic, Mobile-First, Conversion-Optimized (Zero AI Clutter)
   ========================================================= */

:root {
  --brand: #6d28d9;
  --brand-dark: #4c1d95;
  --brand-soft: #f3e8ff;
  --download: #16a34a;
  --download-dark: #15803d;
  --gold: #b7791f;
  --gold-soft: #fff8e6;
  --ink: #17131f;
  --ink-light: #4b5563;
  --muted: #686273;
  --line: #e9e5ef;
  --surface: #ffffff;
  --soft: #f7f7fa;
  --soft-2: #faf8ff;
  --soft-purple: #faf7ff;
  --danger: #b91c1c;
  --shadow: 0 14px 36px rgba(47, 31, 66, 0.09);
  --radius: 16px;
  --shell: 1160px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

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

button, input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 9999;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}

/* Top 18+ Advisory Notice */
.top-notice-bar {
  background: #1c0e2d;
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-notice-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top-notice-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.age-badge {
  background: var(--danger);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
}
.top-notice-links {
  display: flex;
  gap: 14px;
}
.top-notice-links a {
  color: #e9d5ff;
}
.top-notice-links a:hover {
  color: #fff;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(109, 40, 217, 0.98);
  color: #fff;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08);
}
.site-header__inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: #fff;
}
.site-brand__logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}
.site-brand__name {
  font-size: 18px;
  letter-spacing: 0.1px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: #f5f3ff;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.site-nav .nav-telegram {
  background: #fff;
  color: var(--brand-dark);
  font-weight: 800;
}
.site-nav .nav-telegram:hover {
  background: #f3e8ff;
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle__bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Secondary Sub Navigation */
.site-subnav {
  background: #200b36;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 0;
}
.site-subnav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  color: #c4b5fd;
  overflow-x: auto;
  white-space: nowrap;
}
.site-subnav__inner a:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.24);
}
.btn-primary:hover {
  background: #16a34a;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   Homepage Sections & Layout
   ========================================================= */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #2a0f47 0%, #5b21b6 58%, #7c3aed 100%);
  color: #fff;
}
.home-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  right: -120px;
  top: -180px;
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  padding: 38px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 24px;
  align-items: center;
}
.home-hero h1 {
  max-width: 650px;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(34px, 4.5vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  font-weight: 900;
}
.home-hero-lead {
  max-width: 560px;
  margin: 0;
  color: #eee7ff;
  font-size: 14.5px;
  line-height: 1.5;
}
.home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Hero Hot Panel */
.hero-hot-panel {
  background: #fff;
  color: #1f1727;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 18px 42px rgba(13, 7, 20, 0.2);
}
.hero-hot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.hero-hot-title strong {
  font-size: 13px;
  font-weight: 800;
}
.hero-hot-title span {
  font-size: 9.5px;
  font-weight: 850;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.hero-hot-list {
  display: grid;
  gap: 7px;
}
.hero-hot-app {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #ede7f5;
  border-radius: 12px;
  background: #fff;
  transition: all 0.15s ease;
}
.hero-hot-app:hover {
  background: var(--soft-2);
  border-color: #d8b4fe;
}
.hero-hot-app img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.hero-hot-app h3 {
  font-size: 12.5px;
  line-height: 1.2;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
}
.hero-hot-app p {
  font-size: 10.5px;
  color: #6f6579;
  margin: 0;
}
.hero-hot-app p strong {
  color: var(--download);
}
.hero-hot-app a {
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.hero-hot-app a:hover {
  background: var(--brand-dark);
}

/* Sections & Headings */
.section {
  padding: 44px 0;
}
.section-soft {
  background: var(--soft-2);
  border-block: 1px solid var(--line);
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.home-section-head h2 {
  font-size: clamp(23px, 3vw, 30px);
  margin: 0;
  letter-spacing: -0.6px;
  font-weight: 850;
}
.home-section-head p {
  margin: 4px 0 0;
  color: #746b7c;
  font-size: 12.5px;
}
.text-link {
  color: var(--brand);
  font-weight: 800;
  font-size: 13px;
}
.section-tag {
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

/* Category Band Tiles */
.home-category-band {
  background: #faf7ff;
  border-block: 1px solid #eee8f5;
  padding: 32px 0;
}
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}
.home-category-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 96px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e9e2f1;
  transition: 0.2s ease;
}
.home-category-tile:hover {
  transform: translateY(-2px);
  border-color: #c4b5fd;
  box-shadow: 0 10px 24px rgba(73, 40, 104, 0.08);
}
.home-category-tile strong {
  display: block;
  font-size: 16px;
  color: #24172f;
  margin-bottom: 4px;
}
.home-category-tile span {
  display: block;
  color: #776c80;
  font-size: 11px;
  line-height: 1.4;
}
.home-category-tile:nth-child(1) strong { color: #6d28d9; }
.home-category-tile:nth-child(2) strong { color: #16a34a; }
.home-category-tile:nth-child(3) strong { color: #d97706; }
.home-category-tile:nth-child(4) strong { color: #be185d; }
.home-category-tile:nth-child(5) strong { color: #2563eb; }

/* App Cards Grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.app-grid--feature {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(34, 22, 48, 0.03);
  transition: 0.2s ease;
}
.app-card:hover {
  transform: translateY(-2px);
  border-color: #d9ccf7;
  box-shadow: 0 10px 24px rgba(45, 26, 68, 0.08);
}
.app-card__main {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  flex: 1;
}
.app-card__icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.app-card__copy {
  min-width: 0;
}
.app-card h3 {
  font-size: 13.5px;
  line-height: 1.2;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 800;
}
.app-card__meta {
  display: flex;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--download-dark);
  white-space: nowrap;
}
.app-card__meta span:first-child {
  color: #b7791f;
}
.app-card__sub {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-card__btn {
  background: var(--download);
  color: #fff;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  flex: 0 0 auto;
  transition: 0.15s ease;
}
.app-card__btn:hover {
  background: var(--download-dark);
}

/* Directory Toolbar */
.directory-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.search-field input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  font-size: 13.5px;
}
.search-field input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-row button {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  background: var(--soft);
  color: var(--ink-light);
  border: 1px solid var(--line);
  transition: 0.15s ease;
}
.filter-row button:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.filter-row button.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 24px;
}
.btn-load-more {
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 9px 24px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 13px;
}
.btn-load-more:hover {
  background: var(--brand);
  color: #fff;
}

/* Legal Aside (Human-Written Info Grid) */
.legal-aside {
  padding-top: 24px;
}
.legal-aside__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.legal-aside aside {
  background: #fff8f8;
  border: 1px solid #f0d4d8;
  border-radius: 14px;
  padding: 16px;
}
.legal-aside aside:nth-child(2) {
  background: #f7f9fc;
  border-color: #dbe4f0;
}
.legal-aside aside:nth-child(3) {
  background: #faf8ff;
  border-color: #e9e2f5;
}
.legal-aside h3 {
  font-size: 14px;
  font-weight: 850;
  margin: 0 0 6px;
  color: #17131f;
}
.legal-aside p {
  font-size: 12px;
  color: #554e5c;
  line-height: 1.55;
  margin: 0;
}

/* Prose & Review Pages */
.prose-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.prose-content h2 {
  font-size: 21px;
  font-weight: 850;
  margin: 22px 0 10px;
}
.prose-content h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 16px 0 6px;
}
.prose-content p, .prose-content li {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  gap: 9px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: var(--ink);
}
.faq-arrow {
  font-size: 11px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.faq-item.is-open .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 18px 14px;
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}
.faq-item.is-open .faq-answer {
  display: block;
}

/* =========================================================
   Single App Page (Competitor Exact High-Conversion Layout)
   ========================================================= */
.fusion-app-page {
  background: #f6f7fa;
  padding-bottom: 86px;
}
.fusion-identity {
  padding: 8px 0 10px;
}
.fusion-identity__copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.hybrid-kicker {
  display: block;
  color: var(--brand);
  font-size: 10px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 850;
}
.fusion-app-name {
  font-size: 22px;
  line-height: 1.2;
  margin: 4px 0 4px;
  letter-spacing: -0.4px;
  font-weight: 900;
}
.fusion-hero-pitch {
  margin: 0;
  color: #6b6572;
  font-size: 12.5px;
  line-height: 1.4;
}

.fusion-banner {
  padding: 0;
}
.fusion-banner a {
  display: block;
  border-radius: 13px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 5px 18px rgba(28, 19, 37, 0.09);
}
.fusion-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 8px;
}
.legacy-stats>div {
  background: linear-gradient(180deg, #2c1747, #171020);
  color: #fff;
  border-radius: 11px;
  padding: 9px 10px;
  min-width: 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(24, 13, 38, 0.12);
}
.legacy-stats span {
  display: block;
  font-size: 10px;
  opacity: 0.85;
  font-weight: 750;
}
.legacy-stats strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  margin-top: 2px;
  color: #fef08a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fusion-download {
  padding-top: 9px;
  text-align: center;
}
.claim-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 11px;
  background: linear-gradient(90deg, #ff4e4e, #ff8f37);
  border: 2px solid #ffd35a;
  color: #fff;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  box-shadow: 0 7px 18px rgba(242, 83, 45, 0.22);
}
.claim-download:hover {
  transform: translateY(-1px);
}
.telegram-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 7px;
  border: 1px solid #8b5cf6;
  border-radius: 10px;
  color: #6d28d9;
  background: #fff;
  font-weight: 800;
  font-size: 12px;
}
.telegram-outline:hover {
  background: #fdfbff;
}

.fusion-fact-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: #ece8f0;
  border: 1px solid #ece8f0;
  border-radius: 13px;
  overflow: hidden;
  margin-top: 9px;
}
.fusion-fact-strip>div {
  background: #fff;
  padding: 9px 8px;
  min-width: 0;
  text-align: center;
}
.fusion-fact-strip span {
  display: block;
  color: #7b7482;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}
.fusion-fact-strip strong {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-gameplay {
  margin-top: 14px;
  background: #fff;
  border: 1px solid #e6e2eb;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 15px rgba(33, 22, 45, 0.035);
}
.featured-gameplay h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 6px 0 8px;
  letter-spacing: -0.25px;
}
.featured-gameplay__copy p {
  color: #514b57;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 8px;
}

/* Spec Card & Table */
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 14px;
}
.spec-card h2 {
  font-size: 17px;
  font-weight: 850;
  margin: 4px 0 12px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table tr {
  border-bottom: 1px solid var(--line);
}
.spec-table tr:last-child {
  border-bottom: none;
}
.spec-table td {
  padding: 9px 4px;
  font-size: 13px;
}
.spec-table td:first-child {
  font-weight: 700;
  color: var(--muted);
  width: 36%;
}
.spec-table td:last-child {
  font-weight: 800;
  color: var(--ink);
}

/* Recommend Strip */
.recommend-strip {
  padding-top: 18px;
}
.recommend-strip h2 {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  font-weight: 850;
  padding: 6px 9px;
  background: linear-gradient(90deg, #d84b55, #ef6a72);
  border-radius: 4px;
}
.recommend-strip__row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 1px;
  scrollbar-width: none;
}
.recommend-strip__row::-webkit-scrollbar {
  display: none;
}
.recommend-chip {
  flex: 0 0 86px;
  background: #fff;
  border: 1px solid #e8e4ed;
  border-radius: 10px;
  padding: 7px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(32, 22, 42, 0.04);
}
.recommend-chip img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 5px;
}
.recommend-chip strong {
  display: block;
  font-size: 10px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-chip span {
  display: inline-block;
  margin-top: 3px;
  background: var(--download);
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 8.5px;
  font-weight: 850;
}

/* Footer */
.site-footer {
  background: #11071f;
  color: #d1d5db;
  padding: 44px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  margin-bottom: 24px;
}
.footer-brand {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-grid p {
  color: #9ca3af;
  margin: 0 0 6px;
  line-height: 1.5;
}
.footer-contact a {
  color: #c4b5fd;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: #d1d5db;
}
.footer-links a:hover {
  color: #fff;
}
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  color: #9ca3af;
  font-size: 11.5px;
}
.footer-note p {
  margin: 0 0 4px;
}
.footer-note small {
  display: block;
  opacity: 0.7;
}

/* Sticky Download Bar (Mobile) */
.sticky-download-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(23, 10, 41, 0.98);
  border-top: 2px solid var(--download);
  padding: 8px 14px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}
.sticky-download-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.sticky-app-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}
.sticky-app-meta img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}
.sticky-app-meta strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.2;
}
.sticky-app-meta span {
  display: block;
  font-size: 10px;
  color: #4ade80;
  font-weight: 700;
}
.sticky-btn {
  background: var(--download);
  color: #fff;
  font-size: 12.5px;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.sticky-btn:hover {
  background: var(--download-dark);
}

/* Responsive Rules */
@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-hot-panel {
    max-width: 620px;
  }
  .home-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .app-grid--feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal-aside__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e0a36;
    flex-direction: column;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    width: 100%;
    padding: 9px 12px;
  }
  .home-hero-inner {
    padding: 24px 0 20px;
  }
  .home-hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .home-hero-lead {
    font-size: 13px;
  }
  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .home-hero-actions .btn {
    min-height: 40px;
    padding: 0 8px;
    font-size: 12px;
  }
  .home-category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .home-category-tile {
    min-height: 84px;
    padding: 10px;
  }
  .home-category-tile:last-child {
    grid-column: 1 / -1;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .app-grid--feature {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sticky-download-bar {
    display: block;
  }
  .fusion-fact-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .fusion-fact-strip>div:last-child {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   Category Hub Pages (Yono, Rummy, Slots, All Games)
   ========================================================= */
.category-hub-v13 {
  --hub-accent: #fbbf24;
  --hub-deep: #3b0764;
  --hub-mid: #6d28d9;
}
.category-hub-v13 .category-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--hub-deep), var(--hub-mid));
  color: #fff;
}
.category-hub-v13 .category-hero::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  right: -120px;
  top: -175px;
  background: rgba(255, 255, 255, 0.08);
}
.category-hub-v13 .category-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.88fr);
  gap: 24px;
  align-items: center;
  padding: 36px 0 30px;
}
.category-hub-v13 .category-hero h1 {
  max-width: 620px;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  font-weight: 900;
}
.category-hub-v13 .category-hero-lead {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.5;
}
.category-hub-v13 .category-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.category-hub-v13 .category-hot {
  background: #fff;
  color: #211929;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}
.category-hub-v13 .category-hot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.category-hub-v13 .category-hot-head strong {
  font-size: 13px;
  font-weight: 800;
}
.category-hub-v13 .category-hot-head span {
  color: #7c3aed;
  font-size: 9.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.category-hub-v13 .category-hot-list {
  display: grid;
  gap: 7px;
}
.category-hub-v13 .category-hot-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #ece7f1;
  background: #fff;
}
.category-hub-v13 .category-hot-row img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.category-hub-v13 .category-hot-row h3 {
  margin: 0 0 2px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-hub-v13 .category-hot-row p {
  margin: 0;
  font-size: 10px;
  color: #756b7d;
}
.category-hub-v13 .category-hot-row p strong {
  color: #16a34a;
}
.category-hub-v13 .category-hot-row a {
  padding: 6px 12px;
  border-radius: 8px;
  background: #6d28d9;
  color: #fff;
  font-size: 10.5px;
  font-weight: 850;
}
.category-hub-v13 .category-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.category-hub-v13 .category-section-head h2 {
  font-size: clamp(23px, 3vw, 30px);
  letter-spacing: -0.6px;
  margin: 0;
  font-weight: 850;
}
.category-hub-v13 .category-section-head p {
  margin: 4px 0 0;
  color: #746a7c;
  font-size: 12.5px;
}
.category-hub-v13 .category-recent {
  background: #faf8fc;
  border-block: 1px solid #eee9f2;
}
.category-hub-v13 .category-directory {
  padding-top: 34px;
}
.category-hub-v13 .category-editor-copy {
  max-width: 840px;
  margin: 0 auto;
  padding: 24px 0 40px;
}
.category-hub-v13 .category-editor-copy-inner {
  border-top: 1px solid #eee8f1;
  padding-top: 20px;
  color: #6f6577;
  font-size: 13.5px;
  line-height: 1.75;
}
.category-hub-v13 .category-editor-copy-inner h2 {
  color: #24192c;
  font-size: 20px;
  font-weight: 850;
  margin: 16px 0 8px;
}
.category-hub-v13 .category-editor-copy-inner h3 {
  color: #24192c;
  font-size: 16px;
  font-weight: 800;
  margin: 14px 0 6px;
}
