/* WelcomeBonus.com.ua — Premium Emerald & Gold Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #FAFAF5;
  --bg-alt: #F3F2EC;
  --bg-card: #FFFFFF;
  --bg-dark: #0B3D2E;
  --bg-dark-alt: #0F4C35;
  --border: #D9D5C8;
  --border-light: #EAE7DD;
  --accent: #0F4C35;
  --accent-light: #167A56;
  --accent-green: #1B8C5A;
  --accent-gold: #C8951A;
  --accent-gold-light: #E8B84A;
  --gold-gradient: linear-gradient(135deg, #D4A017 0%, #C8951A 40%, #B8860B 100%);
  --gold-gradient-hover: linear-gradient(135deg, #B8860B 0%, #A67C00 40%, #966F00 100%);
  --text: #1A1A1A;
  --text-muted: #5C5A52;
  --text-light: #8A8780;
  --text-on-dark: #E8E6DE;
  --shadow-sm: 0 1px 3px rgba(15,76,53,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(15,76,53,0.08), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 8px 28px rgba(15,76,53,0.12), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-gold: 0 4px 18px rgba(200,149,26,0.30);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --font: 'DM Sans', 'Segoe UI', sans-serif;
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
  --container: 1060px;
  --container-article: 780px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { padding-left: 20px; margin-bottom: 16px; }
li { margin-bottom: 6px; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ─── LAYOUT ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 52px 0; }
section:nth-child(even) { background: var(--bg-alt); }

/* ─── TYPOGRAPHY ─── */
h1 { font-size: 38px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; color: var(--text); letter-spacing: -0.02em; }
h2 { font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; margin-top: 36px; color: var(--text); letter-spacing: -0.01em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; color: var(--text); }
h4 { font-size: 15px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 768px) {
  h1 { font-size: 27px; }
  h2 { font-size: 21px; }
}

/* ─── HEADER ─── */
.header {
  background: var(--bg-dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--text-on-dark);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo span { color: rgba(232,230,222,0.7); font-weight: 400; }
.nav-logo span strong { color: var(--accent-gold-light); font-weight: 700; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  color: rgba(232,230,222,0.75); font-weight: 500; font-size: 14px;
  padding: 6px 11px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-burger {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm); padding: 6px 10px;
  cursor: pointer; color: var(--text-on-dark); font-size: 16px;
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-dark); border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-direction: column; padding: 8px 20px 16px; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block; padding: 14px 32px;
  background: var(--gold-gradient); color: #fff !important;
  border-radius: var(--radius-md); font-weight: 700; font-size: 16px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-gold);
  text-align: center; white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--gold-gradient-hover); color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,149,26,0.40);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  display: inline-block; padding: 11px 26px;
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent); border-radius: var(--radius-md);
  font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-secondary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.nav-cta {
  padding: 9px 20px; font-size: 14px;
  background: var(--gold-gradient); border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(200,149,26,0.3);
}
.nav-cta:hover { box-shadow: 0 4px 16px rgba(200,149,26,0.45); }

/* ─── HERO SECTION ─── */
main > section:first-child {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Ccircle cx='25' cy='35' r='11' fill='none' stroke='%23D4A017' stroke-width='1.5' opacity='0.12'/%3E%3Ccircle cx='25' cy='35' r='6' fill='%23D4A017' opacity='0.06'/%3E%3Cpolygon points='90,10 92,17 99,17 93,22 95,29 90,24 85,29 87,22 81,17 88,17' fill='%23D4A017' opacity='0.10'/%3E%3Ccircle cx='145' cy='65' r='13' fill='none' stroke='%23D4A017' stroke-width='1.5' opacity='0.09'/%3E%3Ccircle cx='145' cy='65' r='7' fill='%23D4A017' opacity='0.05'/%3E%3Cpolygon points='55,100 56,104 60,104 57,107 58,111 55,108 52,111 53,107 50,104 54,104' fill='%230F4C35' opacity='0.08'/%3E%3Ccircle cx='65' cy='155' r='9' fill='none' stroke='%23D4A017' stroke-width='1.5' opacity='0.08'/%3E%3Crect x='110' y='140' width='6' height='6' rx='1' fill='%230F4C35' opacity='0.06' transform='rotate(25 113 143)'/%3E%3C/svg%3E") repeat,
    linear-gradient(160deg, #E8F5E9 0%, #FFF8E1 50%, #FAFAF5 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 52px;
  text-align: center;
}
main > section:first-child h1 { color: var(--bg-dark); }
main > section:first-child p {
  color: var(--text-muted); max-width: 620px;
  margin: 0 auto 20px; font-size: 17px;
}
main > section:first-child .tldr-box {
  text-align: left; max-width: 620px; margin: 0 auto 8px;
}

/* ─── TLDR BOX ─── */
.tldr-box {
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
  border-left: 3px solid var(--accent-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; margin-bottom: 16px;
}
.tldr-box p { color: var(--text); font-size: 14px; margin: 0; }

/* ─── BREADCRUMBS ─── */
.breadcrumbs {
  font-size: 13px; color: var(--text-light); padding: 12px 0 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 6px; color: var(--border); }

/* ─── CASINO CARDS GRID ─── */
section.where-to-play > .container,
section.casino-cards > .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1024px) {
  section.where-to-play > .container,
  section.casino-cards > .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section.where-to-play > .container,
  section.casino-cards > .container { grid-template-columns: 1fr; }
}

/* ─── CASINO CARD ─── */
.casino-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.casino-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}
.casino-card::before { display: none; }
.casino-card::after { display: none; }
.casino-card__header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border-light);
}
.casino-card__logo {
  width: 72px; height: 44px; object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  padding: 6px 8px; flex-shrink: 0;
  border: 1px solid var(--border);
}
.casino-card__info { flex: 1; min-width: 0; }
.casino-card__name {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.casino-card__rating {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #78350F;
  border-radius: var(--radius-full); padding: 2px 9px;
  font-size: 11px; font-weight: 700; display: inline-block;
}
.casino-card__body {
  padding: 14px 20px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.casino-card__pitch {
  font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0;
}
.casino-card__bonus {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFF8E1 100%);
  border: 1px solid #C6E9C0;
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 15px; font-weight: 700; color: #0F4C35;
  line-height: 1.35;
}
.casino-card__bonus-label {
  display: block; font-size: 10px; font-weight: 600;
  color: var(--accent-green); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.casino-card__payments {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.casino-card__payment-pill {
  display: inline-block; padding: 2px 8px;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text-muted);
}
.casino-card__actions {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #F0EEE6 100%);
}
.casino-card__actions .btn-primary { text-align: center; width: 100%; padding: 14px; font-size: 16px; }
.casino-card__review-link {
  font-size: 12px; color: var(--text-muted); text-align: center;
  display: block; padding: 4px;
  transition: color var(--transition);
}
.casino-card__review-link:hover { color: var(--accent); }

/* ─── CASINO CARD: BADGE ─── */
.casino-card--featured { border-color: var(--accent); position: relative; }
.casino-card__badge {
  position: absolute; top: -1px; right: 16px;
  background: var(--cta-gold, #C8951A); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 12px 5px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 2px 6px rgba(200,149,26,0.3);
}

/* ─── CASINO CARD: PROS/CONS ─── */
.casino-card__pros, .casino-card__cons {
  font-size: 12px; line-height: 1.5; padding: 0; margin: 0;
}
.casino-card__pros { color: #15803D; }
.casino-card__cons { color: #92400E; }
.casino-card__pros-label { font-weight: 700; margin-right: 4px; }
.casino-card__cons-label { font-weight: 700; margin-right: 4px; color: #DC6B3F; }

/* ─── CASINO CARD: VERIFIED ─── */
.casino-card__verified {
  font-size: 11px; color: var(--text-light, #9CA3AF); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.casino-card__verified-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; min-width: 16px; min-height: 16px;
  max-width: 16px; max-height: 16px;
  border-radius: 50%; background: #D1FAE5; flex-shrink: 0;
  overflow: hidden;
}
.casino-card__verified-icon svg {
  width: 10px; height: 10px; min-width: 10px; max-width: 10px;
  flex-shrink: 0;
}

/* ─── QUICK FILTER PILLS ─── */
section.quick-compare p:last-child {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
section.quick-compare p:last-child a {
  display: inline-block; padding: 6px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  transition: all var(--transition); white-space: nowrap;
}
section.quick-compare p:last-child a:hover {
  border-color: var(--accent); color: var(--accent); background: rgba(15,76,53,0.04);
}

/* ─── STICKY CTA MOBILE ─── */
.sticky-cta-mobile {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 10px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.sticky-cta-mobile .btn-primary {
  display: block; width: 100%; text-align: center;
  padding: 14px 20px; font-size: 16px; box-sizing: border-box;
}
@media (max-width: 768px) {
  .sticky-cta-mobile { display: block; }
  body { padding-bottom: 70px; }
}

/* ─── OFFER HERO CARD ─── */
.offer-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 26px;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}
.offer-card:hover { box-shadow: var(--shadow-lg); }
.offer-card__logo-wrap {
  flex-shrink: 0; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px 16px; display: flex; align-items: center; min-width: 120px;
}
.offer-card__logo { display: block; width: 100px; height: auto; object-fit: contain; }
.offer-card__info { flex: 1; min-width: 0; }
.offer-card__name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.offer-card__license { font-size: 11px; color: var(--accent-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.offer-card__bonus { font-size: 17px; font-weight: 700; color: var(--accent-gold); margin-bottom: 4px; }
.offer-card__nodeposit { font-size: 12px; color: var(--accent-green); font-weight: 600; }
.offer-card__cta { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.offer-card__review {
  font-size: 12px; color: var(--text-muted); text-align: center;
  padding: 7px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); display: block;
  transition: color var(--transition), border-color var(--transition);
}
.offer-card__review:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 768px) {
  .offer-card { flex-direction: column; align-items: flex-start; }
  .offer-card__cta { min-width: unset; width: 100%; }
  .offer-card__logo-wrap { min-width: unset; }
}

/* ─── CASINO HERO ─── */
.casino-hero {
  background: linear-gradient(160deg, #E8F5E9 0%, #FAFAF5 100%);
  padding: 36px 0; border-bottom: 1px solid var(--border);
}
.casino-hero::before { display: none; }
.casino-hero .container { position: relative; }

/* ─── COMPARISON TABLE ─── */
.comparison-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin-bottom: 24px; font-size: 14px;
  border-radius: var(--radius-md); overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.comparison-table th {
  background: var(--bg-dark); color: var(--text-on-dark); font-weight: 600;
  padding: 12px 16px; text-align: left;
  border-bottom: 2px solid var(--accent-light);
}
.comparison-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top; background: #fff;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #F5F3EB; }
.comparison-table th:first-child, .comparison-table td:first-child {
  font-weight: 600; color: var(--text);
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.stats-bar__item {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px 18px; flex: 1; min-width: 120px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.stats-bar__item:hover { box-shadow: var(--shadow-md); }
.stats-bar__label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.stats-bar__value { font-size: 16px; font-weight: 700; color: var(--accent); }

/* ─── FAQ ─── */
.faq-accordion { display: flex; flex-direction: column; gap: 8px; }
.faq-accordion details {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-card); overflow: hidden;
  transition: border-color var(--transition);
}
.faq-accordion details[open] { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.faq-accordion summary {
  cursor: pointer; padding: 15px 18px;
  font-weight: 600; font-size: 15px; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition), color var(--transition);
}
.faq-accordion summary:hover { background: var(--bg-alt); }
.faq-accordion summary::after { content: '+'; font-size: 20px; color: var(--accent-gold); font-weight: 700; flex-shrink: 0; margin-left: 12px; }
.faq-accordion details[open] summary::after { content: '\2212'; }
.faq-accordion details[open] summary { color: var(--accent); background: #F0FDF4; }
.faq-accordion details > div { padding: 4px 18px 16px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }

/* ─── TOC ─── */
.toc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 22px; margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.toc__title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 10px; }
.toc__list { padding-left: 16px; margin: 0; }
.toc__list li { margin-bottom: 5px; }
.toc__list a { color: var(--text-muted); font-size: 14px; transition: color var(--transition); }
.toc__list a:hover { color: var(--accent-gold); }

/* ─── ARTICLE LAYOUT ─── */
.article-container { display: flex; gap: 32px; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.article-container > article { flex: 1; min-width: 0; }
.article-sidebar {
  width: 260px; flex-shrink: 0;
  position: sticky; top: 80px; align-self: flex-start;
}
@media (max-width: 768px) {
  .article-container { flex-direction: column; }
  .article-sidebar { width: 100%; position: static; }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 44px 0 28px;
}
.footer-container { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; align-items: start; }
.footer-logo {
  font-size: 16px; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 6px;
}
.footer-logo span { color: rgba(232,230,222,0.6); }
.footer-logo span strong { color: var(--accent-gold-light); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-links a { font-size: 13px; color: rgba(232,230,222,0.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-gold-light); }
.footer-badges { display: flex; gap: 10px; margin-top: 8px; }
.footer-badges img { filter: brightness(0) invert(0.85); opacity: 0.7; }
.footer-disclaimer { font-size: 11px; color: rgba(232,230,222,0.4); margin-top: 20px; line-height: 1.6; }
.footer-copy { font-size: 11px; color: rgba(232,230,222,0.4); margin-top: 8px; }
@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; gap: 20px; }
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  background: var(--gold-gradient); color: #fff; border: none; border-radius: var(--radius-full);
  width: 44px; height: 44px; font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-gold);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(200,149,26,0.45); }

/* ─── MISC ─── */
.tldr-box blockquote, blockquote {
  border-left: 3px solid var(--accent-green); padding: 12px 18px;
  background: linear-gradient(135deg, #E8F5E9, #F1F8E9); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
}
blockquote p { color: var(--text); margin: 0; }
pre { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; overflow-x: auto; }
code { background: #E8F5E9; color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 0.88em; }

/* ─── LEGAL PAGES ─── */
.legal-content { max-width: var(--container-article); margin: 0 auto; }
.legal-content h2 { margin-top: 32px; }
