@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────────── */
:root {
  --green:       #00b862;
  --green-dark:  #009a52;
  --primary:     #0d1f15;
  --bg:          #f4f6f4;
  --card:        #ffffff;
  --text:        #111a14;
  --muted:       #556b5e;
  --border:      #dde8e2;
  --gold:        #e0a000;
  --radius:      12px;
  --font-head:   'Syne', Georgia, serif;
  --font-body:   'DM Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
strong, b { font-weight: 600; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ── NAV ──────────────────────────────────────────────────────── */
nav {
  background: var(--primary);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 20px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 21px;
  color: var(--green);
  padding: 14px 0; margin-right: 28px;
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo em { color: #fff; font-style: normal; }
.nav-logo a { color: inherit; }

.nav-group { position: relative; }
.nav-group > a {
  display: block; padding: 15px 13px;
  color: rgba(255,255,255,.78);
  font-size: 13px; font-weight: 500;
  transition: color .15s; white-space: nowrap;
}
.nav-group:hover > a { color: var(--green); }

.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 6px;
  min-width: 200px; z-index: 300;
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  grid-template-columns: 1fr 1fr;
}
.nav-group:hover .dropdown { display: grid; }
.dropdown a {
  display: block; padding: 7px 10px;
  font-size: 13px; color: var(--text);
  border-radius: 7px; transition: background .12s;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--bg); color: var(--green); }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero { background: var(--primary); padding: 44px 20px 42px; }
.hero-inner { max-width: 1180px; margin: 0 auto; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }

.tag {
  display: inline-block;
  background: rgba(0,184,98,.18); border: 1px solid rgba(0,184,98,.32);
  color: var(--green); font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 50px; margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 14px;
}
.hero-sub {
  color: rgba(255,255,255,.65); font-size: 15px;
  max-width: 740px; line-height: 1.7; margin-bottom: 18px;
}
.author-row { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  color: var(--primary); flex-shrink: 0;
}
.author-row .name { color: #fff; font-size: 13px; font-weight: 600; display: block; }
.author-row .date { color: rgba(255,255,255,.45); font-size: 12px; display: block; }

/* ── WRAPPER ──────────────────────────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── BOOKMAKER CARDS ──────────────────────────────────────────── */
.bm-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 10px;
  display: grid; grid-template-columns: 40px 72px 1fr auto auto auto;
  align-items: center; gap: 16px;
  transition: box-shadow .18s, transform .18s;
}
.bm-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); transform: translateY(-1px); }
.bm-card.no1 { border: 2px solid var(--green); background: linear-gradient(135deg,#fff 0%,#f0faf5 100%); }

.rank-num { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: #b0c4b8; }
.bm-card.no1 .rank-num { color: var(--green); }

.bm-logo {
  width: 64px; height: 36px; background: var(--bg); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 12px;
  color: var(--primary); flex-shrink: 0;
}
.bm-name {
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px;
}
.bm-bonus { font-size: 13px; color: var(--muted); }
.bm-feats { display: flex; flex-direction: column; gap: 4px; }
.bm-feats span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.bm-feats span::before { content: '✓'; color: var(--green); font-weight: 700; }
.bm-score { text-align: center; min-width: 56px; }
.score-big { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--primary); display: block; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 1px; display: block; }
.bm-cta { display: flex; flex-direction: column; gap: 7px; min-width: 114px; }

/* ── BADGES ───────────────────────────────────────────────────── */
.badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.b-top { background: rgba(0,184,98,.13); color: #007a40; }
.b-new { background: rgba(37,99,235,.13); color: #1d4ed8; }
.b-pop { background: rgba(234,88,12,.13); color: #c2410c; }

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-block; text-align: center; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; font-size: 13px; transition: all .18s; cursor: pointer;
  border: none; font-family: var(--font-body);
}
.btn-g { background: var(--green); color: #fff; }
.btn-g:hover { background: var(--green-dark); }
.btn-o { background: transparent; color: var(--green); border: 1px solid var(--green); }
.btn-o:hover { background: rgba(0,184,98,.07); }

/* ── TOC ──────────────────────────────────────────────────────── */
.toc {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin: 28px 0 20px;
}
.toc h3 { font-family: var(--font-head); font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--primary); }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.toc li a { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; transition: color .13s; padding: 2px 0; }
.toc li a:hover { color: var(--green); }
.toc-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); font-size: 11px; font-weight: 700;
  color: var(--muted); flex-shrink: 0;
}

/* ── QUICK STATS GRID ─────────────────────────────────────────── */
.qs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
.qs-cell {
  background: var(--card); padding: 14px 16px;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.qs-label { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.qs-val { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); line-height: 1.3; }

/* ── SCORE BAND ───────────────────────────────────────────────── */
.score-band {
  background: var(--primary); border-radius: 10px; padding: 18px 22px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.score-band .label { color: rgba(255,255,255,.55); font-size: 12px; margin-bottom: 4px; }
.score-band .verdict { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; max-width: 480px; }
.score-band .num { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--green); white-space: nowrap; line-height: 1; }
.score-band sup { font-size: 16px; color: rgba(255,255,255,.35); font-weight: 400; }

/* ── RATING ROWS ──────────────────────────────────────────────── */
.ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-bottom: 22px; }
.r-row { display: flex; flex-direction: column; gap: 5px; }
.r-label { font-size: 12px; color: var(--muted); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.r-label span:last-child { font-weight: 700; color: var(--text); }
.r-bar { background: var(--bg); height: 5px; border-radius: 3px; overflow: hidden; }
.r-fill { height: 100%; background: var(--green); border-radius: 3px; }

/* ── PROS / CONS ──────────────────────────────────────────────── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pros { background: #f0faf5; border: 1px solid #b7dfc8; border-radius: 9px; padding: 16px; }
.cons { background: #fff5f5; border: 1px solid #f5c0c0; border-radius: 9px; padding: 16px; }
.pros h4 { color: #166534; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.cons h4 { color: #991b1b; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pros li, .cons li { font-size: 13px; line-height: 1.5; display: flex; gap: 7px; align-items: flex-start; }
.pros li::before { content: '+'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.cons li::before { content: '–'; color: #dc2626; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── CONTENT SECTIONS ─────────────────────────────────────────── */
.section {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 30px; margin-bottom: 16px;
}
.section h2 { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--primary); margin-bottom: 14px; line-height: 1.3; }
.section h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.section p { line-height: 1.75; color: var(--text); }

/* ── STEPS ────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; margin-top: 8px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step h4 { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 5px; color: var(--text); }
.step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ── CODE PROMO BOX ───────────────────────────────────────────── */
.promo-box {
  border: 2px dashed var(--green); border-radius: 10px; background: #f0faf5;
  padding: 20px 24px; margin: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.promo-code { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--primary); letter-spacing: 3px; }
.promo-detail { font-size: 13px; color: var(--muted); margin-top: 4px; }
.copy-btn {
  background: var(--green); color: #fff; border: none; border-radius: 8px;
  padding: 11px 22px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .15s; font-family: var(--font-body);
}
.copy-btn:hover { background: var(--green-dark); }

/* ── BONUS TABLE ──────────────────────────────────────────────── */
.bonus-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.bonus-table th {
  background: var(--bg); text-align: left; padding: 10px 14px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--border);
}
.bonus-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.bonus-table tr:last-child td { border-bottom: none; }
.bonus-table tbody tr:hover td { background: #fafcfa; }
.code-pill {
  display: inline-block; background: var(--primary); color: var(--green);
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  padding: 3px 9px; border-radius: 5px; letter-spacing: 1px;
}

/* ── COMPARE TABLE ────────────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.compare-table th { background: var(--primary); color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; }
.compare-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(odd) td { background: #fafcfa; }
.yes { color: var(--green); font-weight: 700; }
.no  { color: #dc2626; font-weight: 700; }

/* ── APK CARD ─────────────────────────────────────────────────── */
.apk-card {
  background: var(--primary); border-radius: 12px; padding: 24px 28px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.apk-info h2 { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 8px; }
.apk-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.apk-meta span { color: rgba(255,255,255,.55); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.apk-meta strong { color: rgba(255,255,255,.9); }
.apk-badges { display: flex; gap: 8px; margin-top: 12px; }
.os-badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 4px 12px; color: rgba(255,255,255,.8); font-size: 12px; font-weight: 600; }

/* ── SPECS TABLE ──────────────────────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 11px 0; vertical-align: top; }
.specs-table td:first-child { color: var(--muted); width: 42%; font-weight: 500; padding-right: 16px; }

/* ── CRITERIA GRID ────────────────────────────────────────────── */
.criteria-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 14px; margin-top: 18px; }
.crit-card { border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.crit-num { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--green); margin-bottom: 7px; }
.crit-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.crit-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── PAYMENT GRID ─────────────────────────────────────────────── */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 12px; margin-top: 16px; }
.pay-card { border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; background: var(--card); }
.pay-icon { font-size: 26px; margin-bottom: 8px; display: block; }
.pay-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.pay-card p { font-size: 12px; color: var(--muted); margin: 0; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; margin-bottom: 8px; }
.faq-q {
  padding: 14px 18px; font-weight: 600; font-size: 14px;
  cursor: pointer; background: var(--card); color: var(--text);
  display: flex; justify-content: space-between; align-items: center; line-height: 1.4;
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--green); line-height: 1; flex-shrink: 0; margin-left: 12px; }
.faq-a { padding: 0 18px 14px; font-size: 14px; line-height: 1.75; color: var(--muted); background: var(--card); margin: 0; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer { background: var(--primary); color: rgba(255,255,255,.65); padding: 44px 20px 22px; margin-top: 60px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.f-brand .logo { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--green); margin-bottom: 10px; display: block; }
.f-brand .logo em { color: #fff; font-style: normal; }
.f-brand .logo a { color: inherit; }
.f-brand p { font-size: 13px; line-height: 1.65; max-width: 260px; }
.f-col h4 { color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.f-col li a { font-size: 13px; transition: color .13s; }
.f-col li a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.age-pill { background: rgba(255,255,255,.1); border-radius: 5px; padding: 2px 9px; font-weight: 700; color: #fff; font-size: 12px; display: inline-block; margin-right: 8px; }
.footer-bottom a { color: rgba(255,255,255,.45); margin-left: 14px; transition: color .13s; }
.footer-bottom a:hover { color: var(--green); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ratings { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .score-band { flex-direction: column; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .criteria-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bm-card { grid-template-columns: 32px 1fr auto; grid-template-rows: auto auto; gap: 8px; }
  .bm-logo, .bm-feats, .bm-score { display: none; }
  .bm-cta { flex-direction: row; grid-column: 1/-1; }
  .btn-o { display: none; }
  .apk-card { flex-direction: column; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
  .section { padding: 20px; }
  .toc { padding: 16px 18px; }
  .promo-box { flex-direction: column; gap: 12px; }
  .promo-code { font-size: 22px; }
  .hero h1 { font-size: 22px; }
  .dropdown { grid-template-columns: 1fr; }
  .qs-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 40px 1fr; }
}
