/*
Theme Name: KK8
Theme URI: https://kk-8.asia
Author: KK8 Team
Author URI: https://kk-8.asia
Description: Premium Malaysian online gaming portal. DuitNow, Touch n Go, FPX, MYR
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: kk8
Tags: gaming, casino, malaysia, my, en-MY
*/

/* ============================================================
   KK8 DESIGN TOKENS
   Brand: Deep navy-black + electric gold + red accent
   Market: Malaysia (MYR - DuitNow - TnG - FPX)
   ============================================================ */
:root {
  --bg:         #08090f;
  --bg2:        #0f1117;
  --bg3:        #161821;
  --card:       #191b26;
  --gold:       #0047ff;
  --gold2:      #4d8aff;
  --red:        #e63946;
  --red2:       #ff6b6b;
  --text:       #f0f0ff;
  --text2:      #9899b3;
  --muted:      #4a4b6a;
  --border:     rgba(0,71,255,0.18);
  --border2:    rgba(0,71,255,0.40);
  --r:          10px;
  --r2:         16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --gshadow:    0 4px 20px rgba(0,71,255,0.35);
  --rshadow:    0 4px 20px rgba(230,57,70,0.3);
  --font:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-h:     'Sora', 'Plus Jakarta Sans', sans-serif;
  --hh:         58px;
}

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

/* -- WRAP -------------------------------------------------- */
.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 18px; }

/* -- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 700; font-size: 14px;
  border-radius: var(--r); border: none; cursor: pointer;
  padding: 11px 24px; transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg,#0047ff,#4d8aff); color: #000; box-shadow: var(--gshadow); }
.btn-gold:hover { transform: translateY(-2px); color: #000; box-shadow: 0 8px 28px rgba(0,71,255,.5); }
.btn-red { background: linear-gradient(135deg,#e63946,#ff6b6b); color: #fff; box-shadow: var(--rshadow); }
.btn-red:hover { transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border2); color: var(--gold2); }
.btn-outline:hover { background: rgba(0,71,255,.12); color: var(--gold2); }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-login { background: rgba(0,71,255,.1); border: 1px solid var(--border); color: var(--text); padding: 8px 16px; font-size: 13px; }
.btn-login:hover { background: rgba(0,71,255,.16); color: var(--gold2); }
.btn-reg { background: linear-gradient(135deg,#0047ff,#4d8aff); color: #000; padding: 8px 18px; font-size: 13px; font-weight: 800; box-shadow: var(--gshadow); }
.btn-reg:hover { transform: translateY(-1px); color: #000; }

/* -- HEADER ------------------------------------------------ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--hh);
  background: rgba(8,9,15,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 100%; max-width: 1380px; margin: 0 auto; padding: 0 18px;
}
.site-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-logo img { height: 36px; width: auto; }
.site-logo-text {
  font-family: var(--font-h); font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg,#0047ff,#4d8aff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.03em;
}
.site-nav { display: flex; align-items: center; height: 100%; flex: 1; }
.site-nav ul { display: flex; align-items: center; height: 100%; gap: 0; }
.site-nav ul li { height: 100%; display: flex; align-items: center; position: relative; }
.site-nav ul li a {
  display: flex; align-items: center; height: 100%; padding: 0 14px;
  font-size: 13px; font-weight: 600; color: var(--text2);
  transition: color .15s; white-space: nowrap; position: relative;
}
.site-nav ul li a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: linear-gradient(90deg,#0047ff,#4d8aff);
  opacity: 0; transition: opacity .15s; border-radius: 2px 2px 0 0;
}
.site-nav ul li a:hover,
.site-nav ul li.current-menu-item a { color: var(--gold2); }
.site-nav ul li a:hover::after,
.site-nav ul li.current-menu-item a::after { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  width: 36px; height: 36px; cursor: pointer;
  background: rgba(0,71,255,.1); border: 1px solid var(--border); border-radius: var(--r);
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav {
  display: block; position: fixed; top: var(--hh); right: 0;
  width: 270px; height: calc(100vh - var(--hh));
  background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 190; overflow-y: auto; padding: 12px 0 80px;
  transform: translateX(100%); transition: transform .3s;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul li { border-bottom: 1px solid rgba(0,71,255,.08); }
.mobile-nav ul li a { display: block; padding: 13px 20px; font-size: 15px; font-weight: 600; color: var(--text); }
.mobile-nav ul li a:hover { color: var(--gold); background: rgba(0,71,255,.06); }
.mobile-nav-cta { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* -- HERO -------------------------------------------------- */
#hero { width: 100%; position: relative; background: var(--bg2); line-height: 0; }
.hero-banner { display: block; width: 100%; position: relative; line-height: 0; overflow: hidden; }
.hero-img { width: 100%; height: 440px; object-fit: cover; object-position: center; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,15,.92) 0%, rgba(8,9,15,.55) 50%, transparent 100%);
  display: flex; align-items: center; padding: 0 44px;
}
.hero-text { max-width: 540px; }
.hero-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,.6); line-height: 1.15; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 24px; line-height: 1.5; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-fallback {
  width: 100%; height: 440px;
  background: linear-gradient(135deg, #111220 0%, #08090f 100%);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
}
.hero-fallback .hero-title { font-size: 34px; margin-bottom: 12px; }
.hero-fallback .hero-desc { margin-bottom: 24px; }
.hero-fallback .hero-btns { justify-content: center; }
.hero-setup-hint {
  display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; padding: 8px 14px; font-size: 12px; color: rgba(255,255,255,.6) !important;
  margin-bottom: 18px !important; line-height: 1.5;
}
.hero-setup-hint strong { color: #fff !important; }

/* -- PAYMENTS ---------------------------------------------- */
#payments { max-width: 1380px; margin: 16px auto 0; padding: 0 18px; }
.payments-inner {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 18px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pay-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,71,255,.08); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 11px; font-size: 12px; font-weight: 700; color: var(--text);
}
.pay-badge svg { width: 13px; height: 13px; stroke: var(--gold); flex-shrink: 0; }
.pay-myr { font-size: 11px; font-weight: 700; color: var(--gold); border-left: 1px solid var(--border); padding-left: 12px; white-space: nowrap; }

/* -- WHY US ------------------------------------------------ */
#why-us { max-width: 1380px; margin: 20px auto 0; padding: 0 18px; }
.why-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: 28px 24px;
  position: relative; overflow: hidden;
}
.why-box::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,71,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.why-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.why-title { font-family: var(--font-h); font-size: 20px; font-weight: 800; color: var(--text); }
.why-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.badge-my {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,71,255,.12); border: 1px solid var(--border);
  border-radius: 50px; padding: 4px 12px; font-size: 11px; font-weight: 700; color: var(--gold);
  white-space: nowrap;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-card {
  background: rgba(0,71,255,.05); border: 1px solid rgba(0,71,255,.12);
  border-radius: var(--r); padding: 18px; transition: all .2s;
}
.why-card:hover { background: rgba(0,71,255,.1); border-color: var(--border2); transform: translateY(-2px); }
.why-icon {
  width: 40px; height: 40px; background: rgba(0,71,255,.14); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.why-icon svg { width: 19px; height: 19px; stroke: var(--gold2); }
.why-card strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.why-card p { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* -- MAIN CONTENT ------------------------------------------ */
#main-content { max-width: 1380px; margin: 20px auto 40px; padding: 0 18px; }
.content-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r2);
  padding: 30px 32px 40px; position: relative;
}
.content-box::before {
  content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 3px;
  background: linear-gradient(90deg,#0047ff,#4d8aff); border-radius: 2px 2px 0 0;
}
.entry-title {
  font-family: var(--font-h); font-size: 26px; font-weight: 800;
  color: var(--text); margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,71,255,.14); letter-spacing: -.02em;
}
.entry-content { color: var(--text2); }
.entry-content p { font-size: 15px; line-height: 1.8; margin-bottom: 15px; color: #a0a1be; }
.entry-content p strong, .entry-content p b { color: var(--text); font-weight: 700; }
.entry-content h2 {
  font-family: var(--font-h); font-size: 20px; font-weight: 800;
  color: var(--text); margin: 30px 0 12px;
  padding-left: 14px; position: relative; display: block;
  border-bottom: none; letter-spacing: -.01em;
}
.entry-content h2::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; background: linear-gradient(180deg,#0047ff,#4d8aff); border-radius: 2px;
}
.entry-content h3 { font-size: 17px; font-weight: 700; color: #d4d4f0; margin: 22px 0 10px; }
.entry-content h4 { font-size: 12px; font-weight: 700; color: var(--gold); margin: 16px 0 7px; text-transform: uppercase; letter-spacing: .05em; }
.entry-content a { color: var(--gold); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0,71,255,.35); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--gold2); }
.entry-content ul { padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; }
.entry-content ul li {
  position: relative; padding: 10px 14px 10px 40px;
  background: rgba(0,71,255,.05); border: 1px solid rgba(0,71,255,.12);
  border-radius: 8px; font-size: 14px; line-height: 1.6; color: #a0a1be;
}
.entry-content ul li::before {
  content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: linear-gradient(135deg,#0047ff,#4d8aff); border-radius: 50%;
}
.entry-content ol { counter-reset: oc; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; }
.entry-content ol li {
  counter-increment: oc; position: relative; padding: 10px 14px 10px 52px;
  background: rgba(0,71,255,.05); border: 1px solid rgba(0,71,255,.12);
  border-radius: 8px; font-size: 14px; line-height: 1.6; color: #a0a1be;
}
.entry-content ol li::before {
  content: counter(oc); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px;
  background: linear-gradient(135deg,#0047ff,#4d8aff); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #000; line-height: 1;
}
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,71,255,.18); }
.entry-content table th { background: rgba(0,71,255,.12); color: var(--text); font-weight: 700; font-size: 13px; padding: 11px 14px; text-align: left; border-bottom: 1px solid rgba(0,71,255,.3); }
.entry-content table td { padding: 9px 14px; font-size: 13px; color: var(--text2); border-bottom: 1px solid rgba(0,71,255,.07); }
.entry-content table tr:last-child td { border-bottom: none; }
.entry-content table tr:nth-child(even) td { background: rgba(0,71,255,.04); }
.entry-content blockquote { margin: 18px 0; padding: 14px 18px 14px 22px; background: rgba(0,71,255,.06); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }
.entry-content blockquote p { margin: 0; font-style: italic; color: #a0a1be; }
img.alignright { float: right; margin: 0 0 1em 1.5em; }
img.alignleft  { float: left; margin: 0 1.5em 1em 0; }
img.aligncenter { display: block; margin: 0 auto; }

/* -- FAQ ACCORDION ----------------------------------------- */
.accordion { margin: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.accordion__block {
  background: rgba(0,71,255,.05); border: 1px solid rgba(0,71,255,.15);
  border-radius: 12px; overflow: hidden; transition: border-color .2s;
}
.accordion__block:hover { border-color: rgba(0,71,255,.35); }
.faq__box {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; user-select: none; gap: 16px;
}
.faq__box h3 {
  font-family: var(--font); font-size: 15px; font-weight: 600;
  color: var(--text); margin: 0; line-height: 1.4; flex: 1;
}
.entry-content .faq__box h3 { margin: 0 !important; padding: 0 !important; border: none !important; font-size: 15px !important; color: var(--text) !important; }
.faq__plus {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0; position: relative;
  background: rgba(0,71,255,.12); border-radius: 50%;
}
.faq__plus span { display: block; position: absolute; background: var(--gold); 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: rgba(0,71,255,.28); }
.submenu { box-sizing: border-box; display: none; }
.submenu p, .submenu li, .submenu div { font-size: 14px !important; line-height: 1.75 !important; color: #8888a8 !important; }
.submenu strong, .submenu b { color: #c8c8e0 !important; }
.submenu a { color: var(--gold) !important; }
.faq__box .ez-toc-section, .faq__box .ez-toc-section-end { display: none !important; }

/* -- COMMENTS ---------------------------------------------- */
.comments-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.comments-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.comments-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
ol.comment-list { list-style: none; padding: 0; }
.comment-item { display: flex; gap: 12px; margin-bottom: 18px; }
.comment-avatar img { width: 40px; height: 40px; border-radius: var(--r); }
.comment-body { flex: 1; }
.comment-author { font-size: 13px; font-weight: 700; color: var(--gold); }
.comment-text { font-size: 14px; line-height: 1.6; color: var(--text2); margin-top: 5px; }
.comment-form-wrap { margin-top: 22px; }
.cf-label { display: block; font-size: 12px; font-weight: 600; color: var(--text2); margin: 10px 0 4px; }
.cf-input, .cf-textarea { width: 100%; max-width: 380px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text); font-family: var(--font); font-size: 14px; padding: 9px 13px; outline: none; transition: border-color .15s; }
.cf-input:focus, .cf-textarea:focus { border-color: var(--gold); }
.cf-textarea { max-width: 500px; height: 100px; resize: vertical; }

/* -- PAGINATION -------------------------------------------- */
.pd-pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; }
.pd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); font-size: 13px; font-weight: 700; color: var(--text2); transition: all .15s; }
.pd-pagination .page-numbers:hover,
.pd-pagination .page-numbers.current { background: linear-gradient(135deg,#0047ff,#4d8aff); border-color: transparent; color: #000; }

/* -- SIDEBAR ----------------------------------------------- */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 290px; gap: 20px; align-items: start; }
.sidebar .widget { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; margin-bottom: 14px; }
.sidebar .widget-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* -- 404 / SEARCH ------------------------------------------ */
.not-found-wrap { text-align: center; padding: 80px 20px; }
.not-found-wrap h1 { font-size: 80px; font-weight: 800; color: var(--gold); opacity: .25; }
.not-found-wrap h2 { font-size: 24px; color: var(--text); margin: 12px 0; }
.not-found-wrap p { color: var(--text2); margin-bottom: 22px; }
.search-form-wrap { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.search-form-wrap input { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); color: var(--text); font-size: 15px; padding: 11px 16px; outline: none; width: 300px; }
.search-form-wrap input:focus { border-color: var(--gold); }

/* -- FOOTER ------------------------------------------------ */
#site-footer { background: var(--bg2); border-top: 1px solid var(--border); margin-top: 50px; padding: 44px 18px 28px; }
.footer-top { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr 1fr auto; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(0,71,255,.08); }
.footer-brand-name { font-family: var(--font-h); font-size: 20px; font-weight: 800; background: linear-gradient(135deg,#0047ff,#4d8aff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; display: block; }
.footer-brand-desc { font-size: 12px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.footer-pay-row { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-pay-badge { font-size: 10px; font-weight: 700; color: var(--gold); background: rgba(0,71,255,.08); border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; }
.footer-col-title { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; display: block; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li small { display: block; font-size: 10px; color: var(--muted); }
.footer-links li a { font-size: 13px; font-weight: 600; color: var(--text2); transition: color .15s; }
.footer-links li a:hover { color: var(--gold2); }
.footer-apps { display: flex; flex-direction: column; gap: 7px; }
.footer-app-btn { display: flex; align-items: center; gap: 8px; background: rgba(0,71,255,.06); border: 1px solid var(--border); border-radius: var(--r); padding: 9px 13px; transition: all .15s; min-width: 140px; }
.footer-app-btn:hover { background: rgba(0,71,255,.14); border-color: var(--border2); }
.footer-app-btn svg { width: 20px; flex-shrink: 0; }
.footer-app-meta small { display: block; font-size: 9px; color: var(--muted); }
.footer-app-meta span { display: block; font-size: 11px; font-weight: 700; color: var(--text); }
.footer-bottom { max-width: 1380px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 11px; color: var(--muted); }
.footer-badges { display: flex; align-items: center; gap: 10px; }
.age-badge { background: rgba(0,71,255,.12); border: 1px solid rgba(0,71,255,.25); color: #4d8aff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 50px; }
.resp-badge { font-size: 11px; font-weight: 600; color: var(--muted); }

/* -- MOBILE BOTTOM NAV ------------------------------------- */
#mobile-nav-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(8,9,15,.97); border-top: 1px solid var(--border); padding: 6px 0; z-index: 200; }
.mnav-row { display: flex; align-items: center; justify-content: space-around; }
.mnav-item { flex: 1; }
.mnav-link { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px; }
.mnav-link svg { width: 20px; height: 20px; fill: var(--muted); transition: fill .15s; }
.mnav-link:hover svg { fill: var(--gold2); }
.mnav-label { font-size: 10px; font-weight: 600; color: var(--muted); }
.mnav-link:hover .mnav-label { color: var(--gold2); }
.mnav-cta { flex: 1.4; display: flex; justify-content: center; }
.mnav-cta a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: linear-gradient(135deg,#0047ff,#4d8aff); border-radius: 50%; box-shadow: var(--gshadow); margin-top: -14px; }
.mnav-cta a svg { width: 22px; fill: #000; }

/* -- RESPONSIVE -------------------------------------------- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 700px) {
  :root { --hh: 52px; }
  .hero-img, .hero-fallback { height: 260px; }
  .hero-overlay { padding: 0 20px; }
  .hero-title { font-size: 22px; }
  .hero-desc { font-size: 13px; }
  #payments { padding: 0 12px; margin-top: 10px; }
  #why-us { padding: 0 12px; margin-top: 14px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  #main-content { padding: 0 12px; }
  .content-box { padding: 18px 16px 28px; }
  .content-box::before { left: 16px; right: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
  #site-footer { padding-bottom: 70px; }
  #mobile-nav-bar { display: block; }
  body { padding-bottom: 62px; }
  .header-cta .btn-login { display: none; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-img, .hero-fallback { height: 210px; }
  .hero-title { font-size: 19px; }
  .hero-desc { display: none; }
}

/* ============================================================
   STATS STRIP - replaces payments block
   ============================================================ */
#kk8-stats {
  max-width: 1380px; margin: 16px auto 0; padding: 0 18px;
}
.stats-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  gap: 4px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg,#0047ff,#4d8aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-sep {
  width: 1px;
  background: var(--border);
  margin: 14px 0;
  flex-shrink: 0;
}
.stat-item--pay { flex: 1.4; }
.stat-pay-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
}
.stat-pay-badges span {
  background: rgba(0,71,255,.1);
  border: 1px solid rgba(0,71,255,.25);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold2);
}

/* ============================================================
   TOP CASINOS RATING - replaces why-us block
   ============================================================ */
#kk8-top-casinos {
  max-width: 1380px;
  margin: 20px auto 0;
  padding: 0 18px;
}
.tc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.tc-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.tc-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,71,255,.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.tc-list { display: flex; flex-direction: column; gap: 10px; }

.tc-card {
  display: grid;
  grid-template-columns: 44px 64px 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 18px 22px;
  transition: all .2s;
  color: inherit;
}
.tc-card:hover {
  border-color: var(--border2);
  background: rgba(0,71,255,.05);
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--gold), var(--shadow);
  color: inherit;
}
.tc-card--top {
  border-color: rgba(0,71,255,.35);
  background: linear-gradient(90deg, rgba(0,71,255,.08) 0%, var(--card) 100%);
  position: relative;
  overflow: hidden;
}
.tc-card--top::before {
  content: 'BEST';
  position: absolute;
  top: 10px; right: -18px;
  background: var(--gold);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 22px;
  transform: rotate(35deg);
  letter-spacing: .08em;
}

.tc-rank {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
}
.tc-card--top .tc-rank { color: var(--gold); }

.tc-logo-wrap {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.05);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.tc-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }

.tc-info { min-width: 0; }
.tc-name {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.tc-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 6px; }
.tc-tag {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
}
.tc-bonus { font-size: 13px; color: var(--gold2); font-weight: 600; }

.tc-score-wrap { text-align: center; flex-shrink: 0; }
.tc-score {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg,#0047ff,#4d8aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.tc-stars { font-size: 13px; color: var(--gold); margin: 2px 0; }
.tc-score-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.tc-cta { flex-shrink: 0; }

/* ============================================================
   FOOTER - unique structure
   ============================================================ */
.footer-cta-strip {
  background: linear-gradient(90deg, rgba(0,71,255,.12) 0%, rgba(0,71,255,.05) 100%);
  border-top: 1px solid rgba(0,71,255,.25);
  border-bottom: 1px solid var(--border);
  padding: 22px 18px;
}
.footer-cta-strip__inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-cta-heading {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-cta-sub { font-size: 13px; color: var(--text2); }
.footer-cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-trust-row { display: flex; gap: 10px; }
.footer-trust-item { font-size: 12px; font-weight: 700; color: var(--gold2); }

.footer-body {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding: 36px 18px 32px;
  border-bottom: 1px solid rgba(0,71,255,.08);
}
.footer-logo-img { margin-bottom: 12px; }
.footer-rating { margin-top: 14px; }
.footer-rating-stars { font-size: 16px; color: var(--gold); margin-bottom: 3px; }
.footer-rating-text { font-size: 11px; color: var(--muted); }

.footer-bottom { background: rgba(0,0,0,.3); padding: 16px 18px; }
.footer-bottom__inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy-sep { margin: 0 6px; color: var(--muted); }
.footer-copy a { color: var(--muted); font-size: 11px; }
.footer-copy a:hover { color: var(--gold); }

/* -- Responsive additions ------------------------------- */
@media (max-width: 1100px) {
  .footer-body { grid-template-columns: 1fr 1fr; }
  .tc-card { grid-template-columns: 36px 52px 1fr auto; }
  .tc-cta { display: none; }
}
@media (max-width: 700px) {
  .stats-inner { flex-wrap: wrap; padding: 8px 16px; }
  .stat-sep { display: none; }
  .stat-item { flex: 1 0 45%; padding: 12px 8px; }
  .stat-item--pay { flex: 1 0 100%; border-top: 1px solid var(--border); }
  .tc-card { grid-template-columns: 36px 1fr auto; gap: 12px; padding: 14px 16px; }
  .tc-logo-wrap { display: none; }
  .tc-score-wrap { display: none; }
  .footer-body { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; }
  .footer-cta-actions { align-items: flex-start; }
  .footer-trust-row { flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 480px) {
  .tc-card { grid-template-columns: 28px 1fr; }
  .tc-cta { display: none; }
}
