:root {
  --bg: #0b0e17;
  --bg-soft: #101527;
  --surface: #141a2f;
  --card: #171d33;
  --card-2: #1b2240;
  --border: #242c4e;
  --border-soft: #1c2340;
  --text: #e8ebf5;
  --text-muted: #9aa3bf;
  --text-dim: #6d7690;
  --gold: #fbbf24;
  --gold-2: #f59e0b;
  --gold-soft: rgba(251, 191, 36, 0.14);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.14);
  --red: #ef4444;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffd766; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: #fff; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.7); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1300; font-size: 18px; font-weight: 800;
  box-shadow: 0 6px 16px -4px rgba(251,191,36,.5);
}
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .2px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 14px; border-radius: 9px;
  color: var(--text-muted); font-weight: 500; font-size: .95rem;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: var(--card-2); }

.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-link {
  min-width: 34px; text-align: center; padding: 6px 9px;
  border-radius: 8px; font-size: .8rem; font-weight: 700;
  color: var(--text-muted); border: 1px solid transparent;
}
.lang-link:hover { color: #fff; border-color: var(--border); }
.lang-link.active { color: #1a1300; background: linear-gradient(135deg, var(--gold-2), var(--gold)); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 72px; text-align: center;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(251,191,36,.18), transparent 60%),
    radial-gradient(700px 400px at 85% 0%, rgba(34,197,94,.12), transparent 60%),
    linear-gradient(180deg, #0d1120, var(--bg));
}
.hero-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold);
  font-weight: 600; font-size: .82rem; letter-spacing: .4px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 820px; margin: 0 auto 16px; }
.hero-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  font-family: var(--font-display); cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #1a1300; box-shadow: 0 10px 24px -8px rgba(251,191,36,.55);
}
.btn-primary:hover { color: #1a1300; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(251,191,36,.7); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--border); }
.btn-ghost:hover { background: var(--card-2); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { color: var(--text-muted); margin-top: 8px; max-width: 640px; }

/* ---------- Casino card ---------- */
.casino-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.casino-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: transform .18s, border-color .2s, box-shadow .2s;
}
.casino-card:hover { transform: translateY(-4px); border-color: #35406e; box-shadow: var(--shadow); }

.casino-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.casino-logo {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #243058, #10192f);
  border: 1px solid var(--border); color: var(--gold);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
}
.casino-title-wrap { flex: 1 1 auto; min-width: 0; }
.casino-name { font-size: 1.12rem; font-weight: 700; }
.rating-badge { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-weight: 700; font-size: .9rem; }
.rating-badge small { color: var(--text-dim); font-weight: 500; }

.badge {
  flex: 0 0 auto; padding: 5px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
  white-space: nowrap;
}

.casino-bonus {
  background: var(--gold-soft); border: 1px solid rgba(251,191,36,.22);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px;
}
.bonus-label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.bonus-value { color: #fff; font-size: 1.05rem; font-family: var(--font-display); }

.casino-features { display: grid; gap: 8px; margin-bottom: 18px; }
.casino-features li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .92rem; }
.tick { color: var(--green); font-weight: 700; }

.casino-actions { margin-top: auto; display: grid; gap: 10px; }
.min-deposit { text-align: center; color: var(--text-dim); font-size: .85rem; }
.min-deposit strong { color: var(--text-muted); }

/* ---------- Category card ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; color: #fff; transition: transform .18s, border-color .2s;
}
.category-card:hover { transform: translateY(-3px); border-color: #35406e; color: #fff; }
.category-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.category-count { color: var(--text-dim); font-size: .85rem; }

/* ---------- Article card ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .18s, border-color .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-4px); border-color: #35406e; box-shadow: var(--shadow); }
.article-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--card-2); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 4px 10px; border-radius: 999px; background: var(--gold-soft);
  color: var(--gold); font-size: .74rem; font-weight: 600;
}
.article-meta time { color: var(--text-dim); font-size: .82rem; }
.article-title { font-size: 1.1rem; }
.article-title a { color: #fff; }
.article-title a:hover { color: var(--gold); }
.article-desc { color: var(--text-muted); font-size: .92rem; flex: 1; }
.btn-link { font-weight: 700; font-size: .95rem; align-self: flex-start; }

/* ---------- Article (single) ---------- */
.article { padding: 40px 0 64px; }
.article-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.article-side { position: sticky; top: 88px; }
.toc-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; font-size: .9rem;
}
.toc-card h4 { margin-bottom: 10px; font-size: .95rem; text-transform: uppercase; letter-spacing: .4px; color: var(--gold); }
.toc-card nav ul { display: grid; gap: 6px; }
.toc-card nav a { color: var(--text-muted); }
.toc-card nav a:hover { color: #fff; }

.article-header { margin-bottom: 24px; }
.article-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 14px 0 12px; }
.article-byline { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: .9rem; flex-wrap: wrap; }
.article-byline .dot { color: var(--border); }

.article-hero { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article-hero img { width: 100%; }

.article-content { font-size: 1.02rem; color: #d5d9e8; }
.article-content h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.article-content h3 { font-size: 1.28rem; margin: 28px 0 12px; }
.article-content h4 { font-size: 1.08rem; margin: 22px 0 10px; }
.article-content p { margin: 0 0 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 20px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content a { text-decoration: underline; text-underline-offset: 2px; }
.article-content blockquote {
  margin: 20px 0; padding: 16px 20px;
  border-left: 3px solid var(--gold); background: var(--gold-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text);
}
.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-content th, .article-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; font-size: .94rem; }
.article-content th { background: var(--card-2); color: #fff; }
.article-content img { border-radius: var(--radius-sm); }

/* ---------- FAQ ---------- */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq h2 { margin-bottom: 6px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 16px 18px; font-weight: 600; color: #fff;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-weight: 700; font-size: 1.2rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 18px 16px; color: var(--text-muted); }

/* ---------- CTA box ---------- */
.cta-box {
  margin-top: 36px; padding: 28px; text-align: center;
  background:
    radial-gradient(500px 200px at 50% 0%, rgba(251,191,36,.16), transparent 70%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius);
}
.cta-box h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cta-box p { color: var(--text-muted); margin-bottom: 20px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .86rem; color: var(--text-dim); margin-bottom: 8px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { color: var(--border); }
.breadcrumbs .current { color: var(--text-dim); }

/* ---------- Page head / pagination ---------- */
.page-head { margin-bottom: 32px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-intro { color: var(--text-muted); margin-top: 8px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.pagination-info { color: var(--text-dim); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: #080a12; border-top: 1px solid var(--border-soft); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .4px; color: #fff; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin-top: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--text-muted); font-size: .92rem; }
.footer-links a:hover { color: var(--gold); }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  font-weight: 800; font-size: .95rem; margin-bottom: 12px;
}
.footer-col p { color: var(--text-muted); font-size: .9rem; }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: grid; gap: 8px; }
.footer-bottom .disclosure { color: var(--text-dim); font-size: .84rem; }
.footer-bottom .copyright { color: var(--text-dim); font-size: .84rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0; }
.notfound-code {
  font-family: var(--font-display); font-weight: 800; font-size: 7rem; line-height: 1;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { margin: 16px 0 8px; }
.notfound p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .casino-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .casino-grid, .article-grid, .category-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 20px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .lang-switcher { margin-left: auto; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 44px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}



