/*
Theme Name: PK Games v12
Theme URI: https://pkgames.app
Description: Modern responsive theme for Pakistan's top earning games platform. Full SEO/AEO optimised. Mobile-first design.
Author: PK Games Team
Version: 12.0.0
Text Domain: pkgames
*/

/* ── Force Material Icons font-display:block to prevent icon text showing ── */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Core palette — dark luxury gaming */
  --bg:        #07090F;
  --bg2:       #0D1020;
  --bg3:       #121625;
  --border:    #1E2640;
  --border2:   #252D46;

  /* Brand accents */
  --gold:      #F5C542;
  --gold2:     #FFD700;
  --green:     #00D97E;
  --green2:    #00F090;
  --blue:      #3D8EFF;
  --red:       #FF4D6D;
  --purple:    #A259FF;

  /* Text */
  --text:      #EDF1FF;
  --text2:     #B8C0D8;
  --muted:     #6B7490;
  --inv:       #07090F;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #F5C542 0%, #FFB300 100%);
  --grad-green: linear-gradient(135deg, #00D97E 0%, #00B064 100%);
  --grad-blue:  linear-gradient(135deg, #3D8EFF 0%, #1A5CCC 100%);
  --grad-card:  linear-gradient(180deg, rgba(13,16,32,0) 60%, rgba(13,16,32,0.98) 100%);
  --grad-hero:  linear-gradient(135deg, #0D1020 0%, #121625 100%);

  /* Spacing */
  --s1: 6px; --s2: 12px; --s3: 20px; --s4: 32px; --s5: 48px;

  /* Radius */
  --r1: 8px; --r2: 14px; --r3: 20px; --r4: 28px;

  /* Shadows */
  --sh1: 0 2px 8px rgba(0,0,0,0.4);
  --sh2: 0 6px 24px rgba(0,0,0,0.5);
  --sh-gold: 0 0 20px rgba(245,197,66,0.25);
  --sh-green: 0 0 20px rgba(0,217,126,0.2);

  /* Transition */
  --t: 0.2s ease;
  --t-slow: 0.4s ease;

  /* Layout */
  --max: 1200px;
  --side: 270px;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Background texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(61,142,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0,217,126,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--green); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--green2); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
.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; }

/* ── Global focus-visible ring (keyboard nav accessibility) ── */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
a:focus-visible, button:focus-visible { box-shadow: 0 0 0 3px rgba(0,217,126,0.25); }

/* ── Material Icons ── */
.mi { font-family: 'Material Icons'; font-style: normal; font-weight: normal; line-height: 1; vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; user-select: none; text-rendering: optimizeLegibility; font-feature-settings: 'liga'; -webkit-font-feature-settings: 'liga'; letter-spacing: normal; word-wrap: normal; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; }
.mi-sm { font-size: 16px; }
.mi-lg { font-size: 26px; }
.mi-xl { font-size: 32px; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT SHELL
═══════════════════════════════════════════════════════════════ */
#wrap { position: relative; z-index: 1; }

/* Main content with side padding for topbar clearance */
#main {
  padding-top: 64px; /* topbar height */
  padding-bottom: calc(72px + env(safe-area-inset-bottom)); /* bottom-nav clearance on mobile */
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) { #main { padding-left: 24px; padding-right: 24px; padding-bottom: 0; } }
@media (min-width: 1024px) { #main { padding-left: 32px; padding-right: 32px; } }

.sec-gap { margin-top: var(--s5); }
.sec-gap-sm { margin-top: var(--s4); }

/* ═══════════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════════ */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 62px;
  background: rgba(7,9,15,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 900;
  transition: box-shadow var(--t);
}

#topbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.6); }

/* Hamburger */
.tb-hamburger {
  width: 40px; height: 40px;
  border-radius: var(--r1);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), color var(--t);
}
.tb-hamburger:hover { background: var(--bg3); color: var(--text); }

/* Logo */
.tb-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.tb-logo-badge {
  width: 34px; height: 34px;
  background: var(--grad-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  font-size: 18px;
  box-shadow: var(--sh-gold);
  flex-shrink: 0;
}
.tb-logo-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1;
}
.tb-logo-name em { color: var(--gold); font-style: normal; }
.tb-logo-img { height: 36px; width: auto; object-fit: contain; }

/* Search */
.tb-search {
  flex: 1;
  min-width: 0;
  max-width: 520px;
  position: relative;
  display: flex; align-items: center;
}
.tb-search-ic {
  position: absolute;
  left: 12px;
  color: var(--muted);
  font-size: 18px;
  pointer-events: none;
}
.tb-search form { width: 100%; }
.tb-search input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  padding: 9px 16px 9px 38px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.tb-search input::placeholder { color: var(--muted); }
.tb-search input:focus-visible { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,217,126,0.12); outline: none; }

/* Right area */
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.tb-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--grad-green);
  color: #000 !important;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 24px;
  letter-spacing: 0.5px;
  transition: opacity var(--t), transform var(--t);
  box-shadow: var(--sh-green);
  flex-shrink: 0;
  white-space: nowrap;
}
.tb-cta:hover { opacity: 0.9; transform: translateY(-1px); }
/* Hide search bar on very small phones — keep logo + CTA visible */
@media (max-width: 360px) {
  .tb-search { display: none; }
  .tb-logo-name { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════ */
#sb-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-slow);
}
#sb-overlay.active { opacity: 1; pointer-events: all; }

#sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--side);
  background: var(--bg2);
  border-right: 1px solid var(--border);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--t-slow) cubic-bezier(0.4,0,0.2,1);
  padding-bottom: 40px;
}
#sidebar.open { transform: translateX(0); }
#sidebar::-webkit-scrollbar { width: 4px; }
#sidebar::-webkit-scrollbar-track { background: transparent; }
#sidebar::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

.sb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg2);
  z-index: 1;
}
.sb-head-name { font-size: 15px; font-weight: 800; color: var(--text); }
.sb-close-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t), color var(--t);
}
.sb-close-btn:hover { background: var(--bg3); color: var(--text); }

.sb-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 16px;
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  transition: background var(--t), color var(--t);
  position: relative;
  text-decoration: none;
}
.sb-link:hover, .sb-link.active { background: rgba(0,217,126,0.08); color: var(--green); }
.sb-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: var(--green);
  border-radius: 0 2px 2px 0;
}
.sb-link-ic { font-size: 20px; opacity: 0.8; }
.sb-badge {
  margin-left: auto;
  background: var(--bg3);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 22px;
  text-align: center;
}
.sb-div { height: 1px; background: var(--border); margin: 8px 0; }
.sb-section-lbl { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); padding: 6px 16px 2px; }

/* ═══════════════════════════════════════════════════════════════
   BOTTOM NAV (mobile only)
═══════════════════════════════════════════════════════════════ */
#bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(62px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(7,9,15,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border2);
  display: flex;
  align-items: stretch;
  z-index: 800;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { #bottom-nav { display: none; } }

.bn-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--t), background var(--t);
  padding: 8px 4px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.bn-item span:not(.mi) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: block;
}
.bn-item .mi { font-size: 22px; transition: transform var(--t), color var(--t); }
.bn-item.active { color: var(--green); }
.bn-item.active .mi { color: var(--green); transform: translateY(-1px); }
.bn-item.active::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: var(--green);
  border-radius: 0 0 3px 3px;
}
.bn-item:hover { color: var(--text2); }

/* ═══════════════════════════════════════════════════════════════
   PWA BANNER
═══════════════════════════════════════════════════════════════ */
#pwa-banner {
  display: none;
  position: fixed;
  bottom: 70px; left: 12px; right: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 14px 16px;
  align-items: center;
  gap: 12px;
  z-index: 850;
  box-shadow: var(--sh2);
}
#pwa-banner.show { display: flex; }
.pwa-ic { font-size: 28px; flex-shrink: 0; }
.pwa-txt { flex: 1; }
.pwa-txt strong { display: block; font-size: 13px; font-weight: 800; color: var(--text); }
.pwa-txt span { font-size: 11px; color: var(--muted); }
.pwa-install-btn { background: var(--grad-green); color: #000; font-size: 11px; font-weight: 900; padding: 7px 14px; border-radius: 20px; flex-shrink: 0; transition: opacity var(--t); }
.pwa-install-btn:hover { opacity: 0.9; }
.pwa-dismiss { width: 28px; height: 28px; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .bc-sep { font-size: 14px; }
.breadcrumb .bc-current { color: var(--text2); }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════════════ */
.sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: var(--s3);
  flex-wrap: nowrap;
  min-width: 0;
}
.sec-hd h2 {
  font-size: clamp(15px, 3.5vw, 20px);
  font-weight: 900;
  color: var(--text);
  display: flex; align-items: center; gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sec-hd h2 .mi { flex-shrink: 0; }
.see-all {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}
.see-all .mi { font-size: 16px; }
.see-all:hover { color: var(--green2); }

/* ═══════════════════════════════════════════════════════════════
   GRIDS
═══════════════════════════════════════════════════════════════ */
.g2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.g3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.g4 { display: grid !important; gap: 14px; grid-template-columns: 1fr !important; }

@media (min-width: 480px) {
  .g2 { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: 1fr 1fr !important; }
}
@media (min-width: 600px) {
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .g4 { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION (Homepage)
═══════════════════════════════════════════════════════════════ */
.hero-section {
  margin-top: var(--s3);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 22px 16px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 600px) {
  .hero-section { padding: 28px 24px; }
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -40px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,197,66,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,197,66,0.12);
  border: 1px solid rgba(245,197,66,0.3);
  color: var(--gold);
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-h1 {
  font-size: clamp(22px, 6vw, 36px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.hero-h1 span { color: var(--gold); }
.hero-desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 20px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (min-width: 420px) { .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
@media (min-width: 480px) {
  .hero-stat-row { grid-template-columns: repeat(4, 1fr); }
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-size: 20px; font-weight: 900; color: var(--gold); }
.hero-stat-lbl { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   FRESHNESS & RG BANNERS
═══════════════════════════════════════════════════════════════ */
.freshness {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  margin: 12px 0 0;
  padding: 5px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.rg-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,77,109,0.07);
  border: 1px solid rgba(255,77,109,0.2);
  border-radius: var(--r2);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  margin-top: var(--s3);
}
.rg-banner .mi { color: var(--red); flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════════════════ */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  margin-top: var(--s4);
}
@media (min-width: 600px) {
  .trust-bar { grid-template-columns: repeat(3, 1fr); }
}
.trust-bar-item {
  background: var(--bg2);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.trust-bar-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(0,217,126,0.1);
  border: 1px solid rgba(0,217,126,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  font-size: 18px;
}
.trust-bar-item h4 { font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.trust-bar-item p { font-size: 10px; color: var(--muted); line-height: 1.3; }

/* trust-bar mobile handled via mobile-first above */

/* ═══════════════════════════════════════════════════════════════
   CATEGORY PILLS
═══════════════════════════════════════════════════════════════ */
.cat-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: var(--s4);
}
.cat-pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 24px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all var(--t);
}
.pill:hover, .pill.active {
  background: rgba(0,217,126,0.12);
  border-color: var(--green);
  color: var(--green);
}
.pill .mi-sm { font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   GAME CARD — complete redesign
═══════════════════════════════════════════════════════════════ */
.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--border2);
  box-shadow: var(--sh2);
}

/* Screenshot */
.gc-ss {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg3);
}
/* On single column (mobile), taller screenshot looks better */
@media (max-width: 479px) {
  .g4 .gc-ss { aspect-ratio: 2/1; }
}
.gc-ss img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.game-card:hover .gc-ss img { transform: scale(1.04); }
.no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 36px; background: var(--bg3); }

/* Badge */
.gc-ss-badge {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 800;
  padding: 3px 9px; border-radius: 12px;
  text-transform: uppercase; letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
}
.badge-hot { background: var(--red); color: #fff; }
.badge-new { background: var(--green); color: #000; }
.badge-top { background: var(--gold); color: #000; }
.badge-free { background: var(--blue); color: #fff; }
.badge-trending { background: var(--purple); color: #fff; }
.badge { }

/* Rating in corner */
.gc-rating-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 10px;
  display: flex; align-items: center; gap: 3px;
}
.gc-rating-badge .mi { font-size: 13px; }

/* Card body */
.gc-body { padding: 12px 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.gc-meta-row { display: flex; align-items: flex-start; gap: 10px; }
.gc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
}
.gc-icon img { width: 100%; height: 100%; object-fit: cover; }

.gc-info { flex: 1; min-width: 0; }
.gc-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gc-name a { color: inherit; text-decoration: none; }
.gc-name a:hover { color: var(--green); }

.gc-cat-lbl {
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  margin-top: 2px;
}
.gc-cat-lbl .mi { font-size: 13px; }

.gc-excerpt {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats row */
.gc-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.gc-stat { background: var(--bg3); padding: 6px 8px; text-align: center; }
.gc-stat-lbl { font-size: 9px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-stat-val { font-size: 11px; font-weight: 800; color: var(--text); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* Payment */
.gc-pays { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-jc, .pay-ep {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 8px;
}
.pay-jc { background: rgba(191,0,0,0.12); color: #FF6B6B; border: 1px solid rgba(191,0,0,0.2); }
.pay-ep { background: rgba(0,153,68,0.12); color: #00C851; border: 1px solid rgba(0,153,68,0.2); }

/* Bonus */
.gc-bonus {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--gold);
  background: rgba(245,197,66,0.07);
  border: 1px solid rgba(245,197,66,0.15);
  border-radius: 6px;
  padding: 5px 8px;
}
.gc-bonus .mi { font-size: 14px; }

/* Verified */
.gc-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: var(--green);
  background: rgba(0,217,126,0.08);
  border: 1px solid rgba(0,217,126,0.2);
  padding: 2px 7px; border-radius: 8px;
}
.gc-verified .mi { font-size: 13px; }

/* Card footer */
.gc-foot {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
  padding: 0 14px 14px;
}
.gc-foot .btn-ghost,
.gc-foot .btn-dl-sm {
  width: 100% !important;
  display: flex !important;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  padding: 10px 14px;
  white-space: normal;
  box-sizing: border-box;
}
@media (min-width: 480px) {
  .gc-foot {
    flex-direction: row;
  }
  .gc-foot .btn-ghost,
  .gc-foot .btn-dl-sm {
    flex: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn-dl {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--grad-green);
  color: #000 !important;
  font-size: 13px; font-weight: 900;
  padding: 11px 22px;
  border-radius: 24px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 16px rgba(0,217,126,0.3);
  white-space: nowrap;
}
.btn-dl:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,217,126,0.4); color: #000 !important; }

.btn-dl-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--grad-green);
  color: #000 !important;
  font-size: 12px; font-weight: 900;
  padding: 9px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity var(--t);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.btn-dl-sm:hover { opacity: 0.85; color: #000 !important; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2) !important;
  font-size: 12px; font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--text2); color: var(--text) !important; }

.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--grad-gold);
  color: #000 !important;
  font-size: 13px; font-weight: 900;
  padding: 11px 22px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: var(--sh-gold);
  transition: opacity var(--t), transform var(--t);
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-2px); color: #000 !important; }

.btn-tbl {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--grad-green);
  color: #000 !important;
  font-size: 11px; font-weight: 900;
  padding: 6px 12px;
  border-radius: 16px;
  text-decoration: none;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   WITHDRAWAL PROOF CAROUSEL
═══════════════════════════════════════════════════════════════ */
.proof-section { margin-top: var(--s4); }
.proof-hd {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; color: var(--green);
  margin-bottom: 14px;
}
.proof-mask { overflow: hidden; border-radius: var(--r2); }
.proof-track {
  display: flex; gap: 10px;
  animation: scrollProof 28s linear infinite;
  width: max-content;
}
.proof-track:hover { animation-play-state: paused; }

@keyframes scrollProof {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.proof-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 12px;
}
.proof-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.proof-logo { width: 28px; height: 28px; flex-shrink: 0; }
.proof-from { font-size: 11px; font-weight: 700; color: var(--text); }
.proof-time { font-size: 10px; color: var(--muted); }
.proof-amount { font-size: 18px; font-weight: 900; color: var(--green); }
.proof-lbl { font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.proof-msg { font-size: 10px; color: var(--text2); line-height: 1.4; border-top: 1px solid var(--border); padding-top: 6px; margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   COMPARISON TABLE
═══════════════════════════════════════════════════════════════ */
.cmp-outer {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r2);
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%; border-collapse: collapse;
  min-width: 560px;
  font-size: 13px;
}
.cmp-table thead tr { background: var(--bg3); }
.cmp-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.cmp-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.cmp-table tbody tr:last-child { border-bottom: none; }
.cmp-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.cmp-table td { padding: 11px 14px; color: var(--text2); vertical-align: middle; }

.cmp-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  font-size: 12px; font-weight: 900;
  background: var(--bg3);
  color: var(--muted);
}
.cmp-r1 { background: var(--gold); color: #000; }
.cmp-r2 { background: #C0C0C0; color: #000; }
.cmp-r3 { background: #CD7F32; color: #fff; }

.cmp-app { display: flex; align-items: center; gap: 10px; }
.cmp-app-ic { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; background: var(--bg3); flex-shrink: 0; }
.cmp-app-ic img { width: 100%; height: 100%; object-fit: cover; }
.cmp-app-name { font-size: 13px; font-weight: 800; color: var(--text); }
.cmp-app-sub { font-size: 10px; color: var(--muted); }

.cmp-speed { font-weight: 700; }
.cmp-speed.fast { color: var(--green); }
.cmp-speed.medium { color: var(--gold); }
.cmp-speed.slow { color: var(--red); }

.cmp-code {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 8px;
  width: fit-content;
}
.cmp-code-val { font-size: 12px; font-weight: 800; color: var(--gold); font-family: monospace; }
.cmp-code-copy {
  color: var(--muted);
  display: flex; align-items: center;
  transition: color var(--t);
}
.cmp-code-copy:hover { color: var(--green); }
.cmp-code-copy .mi { font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   LIST VIEW (all games)
═══════════════════════════════════════════════════════════════ */
.list-wrap { display: flex; flex-direction: column; gap: 8px; }
.list-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 12px 14px;
  transition: border-color var(--t), background var(--t);
}
.list-item:hover { border-color: var(--border2); background: var(--bg3); }
.li-ic {
  width: 50px; height: 50px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
  flex-shrink: 0;
}
.li-ic img { width: 100%; height: 100%; object-fit: cover; }
.li-rank {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--muted);
  flex-shrink: 0;
}
.li-info { flex: 1; min-width: 0; }
.li-name { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-name a { color: inherit; }
.li-name a:hover { color: var(--green); }
.li-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.li-stars { display: flex; align-items: center; gap: 3px; color: var(--gold); font-weight: 700; }
.li-verified { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-size: 10px; font-weight: 700; }
.li-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   FEATURED BANNER
═══════════════════════════════════════════════════════════════ */
.feat-banner { margin-top: var(--s4); }
.feat-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.feat-bar-l {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 900; color: var(--text);
  min-width: 0; overflow: hidden;
}
.feat-bar-l .mi { color: var(--red); flex-shrink: 0; }
.feat-bar-sub { color: var(--muted); font-size: 11px; font-weight: 600; display: none; }
@media (min-width: 480px) { .feat-bar-sub { display: inline; } }
.feat-bar-r {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 800; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.5px;
}

.feat-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.feat-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  position: relative;
  transition: transform var(--t), border-color var(--t);
}
.feat-item:hover { transform: translateY(-3px); border-color: var(--border2); }
.feat-item:first-child { border-color: rgba(245,197,66,0.3); }
.feat-ss {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg3);
}
.feat-ss img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.feat-item:hover .feat-ss img { transform: scale(1.05); }
.feat-ss a { display: block; height: 100%; }

.feat-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
}
.feat-foot-meta { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.feat-ic { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: var(--bg3); flex-shrink: 0; }
.feat-ic img { width: 100%; height: 100%; object-fit: cover; }
.feat-title { font-size: 13px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-rating { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--gold); font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   AGENT CTA
═══════════════════════════════════════════════════════════════ */
.agent-cta {
  background: linear-gradient(135deg, rgba(245,197,66,0.08) 0%, rgba(0,217,126,0.06) 100%);
  border: 1px solid rgba(245,197,66,0.2);
  border-radius: var(--r3);
  padding: 28px 24px;
  text-align: center;
  margin-top: var(--s5);
  position: relative;
  overflow: hidden;
}
.agent-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,197,66,0.06) 0%, transparent 70%);
}
.agent-cta h2 { font-size: clamp(18px, 4vw, 24px); font-weight: 900; color: var(--text); margin-bottom: 10px; }
.agent-cta p { font-size: 13px; color: var(--text2); max-width: 480px; margin: 0 auto 16px; }
.agent-earn { display: inline-block; font-size: 22px; font-weight: 900; color: var(--gold); margin-bottom: 4px; }
.agent-earn-sub { display: block; font-size: 12px; color: var(--muted); margin-bottom: 18px; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg2);
}
.faq-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 16px;
  text-align: left;
  color: var(--text);
  font-size: 14px; font-weight: 700;
  gap: 12px;
  transition: background var(--t);
}
.faq-btn:hover { background: var(--bg3); }
.faq-btn[aria-expanded="true"] { color: var(--green); }
.faq-btn[aria-expanded="true"] .faq-chev { transform: rotate(180deg); color: var(--green); }
.faq-chev { transition: transform var(--t); flex-shrink: 0; color: var(--muted); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding var(--t);
  padding: 0 16px;
}
.faq-answer.open { max-height: 400px; padding: 0 16px 14px; }
.faq-answer p { font-size: 13px; color: var(--text2); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   CONTENT PANELS (deposit guide etc)
═══════════════════════════════════════════════════════════════ */
.c-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 16px;
}
@media (min-width: 600px) {
  .c-panel { padding: 20px; }
}
.content-h2 {
  font-size: 18px; font-weight: 900; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.content-h2 .mi { color: var(--green); }
.content-h3 { font-size: 15px; font-weight: 800; color: var(--text2); display: flex; align-items: center; gap: 6px; margin: 18px 0 10px; }
.content-h3 .mi { color: var(--green); font-size: 18px; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 10px; }
.step-row { display: flex; align-items: flex-start; gap: 12px; }
.step-num {
  width: 32px; height: 32px;
  background: var(--grad-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #000;
  flex-shrink: 0;
}
.step-body { flex: 1; padding-top: 5px; }
.step-body strong { display: block; font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.step-body span { font-size: 12px; color: var(--text2); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: var(--s5);
  padding: 48px 24px 28px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 900; color: var(--text);
  margin-bottom: 12px;
}
.footer-brand .mi { color: var(--gold); font-size: 22px; }
.footer-brand em { color: var(--gold); font-style: normal; }
.footer-desc { font-size: 12px; color: var(--muted); line-height: 1.6; max-width: 260px; }

.footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text2); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 12px; color: var(--muted); transition: color var(--t); }
.footer-col li a:hover { color: var(--green); }

.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-disc {
  font-size: 11px; color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-copy { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   SINGLE GAME PAGE
═══════════════════════════════════════════════════════════════ */
.swipe-hint {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--muted);
  margin: 14px 0 6px;
}
.swipe-hint .mi { font-size: 14px; }

.ss-scroller {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r2);
  padding-bottom: 4px;
  scrollbar-width: none;
}
.ss-scroller::-webkit-scrollbar { display: none; }
.ss-frame {
  flex-shrink: 0; width: 85vw; max-width: 480px;
  aspect-ratio: 16/9;
  border-radius: var(--r2); overflow: hidden;
  background: var(--bg3);
  scroll-snap-align: start;
}
.ss-frame img { width: 100%; height: 100%; object-fit: cover; }
.no-ss { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }

/* App info row */
.app-info-row {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 16px;
  margin-top: var(--s3);
}
.app-big-ic { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--bg3); flex-shrink: 0; }
.app-big-ic img { width: 100%; height: 100%; object-fit: cover; }
.app-title { font-size: clamp(18px, 5vw, 26px); font-weight: 900; color: var(--text); line-height: 1.2; }
.app-dev { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.app-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 11px; font-weight: 700; }
.app-verified .mi { font-size: 14px; }

/* App stat grid */
.app-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: var(--s3);
}
@media (min-width: 480px) { .app-stat-grid { grid-template-columns: repeat(4, 1fr); } }

.app-stat-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 12px;
  text-align: center;
}
.app-stat-card .asc-val { font-size: 18px; font-weight: 900; color: var(--text); }
.app-stat-card .asc-lbl { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* Download CTA box */
.dl-cta-box {
  background: linear-gradient(135deg, rgba(0,217,126,0.08) 0%, rgba(0,217,126,0.04) 100%);
  border: 1px solid rgba(0,217,126,0.2);
  border-radius: var(--r3);
  padding: 20px;
  margin-top: var(--s3);
  text-align: center;
}
.dl-cta-box .dbc-head { font-size: 16px; font-weight: 900; color: var(--text); margin-bottom: 6px; }
.dl-cta-box .dbc-bonus { font-size: 13px; color: var(--gold); font-weight: 800; margin-bottom: 14px; }
.dl-cta-box .dbc-code {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 14px;
  font-size: 14px; font-weight: 900; color: var(--gold);
  font-family: monospace;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background var(--t);
}
.dl-cta-box .dbc-code:hover { background: var(--bg2); }
.dl-cta-box .dbc-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--muted); }

/* Tabs */
.tab-bar {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
  margin-top: var(--s4);
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 11px 16px;
  font-size: 13px; font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }
.tab-btn:hover { color: var(--text2); }
.tab-content { display: none; padding-top: var(--s3); }
.tab-content.active { display: block; }

/* Pros list */
.pros-list { display: flex; flex-direction: column; gap: 8px; }
.pros-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text2); }
.pros-item::before {
  content: '';
  width: 20px; height: 20px;
  background: rgba(0,217,126,0.15); border: 1px solid rgba(0,217,126,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300D97E' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

/* Tech info table */
.tech-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tech-table tr { border-bottom: 1px solid var(--border); }
.tech-table tr:last-child { border-bottom: none; }
.tech-table td { padding: 10px 14px; }
.tech-table td:first-child { color: var(--muted); font-weight: 700; width: 40%; }
.tech-table td:last-child { color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP
═══════════════════════════════════════════════════════════════ */
#float-wa {
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom) + 12px);
  right: 16px;
  z-index: 799;
}
@media (min-width: 768px) { #float-wa { bottom: 24px; } }

.wa-btn {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.wa-tooltip {
  position: absolute;
  right: 60px; top: 50%; transform: translateY(-50%);
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text);
  font-size: 11px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t);
}
.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════════════════ */
#scroll-top {
  position: fixed; bottom: calc(72px + env(safe-area-inset-bottom) + 12px); right: 76px;
  width: 40px; height: 40px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  z-index: 798;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  box-shadow: var(--sh1);
}
#scroll-top.show { opacity: 1; pointer-events: all; }
#scroll-top:hover { transform: translateY(-3px); color: var(--text); }
@media (min-width: 768px) { #scroll-top { bottom: 24px; right: 80px; } }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(16px); animation: fadeIn 0.5s ease forwards; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.15s; }
.fade-in:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Reduced motion: respect user OS preference ── */
@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;
  }
  .proof-track { animation: none; }
  .fade-in { opacity: 1; transform: none; animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE / TAXONOMY PAGES
═══════════════════════════════════════════════════════════════ */
.archive-header {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); padding: 20px;
  margin-bottom: var(--s4);
}
.archive-header h1 { font-size: clamp(20px, 5vw, 28px); font-weight: 900; color: var(--text); }
.archive-header p { font-size: 13px; color: var(--text2); margin-top: 6px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: var(--s4); flex-wrap: wrap; align-items: center; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--text2);
  text-decoration: none;
  transition: all var(--t);
  padding: 0 10px;
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); color: #000 !important; border-color: var(--green); }
.pagination .dots { background: none; border-color: transparent; }

/* ═══════════════════════════════════════════════════════════════
   BLOG / POST CARD
═══════════════════════════════════════════════════════════════ */
.post-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--r2); overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-3px); border-color: var(--border2); }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 14px; }
.post-card-cat { font-size: 10px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.post-card-title { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.4; margin-bottom: 8px; }
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--green); }
.post-card-meta { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════════════════ */
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.font-bold { font-weight: 800; }
.mt-1 { margin-top: var(--s1); }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.center { text-align: center; }

/* WP alignment classes */
.aligncenter { display: block; margin: 16px auto; }
.alignleft { float: left; margin: 0 16px 16px 0; }
.alignright { float: right; margin: 0 0 16px 16px; }

/* ═══════════════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════════════ */
.search-header { margin: 14px 0 var(--s4); }
.search-header h1 { font-size: 20px; font-weight: 900; color: var(--text); }
.search-header p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════════════════════ */
.page-404 { text-align: center; padding: var(--s5) 0; }
.page-404 .err-code { font-size: 80px; font-weight: 900; color: var(--border2); line-height: 1; }
.page-404 h1 { font-size: 22px; font-weight: 900; color: var(--text); margin: 12px 0 8px; }
.page-404 p { color: var(--muted); font-size: 14px; margin-bottom: var(--s3); }

/* ═══════════════════════════════════════════════════════════════
   SPEED CLASS HELPERS (cashout speed)
═══════════════════════════════════════════════════════════════ */
.spd-instant, .spd-fast { color: var(--green); }
.spd-medium { color: var(--gold); }
.spd-slow { color: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* NOTE: .g4 is intentionally single-column below 480px (mobile-first grid above) */
  .cmp-table { font-size: 12px; }
  .cmp-table th, .cmp-table td { padding: 9px 10px; }
  .agent-cta { padding: 22px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT
═══════════════════════════════════════════════════════════════ */
@media print {
  #topbar, #sidebar, #bottom-nav, #float-wa, #scroll-top, #pwa-banner { display: none; }
  #main { padding: 0; }
  body { background: white; color: black; }
}
