/* =====================================================
   AllTeenPatti – Main Stylesheet
   HTML5 + CSS3 + Bootstrap 5
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --primary:     #c8102e;
  --primary-dk:  #9b0a22;
  --primary-lt:  #ff2a47;
  --gold:        #f5a623;
  --gold-lt:     #ffd166;
  --dark:        #0d0d0d;
  --dark2:       #161616;
  --dark3:       #1e1e1e;
  --dark4:       #252525;
  --card-bg:     #1a1a1a;
  --border:      rgba(255,255,255,0.07);
  --text:        #e0e0e0;
  --muted:       #888;
  --green:       #22c55e;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
  --glow-red:    0 0 30px rgba(200,16,46,0.25);
  --transition:  0.28s ease;
}

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 15px;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ── Utility ──────────────────────────────────────── */
.text-gold     { color: var(--gold) !important; }
.text-red      { color: var(--primary) !important; }
.text-green    { color: var(--green) !important; }
.text-muted-c  { color: var(--muted) !important; }
.bg-dark2      { background: var(--dark2) !important; }
.bg-card       { background: var(--card-bg) !important; }
.fw-800        { font-weight: 800 !important; }
.section-gap   { padding: 72px 0; }
.section-gap-sm{ padding: 48px 0; }

/* ── Top Ticker ───────────────────────────────────── */
.top-ticker {
  background: linear-gradient(90deg, var(--primary-dk), var(--primary));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: tickerScroll 30s linear infinite;
}

.ticker-inner span {
  display: inline-block;
  padding: 0 40px;
}

.ticker-inner span::before {
  content: '🎴';
  margin-right: 8px;
}

@keyframes tickerScroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ── Navbar ───────────────────────────────────────── */
.navbar-main {
  background: rgba(10,0,2,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(200,16,46,0.4);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 4px 24px rgba(200,16,46,0.2);
}

.brand-wrap { display: flex; align-items: center; gap: 10px; }

.brand-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--glow-red);
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.brand-name span { color: var(--gold); }

.nav-link-c {
  color: #bbb !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 7px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}

.nav-link-c:hover, .nav-link-c.active-nav {
  color: #fff !important;
  background: rgba(200,16,46,0.18);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  padding: 7px 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(200,16,46,0.4);
}

.nav-cta:hover {
  background: var(--primary-lt) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.navbar-toggler {
  border: 1.5px solid rgba(200,16,46,0.5);
  border-radius: 8px;
  padding: 5px 10px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.navbar-toggler:focus { box-shadow: none; outline: none; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  background: radial-gradient(ellipse at 70% 50%, rgba(200,16,46,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 10% 80%, rgba(245,166,35,0.06) 0%, transparent 50%),
              linear-gradient(160deg, #0d0005 0%, #0d0d0d 60%);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(200,16,46,0.15);
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(200,16,46,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(200,16,46,0.1);
  border: 1px solid rgba(200,16,46,0.35);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 15px;
  border-radius: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero-title .red   { color: var(--primary); text-shadow: 0 0 40px rgba(200,16,46,0.5); }
.hero-title .gold  { color: var(--gold); }

.hero-desc {
  color: #999;
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}

.hero-badge-item {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ccc;
}

.hero-badge-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dot-gold   { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.dot-red    { background: var(--primary); box-shadow: 0 0 6px var(--primary); }

.hero-stats-row {
  display: flex; flex-wrap: wrap; gap: 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.h-stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.h-stat-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  padding: 20px 0;
}

.hero-phone {
  width: 240px;
  height: 420px;
  background: linear-gradient(145deg, #1a0008, #0d0005);
  border-radius: 36px;
  border: 2px solid rgba(200,16,46,0.3);
  box-shadow: var(--shadow), var(--glow-red), inset 0 0 30px rgba(200,16,46,0.05);
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 80px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  flex-shrink: 0;
}

.phone-screen {
  flex: 1;
  background: linear-gradient(160deg, #1a0008 0%, #0d0d0d 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  padding: 16px;
}

.phone-app-icon {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(200,16,46,0.5);
}

.phone-app-name {
  font-family: 'Baloo 2', cursive;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.phone-bonus-chip {
  background: linear-gradient(135deg, var(--gold), #d08800);
  color: #000;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 16px;
  border-radius: 30px;
}

.phone-dl-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px;
  border-radius: 10px;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Nunito', sans-serif;
}

.phone-mini-stats {
  display: flex; gap: 10px; width: 100%;
}

.phone-mini-stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}

.phone-mini-stat .val { font-size: 0.75rem; font-weight: 800; color: var(--gold); display: block; }
.phone-mini-stat .key { font-size: 0.6rem; color: var(--muted); font-weight: 600; }

/* Floating cards around phone */
.float-card {
  position: absolute;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 3;
}

.float-card.fc-1 { top: 30px; left: -10px; animation: float1 4s ease-in-out infinite; }
.float-card.fc-2 { bottom: 60px; left: -20px; animation: float1 4s ease-in-out infinite 1s; }
.float-card.fc-3 { top: 60px; right: -10px; animation: float1 4s ease-in-out infinite 0.5s; }
.float-card.fc-4 { bottom: 30px; right: -15px; animation: float1 4s ease-in-out infinite 1.5s; }

@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* ── Buttons ──────────────────────────────────────── */
.btn-red {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(200,16,46,0.4);
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.2px;
}

.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,16,46,0.55);
  color: #fff;
}

.btn-gold-c {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #1a0800;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(245,166,35,0.35);
  font-family: 'Nunito', sans-serif;
}

.btn-gold-c:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245,166,35,0.5);
  color: #1a0800;
}

.btn-outline-red {
  background: transparent;
  color: var(--primary);
  padding: 11px 26px;
  border-radius: 12px;
  font-weight: 700;
  border: 1.5px solid var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}

.btn-outline-red:hover {
  background: var(--primary);
  color: #fff;
}

/* Download pulse button */
.btn-download-pulse {
  position: relative;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  color: #fff;
  padding: 14px 36px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 8px 28px rgba(200,16,46,0.45);
  transition: var(--transition);
  overflow: visible;
}

.btn-download-pulse::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 18px;
  border: 2px solid var(--primary);
  opacity: 0;
  animation: pulseBorder 2s ease-out infinite;
}

@keyframes pulseBorder {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.12); }
}

.btn-download-pulse:hover { transform: translateY(-3px); color: #fff; }

/* ── Section Heading ──────────────────────────────── */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-tag {
  display: inline-block;
  background: rgba(200,16,46,0.1);
  border: 1px solid rgba(200,16,46,0.3);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

.sec-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.sec-title span { color: var(--primary); }

.sec-desc { color: var(--muted); max-width: 520px; margin: 0 auto; font-size: 0.95rem; }

.sec-line {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ── App Cards ────────────────────────────────────── */
.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200,16,46,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 0 1px rgba(200,16,46,0.2);
}

.app-card-top {
  padding: 18px 18px 0;
  display: flex; align-items: flex-start; gap: 14px;
}

.app-icon-wrap {
  width: 62px; height: 62px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--dark4), var(--dark3));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.app-icon-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.app-meta { flex: 1; min-width: 0; }

.app-rank {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.app-name {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-downloads {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.app-card-body { padding: 12px 18px; flex: 1; }

.app-desc {
  font-size: 0.82rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-info-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}

.app-info-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #ccc;
}

.app-info-chip.bonus { color: var(--gold); border-color: rgba(245,166,35,0.25); background: rgba(245,166,35,0.06); }
.app-info-chip.withdraw { color: var(--green); border-color: rgba(34,197,94,0.2); background: rgba(34,197,94,0.05); }

.app-stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 1px; }

.app-card-footer { padding: 0 18px 18px; }

.btn-dl-card {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  border: none; cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 4px 14px rgba(200,16,46,0.3);
}

.btn-dl-card:hover {
  background: linear-gradient(135deg, #ff3d58, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200,16,46,0.45);
  color: #fff;
}

/* ── Category Tabs ────────────────────────────────── */
.cat-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.cat-tab {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--dark3);
  border: 1.5px solid var(--border);
  color: #aaa;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
}

.cat-tab:hover, .cat-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,16,46,0.35);
}

/* ── Featured App Section ─────────────────────────── */
.featured-app {
  background: linear-gradient(135deg, var(--dark3), #1a0008);
  border: 1px solid rgba(200,16,46,0.25);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.featured-app::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,16,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* ── Step Cards (How to Download) ─────────────────── */
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.step-card:hover {
  border-color: rgba(200,16,46,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.step-num {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(200,16,46,0.4);
}

.step-icon { font-size: 2rem; margin-bottom: 10px; }
.step-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

/* Connector */
.step-connector {
  display: flex; align-items: center; justify-content: center;
  padding-top: 27px;
}

.step-connector i { color: var(--primary); font-size: 1.2rem; }

/* ── Specs Table ──────────────────────────────────── */
.specs-table {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.specs-table table { width: 100%; border-collapse: collapse; }

.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(255,255,255,0.02); }

.specs-table td {
  padding: 13px 20px;
  font-size: 0.88rem;
}

.specs-table td:first-child {
  color: var(--muted);
  font-weight: 700;
  width: 45%;
  border-right: 1px solid var(--border);
}

.specs-table td:last-child { color: #fff; font-weight: 700; }

/* ── Features Grid ────────────────────────────────── */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  border-color: rgba(200,16,46,0.3);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.fi-red    { background: rgba(200,16,46,0.15); }
.fi-gold   { background: rgba(245,166,35,0.12); }
.fi-green  { background: rgba(34,197,94,0.1); }
.fi-blue   { background: rgba(59,130,246,0.1); }
.fi-purple { background: rgba(168,85,247,0.1); }
.fi-cyan   { background: rgba(6,182,212,0.1); }

.feature-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-desc { color: var(--muted); font-size: 0.83rem; line-height: 1.6; }

/* ── FAQ ──────────────────────────────────────────── */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: rgba(200,16,46,0.3); }

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  gap: 12px;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--dark4);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* ── Reviews ──────────────────────────────────────── */
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
  transition: var(--transition);
}

.review-card:hover { border-color: rgba(200,16,46,0.2); transform: translateY(-4px); }

.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }

.review-text {
  color: #ccc;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.reviewer-name {
  font-weight: 800;
  color: #fff;
  font-size: 0.85rem;
}

.reviewer-handle { color: var(--muted); font-size: 0.75rem; }

/* ── Referral Section ─────────────────────────────── */
.referral-section {
  background: linear-gradient(135deg, #1a0008, #0d0005);
  border-top: 1px solid rgba(200,16,46,0.15);
  border-bottom: 1px solid rgba(200,16,46,0.15);
}

.referral-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
}

.referral-card:hover { border-color: rgba(245,166,35,0.3); transform: translateY(-4px); }

.ref-icon { font-size: 2.2rem; margin-bottom: 12px; }

.ref-title {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ref-desc { color: var(--muted); font-size: 0.82rem; }

/* ── Banner CTA ───────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1a0008 0%, var(--primary-dk) 50%, #1a0008 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 52px 40px;
  text-align: center;
  border: 1px solid rgba(200,16,46,0.3);
}

.cta-banner::before {
  content: '🎴';
  position: absolute;
  font-size: 12rem;
  left: -30px; top: -20px;
  opacity: 0.04;
  pointer-events: none;
}

.cta-banner::after {
  content: '🃏';
  position: absolute;
  font-size: 12rem;
  right: -30px; bottom: -20px;
  opacity: 0.04;
  pointer-events: none;
}

.cta-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-desc { color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Safe Badges ──────────────────────────────────── */
.safe-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.safe-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

/* ── Contact Section ──────────────────────────────── */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover { border-color: rgba(200,16,46,0.3); transform: translateY(-4px); }

.contact-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  background: rgba(200,16,46,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
}

.contact-label { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.contact-val { color: #fff; font-weight: 700; font-size: 0.92rem; }

/* ── Footer ───────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0a0002, #000);
  border-top: 1px solid rgba(200,16,46,0.2);
  padding: 60px 0 0;
}

.footer-brand { margin-bottom: 18px; }
.footer-brand .brand-wrap { margin-bottom: 14px; }
.footer-tagline { color: var(--muted); font-size: 0.85rem; line-height: 1.7; max-width: 280px; }

.footer-heading {
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}

.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  margin-top: 48px;
}

.footer-bottom-text {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.footer-bottom-links {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 8px;
}

.footer-bottom-links a { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.footer-bottom-links a:hover { color: var(--primary); }

.footer-disclaimer {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 24px;
  font-size: 0.75rem;
  color: #666;
  line-height: 1.65;
}

.social-icons { display: flex; gap: 10px; margin-top: 16px; }

.social-icon {
  width: 36px; height: 36px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Scroll to Top ────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none; cursor: pointer;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(200,16,46,0.5);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}

#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { transform: translateY(-3px); background: var(--primary-lt); }

/* ── Loader ───────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  transition: opacity 0.5s ease;
}

.loader-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.loader-logo span { color: var(--gold); }

.loader-bar {
  width: 180px; height: 4px;
  background: var(--dark3);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  animation: loaderAnim 1.4s ease forwards;
}

@keyframes loaderAnim {
  from { width: 0; }
  to   { width: 100%; }
}

/* ── Toast ────────────────────────────────────────── */
.toast-msg {
  position: fixed;
  bottom: 80px; right: 24px;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 9998;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s ease;
  display: flex; align-items: center; gap: 8px;
}

.toast-msg.show { transform: translateY(0); opacity: 1; }

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb-bar {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb-c { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.breadcrumb-c a { color: var(--muted); font-weight: 600; }
.breadcrumb-c a:hover { color: var(--primary); }
.breadcrumb-c .sep { color: var(--border); }
.breadcrumb-c .current { color: #fff; font-weight: 700; }

/* ── Inner Page Hero ──────────────────────────────── */
.inner-hero {
  background: linear-gradient(160deg, #0d0005 0%, #0d0d0d 100%);
  padding: 52px 0 44px;
  border-bottom: 1px solid rgba(200,16,46,0.12);
}

/* ── App Detail Page ──────────────────────────────── */
.detail-app-icon {
  width: 90px; height: 90px;
  border-radius: 22px;
  background: var(--dark3);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.star-rating .star { color: var(--gold); font-size: 1rem; }
.star-rating .star.empty { color: var(--dark4); }

.version-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ccc;
}

.screenshot-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark3);
}

.screenshot-wrap img {
  width: 100%; height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.screenshot-wrap:hover img { transform: scale(1.04); }

/* ── Sidebar ──────────────────────────────────────── */
.sidebar-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.widget-head {
  background: linear-gradient(135deg, rgba(200,16,46,0.15), rgba(200,16,46,0.05));
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.widget-body { padding: 16px; }

.related-app-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: var(--transition);
}

.related-app-item:last-child { border-bottom: none; }
.related-app-item:hover { padding-left: 4px; }

.related-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.related-name { font-weight: 700; font-size: 0.85rem; color: #fff; }
.related-bonus { color: var(--gold); font-size: 0.75rem; font-weight: 700; }

/* ── Search Box ───────────────────────────────────── */
.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  background: var(--dark3);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 11px 16px 11px 44px;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
  background: var(--dark4);
}

.search-box input::placeholder { color: var(--muted); }

.search-icon {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Game Tags ────────────────────────────────────── */
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.game-tag {
  display: inline-block;
  background: var(--dark4);
  border: 1px solid var(--border);
  color: #bbb;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.game-tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Pagination ───────────────────────────────────── */
.pagination-c { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

.page-btn {
  width: 40px; height: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #ccc;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200,16,46,0.35);
}

/* ── Animations ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991px) {
  .hero { padding: 56px 0 48px; }
  .hero-phone { width: 200px; height: 340px; }
  .float-card { display: none; }
  .step-connector { display: none; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 1.9rem; }
  .hero-stats-row { gap: 18px; }
  .section-gap { padding: 52px 0; }
  .cat-tabs { gap: 8px; }
  .cat-tab { padding: 6px 14px; font-size: 0.8rem; }
  .cta-banner { padding: 40px 24px; }
  .hero-visual { margin-top: 32px; }
}

@media (max-width: 576px) {
  .hero { padding: 44px 0 36px; }
  .hero-phone { width: 175px; height: 300px; }
  .brand-name { font-size: 1.1rem; }
  #scrollTop { bottom: 16px; right: 16px; }
}
