/* ===== Variables — 3 Patti OK brand (purple / gold / red) ===== */
:root {
  --bg-dark: #120818;
  --bg-card: #1e0f2e;
  --bg-card-hover: #2a1540;
  --purple: #9c27b0;
  --purple-dark: #6a1b9a;
  --magenta: #c2185b;
  --gold: #ffc107;
  --gold-dark: #ff8f00;
  --red-accent: #d32f2f;
  --green: #22c55e;
  --green-dark: #16a34a;
  --text: #f3e8ff;
  --text-muted: #b39ddb;
  --border: rgba(186, 104, 200, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --glow-purple: 0 0 40px rgba(156, 39, 176, 0.25);
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(156, 39, 176, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(194, 24, 91, 0.08) 0%, transparent 40%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.5);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(18, 8, 24, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-icon { display: none; }
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.35);
}
.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav a:hover { color: var(--gold); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(156, 39, 176, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 193, 7, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 90%, rgba(194, 24, 91, 0.1) 0%, transparent 45%),
    var(--bg-dark);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.badge {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}
.badge-gold {
  background: rgba(255, 193, 7, 0.15);
  border-color: rgba(255, 193, 7, 0.4);
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 800;
}
.stat span { font-size: 0.75rem; color: var(--text-muted); }

/* Phone mockup */
.hero-visual { position: relative; }
.phone-mockup {
  background: linear-gradient(145deg, #1a2238, #0d1220);
  border-radius: 32px;
  padding: 16px;
  border: 2px solid rgba(245, 197, 24, 0.2);
  box-shadow: var(--shadow), 0 0 60px rgba(245, 197, 24, 0.08);
  max-width: 320px;
  margin: 0 auto;
}
.phone-screen {
  background: linear-gradient(180deg, #1e2a4a, #0f1628);
  border-radius: 20px;
  padding: 24px 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.screen-header {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}
.screen-cards {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.card-item {
  width: 70px;
  height: 100px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
}
.card-item:nth-child(2) { animation-delay: 0.5s; }
.card-item:nth-child(3) { animation-delay: 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.screen-jackpot, .screen-bonus {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}
.screen-jackpot {
  background: rgba(245, 197, 24, 0.15);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--gold);
}
.screen-bonus {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}
.float-card {
  position: absolute;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.float-1 { top: 10%; right: -10%; }
.float-2 { bottom: 15%; left: -15%; animation-delay: 1.5s; }

/* ===== Stats Bar ===== */
.stats-bar {
  background: linear-gradient(90deg, var(--purple-dark), var(--magenta));
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.stats-item span { font-size: 0.8rem; color: rgba(255,255,255,0.85); }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: rgba(255,255,255,0.02); }
.section-dark {
  background: linear-gradient(180deg, #120818, #1a0a28);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.mt-lg { margin-top: 60px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.col-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.col-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.feature-box .feature-icon { font-size: 3rem; margin-bottom: 16px; }
.feature-box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feature-box p { color: var(--text-muted); }

/* Download card */
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  flex-wrap: wrap;
}
.download-info {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.app-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.download-info h3 { font-size: 1.4rem; margin-bottom: 12px; }
.apk-details li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.apk-details span { color: var(--text); font-weight: 600; }

/* Games - App style lobby */
.section-games {
  background: linear-gradient(180deg, #120818 0%, #1a0a28 50%, #120818 100%);
}
.urdu { color: var(--gold); font-weight: 600; }

.app-preview-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.device-frame-sm {
  max-width: 380px;
  flex: 1 1 320px;
}
.download-info .app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(156, 39, 176, 0.4);
}
.download-info .app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.game-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.game-tab:hover { border-color: var(--gold); color: var(--gold); }
.game-tab.active {
  background: linear-gradient(135deg, var(--magenta), var(--purple-dark));
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 16px rgba(194, 24, 91, 0.45);
}

.app-games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.app-game-card {
  background: linear-gradient(180deg, #2a1540, #1a0a28);
  border: 2px solid rgba(186, 104, 200, 0.3);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.app-game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.2);
}
.app-game-card.hidden { display: none; }
.app-game-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1020;
}
.app-game-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.app-game-card:hover .app-game-img img { transform: scale(1.08); }
.app-game-name {
  padding: 10px 8px 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  border-top: 1px solid rgba(245, 197, 24, 0.15);
}
.app-game-card .game-tag {
  display: block;
  padding: 4px 8px 10px;
  font-size: 0.68rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.4);
}
.hot-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.games-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.games-note em { color: var(--gold); font-style: normal; }

/* App screenshot — landscape device frame (1024x460) */
.hero-visual { position: relative; display: flex; justify-content: center; }
.device-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1024 / 460;
  border-radius: 18px;
  overflow: hidden;
  background: #1a0a24;
  border: 3px solid rgba(255, 193, 7, 0.45);
  box-shadow: var(--shadow), var(--glow-purple), 0 0 0 1px rgba(156, 39, 176, 0.3);
}
.phone-real {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
  width: 100%;
}
.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Legacy games grid (categories section) */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.games-grid-4 { margin-top: 0; }
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 197, 24, 0.3);
  box-shadow: var(--shadow);
}
.game-img {
  font-size: 2.5rem;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 20px;
}
.game-card h3 { font-size: 1rem; margin-bottom: 8px; }
.game-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 50px;
}
.trend-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
}
.trend-badge.hot { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.trend-badge.new { background: rgba(34, 197, 94, 0.2); color: var(--green); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step-card h4 { font-size: 0.9rem; margin-bottom: 8px; }
.step-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(245,197,24,0.08));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}
.cta-box h3 { font-size: 1.5rem; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 24px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.feature-card:hover { border-color: rgba(245, 197, 24, 0.25); }
.feature-card .feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

.check-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.why-visual { display: flex; flex-direction: column; gap: 16px; }
.why-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.why-stat span { font-size: 2rem; }
.why-stat strong { display: block; }
.why-stat small { color: var(--text-muted); font-size: 0.8rem; }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review-header strong { display: block; font-size: 0.95rem; }
.review-header small { color: var(--text-muted); font-size: 0.8rem; }
.stars { margin-left: auto; color: var(--gold); font-size: 0.85rem; }
.review-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; font-style: italic; }

/* Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.categories-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.cat-card-featured {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-card), #2a1540);
  border: 1px solid rgba(186, 104, 200, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cat-card-featured:hover {
  border-color: rgba(255, 193, 7, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 30px rgba(156, 39, 176, 0.2);
}
.cat-card-icon {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a0a24;
  border-bottom: 1px solid var(--border);
}
.cat-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card-featured:hover .cat-card-icon img {
  transform: scale(1.06);
}
.cat-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0;
}
.cat-card-body p {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.cat-count {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(156, 39, 176, 0.15);
  border: 1px solid rgba(186, 104, 200, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
  margin-top: 4px;
}
.cat-card span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
.cat-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Footer game categories */
.footer-cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-cat-list img {
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-cat-link:hover img {
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question span {
  font-size: 1.4rem;
  color: var(--gold);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question span { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: #0a0510;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0 20px;
  line-height: 1.7;
}
.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--gold);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 999;
  flex-wrap: wrap;
}
.cookie-bar.hidden { display: none; }
.cookie-bar p { font-size: 0.85rem; color: var(--text-muted); }
.cookie-bar div { display: flex; gap: 10px; }

/* Scroll top */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .app-games-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .float-1, .float-2 { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .app-games-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .app-preview-row { flex-direction: column; align-items: center; }
  .device-frame-sm { max-width: 100%; }
  .device-frame { max-width: 100%; }
  .nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid, .games-grid-4 { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .download-card { flex-direction: column; text-align: center; }
  .download-info { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .app-games-grid { grid-template-columns: repeat(2, 1fr); }
  .game-tabs { gap: 6px; }
  .game-tab { padding: 8px 14px; font-size: 0.78rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .categories-grid, .categories-grid-4 { grid-template-columns: 1fr; }
}

/* Legal & inner pages */
.article-page {
  padding: 110px 0 80px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(156, 39, 176, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 100%, rgba(194, 24, 91, 0.06) 0%, transparent 35%);
}
.legal-page {
  padding: 110px 0 80px;
  min-height: 60vh;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(156, 39, 176, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 90% 100%, rgba(194, 24, 91, 0.06) 0%, transparent 35%);
}
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--gold);
}
.legal-page p, .legal-page li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-intro { font-size: 1.05rem; margin-bottom: 28px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.guide-steps {
  list-style: decimal;
  padding-left: 24px;
  margin: 24px 0 32px;
}
.guide-steps li { margin-bottom: 16px; color: var(--text-muted); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Blog / Article pages */
.article-page .container { max-width: 820px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--text);
}
.article-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--gold);
}
.article-content p, .article-content li {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content a { color: var(--gold); text-decoration: underline; }
.article-cta {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.12), rgba(255, 193, 7, 0.08));
  border: 1px solid rgba(156, 39, 176, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.related-posts h2 { font-size: 1.2rem; margin-bottom: 20px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.related-grid a {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}
.related-grid a:hover { border-color: var(--gold); color: var(--gold); }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.guide-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.guide-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.guide-card h3 { font-size: 1rem; margin-bottom: 8px; }
.guide-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.guide-tag {
  font-size: 0.72rem;
  color: var(--gold);
  background: rgba(156, 39, 176, 0.15);
  border: 1px solid rgba(186, 104, 200, 0.2);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .related-grid, .guides-grid { grid-template-columns: 1fr; }
}
