/*
Theme Name: IndiBet Download
Theme URI: https://indibetdownload.com
Author: in-g5
Author URI: https://indibetdownload.com
Description: High-conversion APK download landing page theme for IndiBet India. Dark theme with green and gold accents, mobile-first, SEO-optimized, lightning fast. No page builders, no bloat.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indibet-download
Tags: dark, betting, apk-download, seo, responsive, mobile-first, india, custom-color, custom-logo, featured-images
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
*/

/* ==================== Design Tokens ==================== */
:root {
  --bg: #001515;
  --bg-alt: #002026;
  --bg-card: #002833;
  --bg-elev: #003844;
  --teal: #00a8cc;
  --teal-hover: #0094b8;
  --teal-bright: #46fff6;
  --green: #00ff88;
  --green-hover: #00e676;
  --green-dim: #00b050;
  --gold: #ffc107;
  --gold-hover: #ffb300;
  --gold-dim: #e6a700;
  --text: #ffffff;
  --text-2: #a0c4c0;
  --text-3: #5a7a76;
  --border: #003844;
  --border-green: rgba(0, 255, 136, 0.25);
  --border-teal: rgba(0, 168, 204, 0.25);
  --radius: 8px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --max-w: 1200px;
  --shadow-g: 0 4px 24px rgba(0, 255, 136, 0.12);
  --shadow-teal: 0 4px 24px rgba(70, 255, 246, 0.15);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.3);
  --transition: 0.2s ease;
  --font-size: 16px;
  --line-h: 1.6;
  --h1: clamp(28px, 5vw, 42px);
  --h2: clamp(22px, 3.5vw, 30px);
  --h3: 20px;
  --cta-grad: linear-gradient(180deg, #46fff6 0%, #056677 100%);
}

/* ==================== Reset ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: var(--line-h);
  font-size: var(--font-size);
  overflow-x: hidden;
  padding-top: 56px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }

/* ==================== Utilities ==================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.bg-alt { background: var(--bg-alt); }
.gradient-green {
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 16px;
  border: none; text-align: center; transition: all var(--transition); text-decoration: none;
  line-height: 1.3; white-space: nowrap;
}
.btn-green { background: var(--green); color: #001515; }
.btn-green:hover { background: var(--green-hover); color: #001515; transform: translateY(-1px); box-shadow: var(--shadow-g); }
.btn-teal { background: var(--cta-grad); color: #001515; }
.btn-teal:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow-teal); }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-hover); color: #000; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--teal-bright); border: 1px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: #001515; }
.btn-lg { padding: 14px 32px; font-size: 18px; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ==================== Header ==================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0, 21, 21, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--max-w); margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 56px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.site-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex !important; list-style: none; gap: 20px; align-items: center;
  flex: 1; justify-content: center;
}
.nav-links a {
  color: var(--text-2); font-weight: 600; font-size: 15px;
  padding: 6px 0; position: relative; white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-bright); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--teal-bright); border-radius: 1px;
}
.nav-cta { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.nav-toggle {
  display: none; background: none; border: none; flex-direction: column;
  gap: 4px; padding: 4px; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

@media (max-width: 900px) {
  .nav-links {
    display: none !important; position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column; background: var(--bg-alt); padding: 12px 16px; gap: 8px;
    border-bottom: 1px solid var(--border); justify-content: flex-start; flex: none;
  }
  .nav-links.open { display: flex !important; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ==================== Hero ==================== */
.hero {
  position: relative; width: 100vw; margin-left: calc(-50vw + 50%);
  padding: 48px 24px; text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 230, 118, 0.06), transparent 50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; background: rgba(0, 255, 136, 0.1); color: var(--green);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  margin-bottom: 16px; border: 1px solid var(--border-green);
  text-transform: uppercase; letter-spacing: 0.5px; position: relative;
}
.hero h1 { font-size: var(--h1); font-weight: 900; margin-bottom: 12px; position: relative; }
.hero p { color: var(--text-2); font-size: clamp(16px, 2vw, 20px); max-width: 600px; margin: 0 auto 24px; position: relative; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.hero-stats { display: flex; gap: 32px; justify-content: center; margin-top: 32px; flex-wrap: wrap; position: relative; }
.hero-stat .num { font-size: 28px; font-weight: 900; color: var(--green); line-height: 1; }
.hero-stat .label { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ==================== Sections ==================== */
.section { padding: 48px 0; }
.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading h2 { font-size: var(--h2); margin-bottom: 8px; }
.section-heading p { color: var(--text-2); font-size: 17px; }
.section-divider { width: 48px; height: 3px; background: var(--cta-grad); margin: 12px auto 0; border-radius: 2px; }

/* ==================== Feature Grid ==================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--border-green); }
.feature-card .icon { font-size: 32px; margin-bottom: 10px; }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* ==================== Download Cards ==================== */
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; max-width: 640px; margin: 0 auto; }
.download-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; text-align: center; transition: border-color var(--transition);
}
.download-card:hover { border-color: var(--green); }
.download-card .platform-icon { font-size: 44px; margin-bottom: 10px; }
.download-card h3 { font-size: 20px; margin-bottom: 6px; }
.download-card .version { color: var(--text-3); font-size: 13px; margin-bottom: 4px; font-family: var(--font-mono); }
.download-card p { color: var(--text-2); font-size: 14px; margin-bottom: 16px; }

/* ==================== Steps ==================== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.step-card .step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #000;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px;
  margin: 0 auto 12px;
}
.step-card h3 { font-size: 17px; margin-bottom: 6px; }
.step-card p { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* ==================== Spec Table ==================== */
.spec-table-wrap { overflow-x: auto; max-width: 700px; margin: 0 auto; }
.spec-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.spec-table td { border: 1px solid var(--border); padding: 10px 14px; font-size: 15px; }
.spec-table tr td:first-child { background: var(--green); color: #000; font-weight: 700; width: 40%; }
.spec-table tr td:last-child { background: var(--bg-card); color: var(--text); }
@media (max-width: 600px) {
  .spec-table tr td:first-child { width: 45%; font-size: 13px; }
  .spec-table tr td:last-child { font-size: 13px; }
}

/* ==================== FAQ Accordion ==================== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; color: var(--text);
  font-size: 16px; font-weight: 600; text-align: left;
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit;
}
.faq-question .icon { color: var(--green); font-size: 24px; transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 20px 16px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ==================== CTA Banner ==================== */
.cta-banner {
  background: var(--bg-card); border: 1px solid var(--border-green);
  border-radius: var(--radius-lg); padding: 32px; text-align: center; max-width: 720px; margin: 0 auto;
}
.cta-banner h2 { font-size: var(--h2); margin-bottom: 8px; }
.cta-banner p { color: var(--text-2); margin: 8px auto 20px; max-width: 500px; }

/* ==================== Sticky Mobile Bar ==================== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(10, 14, 10, 0.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); padding: 10px 12px;
  display: none; gap: 8px; align-items: center; justify-content: center;
}
.sticky-bar .btn { flex: 1; max-width: 180px; }
@media (max-width: 768px) { .sticky-bar { display: flex; } body { padding-bottom: 64px; } }

/* ==================== Footer ==================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 32px 0 48px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--green); }
.footer-legal { color: var(--text-3); font-size: 13px; line-height: 1.6; max-width: 600px; margin-bottom: 8px; }
.footer-copy { color: var(--text-3); font-size: 12px; }

/* ==================== Payments Strip ==================== */
.payments-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 20px; }
.payments-strip .pay-item {
  background: #fff; border-radius: 4px; padding: 4px 10px;
  font-size: 12px; font-weight: 700; color: #333; line-height: 24px;
}

/* ==================== Scroll to top ==================== */
.scrolltop {
  position: fixed; bottom: 16px; right: 16px; width: 40px; height: 40px;
  background: var(--green); color: #000; border: none; border-radius: 50%;
  display: none; align-items: center; justify-content: center; font-size: 20px;
  cursor: pointer; z-index: 80; transition: var(--transition);
}
.scrolltop.visible { display: flex; }
.scrolltop:hover { background: var(--green-hover); }
@media (max-width: 768px) { .scrolltop { bottom: 72px; } }

/* ==================== Responsive ==================== */
@media (max-width: 600px) {
  :root { --font-size: 15px; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .label { font-size: 11px; }
  .section { padding: 32px 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

/* ==================== Print ==================== */
@media print {
  .site-header, .sticky-bar, .scrolltop, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==================== Responsive Pros/Cons ==================== */
@media (max-width: 600px) {
  .pros-cons { grid-template-columns: 1fr !important; }
}

/* ==================== Trust Score Badge (from indiabet.app) ==================== */
.trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border-teal);
  border-radius: var(--radius); padding: 12px 20px;
}
.trust-badge .score { font-size: 24px; font-weight: 900; color: var(--green); }
.trust-badge .max { font-size: 14px; color: var(--text-3); }
.trust-badge .label { font-size: 13px; color: var(--text-2); }

/* ==================== Game Marquee (from indiabet.app) ==================== */
.game-marquee {
  overflow: hidden; display: flex; gap: 12px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.game-marquee__track { display: flex; gap: 12px; animation: marquee 30s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.game-marquee__card {
  flex-shrink: 0; width: 140px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.game-marquee__card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.game-marquee__card .rtp {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.8); color: var(--green);
  font-size: 11px; text-align: center; padding: 4px;
  font-family: var(--font-mono);
}

/* ==================== Expert Profile (from indiabet.app) ==================== */
.expert-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.expert-card .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cta-grad); display: flex; align-items: center;
  justify-content: center; font-weight: 900; font-size: 22px; color: #001515; flex-shrink: 0;
}
.expert-card h3 { font-size: 16px; margin-bottom: 2px; }
.expert-card .role { font-size: 13px; color: var(--teal-bright); margin-bottom: 4px; }
.expert-card p { font-size: 14px; color: var(--text-2); line-height: 1.4; }