/* ============================================================
   GlobalPokerSites.com — Design System v3
   Outfit font · Premium editorial · Visual depth
   ============================================================ */

:root {
  --bg: #f5f5f4;
  --bg-white: #ffffff;
  --tx: #0a0a0a;
  --dm: #71717a;
  --br: #e4e4e7;
  --card: #ffffff;
  --hover: #f4f4f5;
  --ac: #18181b;
  --green: #16a34a;
  --red: #dc2626;
  --amber: #d97706;
  --blue: #2563eb;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1400px;
  --r: 12px;
  --rb: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tx);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .15s; }
ul, ol { list-style: none; }
button, select, input, textarea { font-family: var(--font); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
@media (min-width: 1200px) { .container { padding: 0 48px; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px;
  border-bottom: 1px solid var(--br);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
}
@media (min-width: 1200px) { .header { padding: 12px 48px; } }
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo:hover { opacity: 0.85; }
.logo-img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.logo-icon-wrapper, .logo-frame, .logo-ring, .logo-chip, .logo-center,
.logo-gloss, .logo-symbol, .logo-corner-suits, .corner-suit { display: none !important; }
.logo-text-wrapper { display: flex; flex-direction: column; gap: 0; }
.logo-text {
  font-size: 23px !important; font-weight: 800 !important; letter-spacing: -0.5px;
  color: var(--tx) !important; background: none !important;
  -webkit-background-clip: unset !important; -webkit-text-fill-color: var(--tx) !important;
  background-clip: unset !important; line-height: 1.1;
}
.logo-text .highlight {
  color: var(--tx) !important; background: none !important;
  -webkit-background-clip: unset !important; -webkit-text-fill-color: var(--tx) !important;
  background-clip: unset !important; font-weight: 800 !important;
}
.logo-tagline { display: none !important; }

.nav-menu { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 16px; font-weight: 600; color: var(--dm);
  padding: 10px 18px; border-radius: var(--rb); transition: all .15s;
}
.nav-link:hover, .nav-link.on { color: var(--tx); background: var(--hover); }
.dropdown-icon { font-size: 8px; transition: transform .2s; opacity: 0.5; }
.nav-item.dropdown-active .dropdown-icon { transform: rotate(180deg); }

/* Dropdowns */
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--bg); border: 1px solid var(--br); border-radius: var(--r);
  padding: 6px; min-width: 260px; max-width: 340px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1); opacity: 0; visibility: hidden;
  transform: translateY(-4px); transition: all .2s; z-index: 1100; list-style: none;
}
.nav-item.dropdown-active .dropdown-menu, .nav-item:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-item:nth-last-child(-n+2) .dropdown-menu { left: auto; right: 0; }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--tx); transition: background .12s;
}
.dropdown-item:hover { background: var(--hover); }
.dropdown-icon-wrapper { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.dropdown-item-logo { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--br); }
.dropdown-item-logo-placeholder { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.dropdown-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 14px; line-height: 1.3; }
.dropdown-item-external { font-size: 11px; color: var(--dm); opacity: 0.5; }
.dropdown-view-all {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; margin-top: 4px; border-top: 1px solid var(--br);
  font-size: 13px; font-weight: 700; color: var(--dm);
}
.dropdown-view-all:hover { color: var(--tx); }

/* Mobile menu */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1200; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--tx); border-radius: 2px; transition: all .2s; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--br);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06); flex-direction: column; padding: 12px; gap: 2px;
  }
  .nav-menu.active { display: flex; }
  .nav-link { width: 100%; padding: 12px 16px; }
  .dropdown-menu {
    position: static; box-shadow: none; border: none; padding: 0 0 0 16px;
    min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; background: transparent;
  }
  .nav-item.dropdown-active .dropdown-menu { display: block; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  background: var(--card); padding: 10px 28px; border-bottom: 1px solid var(--br);
  font-size: 13px; color: var(--dm); font-weight: 500;
}
@media (min-width: 1200px) { .breadcrumbs { padding: 10px 48px; } }
.breadcrumbs a { color: var(--dm); }
.breadcrumbs a:hover { color: var(--tx); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.4; }

/* ============================================================
   PAGE HEADERS — with optional dimmed background image
   ============================================================ */
.page-header {
  padding: 48px 28px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 50%, rgba(217,119,6,0.06) 0%, transparent 70%);
}
@media (min-width: 1200px) { .page-header { padding: 56px 48px; } }
.page-header-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.15; margin-bottom: 10px; }
.page-header p { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 650px; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.sec-label { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sec-label h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; white-space: nowrap; }
.sec-label .line { flex: 1; height: 1px; background: var(--br); }
.sec-label .count { font-size: 13px; color: var(--dm); font-weight: 600; white-space: nowrap; }

/* ============================================================
   SITE CARDS — premium with dark header stripe
   ============================================================ */
.sites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.site-card {
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 16px;
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.site-card:hover {
  box-shadow: 0 16px 44px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.site-card-inner { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }

/* Dark header strip inside card — logo sits here */
.site-card-top {
  background: linear-gradient(135deg, #27272a 0%, #3f3f46 100%);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.site-card-top::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(217,119,6,0.08) 0%, transparent 70%);
}
.site-card-top .site-logo {
  width: 56px; height: 56px; border-radius: 14px;
  background: #fff; border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.site-card-top .site-logo img { padding: 6px; border-radius: 14px; background: #fff; }
.site-card-top .site-info h3 { color: #fff; font-size: 20px; }
.site-card-top .site-rating .rating-value { background: #fbbf24; color: #18181b; font-weight: 800; }
.site-card-top .stars .star { color: #fbbf24; }
.site-card-top .featured-badge { color: #fbbf24; }
.site-card-top .badge { font-size: 10px; }

.site-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.site-rank {
  font-size: 11px; font-weight: 800; color: #fff;
  background: var(--ac); padding: 3px 10px; border-radius: 6px;
  letter-spacing: 0.5px;
}
.featured-badge { font-size: 11px; font-weight: 700; color: var(--amber); }

.site-logo-container { display: flex; gap: 16px; align-items: center; flex: 1; min-width: 0; }
.site-logo {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--br); position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.site-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; border-radius: 16px; }
.logo-placeholder { font-weight: 900; font-size: 18px; color: var(--dm); }
.site-info { flex: 1; min-width: 0; }
.site-info h3 { font-weight: 800; font-size: 20px; letter-spacing: -0.3px; margin-bottom: 4px; }
.site-rating { display: flex; align-items: center; gap: 8px; }
.rating-value {
  font-size: 15px; font-weight: 800;
  background: var(--ac); color: #fff;
  padding: 3px 10px; border-radius: 6px;
}
.stars { display: flex; gap: 1px; }
.star { color: var(--amber); font-size: 14px; }
.star-full { color: var(--amber); }
.star-half { color: var(--amber); opacity: 0.6; }
.star-empty { color: #d4d4d8; }

/* Badges */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; letter-spacing: 0.3px; }
.b-us, .badge-us { background: #dbeafe; color: #1d4ed8; }
.b-cr, .badge-crypto { background: #fef3c7; color: #92400e; }

/* US flag badge — real SVG flag */
.us-flag-badge {
  position: absolute; top: -6px; right: -6px;
  width: 30px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Crect width='7410' height='3900' fill='%23b22234'/%3E%3Cpath d='M0,450H7410M0,1350H7410M0,2250H7410M0,3150H7410' stroke='%23fff' stroke-width='300'/%3E%3Crect width='2964' height='2100' fill='%233c3b6e'/%3E%3Cg fill='%23fff'%3E%3Cg id='s18'%3E%3Cg id='s9'%3E%3Cg id='s5'%3E%3Cg id='s4'%3E%3Cpath id='s' d='M247,90 317,306 133,172 361,172 177,306z'/%3E%3Cuse href='%23s' x='494'/%3E%3Cuse href='%23s' x='988'/%3E%3Cuse href='%23s' x='1482'/%3E%3Cuse href='%23s' x='1976'/%3E%3C/g%3E%3Cuse href='%23s' x='2470'/%3E%3C/g%3E%3Cuse href='%23s5' y='420'/%3E%3Cuse href='%23s4' y='840'/%3E%3Cuse href='%23s5' y='1260'/%3E%3C/g%3E%3Cuse href='%23s9' y='1680'/%3E%3C/g%3E%3Cuse href='%23s18' x='247' y='210'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
  border-radius: 4px; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); z-index: 5;
}
.us-flag-badge .us-flag-text { display: none; }

/* Availability badges */
.availability-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 8px;
}
.availability-badge.allowed { background: #dcfce7; color: #166534; }
.availability-badge.blocked { background: #fee2e2; color: #991b1b; }
.availability-badge.us-friendly { background: #dbeafe; color: #1d4ed8; }

.site-description { font-size: 15px; color: var(--dm); line-height: 1.6; margin: 10px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.site-features { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.feature-item, .site-features span {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; padding: 5px 12px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; color: #166534; font-weight: 700;
}
.feature-icon { font-size: 11px; color: var(--green); font-weight: 800; }

.site-actions { display: flex; gap: 8px; margin-top: 14px; }

.site-bonus { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; color: var(--green); }
.site-meta { font-size: 13px; color: #a1a1aa; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-play, .btn-primary, .cta-primary {
  display: inline-block; padding: 12px 26px;
  background: var(--ac); color: #fff; border-radius: var(--rb);
  font-size: 15px; font-weight: 700; letter-spacing: -0.2px;
  transition: all .2s; border: none; cursor: pointer; text-align: center;
}
.btn-play:hover, .btn-primary:hover, .cta-primary:hover {
  background: #27272a; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.btn-review, .btn-secondary, .cta-secondary {
  display: inline-block; padding: 12px 26px;
  background: var(--bg); color: var(--tx); border: 1px solid var(--br);
  border-radius: var(--rb); font-size: 15px; font-weight: 700;
  letter-spacing: -0.2px; transition: all .15s; cursor: pointer; text-align: center;
}
.btn-review:hover, .btn-secondary:hover, .cta-secondary:hover { border-color: #b4b4b4; background: var(--hover); }

.view-all-btn, .view-all-btn-gold {
  display: inline-block; padding: 14px 36px;
  background: var(--ac); color: #fff; border-radius: var(--rb);
  font-size: 15px; font-weight: 700; transition: all .2s;
}
.view-all-btn:hover, .view-all-btn-gold:hover { background: #27272a; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  padding: 40px 28px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(37,99,235,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 85% 50%, rgba(217,119,6,0.08) 0%, transparent 60%);
}
@media (min-width: 1200px) { .hero { padding: 48px; } }
.hero-in { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 32px; position: relative; z-index: 1; }
.hero-logo {
  width: 88px; height: 88px; border-radius: 18px; flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.15);
  object-fit: contain; padding: 8px; background: rgba(255,255,255,0.95);
}
.hero-text { flex: 1; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 10px;
}
.hero-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e80; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -0.8px; margin-bottom: 10px; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 620px; }
.hero-stats { display: flex; gap: 12px; flex-shrink: 0; }
.stat-box {
  text-align: center; padding: 18px 24px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; min-width: 90px; backdrop-filter: blur(8px);
  border-top: 2px solid #fbbf24;
}
.stat-box .num { font-size: 36px; font-weight: 900; letter-spacing: -0.5px; line-height: 1; color: #fff; }
.stat-box .lbl { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); margin-top: 6px; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   ARTICLE CARDS (dimmed image bg)
   ============================================================ */
.articles-grid, .arts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.article-card, .ac {
  position: relative; border-radius: 16px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end;
}
.ac .ac-bg {
  position: absolute; inset: 0; transition: all .5s ease;
  background-size: cover; background-position: center; filter: brightness(0.3) saturate(0.7);
}
.ac:hover .ac-bg { transform: scale(1.08); filter: brightness(0.4) saturate(0.9); }
.ac-content { position: relative; z-index: 2; padding: 22px; color: #fff; }
.ac-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); padding: 5px 14px; border-radius: 6px; margin-bottom: 10px;
}
.ac-cat.hot { background: rgba(220,38,38,0.75); }
.ac h3, .ac-title { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-ex { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 300; }
.ac-date { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; font-weight: 500; }

/* Article card white variant */
.article-card-premium {
  background: var(--card); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--br); transition: all .25s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.article-card-premium:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.08); transform: translateY(-4px); }
.article-image-wrapper { position: relative; width: 100%; height: 200px; overflow: hidden; background: var(--card); }
.article-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card-premium:hover .article-image-wrapper img { transform: scale(1.06); }
.article-category-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95); padding: 4px 12px; border-radius: 6px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; z-index: 5; color: var(--tx);
}
.article-content-wrapper { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-title-premium { font-size: 18px; font-weight: 800; margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-excerpt-premium { font-size: 14px; color: var(--dm); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-meta-premium { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--br); font-size: 12px; color: #a1a1aa; font-weight: 500; }

/* ============================================================
   BOTTOM SECTION (Apps | Tools | Clubs)
   ============================================================ */
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.bottom-grid h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.app-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--br); align-items: center; text-decoration: none; color: inherit; }
.app-row:hover { background: var(--hover); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; }
.app-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.app-ico img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.tool-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--br); align-items: center; }
.tool-ico { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.club-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--br); font-size: 16px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  margin-top: 48px; padding: 44px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  border-radius: 20px; display: flex; align-items: center; gap: 32px; color: #fff;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 70%);
}
.cta-text { flex: 1; position: relative; z-index: 1; }
.cta-text h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 8px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.cta-btns { display: flex; gap: 10px; flex-shrink: 0; position: relative; z-index: 1; }
.cta-band .cta-primary { background: #fff; color: var(--ac); }
.cta-band .cta-primary:hover { background: #f4f4f5; }
.cta-band .cta-secondary { border-color: rgba(255,255,255,0.2); color: #fff; background: transparent; }
.cta-band .cta-secondary:hover { background: rgba(255,255,255,0.08); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--br); background: var(--ac); color: rgba(255,255,255,0.7); padding: 48px 28px; }
@media (min-width: 1200px) { .footer { padding: 48px; } }
.footer-content { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-section h4 { font-size: 17px; font-weight: 800; margin-bottom: 14px; color: #fff; }
.footer-section p { font-size: 15px; line-height: 1.7; max-width: 300px; }
.footer-section a { display: block; font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.footer-section a:hover { color: #fff; }
.footer-bottom { max-width: var(--max-w); margin: 28px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.35); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filters { background: var(--bg); padding: 16px 20px; border: 1px solid var(--br); border-radius: var(--r); margin-bottom: 24px; }
.filter-compact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label-inline { font-size: 14px; font-weight: 700; color: var(--dm); }
.filter-select-compact, .filter-select {
  padding: 10px 34px 10px 14px; background: var(--bg); border: 1px solid var(--br);
  border-radius: var(--rb); font-size: 15px; font-weight: 600; color: var(--tx);
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; min-width: 140px; font-family: var(--font);
}
.filter-select-compact:hover { border-color: #b4b4b4; }
.filter-select-compact:focus { outline: none; border-color: var(--ac); }
.filter-reset { padding: 10px 18px; background: var(--hover); border: none; border-radius: var(--rb); font-size: 14px; font-weight: 700; color: var(--dm); cursor: pointer; font-family: var(--font); }
.filter-reset:hover { background: #e4e4e7; color: var(--tx); }

.filter-form .filter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 20px; }
.filter-group label { display: block; font-size: 11px; font-weight: 700; color: var(--dm); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.filter-actions { display: flex; gap: 12px; padding-top: 16px; border-top: 1px solid var(--br); }
.btn-filter { flex: 1; padding: 14px 24px; border-radius: var(--rb); font-weight: 700; font-size: 15px; border: none; cursor: pointer; font-family: var(--font); }
.btn-filter-primary { background: var(--ac); color: #fff; }
.btn-filter-primary:hover { background: #27272a; }

/* ============================================================
   REVIEW PAGE
   ============================================================ */
.review-page { background: var(--bg); min-height: 100vh; }
.review-container { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 28px; }

.review-nav {
  position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto;
  background: var(--card); border: 1px solid var(--br); border-radius: var(--r); padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.review-nav h3 { font-size: 11px; font-weight: 800; color: var(--dm); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--br); }
.review-nav .nav-item {
  display: block; padding: 10px 14px; color: var(--dm); text-decoration: none;
  border-radius: 8px; font-size: 14px; font-weight: 600; transition: all .15s;
  margin-bottom: 2px; border-left: 3px solid transparent;
}
.review-nav .nav-item:hover { color: var(--tx); background: var(--hover); }
.review-nav .nav-item.active { color: var(--tx); background: var(--hover); font-weight: 700; border-left-color: var(--ac); }

.review-content { background: var(--card); border: 1px solid var(--br); border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.review-hero {
  background: linear-gradient(135deg, #27272a 0%, #3f3f46 100%);
  padding: 28px 36px; color: #fff; position: relative; overflow: hidden;
}
.review-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(217,119,6,0.06) 0%, transparent 70%);
}
.review-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; line-height: 1.15; position: relative; z-index: 1; }
.review-hero h1 .site-name { color: #fff; }
.review-rating-summary {
  margin-top: 16px; padding: 20px 24px; background: #fff; color: var(--tx);
  border-radius: 16px; display: inline-block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2); position: relative; z-index: 1;
}
.overall-score-number { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -2px; color: var(--tx); }
.overall-score-label { font-size: 14px; color: var(--dm); margin-top: 4px; }
.site-logo-large {
  width: 100px; height: 100px; background: #fff;
  border: none; border-radius: 20px; padding: 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.site-logo-large img { width: 100%; height: 100%; object-fit: contain; }

.review-section { padding: 28px 36px; border-bottom: 1px solid var(--br); }
.review-section:last-child { border-bottom: none; }
.section-title {
  font-size: 24px; font-weight: 800; color: var(--tx); margin-bottom: 20px; letter-spacing: -0.3px;
  padding-bottom: 12px; border-bottom: 2px solid var(--br); display: inline-block;
}
.section-content { color: #3f3f46; line-height: 1.8; font-size: 16px; }
.section-content p { margin-bottom: 16px; }
.section-content h2, .section-content h3 { font-weight: 700; margin-top: 24px; margin-bottom: 12px; }
.section-content ul, .section-content ol { margin: 16px 0; padding-left: 24px; }
.section-content li { margin-bottom: 8px; line-height: 1.7; }
.section-content a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.section-content-inner { max-width: 800px; }
.section-content-inner ul, .section-content-inner ol { padding-left: 20px; }

/* Score heatmap */
.review-score-box { margin: 20px 0; }
.score-grid { display: flex; flex-direction: column; gap: 12px; }
.score-item { display: grid; grid-template-columns: 170px 65px 1fr; gap: 14px; align-items: center; padding: 8px 0; text-decoration: none; color: inherit; }
.score-label { font-size: 15px; font-weight: 700; }
.rating-value-number { font-size: 15px; font-weight: 800; text-align: right; }
.rating-bar-container { height: 10px; background: var(--hover); border-radius: 5px; overflow: hidden; }
.rating-bar { height: 100%; border-radius: 5px; transition: width .6s ease; }
.rating-bar.rating-high { background: linear-gradient(90deg, #16a34a, #22c55e); }
.rating-bar.rating-mid { background: linear-gradient(90deg, #d97706, #f59e0b); }
.rating-bar.rating-low { background: linear-gradient(90deg, #dc2626, #ef4444); }

/* Pros & Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pros-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--r); padding: 28px; }
.cons-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--r); padding: 28px; }
.pros-box h3 { color: var(--green); font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.cons-box h3 { color: var(--red); font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.pros-list, .cons-list { list-style: none; padding: 0; }
.pros-list li, .cons-list li { padding: 12px 0 12px 30px; position: relative; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 15px; line-height: 1.6; font-weight: 500; }
.pros-list li:last-child, .cons-list li:last-child { border-bottom: none; }
.pros-list li::before { content: '✓'; position: absolute; left: 0; top: 12px; color: var(--green); font-weight: 800; font-size: 15px; }
.cons-list li::before { content: '✗'; position: absolute; left: 0; top: 12px; color: var(--red); font-weight: 800; font-size: 15px; }

/* Final verdict */
.final-verdict { background: linear-gradient(135deg, #18181b 0%, #27272a 100%); color: #fff; padding: 44px; position: relative; overflow: hidden; }
.final-verdict::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.06) 0%, transparent 70%); }
.final-verdict h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; position: relative; z-index: 1; }
.final-verdict p { font-size: 16px; line-height: 1.8; opacity: 0.9; position: relative; z-index: 1; }
.final-verdict a { color: #fbbf24; font-weight: 700; }
.final-verdict-content { max-width: 800px; position: relative; z-index: 1; }

/* ============================================================
   ARTICLE VIEW
   ============================================================ */
.article-page { background: var(--bg); min-height: 100vh; }
.article-hero {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  padding: 36px 28px; color: #fff; position: relative; overflow: hidden;
}
.article-hero.article-hero-has-img {
  min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0;
}
.article-hero.article-hero-has-img .article-hero-inner {
  padding: 32px 36px 36px;
}
.article-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 30%, rgba(217,119,6,0.06) 0%, transparent 70%); }
.article-hero.article-hero-has-img::before { display: none; }
@media (min-width: 1200px) {
  .article-hero { padding: 44px 48px; }
  .article-hero.article-hero-has-img { padding: 0; }
  .article-hero.article-hero-has-img .article-hero-inner { padding: 36px 48px 44px; }
}
.article-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(2.5px) brightness(0.5) saturate(0.7);
  transform: scale(1.05);
}
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.12) 55%, transparent 100%);
}
.article-hero-dots {
  position: absolute; inset: 0; z-index: 1;
  background-size: 12px 12px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.article-hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.35) 100%);
}
.article-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 3; }
.article-hero h1 {
  font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 14px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.35);
}
.article-hero-cat {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(0,0,0,0.35); padding: 4px 12px; border-radius: 6px;
  color: rgba(255,255,255,0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.article-hero-excerpt {
  font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.6;
  margin-bottom: 16px; max-width: 620px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 3px 12px rgba(0,0,0,0.3);
}
.article-meta {
  display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 3px 10px rgba(0,0,0,0.3);
}
.meta-item { display: flex; align-items: center; gap: 6px; }
.back-button {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85); text-decoration: none; border-radius: var(--rb);
  font-weight: 600; margin-bottom: 16px; font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.back-button:hover { background: rgba(0,0,0,0.5); color: #fff; }

.article-layout { max-width: 1200px; margin: 28px auto 0; padding: 0 28px; display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.article-main { background: var(--card); border: 1px solid var(--br); border-radius: var(--r); overflow: hidden; min-width: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.article-featured-img { display: none; }

.article-content { padding: 36px; }
.article-content p { font-size: 17px; line-height: 1.85; color: #3f3f46; margin-bottom: 18px; }
.article-content h2 { font-size: 26px; font-weight: 800; color: var(--tx); margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--br); }
.article-content h3 { font-size: 21px; font-weight: 700; color: var(--tx); margin: 28px 0 12px; }
.article-content h4 { font-size: 18px; font-weight: 700; color: #52525b; margin: 22px 0 10px; }
.article-content ul, .article-content ol { margin: 20px 0; padding-left: 28px; }
.article-content li { font-size: 16px; line-height: 1.8; color: #3f3f46; margin-bottom: 10px; }
.article-content a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.article-content a:hover { color: var(--amber); }
.article-content blockquote { border-left: 4px solid var(--ac); background: var(--card); padding: 16px 22px; margin: 24px 0; border-radius: 0 var(--rb) var(--rb) 0; font-style: italic; color: var(--dm); }
.article-content code { background: #27272a; color: #22c55e; padding: 2px 8px; border-radius: 4px; font-size: 0.88em; }
.article-content pre { background: #27272a; color: #22c55e; padding: 18px; border-radius: var(--rb); overflow-x: auto; margin: 22px 0; font-size: 0.88rem; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--rb); margin: 24px 0; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article-content th { background: var(--ac); color: #fff; padding: 12px 16px; text-align: left; font-weight: 700; }
.article-content td { padding: 12px 16px; border-bottom: 1px solid var(--br); }
.article-content tr:hover td { background: var(--card); }

/* ============================================================
   SIDEBAR (dark)
   ============================================================ */
.article-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-widget { background: #1e293b; border-radius: var(--r); overflow: hidden; }
.sidebar-widget-header { background: #0f172a; padding: 14px 18px; border-bottom: 1px solid rgba(251,191,36,0.15); display: flex; align-items: center; gap: 8px; }
.sidebar-widget-header h3 { font-size: 12px; font-weight: 700; color: #fbbf24; text-transform: uppercase; letter-spacing: 0.8px; margin: 0; }
.sidebar-widget-body { padding: 14px; }

#toc-widget { display: none; }
#toc-list { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(251,191,36,0.4) transparent; }
#toc-list::-webkit-scrollbar { width: 4px; }
#toc-list::-webkit-scrollbar-thumb { background: rgba(251,191,36,0.4); border-radius: 2px; }
#toc-list a { display: block; padding: 8px 12px; font-size: 13px; line-height: 1.4; color: #94a3b8; text-decoration: none; border-radius: 6px; border-left: 2px solid transparent; }
#toc-list a:hover { color: #e2e8f0; background: rgba(255,255,255,0.05); }
#toc-list a.toc-active { color: #fbbf24; border-left-color: #fbbf24; background: rgba(251,191,36,0.08); font-weight: 600; }
#toc-list li.toc-h3 a { padding-left: 24px; font-size: 12px; }

.top-sites-list { display: flex; flex-direction: column; gap: 2px; }
.top-site-row { display: grid; grid-template-columns: 24px 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 8px; }
.top-site-row:hover { background: rgba(255,255,255,0.04); }
.top-site-row + .top-site-row { border-top: 1px solid rgba(255,255,255,0.05); }
.top-site-rank { font-size: 12px; font-weight: 800; color: #64748b; text-align: center; }
.top-site-rank.rank-1 { color: #fbbf24; }
.top-site-rank.rank-2 { color: #94a3b8; }
.top-site-rank.rank-3 { color: #b45309; }
.top-site-logo { width: 44px; height: 32px; object-fit: contain; border-radius: 6px; background: rgba(255,255,255,0.08); padding: 3px; }
.top-site-info { min-width: 0; }
.top-site-name { font-size: 14px; font-weight: 700; color: #e2e8f0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-site-stars { display: flex; align-items: center; gap: 2px; margin-top: 2px; }
.top-site-stars .star { font-size: 11px; color: #fbbf24; }
.top-site-stars .star.empty { color: #334155; }
.top-site-actions { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.btn-visit { display: inline-block; background: #fbbf24; color: #0f172a; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 6px; text-decoration: none; }
.btn-visit:hover { opacity: 0.85; }
.btn-review-link { font-size: 11px; color: #64748b; text-decoration: none; }
.btn-review-link:hover { color: #94a3b8; text-decoration: underline; }

/* Related articles/reviews */
.related-articles-section { max-width: 1200px; margin: 36px auto 0; padding: 0 28px; }
.related-articles-heading { font-size: 22px; font-weight: 800; color: var(--tx); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.related-articles-heading::after { content: ''; flex: 1; height: 1px; background: var(--br); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: var(--bg); border: 1px solid var(--br); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: all .25s; }
.related-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.related-card-image { width: 100%; height: 140px; object-fit: cover; }
.related-card-placeholder { width: 100%; height: 140px; background: var(--card); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--dm); }
.related-card-body { padding: 16px; }
.related-card-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card-meta { font-size: 12px; color: #a1a1aa; }

.related-reviews { max-width: var(--max-w); margin: 36px auto 0; padding: 0 28px; }
.related-reviews-heading { font-size: 22px; font-weight: 800; color: var(--tx); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.related-reviews-heading::after { content: ''; flex: 1; height: 1px; background: var(--br); }
.related-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.related-review-card { background: var(--card); border: 1px solid var(--br); border-radius: var(--r); padding: 18px; text-decoration: none; color: inherit; transition: all .25s; display: flex; align-items: center; gap: 16px; }
.related-review-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.related-review-logo { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: var(--bg); padding: 6px; flex-shrink: 0; border: 1px solid var(--br); }
.related-review-logo-placeholder { width: 52px; height: 52px; border-radius: 12px; background: var(--hover); display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--dm); flex-shrink: 0; }
.related-review-info { flex: 1; min-width: 0; }
.related-review-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.related-review-rating { font-size: 14px; color: var(--amber); font-weight: 700; }
.related-review-arrow { font-size: 16px; color: #a1a1aa; flex-shrink: 0; transition: transform .15s; }
.related-review-card:hover .related-review-arrow { transform: translateX(4px); color: var(--tx); }

/* ============================================================
   SEO CONTENT BLOCK
   ============================================================ */
.seo-content-block { max-width: var(--max-w); margin: 0 auto 40px; padding: 36px; background: var(--card); border: 1px solid var(--br); border-radius: var(--r); color: #3f3f46; line-height: 1.8; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.seo-content-block h2 { font-size: 24px; font-weight: 800; color: var(--tx); margin-bottom: 16px; margin-top: 36px; }
.seo-content-block h2:first-child { margin-top: 0; }
.seo-content-block h3 { font-size: 20px; font-weight: 700; color: var(--tx); margin-bottom: 10px; margin-top: 28px; }
.seo-content-block p { margin-bottom: 16px; font-size: 16px; }
.seo-content-block ul, .seo-content-block ol { margin-bottom: 16px; padding-left: 24px; list-style: disc; }
.seo-content-block li { margin-bottom: 8px; font-size: 16px; }
.seo-content-block a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { margin: 36px 0 24px; max-width: 860px; }
.faq-heading { font-size: 22px; font-weight: 800; color: var(--tx); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--br); }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border: 1px solid var(--br); border-radius: var(--rb); overflow: hidden; background: var(--bg); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--bg); border: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--tx); text-align: left; font-family: var(--font); }
.faq-question:hover { background: var(--card); }
.faq-question[aria-expanded="true"] { background: var(--card); }
.faq-icon { font-size: 18px; color: var(--dm); flex-shrink: 0; }
.faq-answer { border-top: 1px solid var(--br); padding: 16px 18px; font-size: 15px; color: #3f3f46; line-height: 1.7; }
.faq-answer-inner p { margin: 0 0 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner a { color: var(--blue); text-decoration: underline; }

/* ============================================================
   CONTACT / LEGAL / 404 / APPS / CLUBS / TOOLS
   ============================================================ */
.contact-layout { max-width: 900px; margin: 0 auto; padding: 28px; display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.contact-form { background: var(--card); border: 1px solid var(--br); border-radius: var(--r); padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: var(--dm); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--br); border-radius: var(--rb); font-size: 16px; color: var(--tx); background: var(--bg); margin-bottom: 16px; font-family: var(--font); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ac); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-info { background: var(--card); border: 1px solid var(--br); border-radius: var(--r); padding: 28px; align-self: start; }
.contact-info h3 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.contact-info p { font-size: 15px; color: var(--dm); line-height: 1.7; margin-bottom: 12px; }

.legal-content { max-width: 760px; margin: 36px auto; padding: 0 28px; line-height: 1.8; font-size: 16px; color: #3f3f46; }
.legal-content h1 { font-size: 32px; font-weight: 800; margin-bottom: 24px; }
.legal-content h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 14px 0; padding-left: 24px; list-style: disc; }
.legal-content a { color: var(--blue); text-decoration: underline; }

.error-page { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.error-container { text-align: center; max-width: 500px; }
.error-code { font-size: 120px; font-weight: 900; line-height: 1; color: var(--br); letter-spacing: -4px; margin-bottom: 12px; }
.error-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.error-message { font-size: 16px; color: var(--dm); margin-bottom: 28px; line-height: 1.6; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 28px; }
.app-card { background: var(--card); border: 1px solid var(--br); border-radius: 16px; padding: 28px; text-decoration: none; color: inherit; transition: all .25s; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.app-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.08); transform: translateY(-4px); }
.app-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: var(--ac); color: #fff; border-radius: var(--rb); font-weight: 700; font-size: 15px; }
.app-btn:hover { background: #27272a; }

.clubs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.club-card { background: var(--card); border: 1px solid var(--br); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: all .25s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.club-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.08); transform: translateY(-4px); }
.club-card-image { width: 100%; height: 180px; object-fit: cover; }
.club-card-body { padding: 22px; }
.club-card-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.club-card-body p { font-size: 15px; color: var(--dm); line-height: 1.6; }

.club-hero { position: relative; padding: 80px 28px; background: var(--ac); color: #fff; overflow: hidden; }
.club-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.25); }
.club-hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; }

.app-hero { padding: 44px 28px; background: var(--card); border-bottom: 1px solid var(--br); }
.app-logo-large { width: 140px; height: 140px; border-radius: 24px; object-fit: contain; border: 1px solid var(--br); padding: 16px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tool-card { background: var(--card); border: 1px solid var(--br); border-radius: 16px; overflow: hidden; transition: all .25s; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.tool-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.08); transform: translateY(-4px); }
.tool-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.tool-card p { font-size: 15px; color: var(--dm); line-height: 1.6; margin-bottom: 14px; }
.tool-card-image { width: 100%; height: 180px; object-fit: contain; background: var(--card); border-bottom: 1px solid var(--br); }

/* Smart content typography */
.article-content > * + *, .section-content > * + *, .section-content-inner > * + *,
.club-review-body > * + *, .app-review-content > * + * { margin-top: 1em; }

/* Notification */
.notification { position: fixed; top: 20px; right: 20px; background: white; padding: 14px 18px; border-radius: var(--rb); box-shadow: 0 12px 36px rgba(0,0,0,0.15); z-index: 9999; display: flex; align-items: center; gap: 10px; min-width: 280px; transform: translateX(400px); transition: transform .3s; border-left: 3px solid; font-size: 14px; }
.notification.notification-show { transform: translateX(0); }
.notification.notification-hide { transform: translateX(400px); opacity: 0; }
.notification-success { border-left-color: var(--green); background: #f0fdf4; }
.notification-error { border-left-color: var(--red); background: #fef2f2; }
.notification-warning { border-left-color: var(--amber); background: #fffbeb; }
.notification-info { border-left-color: var(--blue); background: #eff6ff; }
.notification-icon { font-size: 18px; }
.notification-text { flex: 1; color: var(--tx); font-weight: 600; }
.notification-close { border: none; background: none; font-size: 18px; cursor: pointer; color: #a1a1aa; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
.site-card[data-idx="9"], .site-card[data-idx="10"], .site-card[data-idx="11"] { display: none; }
@media (max-width: 1200px) {
  .sites-grid { grid-template-columns: repeat(2, 1fr); }
  .site-card[data-idx="8"] { display: none; }
  .articles-grid, .arts { grid-template-columns: repeat(3, 1fr); }
  .ac[data-aidx="6"], .ac[data-aidx="7"] { display: none; }
}
@media (max-width: 900px) {
  .articles-grid, .arts { grid-template-columns: repeat(2, 1fr); }
  .ac[data-aidx="6"], .ac[data-aidx="7"] { display: flex; }
  .bottom-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .hero-in { flex-direction: column; text-align: center; }
  .hero p { margin: 0 auto; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-band { flex-direction: column; text-align: center; padding: 32px 24px; gap: 20px; }
  .cta-btns { justify-content: center; }
  .review-container { grid-template-columns: 1fr; }
  .review-nav {
    position: static; max-height: none;
    display: flex; gap: 6px; flex-wrap: wrap; padding: 14px;
    margin-bottom: 12px;
  }
  .review-nav h3 { display: none; }
  .review-nav .nav-item {
    padding: 6px 14px; font-size: 13px; margin-bottom: 0;
    border-left: none; border: 1px solid var(--br); border-radius: 20px;
    white-space: nowrap;
  }
  .review-nav .nav-item.active { background: var(--ac); color: #fff; border-color: var(--ac); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .sidebar-widget { flex: 1 1 260px; }
  .contact-layout { grid-template-columns: 1fr; }
  .related-grid, .related-reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sites-grid { grid-template-columns: 1fr; }
  .site-card[data-idx="6"], .site-card[data-idx="7"] { display: none; }
  .articles-grid, .arts { grid-template-columns: 1fr; }
  .ac[data-aidx="4"], .ac[data-aidx="5"], .ac[data-aidx="6"], .ac[data-aidx="7"] { display: none; }
  .footer-content { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .hero { padding: 28px 20px; }
  .hero h1 { font-size: 30px; }
  .page-header { padding: 32px 20px; }
  .page-header h1 { font-size: 26px; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-primary, .cta-secondary { text-align: center; width: 100%; }
  .filter-compact { flex-direction: column; align-items: stretch; }
  .filter-select-compact { width: 100%; }
  .filter-form .filter-grid { grid-template-columns: 1fr; }
  .related-grid, .related-reviews-grid { grid-template-columns: 1fr; }
  .article-sidebar { flex-direction: column; }
  .article-hero { padding: 24px 20px; }
  .article-hero.article-hero-has-img { padding: 0; min-height: 320px; }
  .article-hero.article-hero-has-img .article-hero-inner { padding: 24px 20px 28px; }
  .article-hero h1 { font-size: 26px; }
  .article-hero-excerpt { font-size: 14px; }
  .article-content { padding: 24px; }
  .review-hero { padding: 28px 20px; }
  .review-hero h1 { font-size: 26px; }
  .review-section { padding: 28px 20px; }
  .score-item { grid-template-columns: 1fr 50px 80px; }
  .error-code { font-size: 80px; }
}

/* Bridge page */
.bridge-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--card); }
.bridge-container { text-align: center; max-width: 420px; padding: 40px; }
.bridge-spinner { width: 40px; height: 40px; border: 3px solid var(--br); border-top-color: var(--ac); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.bridge-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.bridge-message { font-size: 16px; color: var(--dm); margin-bottom: 20px; }
.bridge-link { font-size: 14px; color: var(--dm); }
.bridge-link a { color: var(--ac); text-decoration: underline; }

@media print {
  .header, .footer, .sidebar-widget, .review-nav, .cta-band, .mobile-menu-toggle { display: none !important; }
  body { font-size: 12pt; }
  .article-layout, .review-container { grid-template-columns: 1fr; }
}


/* ============================================================
   MARQUEE STRIP — Homepage logo ticker
   ============================================================ */
.marquee-strip {
  background: #18181b;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, #18181b, transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(90deg, transparent, #18181b); }

.marquee-track {
  display: flex;
  animation: marquee-scroll 55s linear infinite;
  width: max-content;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mq-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
  opacity: 0.8;
}
.mq-item:hover { opacity: 1; }

.mq-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.mq-logo img { width: 26px; height: 26px; object-fit: contain; }
.mq-club-logo img { width: 36px; height: 36px; object-fit: cover; border-radius: 9px; }

.mq-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.mq-item:hover .mq-name { color: #fff; }

.mq-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}
.mq-site { background: rgba(251,191,36,0.15); color: #fbbf24; }
.mq-app  { background: rgba(59,130,246,0.15); color: #60a5fa; }
.mq-club { background: rgba(22,163,98,0.15); color: #4ade80; }

.mq-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  margin: 0 6px;
  align-self: center;
}

/* ============================================================
   CONTENT + SIDEBAR GRID — responsive
   ============================================================ */
.content-sidebar-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.content-sidebar-grid.narrow-sidebar {
  grid-template-columns: 1fr 300px;
}
@media (max-width: 900px) {
  .content-sidebar-grid,
  .content-sidebar-grid.narrow-sidebar {
    grid-template-columns: 1fr;
  }
  .content-sidebar-grid > aside {
    position: static !important;
  }
}

/* ============================================================
   GEO-BLOCKED BUTTON STATE
   Rendered as a <span> with class "btn-geo-blocked <originalClass>"
   Uses the same base sizing/padding/font of the underlying button
   class (.btn-play, .sc-btn-play, etc) but overrides background,
   border, cursor and hover behaviour so it reads as inert.
   ============================================================ */
.btn-geo-blocked,
.btn-geo-blocked.btn-play,
.btn-geo-blocked.btn-primary,
.btn-geo-blocked.sc-btn,
.btn-geo-blocked.sc-btn-play {
  background: #e4e4e7 !important;
  color: #71717a !important;
  border: 1px solid #d4d4d8 !important;
  cursor: not-allowed !important;
  text-decoration: none !important;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  user-select: none;
  pointer-events: auto;
  /* Preserve the padding/font inherited from the paired class — */
  /* we only override the visual state, not layout. */
}

.btn-geo-blocked:hover,
.btn-geo-blocked:focus,
.btn-geo-blocked:active {
  background: #e4e4e7 !important;
  color: #71717a !important;
  border-color: #d4d4d8 !important;
  transform: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.btn-geo-blocked .btn-geo-blocked-lock {
  font-size: 0.85em;
  line-height: 1;
  opacity: 0.7;
  margin-right: 2px;
}
