/*
Theme Name: KK8 Official
Theme URI: https://kk8-official.my
Author: KK8 Official
Description: KK8 Official Malaysia - light modern casino guide theme. Long-form landing.
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: kk8official
*/

:root {
  /* Light theme palette - clean, modern */
  --bg:        #ffffff;
  --bg-soft:   #f6f8fb;
  --bg-soft2:  #eef2f7;
  --card:      #ffffff;

  /* Brand: royal blue + warm gold accent */
  --brand:     #1a56db;
  --brand2:    #3b82f6;
  --brand-dk:  #1e3a8a;
  --gold:      #e0a828;
  --gold2:     #f5c542;
  --green:     #16a34a;

  --ink:       #0f172a;
  --ink2:      #334155;
  --ink3:      #64748b;
  --line:      #e4e9f0;
  --line2:     #d4dbe6;

  --r:         10px;
  --r2:        16px;
  --r3:        24px;
  --shadow-s:  0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-m:  0 4px 16px rgba(15,23,42,0.08);
  --shadow-l:  0 12px 40px rgba(15,23,42,0.12);
  --shadow-brand: 0 8px 24px rgba(26,86,219,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(26,86,219,.35); }
.ko8-btn--gold { background: linear-gradient(135deg,#e0a828,#f5c542); color: #4a3608; box-shadow: 0 8px 24px rgba(224,168,40,.3); }
.ko8-btn--gold:hover { transform: translateY(-2px); color: #4a3608; }
.ko8-btn--ghost { background: #fff; 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(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.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: var(--ink); letter-spacing: -0.03em; }
.ko8-logo__text b { color: var(--brand); }
.ko8-nav { display: flex; align-items: center; height: 100%; flex: 1; }
.ko8-nav ul { display: flex; align-items: center; gap: 4px; }
.ko8-nav ul li a {
  display: flex; align-items: center; padding: 9px 16px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; color: var(--ink2);
  transition: all .15s; white-space: nowrap;
}
.ko8-nav ul li a:hover, .ko8-nav ul li.current-menu-item a { color: var(--brand); background: var(--bg-soft); }
.ko8-header__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.ko8-hamburger {
  display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  width: 40px; height: 40px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r);
}
.ko8-hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.ko8-mobile-nav {
  display: block; position: fixed; top: var(--hh); right: 0;
  width: 300px; height: calc(100vh - var(--hh));
  background: #fff; 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: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 60px 0 70px;
  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(26,86,219,.08); color: var(--brand); 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,.2); }
.ko8-hero__title { font-size: 48px; font-weight: 800; color: var(--ink); line-height: 1.08; margin-bottom: 18px; }
.ko8-hero__title span { color: var(--brand); }
.ko8-hero__desc { font-size: 18px; color: var(--ink3); 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: var(--ink); }
.ko8-hero__stat span { font-size: 13px; color: var(--ink3); }
.ko8-hero__visual { position: relative; }
.ko8-hero__card {
  background: #fff; border-radius: var(--r3); box-shadow: var(--shadow-l);
  overflow: hidden; border: 1px solid var(--line);
}
.ko8-hero__card img { width: 100%; height: 340px; object-fit: cover; display: block; }
.ko8-hero__card-fallback {
  height: 340px; 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: #fff; border-radius: var(--r2); box-shadow: var(--shadow-l);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line);
}
.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,.12); }
.ko8-hero__float--1 .ko8-hero__float-icon svg { stroke: var(--green); }
.ko8-hero__float--2 .ko8-hero__float-icon { background: rgba(224,168,40,.14); }
.ko8-hero__float--2 .ko8-hero__float-icon svg { stroke: var(--gold); }
.ko8-hero__float strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.ko8-hero__float span { font-size: 11px; color: var(--ink3); }

/* ===== LOGOS STRIP ===== */
#ko8-logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.ko8-logos__inner { max-width: 1200px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ko8-logos__label { font-size: 13px; font-weight: 600; color: var(--ink3); margin-right: 8px; }
.ko8-logos__badge { font-size: 13px; font-weight: 700; color: var(--ink2); background: var(--bg-soft); border: 1px solid var(--line); 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: #fff; 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(26,86,219,.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: #fff; 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: #fff; 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(26,86,219,.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(--brand) 0%, var(--brand-dk) 100%);
  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(255,255,255,.12) 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,.85); }
.ko8-cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.ko8-faq { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__block { background: #fff; 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; }

/* ===== MAIN CONTENT (articles) ===== */
#ko8-main { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.ko8-content-box { background: #fff; }
.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(26,86,219,.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: #fff; 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: #fff; 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(--ink); 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: #fff; 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; }
}
@media (max-width: 900px) {
  .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-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; }
}
