/* === CLEAN CONVERT DESIGN SYSTEM === */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E5E7EB;
  --text: #111827;
  --text-muted: #6B7280;
  --accent: #16A34A;
  --accent2: #DC2626;
  --gold: #D97706;
  --shadow: 0 1px 3px rgba(0,0,0,.10);
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* === NAV === */
.site-header {
  background: #0f172a;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.site-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: #cbd5e1; font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none !important;
  transition: background 0.2s;
}
.nav-cta-btn:hover { background: #15803d; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }

/* BASE — скрыт на десктопе */
.mobile-nav { display: none; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .mobile-nav {
    background: #1e293b;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    color: #e2e8f0;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    display: block;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,0.2);
  border: 1px solid rgba(22,163,74,0.4);
  color: #86efac;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.hero h1 { color: #f1f5f9; margin-bottom: 16px; }
.hero-desc { color: #e2e8f0; font-size: 1.1rem; max-width: 720px; margin-bottom: 28px; line-height: 1.7; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  min-width: 110px;
}
.stat-card .stat-num { font-size: 1.4rem; font-weight: 800; color: #4ade80; display: block; }
.stat-card .stat-label { font-size: 0.75rem; color: #94a3b8; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-primary {
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(22,163,74,0.4);
  animation: pulse-green 2.5s infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,163,74,0.5); text-decoration: none; }
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #f1f5f9;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); text-decoration: none; }
.btn-microtext { font-size: 0.72rem; opacity: 0.7; display: block; margin-top: 4px; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 14px rgba(22,163,74,0.4); }
  50% { box-shadow: 0 4px 22px rgba(22,163,74,0.7); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Hero Author Block */
.hero-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.hero-author-meta { display: flex; flex-direction: column; gap: 2px; }
.hero-author-name { font-size: 0.85rem; font-weight: 600; color: #f1f5f9; }
.hero-author-name a { color: #f1f5f9; text-decoration: none; }
.hero-author-role, .hero-pub-date { font-size: 0.75rem; color: #94a3b8; }

/* Trust strip */
.trust-strip {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  padding: 12px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #166534;
}

/* === VITRINA === */
.vitrina-section { padding: 60px 0; background: var(--bg-alt); }
.section-title { font-size: 1.7rem; margin-bottom: 8px; }
.section-subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }
.casino-list { display: flex; flex-direction: column; gap: 16px; }
.casino-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 40px 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.casino-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.casino-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 20px rgba(22,163,74,0.15);
  background: linear-gradient(to right, #f0fdf4, #fff);
}
.card-rank {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}
.casino-card.featured .card-rank { color: var(--accent); }
.card-icon {
  width: 72px;
  height: 56px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.card-info h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.card-info .card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0369a1;
}
.card-badge.green { background: #dcfce7; color: #166534; }
.card-badge.gold { background: #fef3c7; color: #92400e; }
.card-bonus { text-align: center; min-width: 140px; }
.bonus-amount { font-size: 1.1rem; font-weight: 800; color: var(--accent); display: block; }
.bonus-label { font-size: 0.72rem; color: var(--text-muted); }
.card-cta { min-width: 140px; }
.card-cta .btn-card {
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.2s;
}
.card-cta .btn-card:hover { transform: translateY(-1px); text-decoration: none; }
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.hidden-cards { display: none; }
.hidden-cards.visible { display: flex; flex-direction: column; gap: 16px; }
.show-more-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0;
  padding: 14px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.show-more-btn:hover { background: var(--accent); color: #fff; }
.trust-stars { color: var(--gold); font-size: 0.85rem; margin-top: 4px; }
.card-tc { font-size: 0.68rem; color: var(--text-muted); text-align: center; margin-top: 4px; }

/* === CONTENT SECTIONS === */
.content-section { padding: 60px 0; }
.content-section h2 { color: var(--text); margin-bottom: 1rem; }
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.info-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent); }
.info-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* === FS (Featured Snippet) Elements === */
.fs-paragraph {
  background: #f0fdf4;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0 24px;
  font-size: 0.95rem;
  color: #166534;
}
.fs-list {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 20px 20px 36px;
  margin: 16px 0 24px;
}
.fs-list li { margin-bottom: 8px; font-size: 0.95rem; }
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
table.fs-table { width: 100%; border-collapse: collapse; }
table.fs-table th {
  background: #0f172a;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
}
table.fs-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
table.fs-table tr:last-child td { border-bottom: none; }
table.fs-table tr:nth-child(even) td { background: var(--bg-alt); }
.check { color: var(--accent); font-weight: 700; }
.cross { color: var(--accent2); font-weight: 700; }

/* === H2 BANNERS === */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-top: 1.5rem;
  overflow: hidden;
  line-height: 0;
}
.h2-banner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center center;
}
@media (max-width: 767px) {
  .h2-banner-img {
    aspect-ratio: 1 / 1;
    object-position: center top;
  }
}
.h2-banner-wrap figcaption {
  font-size: 11px;
  color: #6b7280;
  background: transparent;
  text-align: right;
  padding: 4px 8px 0;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 2rem;
}

/* === AUTHOR + E-E-A-T === */
.author-section { padding: 50px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.author-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent);
}
.author-details h3 { font-size: 1.15rem; margin-bottom: 4px; }
.author-title-tag { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; display: block; }
.author-meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.author-meta-item { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.author-bio { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }
.author-name { font-weight: 700; color: var(--text); }

/* === REVIEWED BY SECTION === */
.reviewed-by-section { padding: 50px 0; background: var(--bg); }
.reviewed-by-header { margin-bottom: 24px; }
.reviewed-by-label { font-size: 1rem; font-weight: 700; color: #166534; }
.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reviewer-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 20px;
}
.reviewer-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #16A34A; flex-shrink: 0; }
.reviewer-name { font-weight: 700; font-size: 0.95rem; }
.reviewer-role { font-size: 0.78rem; color: var(--text-muted); }
.reviewer-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.reviewer-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 8px; }
.reviewer-quote { font-size: 0.88rem; color: var(--text-muted); font-style: italic; line-height: 1.55; }
@media (max-width: 768px) {
  .reviewed-by-cards { grid-template-columns: 1fr; }
}

/* === METHODOLOGY === */
.methodology-section { padding: 50px 0; background: var(--bg-alt); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.method-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 18px; }
.method-icon { font-size: 1.5rem; margin-bottom: 8px; }
.method-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.method-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* === FAQ === */
.faq-section { padding: 60px 0; background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg);
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon { font-size: 1.2rem; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* === STICKY CTA === */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  padding: 12px 16px;
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sticky-cta-text { color: #e2e8f0; font-size: 0.9rem; font-weight: 600; }
.sticky-cta-btn {
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  animation: pulse-green 2.5s infinite;
}
.sticky-cta-btn:hover { text-decoration: none; }
@media (max-width: 768px) {
  .sticky-cta.visible { display: flex; }
}

/* === POPUP === */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.popup-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.popup-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.popup-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.popup-cta {
  display: block;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 8px;
  animation: pulse-green 2.5s infinite;
}
.popup-tc { font-size: 0.72rem; color: var(--text-muted); }

/* === FOOTER === */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand .site-logo { font-size: 1.1rem; display: block; margin-bottom: 10px; }
.footer-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.footer-heading { color: #e2e8f0; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #64748b; font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: #94a3b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #475569; margin-bottom: 8px; }
.disclaimer {
  font-size: 0.78rem;
  color: #475569;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.age-badge {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* Pros/Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.pros-box, .cons-box { border-radius: 8px; padding: 20px; }
.pros-box { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons-box { background: #fef2f2; border: 1px solid #fecaca; }
.pros-box h4 { color: #166534; margin-bottom: 12px; }
.cons-box h4 { color: #991b1b; margin-bottom: 12px; }
.pros-box li, .cons-box li { font-size: 0.9rem; margin-bottom: 8px; padding-left: 4px; }
.pros-box ul, .cons-box ul { list-style: none; }
.pros-box li::before { content: '✅ '; }
.cons-box li::before { content: '❌ '; }

/* Section alternating */
.section--light { background: var(--bg); }
.section--alt { background: var(--bg-alt); }

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 6px; }

@media (max-width: 768px) {
  .casino-card {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
  }
  .card-icon { display: none; }
  .card-bonus { grid-column: 2; text-align: left; }
  .card-cta { grid-column: 1 / -1; }
  .author-box { flex-direction: column; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
  .stat-card { min-width: 90px; padding: 10px 14px; }
}
