/*
Theme Name: 8Xbet Review Theme
Theme URI: http://localhost:8080/8xbet2
Description: Light review & editorial theme cho 8Xbet – Nhà Cái Uy Tín Hàng Đầu Châu Á 2026
Version: 1.0.0
Text Domain: 8xbet-review-theme
*/

/* ============================================================
   VARIABLES & RESET — Light / Bright Design
   ============================================================ */
:root {
  --primary:      #0D3B6E;
  --primary-mid:  #1B6AB0;
  --primary-lt:   #3A90D4;
  --primary-xlt:  #D0E8F8;
  --gold:         #F5C518;
  --gold-dark:    #D4A510;
  --bg:           #F4F7FC;
  --bg-card:      #FFFFFF;
  --bg-section:   #EEF3FB;
  --text:         #0D1B2A;
  --text-muted:   #4A6A8A;
  --border:       #D0E4F5;
  --shadow:       0 4px 24px rgba(13,59,110,0.10);
  --radius:       10px;
  --font:         'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--primary-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.home-section {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 20px;
}

/* ── Section Headers ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  background: var(--primary-xlt);
  border: 1px solid var(--border);
  color: var(--primary-mid);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 10px;
}
.section-title span { color: var(--gold-dark); }
.section-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary) !important;
  font-weight: 800;
  font-size: .92rem;
  padding: 13px 28px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 4px 18px rgba(245,197,24,.35);
  text-decoration: none;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); color: var(--primary) !important; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary-mid) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: 24px;
  border: 2px solid var(--primary-mid);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--primary-mid);
  color: #fff !important;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-navy:hover { background: var(--primary-mid); color: #fff !important; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13,59,110,.14);
}

/* ── Magazine Posts Grid ─────────────────────────────────── */
.mgz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mgz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mgz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(13,59,110,.13);
  border-color: var(--primary-mid);
}
.mgz-card-img { width: 100%; height: 170px; object-fit: cover; display: block; flex-shrink: 0; }
.mgz-no-img {
  width: 100%;
  height: 170px;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
  flex-shrink: 0;
}
.mgz-card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.mgz-cat-chip {
  background: var(--primary-xlt);
  color: var(--primary-mid);
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  display: inline-block;
  margin-bottom: 8px;
}
.mgz-card-title { flex: 1; }
.mgz-card-title a {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  display: block;
  margin-bottom: 6px;
  transition: color .2s;
}
.mgz-card-title a:hover { color: var(--primary-mid); }
.mgz-rtime {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 10px;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  max-width: 1200px;
  margin: 12px auto 0;
  padding: 0 20px;
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); font-size: .7rem; }

/* ── Single Post ─────────────────────────────────────────── */
.single-wrap {
  max-width: 820px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.single-header { margin-bottom: 30px; }
.single-cat {
  background: var(--primary-xlt);
  color: var(--primary-mid);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.single-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 14px;
}
.single-meta {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.single-thumb {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 32px;
}
.single-content { color: var(--text); line-height: 1.8; font-size: .95rem; }
.single-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 36px 0 14px;
  border-left: 3px solid var(--primary-mid);
  padding-left: 14px;
}
.single-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary-mid); margin: 28px 0 10px; }
.single-content p { margin-bottom: 18px; }
.single-content ul, .single-content ol { margin: 0 0 18px 24px; }
.single-content li { margin-bottom: 6px; }
.single-content strong { color: var(--primary); }
.single-content a { color: var(--primary-mid); border-bottom: 1px solid var(--border); }
.single-content a:hover { color: var(--primary); }
.single-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .88rem; }
.single-content th {
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
}
.single-content td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.single-content tr:nth-child(even) td { background: var(--bg-section); }
.single-content blockquote {
  border-left: 3px solid var(--primary-mid);
  padding: 14px 20px;
  background: var(--primary-xlt);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Related / Archive ───────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.related-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.related-card:hover {
  border-color: var(--primary-mid);
  transform: translateY(-3px);
}
.archive-wrap {
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--primary-mid);
  border-color: var(--primary-mid);
  color: #fff;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  border-top: 3px solid var(--gold);
  padding: 56px 20px 28px;
  margin-top: 40px;
  color: #cfe4f5;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo-8   { color: #fff; }
.footer-logo-x   { color: var(--gold); font-style: italic; }
.footer-logo-bet { color: #a8d4f8; font-size: 1.5rem; font-weight: 700; }
.footer-desc { font-size: .83rem; color: #a8d4f8; line-height: 1.65; margin-bottom: 16px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.25);
  color: #a8d4f8;
  text-transform: uppercase;
}
.footer-col h4 {
  font-size: .82rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .83rem; color: #a8d4f8; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }

/* Footer trust row */
.footer-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin: 28px 0 24px;
  flex-wrap: wrap;
}
.footer-trust-section { display: flex; flex-direction: column; gap: 10px; }
.footer-trust-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #7aabcc;
  margin: 0;
}
.footer-mancity-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 10px 16px;
}
.mancity-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.mancity-text { display: flex; flex-direction: column; gap: 2px; }
.mancity-label { font-size: .65rem; color: #7aabcc; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.mancity-name { font-size: .9rem; font-weight: 800; color: #fff; white-space: nowrap; }

/* Payment icons */
.footer-payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.fpay {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,.12);
}
.fpay-vcb  { background:#006341; color:#fff; }
.fpay-bidv { background:#1a4a9a; color:#fff; }
.fpay-mb   { background:#d4001e; color:#fff; }
.fpay-tcb  { background:#e31837; color:#fff; }
.fpay-momo { background:#a50064; color:#fff; }
.fpay-zalo { background:#0068ff; color:#fff; }
.fpay-vnpay{ background:#0064c8; color:#fff; }
.fpay-usdt { background:#26a17b; color:#fff; }

/* Social links */
.footer-social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.fsoc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  transition: opacity .2s;
  text-decoration: none;
}
.fsoc:hover { opacity: .8; }
.fsoc-tg   { background: #229ed9; color: #fff; }
.fsoc-fb   { background: #1877f2; color: #fff; }
.fsoc-yt   { background: #ff0000; color: #fff; }
.fsoc-zalo { background: #0068ff; color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #a8d4f8;
}
.footer-disclaimer {
  margin-top: 20px;
  font-size: .75rem;
  color: #7aabcc;
  line-height: 1.55;
  padding: 12px 16px;
  background: rgba(0,0,0,.15);
  border-radius: 8px;
}

/* ── Mobile 5-Tab Bottom Nav ─────────────────────────────── */
@keyframes pulseGold {
  0%,100% { box-shadow: 0 0 0 3px var(--bg), 0 0 22px rgba(245,197,24,.65), 0 6px 18px rgba(0,0,0,.25); }
  50%      { box-shadow: 0 0 0 3px var(--bg), 0 0 36px rgba(245,197,24,.95), 0 6px 22px rgba(0,0,0,.35); }
}
.xbet-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  display: flex;
  align-items: stretch;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(13,59,110,.14);
  height: 62px;
}
.xbet-bottom-nav::after {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-lt) 45%, var(--gold) 55%, var(--primary-lt) 100%);
  pointer-events: none;
}
.xbet-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #8aabcc;
  transition: color .2s, background .2s;
  padding: 6px 2px;
}
.xbet-tab:hover, .xbet-tab:focus { color: var(--primary-mid); background: var(--primary-xlt); }
.xbet-tab-icon  { font-size: 1.25rem; line-height: 1; }
.xbet-tab-label { font-size: .62rem; font-weight: 700; white-space: nowrap; color: inherit; }
.xbet-tab:last-child { color: var(--primary-mid); }
.xbet-tab:last-child .xbet-tab-label {
  background: var(--primary-xlt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2px 8px;
  margin-top: 1px;
}
.xbet-tab-center {
  position: relative;
  flex: 1.2;
  margin-top: -10px;
}
.xbet-tab-center::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 62px; height: 62px;
  background: linear-gradient(150deg, #ffe259 0%, #f5c518 40%, #d4920a 100%);
  border-radius: 50%;
  animation: pulseGold 2.2s ease-in-out infinite;
  z-index: 0;
}
.xbet-tab-center .xbet-tab-icon {
  position: relative; z-index: 1;
  font-size: 1.5rem;
  margin-top: 2px;
}
.xbet-tab-center .xbet-tab-label {
  position: relative; z-index: 1;
  color: var(--primary);
  font-weight: 900;
  font-size: .65rem;
  letter-spacing: .3px;
}

/* Scroll-to-top */
#scrollTop {
  position: fixed;
  bottom: 72px; right: 16px;
  width: 40px; height: 40px;
  background: var(--primary-mid);
  color: #fff; border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem;
  display: none; z-index: 900;
  box-shadow: 0 4px 12px rgba(13,59,110,.25);
  transition: background .2s;
}
#scrollTop:hover { background: var(--primary); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mgz-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mgz-grid      { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .archive-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .single-thumb  { height: 220px; }
  .footer-trust  { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (min-width: 901px) {
  .hide-desktop { display: none !important; }
  #scrollTop    { bottom: 24px; right: 24px; }
}
@media (max-width: 900px) {
  body { padding-bottom: 64px; }
}

/* ══════════════════════════════════════════════════════════
   COMPONENT STYLES (extracted from template-parts)
   ══════════════════════════════════════════════════════════ */

/* ── header.php — Top Bar & Navigation ── */
/* ── Top Bar ── */
#xbet-r-topbar {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 0 20px;
  font-size: .78rem;
  color: #cfe4f5;
  position: relative;
}
.xbet-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}
.xbet-topbar-left { color: #a8d4f8; }
.xbet-topbar-sep  { opacity: .4; }
.xbet-topbar-cta  {
  background: var(--gold);
  color: var(--primary) !important;
  font-weight: 800;
  font-size: .72rem;
  padding: 3px 12px;
  border-radius: 12px;
  white-space: nowrap;
  transition: opacity .2s;
  text-decoration: none;
}
.xbet-topbar-cta:hover { opacity: .85; }
.xbet-topbar-close {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  color: #a8d4f8;
  cursor: pointer;
  font-size: .85rem;
  padding: 4px 8px;
  opacity: .7;
  transition: opacity .2s;
}
.xbet-topbar-close:hover { opacity: 1; }
@media(max-width:640px) {
  .xbet-topbar-left, .xbet-topbar-sep { display: none; }
}

/* ── Logo ── */
.site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -1px;
  line-height: 1;
}
.logo-8      { color: var(--primary); }
.logo-x      { color: var(--primary-mid); font-style: italic; }
.logo-bet    { color: var(--primary-lt); font-size: 1.4rem; font-weight: 700; letter-spacing: 0; }
.logo-review {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  letter-spacing: .4px;
  text-transform: uppercase;
  align-self: center;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(13,59,110,.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-nav { display: flex; gap: 2px; align-items: center; }
.site-nav-link {
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
}
.site-nav-link:hover { color: var(--primary); background: var(--primary-xlt); }
.header-cta {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark)) !important;
  color: var(--primary) !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(245,197,24,.4);
  margin-left: 6px;
}
.header-cta:hover { background: var(--gold-dark) !important; }

/* ── Dropdown ── */
.nav-has-dd { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(13,59,110,.12);
}
.nav-has-dd:hover .nav-dropdown { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: .84rem;
  transition: background .15s;
  text-decoration: none;
}
.nav-dropdown a:hover { background: var(--bg-section); color: var(--primary); }
.nav-dropdown a span { display: flex; flex-direction: column; }
.nav-dropdown a small { font-size: .71rem; color: var(--text-muted); margin-top: 1px; font-weight: 400; }

/* ── Mobile toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.4rem;
  padding: 4px 10px;
}
@media(max-width:900px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(13,59,110,.1);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-dropdown { position: static; border: none; padding: 4px 0 4px 16px; box-shadow: none; }
  .nav-has-dd:hover .nav-dropdown { display: none; }
  .nav-has-dd.open .nav-dropdown { display: flex; }
}

/* ── review-hero ── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: start;
}
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-xlt);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: .85rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-sapo {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 600px;
}
.hero-verdicts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.verdict-badge {
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.verdict-green {
  background: #e8f8ee;
  color: #1a7a40;
  border: 1px solid #a8e0bc;
}
.hero-live-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.live-dot {
  width: 9px; height: 9px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.35); }
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Score card */
.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.score-card-header {
  background: var(--primary);
  padding: 28px 24px 20px;
  text-align: center;
}
.score-card-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.score-big-circle {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  background: rgba(255,255,255,.12);
  border: 3px solid var(--gold);
  border-radius: 50%;
  width: 100px; height: 100px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.score-big-num  { font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.score-big-denom{ font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.7); }
.score-stars    { font-size: 1.1rem; margin-bottom: 6px; }

.score-breakdown { padding: 20px 22px; }
.score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.score-row-label { font-size: .82rem; color: var(--text); min-width: 120px; font-weight: 600; }
.score-bar-wrap  { flex: 1; height: 7px; background: var(--bg-section); border-radius: 4px; overflow: hidden; }
.score-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--primary-mid), var(--primary-lt)); border-radius: 4px; }
.score-row-val   { font-size: .82rem; font-weight: 800; color: var(--primary); min-width: 28px; text-align: right; }

@media(max-width:900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { max-width: 440px; margin: 0 auto; width: 100%; }
}

/* ── review-bonuses ── */
.bonus-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.bonus-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.bonus-gold   { border-top: 3px solid var(--gold); }
.bonus-blue   { border-top: 3px solid var(--primary-mid); }
.bonus-purple { border-top: 3px solid #7c3aed; }
.bonus-green  { border-top: 3px solid #16a34a; }

.bonus-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.bonus-icon { font-size: 2rem; flex-shrink: 0; }
.bonus-type { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 3px; }
.bonus-value{ font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.bonus-badge {
  position: absolute; top: 14px; right: 16px;
  font-size: .62rem; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .4px;
}
.bonus-card-body { padding: 16px 20px 20px; }
.bonus-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.6; }
.bonus-conditions { display: flex; flex-direction: column; gap: 5px; }
.bonus-conditions li { font-size: .82rem; color: var(--text); }

@media(max-width:768px) {
  .bonus-cards-grid { grid-template-columns: 1fr; }
}

/* ── review-pros-cons ── */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pros-box, .cons-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pros-cons-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
}
.pros-header { background: #e8f8ee; border-bottom: 1px solid #a8e0bc; }
.cons-header { background: #fef3e2; border-bottom: 1px solid #f5d68a; }
.pros-header h3 { color: #1a7a40; font-size: 1rem; font-weight: 800; margin: 0; }
.cons-header h3 { color: #92540a; font-size: 1rem; font-weight: 800; margin: 0; }
.pros-cons-icon { font-size: 1.4rem; }
.pros-cons-list { padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.pros-cons-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pci-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.pci-content { display: flex; flex-direction: column; gap: 2px; }
.pci-content strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.pci-content span   { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.verdict-summary {
  margin: 0 22px 20px;
  background: var(--primary-xlt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .84rem;
  color: var(--primary);
  line-height: 1.55;
}
.verdict-summary strong { color: var(--primary); display: block; margin-bottom: 4px; }
@media(max-width:768px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}

/* ── review-game-cats ── */
.game-cats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  box-shadow: var(--shadow);
}
.game-cat-card:hover {
  border-color: var(--primary-mid);
  box-shadow: 0 4px 20px rgba(13,59,110,.12);
  transform: translateX(4px);
}
.gcc-icon  { font-size: 2rem; flex-shrink: 0; width: 48px; text-align: center; }
.gcc-body  { flex: 1; min-width: 0; }
.gcc-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.gcc-name  { font-size: .95rem; font-weight: 800; color: var(--text); }
.gcc-badge {
  font-size: .62rem;
  font-weight: 800;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.gcc-desc  { font-size: .8rem; color: var(--text-muted); }
.gcc-meta  { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.gcc-count { font-size: .82rem; font-weight: 700; color: var(--primary); }
.gcc-rtp   { font-size: .72rem; color: var(--text-muted); white-space: nowrap; }
.gcc-arrow { font-size: 1.1rem; color: var(--primary-lt); flex-shrink: 0; transition: transform .2s; }
.game-cat-card:hover .gcc-arrow { transform: translateX(4px); }

/* ── review-app-section ── */
.app-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.app-platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-android { border-top: 3px solid #22c55e; }
.app-ios     { border-top: 3px solid var(--primary-mid); }

.app-platform-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.app-os-icon  { font-size: 2rem; flex-shrink: 0; }
.app-os-name  { font-size: 1rem; font-weight: 800; color: var(--primary); margin: 0 0 4px; }
.app-rating   { font-size: .75rem; color: var(--text-muted); }
.app-rating span { font-weight: 700; color: var(--text); }
.app-os-badge {
  position: absolute; top: 0; right: 0;
  font-size: .65rem; font-weight: 800;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase;
}
.app-features {
  display: flex; flex-direction: column; gap: 7px;
}
.app-features li { font-size: .85rem; color: var(--text); }

.app-steps { background: var(--bg-section); border-radius: 8px; padding: 12px 16px; }
.app-steps-title { font-size: .78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }
.app-steps ol { margin-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.app-steps li { font-size: .82rem; color: var(--text); }

.app-bonus-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary-xlt), #e8f4ff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.app-bonus-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  flex-wrap: wrap;
}
.app-bonus-inner div { flex: 1; min-width: 200px; }
.app-bonus-inner strong { display: block; font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.app-bonus-inner p { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

@media(max-width:768px) {
  .app-section-grid { grid-template-columns: 1fr; }
  .app-bonus-banner { grid-column: 1; }
}

/* ── review-payment ── */
.payment-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.payment-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: .88rem;
}
.payment-table thead tr { background: var(--primary); }
.payment-table th {
  padding: 13px 16px;
  text-align: left;
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}
.payment-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.payment-table tbody tr:last-child td { border-bottom: none; }
.payment-table tbody tr:hover td { background: var(--bg-section); }
.payment-row-highlight td { background: var(--primary-xlt); }
.payment-row-highlight:hover td { background: #c4dff5 !important; }

.pm-icon   { margin-right: 8px; font-size: 1.1rem; }
.pm-badge  {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-size: .62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.pm-amount   { font-weight: 700; color: var(--primary); }
.pm-time     { font-weight: 600; color: var(--text-muted); }
.pm-time-fast{ color: #16a34a; font-weight: 700; }
.pm-fee      { font-weight: 600; color: var(--text-muted); }
.pm-fee-free { color: #16a34a; font-weight: 700; }

.payment-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.pstat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pstat-val   { display: block; font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.pstat-label { display: block; font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

@media(max-width:600px) {
  .payment-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── review-faq ── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--primary-mid); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.faq-q-text {
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  flex: 1;
}
.faq-chevron {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary-lt);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .3s;
}
.faq-item.open .faq-chevron { transform: rotate(45deg); color: var(--primary); }
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer-inner strong { color: var(--text); }

@media(max-width:768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── review-final-cta ── */
.fcta-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  overflow: hidden;
}
.fcta-stat {
  padding: 14px 28px;
  text-align: center;
}
.fcta-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.fcta-stat span {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.fcta-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}
@media(max-width:640px) {
  .fcta-stats { flex-wrap: wrap; }
  .fcta-stat-div { display: none; }
  .fcta-stat { padding: 12px 20px; }
}

/* ── Page Content (page.php) ─────────────────────────────── */
.page-content { color: var(--text); line-height: 1.85; font-size: .93rem; }
.page-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--primary-mid);
}
.page-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 22px 0 8px;
}
.page-content p  { margin-bottom: 16px; }
.page-content ul,
.page-content ol { margin: 0 0 16px 22px; }
.page-content li { margin-bottom: 6px; line-height: 1.65; }
.page-content strong { color: var(--heading); font-weight: 700; }
.page-content a  { color: var(--primary-mid); border-bottom: 1px solid var(--border); transition: color .15s; }
.page-content a:hover { color: var(--primary); border-color: var(--primary); }
.page-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .87rem; }
.page-content th {
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-size: .82rem;
}
.page-content td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.page-content tr:nth-child(even) td { background: var(--bg-section); }
.page-content blockquote {
  border-left: 3px solid var(--primary-mid);
  padding: 12px 18px;
  background: var(--primary-xlt);
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  color: var(--text-muted);
  font-style: italic;
}
/* Related posts grid in page.php */
.page-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media(max-width:900px) {
  .page-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:500px) {
  .page-related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .page-content table { font-size: .8rem; display: block; overflow-x: auto; }
}

/* ── FAQ — dl/dt/dd accordion cards (page + single posts) ───────────────── */
.single-content dl,
.page-content dl {
  margin: 28px 0;
  counter-reset: faq-counter;
}
.single-content dt,
.page-content dt {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: #fff;
  padding: 13px 18px 13px 50px;
  font-weight: 800;
  font-size: .92rem;
  line-height: 1.45;
  border-radius: 10px 10px 0 0;
  position: relative;
  margin-top: 14px;
  counter-increment: faq-counter;
}
.single-content dt:first-of-type,
.page-content dt:first-of-type { margin-top: 0; }
.single-content dt::before,
.page-content dt::before {
  content: counter(faq-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}
.single-content dd,
.page-content dd {
  background: var(--primary-xlt);
  color: var(--text);
  padding: 13px 18px 15px 50px;
  margin: 0;
  border-radius: 0 0 10px 10px;
  border: 1px solid var(--border);
  border-top: none;
  font-size: .88rem;
  line-height: 1.72;
}
.single-content dd::before,
.page-content dd::before {
  content: '💬 ';
  font-size: .82rem;
}
@media(max-width:500px) {
  .page-content dt, .page-content dd { padding-left: 40px; }
  .page-content dt::before { left: 10px; width: 20px; height: 20px; font-size: .7rem; }
}

/* ── review-rating-bar ── */
.rating-bar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.rbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.rbar-item:last-child { border-right: none; }
.rbar-icon  { font-size: 1.3rem; line-height: 1; }
.rbar-val   { font-size: .95rem; font-weight: 900; color: var(--gold); white-space: nowrap; }
.rbar-label { font-size: .68rem; color: rgba(255,255,255,.7); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
@media(max-width:768px) {
  .rating-bar-grid { grid-template-columns: repeat(3, 1fr); }
  .rbar-item:nth-child(3) { border-right: none; }
}
@media(max-width:480px) {
  .rating-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .rbar-item:nth-child(2n) { border-right: none; }
  .rbar-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); }
}
