/* onlinemostbet.online — "Chalk & Cobalt" design system
   Deliberately light-first (v5 "Graphite & Gold" and v6 "Emerald & Lime"
   were both dark-first sans-only designs). Serif display + light paper
   ground + cobalt/coral accent pair is the differentiator. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --chalk:      #F6F3EC;
  --chalk-dim:  #EFEAE0;
  --paper:      #FFFFFF;
  --ink:        #15181F;
  --ink-70:     rgba(21,24,31,.70);
  --ink-45:     rgba(21,24,31,.45);
  --ink-12:     rgba(21,24,31,.12);
  --ink-08:     rgba(21,24,31,.08);
  --cobalt:     #1B3FE0;
  --cobalt-dark:#16327E;
  --cobalt-tint:#E8ECFC;
  --coral:      #FF5A4E;
  --coral-dark: #E23F34;
  --coral-tint: #FFECEA;
  --ok-green:   #1E8A5A;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --shadow-card: 0 1px 2px rgba(21,24,31,.04), 0 8px 24px rgba(21,24,31,.06);
  --shadow-pop:  0 12px 32px rgba(27,63,224,.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--chalk); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--cobalt-dark); text-decoration:none; }
a:hover{ text-decoration:underline; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:600; line-height:1.15; margin:0 0 .5em; color:var(--ink); }
h1{ font-size:clamp(2rem,4vw,3.1rem); font-weight:600; }
h2{ font-size:clamp(1.4rem,2.4vw,2rem); margin-top:2.4em; }
h3{ font-size:1.2rem; margin-top:1.8em; font-weight:600; }
p{ margin:0 0 1.1em; }
.seo-block p{ max-width:74ch; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:40; background:rgba(246,243,236,.92);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--ink-08);
}
.site-header .bar{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{ height:32px; width:auto; display:block; }
.site-footer .brand-logo{ height:26px; }
nav.main-nav{ display:flex; gap:28px; }
nav.main-nav a{ color:var(--ink-70); font-weight:600; font-size:.95rem; }
nav.main-nav a:hover{ color:var(--cobalt-dark); text-decoration:none; }
.header-actions{ display:flex; align-items:center; gap:14px; }

/* Locale/country switcher (native <details> — no JS required to open/close) */
.lang-switcher{ position:relative; }
.lang-switcher summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:6px;
  padding:9px 14px; border-radius:999px; border:1.5px solid var(--ink-12); background:transparent;
  font-weight:700; font-size:.85rem; color:var(--ink); user-select:none; }
.lang-switcher summary::-webkit-details-marker{ display:none; }
.lang-switcher summary::after{ content:"▾"; font-size:.65rem; color:var(--ink-45); margin-left:1px; }
.lang-switcher[open] summary::after{ content:"▴"; }
.lang-switcher summary:hover{ border-color:var(--cobalt); }
.lang-flag{ font-size:1rem; line-height:1; }
.lang-switcher ul{ position:absolute; top:calc(100% + 8px); right:0; background:var(--paper);
  border:1px solid var(--ink-08); border-radius:var(--radius-m); box-shadow:var(--shadow-card);
  list-style:none; margin:0; padding:8px; display:grid; gap:1px; min-width:190px; z-index:60;
  max-height:70vh; overflow-y:auto; }
.lang-switcher ul a{ display:flex; align-items:center; gap:9px; padding:9px 11px; border-radius:8px;
  color:var(--ink-70); font-size:.88rem; font-weight:600; }
.lang-switcher ul a:hover{ background:var(--chalk); text-decoration:none; }
.lang-switcher ul li.current a{ color:var(--cobalt-dark); background:var(--cobalt-tint); }
@media (max-width:560px){ .lang-switcher .lang-code{ display:none; } }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:999px; font-weight:700; font-size:.95rem;
  font-family:var(--font-body); cursor:pointer; border:none; }
.btn-primary{ background:var(--coral); color:#fff; box-shadow:var(--shadow-pop); }
.btn-primary:hover{ background:var(--coral-dark); text-decoration:none; }
.btn-ghost{ background:transparent; color:var(--cobalt-dark); border:1.5px solid var(--ink-12); }
.btn-ghost:hover{ border-color:var(--cobalt); text-decoration:none; }
.btn-sm{ padding:9px 18px; font-size:.85rem; }

/* ---------- Hero (duotone cobalt-on-ivory, NOT a dark panel) ---------- */
.hero{ position:relative; padding:64px 0 56px; overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(60% 90% at 82% 0%, var(--cobalt-tint) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, var(--coral-tint) 0%, transparent 65%);
}
.hero .wrap{ position:relative; z-index:1; display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:8px; background:var(--cobalt-tint); color:var(--cobalt-dark);
  font-weight:700; font-size:.8rem; letter-spacing:.02em; padding:7px 14px; border-radius:999px; margin-bottom:18px; }
.hero h1{ margin-bottom:.4em; }
.hero-sub{ font-size:1.1rem; color:var(--ink-70); max-width:52ch; }
.hero-actions{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }
/* Box's aspect-ratio is set inline per page (style="aspect-ratio:W/H") to the
   REAL pixel ratio of that page's photo, so the frame is always a 1:1 fit to
   the image — no letterboxing, no filler layer needed. The 16/9 here is only
   a fallback for the rare case a page has no hero photo at all. */
.hero-art{ aspect-ratio:16/9; border-radius:var(--radius-l); background:linear-gradient(135deg,var(--cobalt) 0%, var(--cobalt-dark) 100%);
  position:relative; overflow:hidden; box-shadow:var(--shadow-card); }
.hero-art:empty::after{ content:"IMG"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.35); font-family:var(--font-display); font-size:1rem; letter-spacing:.3em; }
.hero-art img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-stats{ display:flex; gap:28px; margin-top:30px; flex-wrap:wrap; }
.hero-stats div{ font-family:var(--font-display); font-size:1.6rem; font-weight:700; color:var(--cobalt-dark); }
.hero-stats span{ display:block; font-family:var(--font-body); font-size:.8rem; color:var(--ink-45); font-weight:600; margin-top:2px; }

/* ---------- Content shell ---------- */
main{ background:var(--paper); border-radius:32px 32px 0 0; margin-top:-24px; position:relative; z-index:2;
  box-shadow:0 -12px 40px rgba(21,24,31,.05); }
.content-wrap{ max-width:820px; margin:0 auto; padding:56px 24px 80px; }
.seo-block h1{ font-size:clamp(1.8rem,3.4vw,2.5rem); }

/* Article + sticky side nav shell. On wide viewports the article gets a
   narrower, more scannable column and the sidebar takes the freed-up space;
   below the breakpoint it collapses back to one column and the inline TOC
   (hidden on wide viewports, see below) takes over the sidebar's job. */
.page-shell{ max-width:var(--maxw); margin:0 auto; padding:56px 24px 80px; display:grid;
  grid-template-columns:minmax(0,720px) 268px; gap:56px; align-items:start; }
.page-shell .content-wrap{ max-width:none; margin:0; padding:0; }
.page-shell .table-wrap{ max-width:none; margin:32px 0; padding:0; }

/* TOC (inline, mobile-only — see media query; sidebar covers wide viewports) */
ul.toc{ list-style:none; margin:0 0 2.2em; padding:18px 22px; background:var(--chalk); border-radius:var(--radius-m);
  border:1px solid var(--ink-08); display:grid; gap:9px; }
ul.toc li a{ color:var(--ink); font-weight:600; font-size:.95rem; }
ul.toc li a::before{ content:"→ "; color:var(--coral); }

/* Sticky "On this page" sidebar nav + bonus CTA */
.page-nav{ position:sticky; top:96px; }
.page-nav-inner{ background:var(--chalk); border:1px solid var(--ink-08); border-radius:var(--radius-m); padding:22px; }
.page-nav-title{ margin:0 0 12px; font-family:var(--font-body); font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.09em; color:var(--ink-45); }
.page-nav ul{ list-style:none; margin:0 0 20px; padding:0; display:grid; gap:1px; border-left:2px solid var(--ink-08); max-height:52vh; overflow-y:auto; }
.page-nav li a{ display:block; padding:7px 0 7px 15px; margin-left:-2px; border-left:2px solid transparent;
  color:var(--ink-70); font-size:.86rem; font-weight:600; line-height:1.3; }
.page-nav li a:hover{ color:var(--cobalt-dark); text-decoration:none; }
.page-nav li a.active{ color:var(--cobalt-dark); border-left-color:var(--coral); }
.page-nav .btn{ width:100%; }

/* Tables */
.table-wrap{ max-width:820px; margin:32px auto; padding:0 24px; overflow-x:auto; }
.table-wrap table{ width:100%; border-collapse:collapse; background:var(--chalk); border-radius:var(--radius-m); overflow:hidden; }
.table-wrap th,.table-wrap td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--ink-08); font-size:.94rem; }
.table-wrap thead th{ background:var(--cobalt-dark); color:#fff; font-family:var(--font-display); font-weight:600; }
.table-wrap tbody tr:last-child td{ border-bottom:none; }
.table-wrap tbody tr:nth-child(odd){ background:var(--paper); }

/* RG + FAQ */
.seo-block + p strong{ color:var(--coral-dark); }
h2 + h3{ margin-top:1.2em; }

/* Cards (hub grid on home) */
.hub-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:var(--maxw); margin:0 auto; padding:0 24px 64px; }
.hub-card{ background:var(--paper); border:1px solid var(--ink-08); border-radius:var(--radius-m); padding:26px;
  box-shadow:var(--shadow-card); transition:transform .15s ease, box-shadow .15s ease; }
.hub-card:hover{ transform:translateY(-3px); box-shadow:0 16px 32px rgba(21,24,31,.09); text-decoration:none; }
.hub-card .ico{ width:44px; height:44px; border-radius:12px; background:var(--cobalt-tint); margin-bottom:16px;
  display:flex; align-items:center; justify-content:center; color:var(--cobalt-dark); font-weight:700; }
.hub-card h3{ margin:0 0 6px; font-size:1.1rem; }
.hub-card p{ color:var(--ink-45); font-size:.9rem; margin:0; }

/* ---------- Popular slots showcase (game banner grid) ---------- */
.game-showcase{ max-width:var(--maxw); margin:0 auto; padding:8px 24px 64px; }
.game-showcase-head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:22px; flex-wrap:wrap; }
.game-showcase-head h2{ margin:0; font-size:clamp(1.3rem,2.2vw,1.8rem); }
.game-showcase-head a{ font-weight:700; font-size:.9rem; white-space:nowrap; }
.game-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.game-grid.teaser{ grid-template-columns:repeat(3,1fr); }
.game-card{ display:flex; flex-direction:column; border-radius:var(--radius-m); overflow:hidden; box-shadow:var(--shadow-card);
  background:var(--paper); border:1px solid var(--ink-08); transition:transform .15s ease, box-shadow .15s ease; }
.game-card:hover{ transform:translateY(-4px); box-shadow:0 16px 32px rgba(21,24,31,.14); text-decoration:none; }
.game-card-media{ aspect-ratio:1672/941; background:var(--ink); }
.game-card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.game-card-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 14px; }
.game-card-title{ font-weight:700; font-size:.85rem; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.game-card-btn{ flex:0 0 auto; background:var(--coral); color:#fff; font-weight:700; font-size:.78rem; padding:7px 14px; border-radius:999px; white-space:nowrap; }

@media (max-width:1080px){
  .game-grid{ grid-template-columns:repeat(3,1fr); }
  .game-grid.teaser{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:640px){
  .game-grid, .game-grid.teaser{ grid-template-columns:repeat(2,1fr); gap:10px; }
}

/* ---------- Inline promo card (photo + bonus line + CTA, injected inside the
   article text itself — one after the opening paragraph, one mid-article —
   rather than as a bare image block before the text starts). ---------- */
.content-promo{ display:flex; align-items:center; gap:24px; margin:36px 0; padding:20px;
  background:var(--chalk); border:1px solid var(--ink-08); border-radius:var(--radius-l); box-shadow:var(--shadow-card); }
.content-promo-img{ flex:0 0 240px; aspect-ratio:1536/1024; border-radius:var(--radius-m); overflow:hidden; background:var(--ink); }
.content-promo-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.content-promo-body{ flex:1; min-width:0; }
.content-promo-eyebrow{ margin:0 0 4px; font-family:var(--font-display); font-size:1.3rem; font-weight:700; color:var(--cobalt-dark); }
.content-promo-text{ margin:0 0 14px; color:var(--ink-70); font-size:.94rem; }
.content-promo .btn{ display:inline-flex; }
@media (max-width:640px){
  .content-promo{ flex-direction:column; align-items:stretch; }
  .content-promo-img{ flex:none; width:100%; }
}

/* ---------- Tag cloud (page's own sections + links to the other hub pages) ---------- */
.tag-cloud{ margin:44px 0 0; padding-top:26px; border-top:1px solid var(--ink-08); display:flex; flex-wrap:wrap; gap:10px; }
.tag-cloud-title{ width:100%; margin:0 0 14px; font-family:var(--font-body); font-size:.72rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.09em; color:var(--ink-45); }
.tag-cloud a{ display:inline-flex; align-items:center; padding:8px 16px; border-radius:999px;
  background:var(--chalk); border:1px solid var(--ink-08); color:var(--ink-70); font-size:.85rem; font-weight:600; }
.tag-cloud a:hover{ background:var(--cobalt-tint); color:var(--cobalt-dark); text-decoration:none; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.72); padding:56px 0 28px; margin-top:0; }
.site-footer a{ color:rgba(255,255,255,.72); }
.site-footer a:hover{ color:#fff; }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:32px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-grid h4{ color:#fff; font-family:var(--font-body); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; font-size:.92rem; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:.82rem; flex-wrap:wrap; gap:12px; }
.footer-bottom .badges{ display:flex; gap:10px; }
.footer-bottom .badges span{ border:1px solid rgba(255,255,255,.25); border-radius:6px; padding:3px 9px; font-size:.75rem; }

/* Back to top */
.to-top{ position:fixed; right:24px; bottom:24px; width:48px; height:48px; border-radius:50%; background:var(--ink);
  color:var(--chalk); display:flex; align-items:center; justify-content:center; opacity:0; transform:translateY(8px);
  pointer-events:none; transition:opacity .2s, transform .2s, background .15s; z-index:50; border:none; cursor:pointer; }
.to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.to-top:hover{ background:var(--coral); color:#fff; }

@media (min-width:1081px){
  .seo-block > ul.toc{ display:none; }
}
@media (max-width:1080px){
  .page-shell{ grid-template-columns:1fr; gap:0; padding-top:40px; }
  .page-nav{ display:none; }
}
@media (max-width:900px){
  nav.main-nav{ display:none; }
  .hero .wrap{ grid-template-columns:1fr; }
  .hub-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .hub-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .to-top{ bottom:80px; }
}
