/* Best Online Casino — Stake-inspired dark theme.
   Mobile-first. Cards are borderless (no side borders) by design. */

:root {
  --bg:        #0f212e;   /* page background (Stake darkest) */
  --surface:   #1a2c38;   /* cards / sections */
  --surface-2: #213743;   /* raised elements, hovers */
  --surface-3: #2f4553;   /* subtle dividers */
  --accent:    #1475e1;   /* Stake blue */
  --accent-2:  #197bff;
  --accent-ink:#ffffff;   /* text on blue */
  --accent-rgb: 20,117,225;
  --text:      #ffffff;
  --muted:     #b1bad3;   /* Stake muted text */
  --muted-2:   #7f95a9;
  --good:      #1475e1;
  --bad:       #ff5b5b;
  --star:      #ffc400;
  --radius:    14px;
  --radius-sm: 10px;
  --container: 1080px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Montserrat', var(--font-body);
  --shadow:    0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 6vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--muted); }
p.lead { color: var(--text); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }

section { padding: 44px 0; }
section[id] { scroll-margin-top: 74px; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 { color: var(--text); }
.section-head p { margin-bottom: 0; }

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- Header (sticky, CTA always visible on mobile) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,33,46,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface-3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 9px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; color: var(--text); font-size: .95rem; min-width: 0; }
.brand .brand-mark { display: inline-flex; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); align-items: center; justify-content: center; flex: none; }
.brand .brand-mark svg { width: 19px; height: 19px; }
.brand .brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand small { font-family: var(--font-body); font-weight: 500; font-size: .66rem; color: var(--muted-2); letter-spacing: .02em; margin-top: 1px; }
@media (max-width: 560px) {
  .brand { font-size: .82rem; }
  .brand small { display: none; }
}
.nav-links { display: none; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .92rem; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 12px 18px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(20,117,225,.25); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.header-cta { padding: 9px 15px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding-top: 34px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 420px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(20,117,225,.14), transparent 70%);
  pointer-events: none;
}
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--accent); background: rgba(20,117,225,.1); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { color: var(--text); max-width: 15ch; }
.hero .sub { font-size: 1.05rem; color: var(--muted); max-width: 60ch; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--muted-2); }
.hero-note svg { width: 16px; height: 16px; }

.rating-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); padding: 10px 16px; border-radius: var(--radius-sm); margin-top: 6px; }
.rating-chip .stars { display: inline-flex; color: var(--star); }
.rating-chip .stars svg { width: 18px; height: 18px; fill: var(--star); stroke: var(--star); }
.rating-chip b { font-family: var(--font-head); font-size: 1.15rem; }
.rating-chip span { color: var(--muted); font-size: .85rem; }

/* ---------- Author byline & E-E-A-T ---------- */
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; font-size: .84rem; color: var(--muted); }
.byline a { color: var(--text); font-weight: 700; }
.byline a:hover { color: var(--accent); }
.byline .by-sep { color: var(--muted-2); }
.byline .by-date { color: var(--muted-2); }
.author-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-head);
  font-weight: 800; font-size: .95rem; color: var(--accent-ink);
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}
.author-avatar.sm { width: 26px; height: 26px; font-size: .72rem; }
.author-card { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.author-head { display: flex; align-items: center; gap: 13px; }
.author-avatar.big, .author-head .author-avatar { width: 54px; height: 54px; font-size: 1.2rem; }
.author-id b { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--text); }
.author-id span { font-size: .84rem; color: var(--muted); }
.author-kicker { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.author-bio p { font-size: .95rem; margin: 0 0 12px; }
.author-bio .chip-row { margin-top: 4px; }

/* ---------- Page hero (trust pages) ---------- */
.page-hero { padding-top: 30px; padding-bottom: 8px; }
.page-hero .eyebrow { text-transform: none; }

/* ---------- Contact card ---------- */
.contact-card { display: flex; align-items: center; gap: 16px; }
.contact-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: rgba(20,117,225,.12); color: var(--accent); align-items: center; justify-content: center; flex: none; }
.contact-email { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--accent); word-break: break-all; }

/* ---------- Legal footer nav ---------- */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.legal-nav a { font-size: .82rem; font-weight: 600; color: var(--muted); }
.legal-nav a:hover { color: var(--accent); }

/* ---------- Cards (borderless) ---------- */
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }

/* ---------- Trust strip ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: var(--radius-sm); padding: 14px; }
.trust-item .ic { display: inline-flex; width: 38px; height: 38px; border-radius: 9px; background: var(--surface-2); color: var(--accent); align-items: center; justify-content: center; flex: none; }
.trust-item b { display: block; font-size: .92rem; color: var(--text); }
.trust-item span { font-size: .78rem; color: var(--muted); }

/* ---------- Verdict / score ---------- */
.verdict-card { display: grid; gap: 22px; }
.score-badge { display: flex; align-items: center; gap: 16px; }
.score-badge .big { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent); }
.score-badge .big small { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.score-badge .label { color: var(--muted); font-size: .9rem; }
.score-badge .stars { color: var(--star); display: inline-flex; }
.score-badge .stars svg { width: 20px; height: 20px; fill: var(--star); stroke: var(--star); }
.score-list { display: grid; gap: 12px; }
.score-row { display: grid; grid-template-columns: 1fr; gap: 5px; }
.score-row .r-top { display: flex; justify-content: space-between; font-size: .9rem; }
.score-row .r-top b { color: var(--text); font-weight: 600; }
.score-row .r-top span { color: var(--accent); font-family: var(--font-head); font-weight: 700; }
.bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }

/* ---------- Pros / cons ---------- */
.proscons { display: grid; gap: 16px; }
.pc-card h3 { display: flex; align-items: center; gap: 9px; color: var(--text); }
.pc-card.good h3 svg { color: var(--good); }
.pc-card.bad  h3 svg { color: var(--bad); }
.pc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.pc-list li svg { width: 20px; height: 20px; margin-top: 1px; flex: none; }
.pc-card.good li svg { color: var(--good); }
.pc-card.bad  li svg { color: var(--bad); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.feature .ic { display: inline-flex; width: 44px; height: 44px; border-radius: 11px; background: rgba(20,117,225,.12); color: var(--accent); align-items: center; justify-content: center; margin-bottom: 12px; }
.feature h3 { color: var(--text); margin-bottom: 6px; }
.feature p { margin: 0; font-size: .92rem; }

/* ---------- Payments ---------- */
.pay-wrap { display: grid; gap: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2); color: var(--text); font-size: .84rem; font-weight: 600; padding: 8px 13px; border-radius: 999px; }
.chip svg { width: 16px; height: 16px; color: var(--accent); }
.note { display: flex; gap: 10px; align-items: flex-start; background: rgba(20,117,225,.08); border-radius: var(--radius-sm); padding: 14px; font-size: .9rem; color: var(--muted); }
.note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- Bonus ---------- */
.list-check { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 11px; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.list-check li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }
.fine { font-size: .78rem; color: var(--muted-2); margin-top: 14px; }

/* ---------- In-depth article (long-form) ---------- */
.prose { max-width: 760px; }
.prose h2 { color: var(--text); margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0 0 1rem; }
.prose-list { list-style: none; margin: 4px 0 20px; padding: 0; display: grid; gap: 11px; }
.prose-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.prose-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--accent); transform: rotate(45deg);
}
.prose-list li strong { color: var(--text); font-weight: 700; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 12px; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 18px; }
.step .num { counter-increment: step; display: inline-flex; width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-head); font-weight: 800; align-items: center; justify-content: center; flex: none; }
.step .num::before { content: counter(step); }
.step h3 { color: var(--text); margin-bottom: 3px; }
.step p { margin: 0; font-size: .9rem; }

/* ---------- Final verdict ---------- */
.final { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.final h2 { color: var(--text); }
.final p { max-width: 62ch; margin: 0 auto 18px; }
.final .final-score { display: inline-flex; align-items: center; gap: 8px; background: rgba(20,117,225,.12); color: var(--accent); font-family: var(--font-head); font-weight: 800; padding: 8px 16px; border-radius: 999px; margin-bottom: 18px; }
.final .btn { margin-top: 4px; }

/* ---------- Responsible gambling ---------- */
.rg { background: var(--surface); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.rg-head { display: flex; align-items: center; gap: 12px; }
.rg-head .age { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--bad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; flex: none; }
.rg-head h2 { margin: 0; color: var(--text); font-size: 1.25rem; }
.rg p { margin: 0; font-size: .92rem; }
.rg-orgs { display: flex; flex-wrap: wrap; gap: 9px; }
.rg-orgs a { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); padding: 8px 13px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text); }
.rg-orgs a:hover { background: var(--surface-3); }
.rg-orgs a svg { width: 15px; height: 15px; color: var(--muted); }

/* ---------- FAQ (native accordion) ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--muted); transition: transform .2s ease; flex: none; }
.faq[open] summary svg { transform: rotate(180deg); color: var(--accent); }
.faq .faq-body { padding: 0 18px 16px; }
.faq .faq-body p { margin: 0; font-size: .93rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); margin-top: 20px; padding: 40px 0 26px; }
.footer-grid { display: grid; gap: 26px; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--text); margin: 0 0 10px; }
.footer-col p { font-size: .86rem; margin: 0; }
.footer-col a.mail { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .9rem; }
.footer-col a.mail svg { width: 17px; height: 17px; }
.lang-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-grid a, .lang-grid span {
  display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600;
  padding: 7px 11px; border-radius: 999px; background: var(--surface-2); color: var(--text);
}
.lang-grid a:hover { background: var(--surface-3); }
.lang-grid .current { background: var(--accent); color: var(--accent-ink); }
.lang-grid .soon { color: var(--muted-2); background: transparent; border: 1px dashed var(--surface-3); cursor: default; }
.lang-note { font-size: .78rem; color: var(--muted-2); margin-top: 10px; }
.footer-bottom { border-top: 1px solid var(--surface-3); margin-top: 26px; padding-top: 20px; display: grid; gap: 10px; }
.footer-bottom p { font-size: .76rem; color: var(--muted-2); margin: 0; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-badges .b { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 6px 11px; border-radius: 8px; }
.footer-badges .b.age { background: var(--bad); color: #fff; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .proscons { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 900px) {
  section { padding: 60px 0; }
  .nav-links { display: flex; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .verdict-card { grid-template-columns: 280px 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .hero h1 { font-size: 3rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
