/*
Theme Name: SideBet
Theme URI: https://site-factory.local
Author: Site Factory
Description: Dark-platform / lime-accent theme modeled on modern casino+sportsbook operator UI conventions (sidebar nav, promo card grid, trust-badge footer) - for a content/guide site presenting itself with the visual confidence of the operator's own product, not a cautious third-party review-site look.
Version: 1.0
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sidebet
*/

:root {
  /* Dark platform look throughout, not just header/footer - the reference
     UI this theme is modeled on keeps its whole product surface dark, and
     the content pages should read as part of the same product, not a
     lighter "blog wrapper" bolted onto a dark chrome. */
  --bg:        #0c0f0d;
  --bg-soft:   #121613;
  --bg-soft2:  #171c18;
  --card:      #141815;

  /* Brand: near-black platform surface + vivid lime-green accent. */
  --brand:     #9AE000;
  --brand2:    #b8ff33;
  --brand-dk:  #7ab300;
  --navy:      #0c0f0d;
  --navy2:     #121613;
  --navy3:     #1a201b;
  --gold:      #9AE000;
  --gold2:     #b8ff33;
  --green:     #9AE000;

  --ink:       #f2f5f1;
  --ink2:      #c7cfc8;
  --ink3:      #8b978d;
  --line:      #232a24;
  --line2:     #2d352e;

  --r:         10px;
  --r2:        16px;
  --r3:        24px;
  --shadow-s:  0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-m:  0 4px 16px rgba(0,0,0,0.35);
  --shadow-l:  0 12px 40px rgba(0,0,0,0.45);
  --shadow-brand: 0 8px 24px rgba(154,224,0,0.25);

  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-h:    'Manrope', 'Inter', sans-serif;
  --hh:        68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--hh);
  line-height: 1.6;
}
html, body { max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dk); }
ul, ol { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }

.ko8-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.ko8-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-h); font-weight: 700; font-size: 15px;
  border-radius: var(--r); border: none; cursor: pointer;
  padding: 13px 28px; transition: all .18s; white-space: nowrap;
}
.ko8-btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.ko8-btn--primary:hover { background: var(--brand-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(154,224,0,.35); }
.ko8-btn--gold { background: linear-gradient(135deg,var(--gold),var(--gold2)); color: #16210a; box-shadow: 0 8px 24px rgba(154,224,0,.3); }
.ko8-btn--gold:hover { transform: translateY(-2px); color: #16210a; }
.ko8-btn--ghost { background: transparent; border: 1.5px solid var(--line2); color: var(--ink); }
.ko8-btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); }
.ko8-btn--sm { padding: 9px 18px; font-size: 13px; }
.ko8-btn--lg { padding: 16px 36px; font-size: 16px; }

/* HEADER */
#ko8-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--hh);
  background: rgba(12,15,13,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ko8-header__inner { display: flex; align-items: center; gap: 20px; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ko8-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ko8-logo img { height: 38px; width: auto; }
.ko8-logo__text { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.ko8-logo__text b { color: var(--brand); }
.ko8-nav {
  display: flex; align-items: center; height: 100%; flex: 1; min-width: 0;
}
/* No overflow-x/y here: overflow set to anything but "visible" on one axis
   forces the browser to clip the other axis too, which silently hid the
   Games dropdown (an absolutely-positioned child extending below this box).
   The 1300px breakpoint below is what actually prevents the 8-item nav
   from overflowing in normal use; flex-shrink:0 on items stops them being
   squeezed into overlapping each other in the rare case it still doesn't
   fit, without clipping dropdowns. */
.ko8-nav > ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; flex-shrink: 0; }
.ko8-nav ul li { position: relative; flex-shrink: 0; }
.ko8-nav ul li a {
  display: flex; align-items: center; gap: 3px; padding: 9px 10px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85);
  transition: all .15s; white-space: nowrap;
}
.ko8-nav ul li a:hover, .ko8-nav ul li.current-menu-item a, .ko8-nav ul li.current-menu-parent > a { color: var(--brand); background: rgba(255,255,255,.06); }
.ko8-nav__caret { flex-shrink: 0; transition: transform .15s; }
.ko8-nav ul li:hover > a .ko8-nav__caret,
.ko8-nav ul li:focus-within > a .ko8-nav__caret { transform: rotate(180deg); }

/* Dropdown submenu - hidden until the parent <li> is hovered/focused */
.ko8-nav ul li .sub-menu {
  /* No margin-top gap: a real gap between the trigger link and this box is
     dead space the mouse has to cross without hovering either element,
     which breaks the :hover chain below and closes the menu before a user
     moving straight down can reach it. Sitting flush at top:100% keeps the
     hover area continuous; the visual breathing room comes from padding
     (inside the hoverable box) instead. */
  display: none; position: absolute; top: 100%; left: 0;
  flex-direction: column; gap: 2px; min-width: 200px; padding: 10px 8px 8px;
  background: var(--navy3); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r2);
  box-shadow: var(--shadow-l); z-index: 220;
}
.ko8-nav ul li:hover > .sub-menu,
.ko8-nav ul li:focus-within > .sub-menu { display: flex; }
.ko8-nav ul li .sub-menu li a { padding: 8px 12px; color: rgba(255,255,255,.85); }
.ko8-nav ul li .sub-menu li a:hover { color: var(--brand); background: rgba(255,255,255,.06); }
.ko8-nav ul li .sub-menu li a .ko8-nav__caret { display: none; }
.ko8-header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.ko8-lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex-shrink: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px; }
.ko8-lang-switch__item { display: flex; align-items: center; justify-content: center; min-width: 34px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: rgba(255,255,255,.55); transition: all .15s; }
.ko8-lang-switch__item:hover { color: #fff; }
.ko8-lang-switch__item.is-active { background: var(--brand); color: #0c1a00; }
.ko8-lang-switch--mobile { display: flex; justify-content: center; gap: 8px; padding: 14px 24px 4px; }
.ko8-lang-switch--mobile .ko8-lang-switch__item { background: var(--bg-soft); border: 1px solid var(--line); min-width: 44px; }
.ko8-lang-switch--mobile .ko8-lang-switch__item.is-active { background: var(--brand); border-color: var(--brand); color: #0c1a00; }
@media (max-width: 1300px) {
  .ko8-lang-switch:not(.ko8-lang-switch--mobile) { display: none; }
}
.ko8-hamburger {
  display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  width: 40px; height: 40px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r);
}
.ko8-hamburger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.ko8-mobile-nav {
  display: block; position: fixed; top: var(--hh); right: 0;
  width: 300px; height: calc(100vh - var(--hh));
  background: var(--card); border-left: 1px solid var(--line);
  z-index: 190; overflow-y: auto; padding: 16px 0 80px;
  transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-l);
}
.ko8-mobile-nav.open { transform: translateX(0); }
.ko8-mobile-nav ul li { border-bottom: 1px solid var(--line); }
.ko8-mobile-nav ul li a { display: block; padding: 15px 24px; font-size: 15px; font-weight: 600; color: var(--ink); }
.ko8-mobile-nav ul li a:hover { color: var(--brand); background: var(--bg-soft); }
.ko8-mobile-nav__cta { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.ko8-mobile-nav__cta .ko8-btn { width: 100%; }

/* ===== HERO ===== */
#ko8-hero {
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(154,224,0,.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 76px 0 60px;
  position: relative; overflow: hidden;
}
.ko8-hero__inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.ko8-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(154,224,0,.14); color: var(--brand2); font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 50px; margin-bottom: 20px; }
.ko8-hero__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.25); }
.ko8-hero__title { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.06; margin-bottom: 18px; }
.ko8-hero__title span { color: var(--brand); }
.ko8-hero__desc { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 520px; }
.ko8-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.ko8-hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.ko8-hero__stat strong { display: block; font-family: var(--font-h); font-size: 26px; font-weight: 800; color: #fff; }
.ko8-hero__stat span { font-size: 13px; color: rgba(255,255,255,.6); }
.ko8-hero__visual { position: relative; }
.ko8-hero__card {
  background: var(--navy3); border-radius: var(--r3); box-shadow: var(--shadow-l);
  overflow: hidden; border: 1px solid rgba(255,255,255,.1);
}
.ko8-hero__card img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: contain; display: block; }
.ko8-hero__card-fallback {
  aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dk) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-h); font-size: 24px; font-weight: 800; text-align: center; padding: 20px;
}
.ko8-hero__float {
  position: absolute; background: var(--navy3); border-radius: var(--r2); box-shadow: var(--shadow-l);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.1);
}
.ko8-hero__float--1 { bottom: -20px; left: -24px; }
.ko8-hero__float--2 { top: 24px; right: -20px; }
.ko8-hero__float-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ko8-hero__float-icon svg { width: 20px; height: 20px; }
.ko8-hero__float--1 .ko8-hero__float-icon { background: rgba(22,163,74,.16); }
.ko8-hero__float--1 .ko8-hero__float-icon svg { stroke: var(--green); }
.ko8-hero__float--2 .ko8-hero__float-icon { background: rgba(154,224,0,.16); }
.ko8-hero__float--2 .ko8-hero__float-icon svg { stroke: var(--brand); }
.ko8-hero__float strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.ko8-hero__float span { font-size: 11px; color: rgba(255,255,255,.55); }

/* ===== TRUST / LICENSING BADGES STRIP ===== */
#ko8-logos { background: var(--navy2); border-top: 1px solid rgba(255,255,255,.08); }
.ko8-logos__inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ko8-logos__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); margin-right: 8px; }
.ko8-logos__badge { font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 8px 16px; }

/* ===== SECTION SHELL ===== */
.ko8-section { padding: 72px 0; }
.ko8-section--soft { background: var(--bg-soft); }
.ko8-section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.ko8-section__tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.ko8-section__title { font-size: 36px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.ko8-section__sub { font-size: 17px; color: var(--ink3); }

/* ===== FEATURES GRID ===== */
.ko8-features { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ko8-feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r2);
  padding: 30px 28px; transition: all .2s;
}
.ko8-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--line2); }
.ko8-feature__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(154,224,0,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ko8-feature__icon svg { width: 26px; height: 26px; stroke: var(--brand); }
.ko8-feature h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ko8-feature p { font-size: 15px; color: var(--ink3); line-height: 1.65; }

/* ===== STEPS ===== */
.ko8-steps { max-width: 1000px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.ko8-step { text-align: center; position: relative; }
.ko8-step__num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 22px; font-weight: 800; position: relative; z-index: 2;
}
.ko8-step:not(:last-child)::after {
  content: ''; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px);
  height: 2px; background: var(--line2); z-index: 1;
}
.ko8-step h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ko8-step p { font-size: 14px; color: var(--ink3); }

/* ===== GAMES GRID ===== */
.ko8-games { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ko8-game {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r2);
  overflow: hidden; transition: all .2s; display: flex; flex-direction: column;
}
.ko8-game:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.ko8-game__thumb { height: 150px; background: linear-gradient(135deg, var(--brand2), var(--brand-dk)); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ko8-game__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ko8-game__thumb-label { color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 17px; text-align: center; padding: 0 12px; }
.ko8-game__tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.95); color: var(--brand); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.ko8-game__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ko8-game__name { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ko8-game__meta { font-size: 13px; color: var(--ink3); margin-bottom: 12px; flex: 1; }
.ko8-game__foot { display: flex; align-items: center; justify-content: space-between; }
.ko8-game__rtp { font-size: 13px; font-weight: 700; color: var(--green); }
.ko8-game__play { font-size: 13px; font-weight: 700; color: var(--brand); }

/* ===== COMPARISON TABLE ===== */
.ko8-compare { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.ko8-compare__table { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; box-shadow: var(--shadow-s); }
.ko8-compare__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; align-items: center; }
.ko8-compare__row:not(:last-child) { border-bottom: 1px solid var(--line); }
.ko8-compare__row--head { background: var(--bg-soft); }
.ko8-compare__row--head > div { padding: 16px 20px; font-family: var(--font-h); font-size: 14px; font-weight: 700; color: var(--ink); }
.ko8-compare__row > div { padding: 15px 20px; font-size: 14px; }
.ko8-compare__feat { font-weight: 600; color: var(--ink2); }
.ko8-compare__yes { color: var(--green); font-weight: 700; }
.ko8-compare__no { color: var(--ink3); }
.ko8-compare__col--kk8 { background: rgba(154,224,0,.03); font-weight: 700; color: var(--brand); }

/* ===== CTA BANNER ===== */
#ko8-cta { padding: 40px 0; }
.ko8-cta__box {
  max-width: 1100px; margin: 0 auto; padding: 48px 56px;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 100%);
  border: 1px solid rgba(154,224,0,.25);
  border-radius: var(--r3); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.ko8-cta__box::before { content: ''; position: absolute; top: -80px; right: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(154,224,0,.22) 0%, transparent 70%); }
.ko8-cta__text { position: relative; z-index: 1; }
.ko8-cta__text h2 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.ko8-cta__heading { font-family: var(--font-h); font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.ko8-cta__text p { font-size: 16px; color: rgba(255,255,255,.75); }
.ko8-cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.ko8-cta__note { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 10px; }
/* A CTA banner can also get spliced directly into article content
   (ko8_insert_cta_after_heading, for the mid-content CTAs), landing inside
   .ko8-entry - whose own h2/p color rules have equal-or-higher specificity
   and come later in this file, so they were silently winning the cascade
   and rendering the banner's heading/paragraph in dark ink on a dark
   background instead of white. These overrides are scoped one level more
   specific than any .ko8-entry rule so the banner stays legible regardless
   of where in the page it ends up. */
.ko8-entry .ko8-cta__box h2 { color: #fff; margin: 0 0 8px; }
.ko8-entry .ko8-cta__box p { color: rgba(255,255,255,.75); margin: 0; }
.ko8-entry .ko8-cta__box .ko8-cta__note { color: rgba(255,255,255,.55); }
/* Same cascade problem hits the button itself: .ko8-entry a (below) sets
   every link's color to the brand orange, which equals .ko8-btn--gold's own
   background — rendering the button's own label invisible against itself
   until :hover's higher-specificity rule happens to restore it. Restore the
   button's intended dark-on-gold text unconditionally here too. */
.ko8-entry .ko8-btn--gold { color: #16210a; }

/* ===== FAQ ===== */
.ko8-faq { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.accordion__block:hover { border-color: var(--line2); box-shadow: var(--shadow-s); }
.faq__box { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; user-select: none; gap: 16px; }
.faq__box h3 { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.4; flex: 1; }
.faq__plus { width: 28px; height: 28px; flex-shrink: 0; position: relative; background: var(--bg-soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.faq__plus span { position: absolute; background: var(--brand); border-radius: 2px; transition: transform .25s, opacity .25s; }
.faq__plus span:first-child { width: 12px; height: 2px; }
.faq__plus span:last-child { width: 2px; height: 12px; }
.faq__box.open .faq__plus span:last-child { transform: rotate(90deg); opacity: 0; }
.faq__box.open .faq__plus { background: var(--brand); }
.faq__box.open .faq__plus span { background: #fff; }
.submenu { box-sizing: border-box; display: none; padding: 0 24px 20px; }
.submenu p, .submenu li, .submenu div { font-size: 15px !important; line-height: 1.7 !important; color: var(--ink3) !important; }
.submenu strong, .submenu b { color: var(--ink2) !important; }
.submenu a { color: var(--brand) !important; }
.faq__box .ez-toc-section, .faq__box .ez-toc-section-end { display: none !important; }

/* ===== PROS / CONS CARD ===== */
.ko8-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.ko8-proscons__col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 22px 24px; }
.ko8-proscons__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.ko8-proscons__col--pros .ko8-proscons__title { color: var(--green); }
.ko8-proscons__col--pros .ko8-proscons__title svg { stroke: var(--green); }
.ko8-proscons__col--cons .ko8-proscons__title { color: var(--gold); }
.ko8-proscons__col--cons .ko8-proscons__title svg { stroke: var(--gold); }
.ko8-proscons__col ul { margin: 0; padding: 0; }
.ko8-proscons__col li { position: relative; padding: 7px 0 7px 20px; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.ko8-proscons__col li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-radius: 50%; }
.ko8-proscons__col--pros li::before { background: var(--green); }
.ko8-proscons__col--cons li::before { background: var(--gold); }

/* ===== QUICK FACTS ===== */
.ko8-quickfacts { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 24px; margin: 24px 0; }
.ko8-quickfacts__title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.ko8-quickfacts__list { display: flex; flex-direction: column; gap: 0; }
.ko8-quickfacts__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.ko8-quickfacts__row:last-child { border-bottom: none; }
.ko8-quickfacts__row dt { font-size: 13px; color: var(--ink3); flex: 1; }
.ko8-quickfacts__row dd { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; margin: 0; }

/* ===== BREADCRUMBS ===== */
.ko8-breadcrumbs { max-width: 820px; margin: 0 auto; padding: 24px 24px 0; }
.ko8-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ko8-breadcrumbs li { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.ko8-breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--ink3); margin-left: 6px; }
.ko8-breadcrumbs a { color: var(--ink3); font-weight: 600; }
.ko8-breadcrumbs a:hover { color: var(--brand); }
.ko8-breadcrumbs span[aria-current] { color: var(--ink2); font-weight: 600; }

/* ===== BYLINE ===== */
.ko8-byline { font-size: 13px; color: var(--ink3); margin-bottom: 24px; }

/* ===== TABLE OF CONTENTS ===== */
.ko8-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r2); padding: 18px 22px; margin-bottom: 32px; }
.ko8-toc__title { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink3); margin-bottom: 10px; }
.ko8-toc ol { margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 6px; }
.ko8-toc li { counter-increment: toc; font-size: 14px; }
.ko8-toc li::before { content: counter(toc) '.'; color: var(--brand); font-weight: 700; margin-right: 6px; }
.ko8-toc a { color: var(--ink2); font-weight: 600; text-decoration: none; }
.ko8-toc a:hover { color: var(--brand); }

/* ===== RELATED PAGES ===== */
.ko8-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.ko8-related h2 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.ko8-related ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; }
.ko8-related li { list-style: none; }
.ko8-related a {
  display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); font-size: 14px; font-weight: 600; color: var(--ink2); transition: all .15s;
}
.ko8-related a:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); }

/* ===== MAIN CONTENT (articles) ===== */
#ko8-main { max-width: 1200px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.ko8-content-box { background: var(--bg); max-width: 820px; }

/* SIDEBAR - real internal links styled like the operator-platform nav
   convention (promo cards + collapsible link groups) this theme is
   modeled on, not fake platform features (no betslip/live-ticker widgets -
   this is a content site, not the actual betting platform). */
.ko8-sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--hh) + 24px); }
.ko8-sidebar__promo {
  display: block; padding: 20px; border-radius: var(--r2); position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-dk) 0%, var(--brand) 100%);
  box-shadow: var(--shadow-brand);
}
.ko8-sidebar__promo span { display: block; font-family: var(--font-h); font-weight: 800; font-size: 15px; color: #0c1a00; letter-spacing: 0.02em; }
.ko8-sidebar__promo small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: rgba(12,26,0,.75); }
.ko8-sidebar__group { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 8px; }
.ko8-sidebar__group-title { display: block; padding: 10px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink3); }
.ko8-sidebar__group ul li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; color: var(--ink2); transition: all .15s;
}
.ko8-sidebar__group ul li a:hover, .ko8-sidebar__group ul li a.is-current { background: var(--bg-soft); color: var(--brand); }
.ko8-sidebar__group ul li a svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; }
@media (max-width: 900px) {
  #ko8-main { grid-template-columns: minmax(0, 1fr); }
  .ko8-sidebar { position: static; flex-direction: row; overflow-x: auto; }
  .ko8-sidebar__group { min-width: 220px; }
}
.ko8-entry-title { font-size: 38px; font-weight: 800; color: var(--ink); margin-bottom: 24px; line-height: 1.15; }
.ko8-entry { color: var(--ink2); }
.ko8-entry p { font-size: 17px; line-height: 1.8; margin-bottom: 20px; color: var(--ink2); }
.ko8-entry h2 { font-size: 28px; font-weight: 800; color: var(--ink); margin: 40px 0 16px; }
.ko8-entry h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.ko8-entry a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ko8-entry ul, .ko8-entry ol { margin: 0 0 20px; padding-left: 4px; }
.ko8-entry ul li, .ko8-entry ol li { position: relative; padding: 8px 0 8px 32px; font-size: 16px; line-height: 1.7; }
.ko8-entry ul li::before { content: ''; position: absolute; left: 6px; top: 15px; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; }
.ko8-entry ol { counter-reset: oc; }
.ko8-entry ol li { counter-increment: oc; }
.ko8-entry ol li::before { content: counter(oc); position: absolute; left: 0; top: 8px; width: 22px; height: 22px; background: rgba(154,224,0,.1); color: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ko8-entry table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.ko8-entry table th { background: var(--bg-soft); color: var(--ink); font-weight: 700; font-size: 14px; padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.ko8-entry table td { padding: 12px 16px; font-size: 14px; color: var(--ink2); border-bottom: 1px solid var(--line); }
.ko8-entry table tr:last-child td { border-bottom: none; }
.ko8-entry blockquote { margin: 24px 0; padding: 18px 24px; background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--r) var(--r) 0; }
.ko8-entry blockquote p { margin: 0; color: var(--ink2); font-style: italic; }
.ko8-entry img { border-radius: var(--r2); margin: 20px 0; }

/* PAGINATION */
.ko8-pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; }
.ko8-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: 14px; font-weight: 700; color: var(--ink2); transition: all .15s; }
.ko8-pagination .page-numbers:hover, .ko8-pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* COMMENTS */
.ko8-comments { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.ko8-comments h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
ol.comment-list { list-style: none; padding: 0; }
.comment-item { display: flex; gap: 14px; margin-bottom: 22px; }
.comment-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.comment-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.comment-text { font-size: 15px; line-height: 1.6; color: var(--ink2); margin-top: 4px; }
.cf-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink2); margin: 12px 0 5px; }
.cf-input, .cf-textarea { width: 100%; max-width: 420px; background: var(--bg-soft); border: 1.5px solid var(--line2); border-radius: var(--r); color: var(--ink); font-family: var(--font); font-size: 15px; padding: 11px 15px; outline: none; transition: border-color .15s; }
.cf-input:focus, .cf-textarea:focus { border-color: var(--brand); }
.cf-textarea { max-width: 560px; height: 120px; resize: vertical; }

/* 404 / SEARCH */
.ko8-notfound { text-align: center; padding: 90px 24px; max-width: 600px; margin: 0 auto; }
.ko8-notfound h1 { font-size: 96px; font-weight: 800; color: var(--brand); opacity: .18; }
.ko8-notfound h2 { font-size: 28px; color: var(--ink); margin: 8px 0 12px; }
.ko8-notfound p { color: var(--ink3); margin-bottom: 26px; font-size: 16px; }
.ko8-search-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ko8-search-form input { background: var(--bg-soft); border: 1.5px solid var(--line2); border-radius: var(--r); color: var(--ink); font-size: 15px; padding: 13px 18px; outline: none; width: 320px; }
.ko8-search-form input:focus { border-color: var(--brand); }

/* ===== FOOTER ===== */
#ko8-footer { background: var(--navy); color: #94a3b8; padding: 60px 0 0; }
.ko8-footer__body { max-width: 1200px; margin: 0 auto; padding: 0 24px 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ko8-footer__brand-name { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; display: block; }
.ko8-footer__brand-name b { color: var(--brand2); }
.ko8-footer__desc { font-size: 14px; line-height: 1.7; color: #94a3b8; margin-bottom: 18px; max-width: 300px; }
.ko8-footer__pay { display: flex; gap: 6px; flex-wrap: wrap; }
.ko8-footer__pay span { font-size: 11px; font-weight: 600; color: #cbd5e1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; padding: 4px 9px; }
.ko8-footer__col-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; display: block; }
.ko8-footer__links li { margin-bottom: 10px; }
.ko8-footer__links li a { font-size: 14px; color: #94a3b8; transition: color .15s; }
.ko8-footer__links li a:hover { color: #fff; }
.ko8-footer__bottom { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ko8-footer__copy { font-size: 13px; color: #64748b; }
.ko8-footer__copy a { color: #94a3b8; }
.ko8-footer__badges { display: flex; align-items: center; gap: 12px; }
.ko8-age { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 50px; }
.ko8-footer__resp { font-size: 12px; color: #64748b; }

/* MOBILE BOTTOM NAV */
#ko8-mobnav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--card); border-top: 1px solid var(--line); padding: 8px 0; z-index: 200; box-shadow: 0 -2px 16px rgba(15,23,42,.06); }
.ko8-mobnav__row { display: flex; align-items: center; justify-content: space-around; }
.ko8-mobnav__link { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 8px; }
.ko8-mobnav__link svg { width: 20px; height: 20px; stroke: var(--ink3); fill: none; }
.ko8-mobnav__link span { font-size: 10px; font-weight: 600; color: var(--ink3); }
.ko8-mobnav__link:hover svg { stroke: var(--brand); }
.ko8-mobnav__link:hover span { color: var(--brand); }
.ko8-mobnav__cta a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--brand); border-radius: 50%; box-shadow: var(--shadow-brand); margin-top: -18px; }
.ko8-mobnav__cta svg { width: 24px; stroke: #fff; fill: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ko8-features { grid-template-columns: repeat(2, 1fr); }
  .ko8-games { grid-template-columns: repeat(2, 1fr); }
  .ko8-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .ko8-hero__visual { max-width: 480px; }
}
/* This theme's nav has grown to 8 top-level items across this site's real
   page set (Home, Games, Access, Security, Responsible Gaming, Bonuses,
   Glossary, About) - that no longer fits a single-row desktop bar below
   roughly 1300px, so the mobile hamburger nav (already a full, well-styled
   menu) takes over earlier than the original 900px breakpoint to avoid a
   cramped/overlapping bar on ordinary laptop-width screens. */
@media (max-width: 1300px) {
  .ko8-nav { display: none; }
  .ko8-hamburger { display: flex; }
}
@media (max-width: 768px) {
  :root { --hh: 60px; }
  .ko8-section { padding: 48px 0; }
  .ko8-hero__title { font-size: 34px; }
  .ko8-hero__desc { font-size: 16px; }
  .ko8-section__title { font-size: 28px; }
  #ko8-hero { padding: 40px 0 50px; }
  .ko8-steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ko8-step:not(:last-child)::after { display: none; }
  .ko8-compare__row { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
  .ko8-compare__row > div { padding: 12px 12px; font-size: 13px; }
  .ko8-cta__box { padding: 32px 28px; text-align: center; justify-content: center; }
  .ko8-cta__text h2 { font-size: 24px; }
  .ko8-footer__body { grid-template-columns: 1fr 1fr; gap: 28px; }
  #ko8-main { padding: 40px 20px; }
  .ko8-entry-title { font-size: 28px; }
  .ko8-proscons { grid-template-columns: 1fr; }
  .ko8-related ul { grid-template-columns: 1fr; }
  .ko8-breadcrumbs { padding: 20px 20px 0; }
  #ko8-mobnav { display: block; }
  body { padding-bottom: 68px; }
  .ko8-header__cta .ko8-btn--ghost { display: none; }
  .ko8-hero__float--1 { left: 0; }
  .ko8-hero__float--2 { right: 0; }
}
@media (max-width: 560px) {
  .ko8-features { grid-template-columns: 1fr; }
  .ko8-steps { grid-template-columns: 1fr; }
  .ko8-games { grid-template-columns: 1fr 1fr; }
  .ko8-hero__title { font-size: 28px; }
  .ko8-hero__stats { gap: 20px; }
  .ko8-footer__body { grid-template-columns: 1fr; }
  .ko8-cta__actions { flex-direction: column; width: 100%; }
  .ko8-cta__actions .ko8-btn { width: 100%; }
}
@media (max-width: 400px) {
  .ko8-games { grid-template-columns: 1fr; }
}
