:root {
  --rr-bg: #06100c;
  --rr-bg-2: #0a1d15;
  --rr-panel: rgba(12, 32, 24, .93);
  --rr-panel-2: rgba(18, 45, 34, .96);
  --rr-line: rgba(242, 199, 94, .24);
  --rr-text: #fff8e8;
  --rr-muted: #bbcec2;
  --rr-gold: #f2c34f;
  --rr-gold-2: #ffe89d;
  --rr-green: #34d482;
  --rr-cyan: #6bd7ff;
  --rr-coral: #ff7c5d;
  --rr-radius: 8px;
  --rr-shadow: 0 24px 72px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rr-text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(52, 212, 130, .18), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(242, 195, 79, .14), transparent 32%),
    linear-gradient(180deg, #050908 0%, var(--rr-bg) 38%, #081711 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { line-height: 1.72; }
.kb88-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.kb88-topbar {
  background: #090d0b;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #d8e7dc;
  font-size: 13px;
}
.kb88-topbar .kb88-shell,
.kb88-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
.kb88-topbar .kb88-shell { min-height: 38px; }
.kb88-topbar strong { color: var(--rr-gold-2); }
.kb88-quick-links { display: flex; flex-wrap: wrap; gap: 16px; }
.kb88-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 18, 14, .88);
  border-bottom: 1px solid var(--rr-line);
  backdrop-filter: blur(14px);
}
.kb88-nav { min-height: 78px; }
.kb88-brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.kb88-brand img {
  width: 58px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,232,157,.44);
  box-shadow: 0 12px 28px rgba(242,195,79,.24);
}
.kb88-brand span { display: block; }
.kb88-brand strong { display:block; font-size: 25px; line-height: 1; color: #fff; }
.kb88-brand small { display:block; margin-top: 3px; color: var(--rr-muted); font-size: 12px; }
.kb88-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #ecf7ee;
  min-width: 0;
}
.kb88-menu a { padding: 10px 11px; border-radius: 7px; }
.kb88-menu a:hover { background: rgba(255,255,255,.08); }
.kb88-actions { display:flex; align-items:center; gap:10px; min-width:0; }
.kb88-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: #06100c;
  font-weight: 900;
  background: linear-gradient(180deg, #fff1a6, #f1bc48 55%, #d98d1a);
  box-shadow: 0 12px 26px rgba(242,195,79,.22);
  white-space: nowrap;
}
.kb88-btn-secondary {
  color: var(--rr-text);
  background: rgba(255,255,255,.07);
  box-shadow: none;
}
.kb88-hero {
  position: relative;
  isolation: isolate;
  min-height: 626px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rr-line);
  background:
    linear-gradient(90deg, rgba(5,10,8,.96) 0%, rgba(5,10,8,.82) 42%, rgba(5,10,8,.14) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 64%, #06100c 100%),
    url("/assets/kingbet-hero.png") right center / cover no-repeat;
}
.kb88-hero::after,
.kb88-column-hero::after,
.kb88-article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 135px;
  background: linear-gradient(180deg, rgba(6,16,12,0), #06100c);
  z-index: -1;
}
.kb88-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) 320px;
  gap: 28px;
  align-items: end;
  padding: 72px 0 42px;
}
.kb88-hero-copy h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(41px, 5.6vw, 69px);
  line-height: 1.03;
  letter-spacing: 0;
}
.kb88-hero-copy p {
  margin: 22px 0 0;
  max-width: 650px;
  color: #dcebe0;
  font-size: 18px;
}
.kb88-hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.kb88-metrics { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:34px; max-width:640px; }
.kb88-metrics div {
  padding: 16px;
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  background: rgba(6,22,16,.72);
}
.kb88-metrics strong { display:block; color:var(--rr-gold-2); font-size:25px; margin-bottom:4px; }
.kb88-metrics span { color:var(--rr-muted); font-size:13px; line-height:1.45; }
.kb88-board {
  border: 1px solid var(--rr-line);
  border-radius: var(--rr-radius);
  overflow: hidden;
  box-shadow: var(--rr-shadow);
  background: rgba(8,24,18,.9);
}
.kb88-board-head {
  padding: 14px 16px;
  color: #08120e;
  font-weight: 900;
  background: linear-gradient(90deg, var(--rr-gold-2), var(--rr-gold));
}
.kb88-board-list { display:grid; gap:0; }
.kb88-board-list a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.kb88-board-list b {
  display:grid;
  place-items:center;
  width:58px;
  height:44px;
  border-radius:7px;
  color:#07120d;
  background:var(--rr-green);
}
.kb88-board-list strong { display:block; margin-bottom:4px; }
.kb88-board-list small { color:var(--rr-muted); font-size:13px; line-height:1.45; }
.kb88-ticker {
  display:grid;
  grid-template-columns: 150px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  min-height:52px;
  margin-top:18px;
  padding:0 18px;
  border:1px solid rgba(255,225,156,.18);
  border-radius:var(--rr-radius);
  background:rgba(255,255,255,.04);
  color:#d9e6d9;
  font-size:14px;
}
.kb88-ticker strong,
.kb88-ticker a {
  color:var(--rr-gold-2);
  font-weight:900;
}
.kb88-ribbon { margin-top:18px; position:relative; z-index:5; }
.kb88-ribbon-grid { display:grid; grid-template-columns: repeat(6, 1fr); gap:12px; }
.kb88-ribbon-card {
  min-height:116px;
  position:relative;
  overflow:hidden;
  border-radius:var(--rr-radius);
  border:1px solid var(--rr-line);
  background:#10271d;
  box-shadow:var(--rr-shadow);
}
.kb88-ribbon-card::before,
.kb88-game::before {
  content:"";
  position:absolute;
  inset:0;
  background:var(--image) center / cover no-repeat;
  opacity:.76;
  transition: transform .35s ease;
}
.kb88-ribbon-card::after,
.kb88-game::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.18), rgba(4,11,8,.9));
}
.kb88-ribbon-card:hover::before,
.kb88-game:hover::before { transform: scale(1.05); }
.kb88-ribbon-card span {
  position:absolute;
  left:16px;
  right:16px;
  bottom:14px;
  z-index:2;
  display:grid;
  gap:4px;
}
.kb88-ribbon-card strong { font-size:18px; }
.kb88-ribbon-card em { color:#d7e8db; font-style:normal; font-size:13px; }
.kb88-main {
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:22px;
  padding:38px 0 54px;
  align-items:start;
}
.kb88-main > *,
.kb88-article-layout > *,
.kb88-split > *,
.kb88-section,
.kb88-sidebar {
  min-width: 0;
}
.kb88-section {
  margin-bottom:22px;
  padding:22px;
  border:1px solid var(--rr-line);
  border-radius:var(--rr-radius);
  background:var(--rr-panel);
  box-shadow:0 16px 50px rgba(0,0,0,.2);
}
.kb88-section-title {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.kb88-section-title h2 { margin:0; font-size:27px; line-height:1.18; }
.kb88-section-title p { margin:6px 0 0; color:var(--rr-muted); line-height:1.55; }
.kb88-section-title a { color:var(--rr-gold-2); font-weight:900; white-space:nowrap; }
.kb88-proof-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
.kb88-proof,
.kb88-step,
.kb88-faq {
  padding:17px;
  border-radius:var(--rr-radius);
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.055);
}
.kb88-proof b,
.kb88-step b {
  display:inline-grid;
  place-items:center;
  min-width:36px;
  height:36px;
  padding:0 9px;
  border-radius:7px;
  margin-bottom:12px;
  color:#06110d;
  background:var(--rr-gold);
  font-weight:900;
}
.kb88-proof h3,
.kb88-game h3,
.kb88-article-copy h3,
.kb88-step h3,
.kb88-faq h3 { margin:0 0 7px; font-size:18px; line-height:1.25; }
.kb88-proof p,
.kb88-game p,
.kb88-article-copy p,
.kb88-step p,
.kb88-faq p { margin:0; color:var(--rr-muted); font-size:14px; line-height:1.55; }
.kb88-games { display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.kb88-game {
  position:relative;
  min-height:176px;
  overflow:hidden;
  border-radius:var(--rr-radius);
  border:1px solid rgba(255,255,255,.12);
  background:#10251c;
}
.kb88-game-copy {
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:16px;
}
.kb88-tag {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin-bottom:10px;
  padding:0 9px;
  border-radius:999px;
  color:#06120d;
  background:var(--rr-gold-2);
  font-size:11px;
  font-weight:900;
}
.kb88-article-zone { display:grid; grid-template-columns:1.05fr 1fr; gap:14px; }
.kb88-article,
.kb88-article-row {
  overflow:hidden;
  border-radius:var(--rr-radius);
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.055);
}
.kb88-article-feature img { width:100%; height:220px; object-fit:cover; }
.kb88-article-copy { display:block; padding:18px; }
.kb88-article-list { display:grid; gap:10px; }
.kb88-article-row {
  display:grid;
  grid-template-columns:92px 1fr;
  gap:12px;
  align-items:center;
  padding:10px;
}
.kb88-article-row img { width:92px; height:68px; object-fit:cover; border-radius:6px; }
.kb88-article-row .kb88-article-copy { padding:0; }
.kb88-article-row h3 { font-size:15px; margin-bottom:5px; }
.kb88-article-row p { font-size:12px; }
.kb88-wide-list .kb88-article-row { grid-template-columns:150px 1fr; }
.kb88-wide-list .kb88-article-row img { width:150px; height:92px; }
.kb88-steps,
.kb88-faq-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
.kb88-faq-grid { grid-template-columns: repeat(3, 1fr); }
.kb88-split { display:grid; grid-template-columns:.9fr 1fr; gap:18px; align-items:center; }
.kb88-split img {
  width:100%;
  min-height:270px;
  object-fit:cover;
  border-radius:var(--rr-radius);
  border:1px solid rgba(255,255,255,.1);
}
.kb88-sidebar { position:sticky; top:100px; display:grid; gap:14px; }
.kb88-side-panel {
  padding:18px;
  border:1px solid var(--rr-line);
  border-radius:var(--rr-radius);
  background:var(--rr-panel-2);
  box-shadow:0 16px 48px rgba(0,0,0,.22);
}
.kb88-side-panel h2 { margin:0 0 14px; font-size:20px; }
.kb88-side-panel ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.kb88-side-panel li { padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.08); color:var(--rr-muted); }
.kb88-side-panel li:last-child { border-bottom:0; padding-bottom:0; }
.kb88-side-links { display:grid; gap:10px; }
.kb88-side-links a,
.kb88-side-panel li a { color:var(--rr-gold-2); font-weight:800; }
.kb88-mini-promo {
  min-height:210px;
  display:grid;
  align-content:end;
  gap:10px;
  overflow:hidden;
  position:relative;
  padding:18px;
  border-radius:var(--rr-radius);
  border:1px solid var(--rr-line);
  background:
    linear-gradient(180deg, rgba(4,10,8,.18), rgba(4,10,8,.92)),
    url("/assets/kingbet-banner.png") center / cover no-repeat;
}
.kb88-mini-promo h2 { margin:0; font-size:22px; }
.kb88-mini-promo p { margin:0; color:#dce9de; }
.kb88-column-hero,
.kb88-article-hero {
  position:relative;
  isolation:isolate;
  margin:0;
  padding:64px 0 48px;
  overflow:hidden;
  border-bottom:1px solid var(--rr-line);
  background:
    linear-gradient(90deg, rgba(5,10,8,.96), rgba(5,10,8,.66)),
    var(--hero-image) center / cover no-repeat;
}
.kb88-column-hero h1,
.kb88-article-hero h1 { margin:0; max-width:850px; font-size:clamp(34px,5vw,58px); line-height:1.08; }
.kb88-column-hero p,
.kb88-article-hero p { max-width:760px; margin:16px 0 0; color:#dcebe0; font-size:18px; }
.kb88-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; color:var(--rr-muted); font-size:14px; }
.kb88-breadcrumb a { color:var(--rr-gold-2); font-weight:800; }
.kb88-column-main { padding-top:28px; }
.kb88-article-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:22px;
  align-items:start;
  padding:34px 0 54px;
}
.kb88-article-main {
  padding:28px;
  border:1px solid var(--rr-line);
  border-radius:var(--rr-radius);
  background:var(--rr-panel);
  box-shadow:0 16px 50px rgba(0,0,0,.2);
  color:#e5f0e7;
  font-size:17px;
  line-height:1.82;
  min-width:0;
  overflow-wrap:break-word;
}
.kb88-article-main > h1 { margin:0 0 14px; color:var(--rr-text); font-size:clamp(30px,4vw,48px); line-height:1.12; }
.kb88-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; color:var(--rr-muted); font-size:13px; }
.kb88-meta span {
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:6px;
  background:rgba(255,255,255,.045);
}
.kb88-lede {
  padding:16px;
  border-radius:var(--rr-radius);
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.055);
  color:#fff3d4;
}
.kb88-article-main h2 { margin:30px 0 12px; color:var(--rr-text); font-size:28px; line-height:1.25; }
.kb88-article-main ul,
.kb88-article-main p { margin:0 0 16px; }
.kb88-article-main li { margin-bottom:8px; }
.kb88-table-wrap { width:100%; overflow-x:auto; margin:0 0 16px; }
.kb88-table-wrap table {
  width:100%;
  border-collapse:collapse;
  min-width:620px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.1);
}
.kb88-table-wrap th,
.kb88-table-wrap td {
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  vertical-align:top;
}
.kb88-table-wrap th { color:#06100c; background:var(--rr-gold); }
.kb88-details { display:grid; gap:10px; }
.kb88-details details {
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--rr-radius);
  background:rgba(255,255,255,.055);
  padding:14px 16px;
}
.kb88-details summary { cursor:pointer; color:var(--rr-gold-2); font-weight:900; }
.kb88-details p { margin:12px 0 0; color:var(--rr-muted); }
.kb88-warning { background:rgba(242,195,79,.12); }
.kb88-footer {
  padding:34px 0 38px;
  border-top:1px solid var(--rr-line);
  background:#050908;
  color:var(--rr-muted);
}
.kb88-footer-grid { display:grid; grid-template-columns:1.35fr .8fr 1fr 1fr; gap:22px; align-items:start; }
.kb88-brand-footer { margin-bottom:12px; }
.kb88-footer h4 { margin:0 0 12px; color:var(--rr-text); font-size:18px; }
.kb88-footer p { margin:0; }
.kb88-footer a { display:block; margin:0 0 8px; color:#e5f0e7; }
.kb88-site-link { color:var(--rr-gold-2) !important; font-weight:900; }
.kb88-copy { margin-top:22px; padding-top:16px; border-top:1px solid rgba(255,255,255,.08); font-size:13px; }

@media (max-width: 980px) {
  .kb88-nav,
  .kb88-topbar .kb88-shell { align-items:flex-start; flex-direction:column; padding:12px 0; }
  .kb88-hero {
    min-height:auto;
    background:
      linear-gradient(180deg, rgba(5,10,8,.84), rgba(5,10,8,.96)),
      url("/assets/kingbet-hero.png") center top / cover no-repeat;
  }
  .kb88-hero-grid,
  .kb88-main,
  .kb88-split,
  .kb88-article-zone,
  .kb88-footer-grid,
  .kb88-article-layout,
  .kb88-ticker { grid-template-columns:1fr; }
  .kb88-sidebar { position:static; }
  .kb88-ribbon-grid,
  .kb88-proof-grid,
  .kb88-steps,
  .kb88-faq-grid { grid-template-columns:repeat(2,1fr); }
  .kb88-games { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  .kb88-shell { width:min(100% - 24px,1180px); }
  .kb88-brand,
  .kb88-menu,
  .kb88-actions { width:100%; max-width:100%; }
  .kb88-brand strong { font-size:22px; }
  .kb88-menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  .kb88-menu a { min-width:0; padding:9px 6px; text-align:center; font-size:13px; white-space:normal; overflow-wrap:anywhere; }
  .kb88-actions { display:grid; grid-template-columns:1fr; }
  .kb88-actions .kb88-btn { width:100%; min-width:0; padding:0 10px; white-space:normal; text-align:center; font-size:14px; }
  .kb88-hero-grid { padding-top:42px; }
  .kb88-hero-copy,
  .kb88-board,
  .kb88-metrics div,
  .kb88-section { max-width:100%; }
  .kb88-hero-copy h1 { max-width:100%; font-size:24px; line-height:1.22; white-space:normal; overflow-wrap:anywhere; word-break:break-all; }
  .kb88-hero-copy h1 span { display:block; }
  .kb88-hero-copy p span { display:block; }
  .kb88-hero-copy p,
  .kb88-column-hero p,
  .kb88-article-hero p { font-size:16px; overflow-wrap:anywhere; word-break:break-all; }
  .kb88-metrics,
  .kb88-ribbon-grid,
  .kb88-proof-grid,
  .kb88-games,
  .kb88-steps,
  .kb88-faq-grid { grid-template-columns:1fr; }
  .kb88-article-row,
  .kb88-wide-list .kb88-article-row { grid-template-columns:82px 1fr; }
  .kb88-article-row img,
  .kb88-wide-list .kb88-article-row img { width:82px; height:66px; }
  .kb88-section { padding:18px; }
  .kb88-section-title { align-items:flex-start; flex-direction:column; }
  .kb88-section-title h2 { font-size:24px; }
  .kb88-column-hero,
  .kb88-article-hero { padding:42px 0 34px; }
  .kb88-article-main { padding:18px; font-size:16px; }
  .kb88-section .kb88-btn,
  .kb88-article-main .kb88-btn {
    max-width:100%;
    white-space:normal;
    text-align:center;
    overflow-wrap:anywhere;
  }
}
