/* ==========================================================================
   KD6 Official Royal Golden Bee Crown (#F5C400 - #FFE14D) & Obsidian Black (#0A0804)
   Modeled on https://www.th83q.com/ Fixed Top Bevel Header + Fixed Left Sidebar App-Shell Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --kd-obsidian: #070502;
  --kd-bg: #0B0904;
  --kd-canvas: #100C05;
  --kd-panel: #171207;
  --kd-panel-hi: #21190A;
  --kd-card: #1C1508;
  --kd-gold: #F5C400;
  --kd-gold-light: #FFE14D;
  --kd-gold-deep: #B8860B;
  --kd-amber: #FF9900;
  --kd-mint: #10B981;
  --kd-mint-light: #34D399;
  --kd-line: #06C755;
  --kd-text: #FAF5E8;
  --kd-muted: #D4C39A;
  --header-h: 78px;
  --sidebar-w: 252px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--kd-obsidian);
  color: var(--kd-text);
  font-family: 'Prompt', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--kd-bg);
  background-image:
    radial-gradient(rgba(245, 196, 0, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(245, 196, 0, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(184, 134, 11, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #090703 0%, #110D05 50%, #080602 100%);
  background-size: 32px 32px, 100% 100%, 100% 100%, 100% 100%;
  color: var(--kd-text);
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-bottom: 0;
  overflow-x: hidden;
}

a {
  color: var(--kd-gold-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 1. FIXED TOP HEADER BAR (th83q.com 80px Bevel Header Structure) ===== */
.kd6-top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1200;
  background: linear-gradient(90deg, #060401 0%, #151005 35%, #1E1607 75%, #120D04 100%);
  border-bottom: 2px solid var(--kd-gold);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.85), 0 0 18px rgba(245, 196, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left Diagonal Bevel Wing (252px) */
.header-brand-wing {
  width: var(--sidebar-w);
  height: 100%;
  background: linear-gradient(135deg, #030200 0%, #140F04 75%, #2B2008 100%);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  border-right: 3px solid var(--kd-gold);
  display: flex;
  align-items: center;
  padding: 0 22px 0 18px;
  flex-shrink: 0;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(245, 196, 0, 0.45));
}

/* Center-Left Glossy Top Nav Pills (th83q.com .header-nav) */
.header-center-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-center-pills::-webkit-scrollbar {
  display: none;
}

.hd-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 32, 10, 0.9) 0%, rgba(20, 15, 5, 0.95) 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.42);
  box-shadow: inset 0 1px 2px rgba(255, 225, 77, 0.25), 0 3px 8px rgba(0, 0, 0, 0.5);
  color: var(--kd-text);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.hd-nav-pill:hover,
.hd-nav-pill.active {
  background: linear-gradient(180deg, #FFE14D 0%, #F5C400 55%, #C89600 100%);
  color: #090601;
  border-color: #FFF3A1;
  box-shadow: 0 0 16px rgba(245, 196, 0, 0.55);
  font-weight: 700;
}

.hd-pill-ico {
  font-size: 1rem;
  line-height: 1;
}

/* Right Auth CTAs (th83q.com Login + Register buttons) */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
  flex-shrink: 0;
}

.btn-top-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1E1707 0%, #0E0B03 100%);
  border: 1.5px solid var(--kd-gold);
  color: var(--kd-gold-light);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 225, 77, 0.35), 0 4px 10px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.btn-top-login:hover {
  background: rgba(245, 196, 0, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-top-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #FFE66D 0%, #F5C400 50%, #C99300 100%);
  border: 1.5px solid #FFF5B8;
  color: #0B0801;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(245, 196, 0, 0.5);
  white-space: nowrap;
}

.btn-top-register:hover {
  filter: brightness(1.08);
  color: #000000;
  transform: translateY(-1px);
}

.mobile-drawer-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(245, 196, 0, 0.14);
  border: 1.5px solid var(--kd-gold);
  color: var(--kd-gold-light);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* ===== 2. FIXED LEFT SIDEBAR (th83q.com 250px 9-Pill Sidebar + Socials + Language) ===== */
.kd6-left-sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  z-index: 1100;
  background: linear-gradient(180deg, #0D0A04 0%, #140F05 55%, #090702 100%);
  border-right: 1.5px solid rgba(245, 196, 0, 0.38);
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.75);
  padding: 16px 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--kd-gold-deep) transparent;
}

.sidebar-cat-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.sidebar-cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1A1407 0%, #291F0A 60%, #1E1607 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 225, 77, 0.18), 0 4px 10px rgba(0, 0, 0, 0.55);
  color: var(--kd-text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar-cat-pill:hover,
.sidebar-cat-pill.active {
  background: linear-gradient(90deg, #3A2B0C 0%, #574010 55%, #3D2D0B 100%);
  border-color: var(--kd-gold-light);
  box-shadow: 0 0 15px rgba(245, 196, 0, 0.35);
  color: var(--kd-gold-light);
  transform: translateX(3px);
}

.sidebar-pill-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sidebar-3d-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, #FFE14D 0%, #D49B00 75%, #7A5600 100%);
  color: #0D0902;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.sidebar-chevron-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--kd-gold);
  color: #0A0701;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Sidebar Sub-links Accordion inside Active Silo */
.sidebar-sub-list {
  list-style: none;
  margin-top: 5px;
  margin-bottom: 4px;
  padding-left: 12px;
  border-left: 2px solid rgba(245, 196, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-sub-list a {
  display: block;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.79rem;
  color: var(--kd-muted);
  background: rgba(20, 15, 5, 0.6);
}

.sidebar-sub-list a:hover,
.sidebar-sub-list a.sub-active {
  color: var(--kd-gold-light);
  background: rgba(245, 196, 0, 0.14);
  font-weight: 600;
}

/* Sidebar Bottom Social Media & Language Block (th83q.com exact bottom sidebar) */
.sidebar-bottom-dock {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 196, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-social-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--kd-gold-light);
  letter-spacing: 0.03em;
}

.sidebar-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.social-orb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.social-orb.orb-line {
  background: linear-gradient(135deg, #06C755 0%, #04943E 100%);
}

.social-orb.orb-reg {
  background: linear-gradient(135deg, #F5C400 0%, #B8860B 100%);
  color: #090601;
}

.social-orb.orb-login {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.social-orb.orb-vip {
  background: linear-gradient(135deg, #2B2008 0%, #0E0B03 100%);
  border-color: var(--kd-gold);
  color: var(--kd-gold-light);
}

.sidebar-lang-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #161105 0%, #241B08 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.38);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--kd-text);
}

/* ===== 3. SCROLLABLE MAIN CONTENT STAGE (margin-left: 252px) ===== */
.kd6-main-canvas {
  margin-left: var(--sidebar-w);
  padding: 20px 24px 36px;
  max-width: calc(100vw - var(--sidebar-w));
}

.canvas-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: rgba(23, 18, 7, 0.85);
  border: 1px solid rgba(245, 196, 0, 0.3);
  border-radius: 12px;
  padding: 9px 16px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--kd-muted);
}

.breadcrumb-list li.current {
  color: var(--kd-gold-light);
  font-weight: 600;
}

/* Jump-Link Table of Contents Bar (Google Sitelinks Booster) */
.seo-toc-bar {
  background: linear-gradient(90deg, rgba(28, 21, 8, 0.94) 0%, rgba(18, 13, 5, 0.96) 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.42);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.seo-toc-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--kd-gold-light);
  white-space: nowrap;
}

.seo-toc-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-toc-links a {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(12, 9, 3, 0.88);
  border: 1px solid rgba(245, 196, 0, 0.35);
  color: var(--kd-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.seo-toc-links a:hover {
  background: linear-gradient(180deg, #FFE14D 0%, #F5C400 100%);
  color: #090601;
  border-color: #FFF3A1;
}

/* ===== 4. HERO 3-CARD SHOWCASE CAROUSEL & H1 COMMAND BANNER (th83q.com .page-banner) ===== */
.th83-hero-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Primary Widescreen Hero Banner with Left HTML 3D Gold Text & Right Real Model */
.hero-primary-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--kd-gold);
  background: #080602;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85), 0 0 24px rgba(245, 196, 0, 0.16);
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.hero-left-overlay {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  background: linear-gradient(90deg, rgba(7, 5, 2, 0.97) 0%, rgba(15, 11, 4, 0.92) 75%, rgba(15, 11, 4, 0.25) 100%);
}

.hero-watermark-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F5C400 0%, #FFE14D 100%);
  color: #0A0701;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-audit-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.45);
  color: var(--kd-gold-light);
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-left-overlay h1 {
  font-size: clamp(1.42rem, 2.3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.28;
  color: #FFFFFF;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9), 0 0 22px rgba(245, 196, 0, 0.35);
}

.hero-3d-sub {
  font-size: 0.94rem;
  color: var(--kd-muted);
  line-height: 1.62;
}

.hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 2px;
}

.hero-kpi-pill {
  background: rgba(26, 20, 8, 0.9);
  border: 1px solid rgba(245, 196, 0, 0.4);
  border-radius: 12px;
  padding: 8px 12px;
}

.hero-kpi-val {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--kd-gold-light);
}

.hero-kpi-lbl {
  display: block;
  font-size: 0.74rem;
  color: var(--kd-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.btn-gold-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFE66D 0%, #F5C400 55%, #C99300 100%);
  border: 1.5px solid #FFF5B8;
  color: #090601;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(245, 196, 0, 0.45);
}

.btn-gold-cta:hover {
  filter: brightness(1.08);
  color: #000000;
  transform: translateY(-1px);
}

.btn-obsidian-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 12px;
  background: rgba(25, 19, 7, 0.92);
  border: 1.5px solid var(--kd-gold);
  color: var(--kd-gold-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-obsidian-cta:hover {
  background: rgba(245, 196, 0, 0.2);
  color: #ffffff;
}

.btn-line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #08D85E 0%, #05A848 100%);
  border: 1.5px solid #6EFFA7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);
}

.btn-line-cta:hover {
  filter: brightness(1.08);
  color: #ffffff;
}

.hero-right-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.hero-right-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* 3-Up Promo Card Carousel Below Hero (24K Gold Obsidian Glass + Golden Emblem Badge) */
.hero-3up-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trio-banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 196, 0, 0.52);
  background:
    radial-gradient(circle at 92% 18%, rgba(245, 196, 0, 0.22) 0%, rgba(245, 196, 0, 0.05) 38%, transparent 70%),
    linear-gradient(145deg, #1A1406 0%, #0E0B03 60%, #171104 100%);
  box-shadow: inset 0 1px 0 rgba(255, 232, 117, 0.35), 0 8px 22px rgba(0, 0, 0, 0.75);
  min-height: 132px;
  display: flex;
  align-items: stretch;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trio-banner-card:hover {
  transform: translateY(-2px);
  border-color: var(--kd-gold-light);
  box-shadow: inset 0 1px 0 rgba(255, 232, 117, 0.55), 0 10px 26px rgba(245, 196, 0, 0.22);
}

.trio-card-overlay {
  position: relative;
  z-index: 2;
  padding: 16px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.trio-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trio-watermark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--kd-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.trio-emblem-orb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 225, 77, 0.25) 0%, rgba(245, 196, 0, 0.08) 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.55);
  box-shadow: 0 4px 12px rgba(245, 196, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trio-headline {
  display: block;
  font-size: 1.06rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.trio-sub {
  display: block;
  font-size: 0.81rem;
  color: var(--kd-muted);
  line-height: 1.45;
}

/* ===== 5. ANGLED-BADGE ANNOUNCEMENT MARQUEE BAR (th83q.com .notice-marquee-container) ===== */
.notice-marquee-container {
  height: 42px;
  border-radius: 100px;
  background: linear-gradient(90deg, #1A1407 0%, #261D0A 50%, #181206 100%);
  border: 1.5px solid var(--kd-gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.notice-angled-badge {
  height: 100%;
  padding: 0 26px 0 18px;
  background: linear-gradient(90deg, #F5C400 0%, #FFE14D 100%);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  color: #090601;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.notice-scroll-track {
  flex: 1;
  padding: 0;
  font-size: 0.84rem;
  color: var(--kd-text);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.notice-marquee-text {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  will-change: transform;
  animation: kd6MarqueeScroll 26s linear infinite;
}

.notice-marquee-container:hover .notice-marquee-text {
  animation-play-state: paused;
}

@keyframes kd6MarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ===== 6. GLASS SECTION CONTAINERS & 8-CARD ROUNDED-SQUARE GAME GRID (th83q.com .home-game) ===== */
.th83-glass-panel {
  background: linear-gradient(180deg, rgba(28, 21, 8, 0.92) 0%, rgba(16, 12, 5, 0.96) 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.38);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
}

.panel-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 196, 0, 0.22);
}

.panel-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2D2209 0%, #1B1405 100%);
  border: 1.5px solid var(--kd-gold);
  color: var(--kd-gold-light);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-panel-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFE14D 0%, #F5C400 100%);
  color: #090601;
  font-size: 0.8rem;
  font-weight: 800;
}

.btn-panel-more:hover {
  filter: brightness(1.08);
  color: #000000;
}

/* ===== 6B. KD6 ASYMMETRIC SPOTLIGHT ARENA + HONEYCOMB TELEMETRY SHOWCASE (Approach 1) ===== */
.kd6-arena-filter-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(12, 9, 3, 0.85);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 0, 0.35);
}

.arena-tab-btn {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--kd-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arena-tab-btn:hover {
  color: var(--kd-gold-light);
}

.arena-tab-btn.is-active {
  background: linear-gradient(180deg, #FFE14D 0%, #F5C400 100%);
  color: #090601;
  border-color: #FFF5B8;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(245, 196, 0, 0.4);
}

.kd6-arena-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kd6-arena-layout {
  display: grid;
  grid-template-columns: 1.08fr 1.22fr;
  gap: 16px;
  align-items: stretch;
}

/* Left Flagship Spotlight Card */
.kd6-spotlight-flagship {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 196, 0, 0.22) 0%, transparent 60%),
    linear-gradient(160deg, #1F1707 0%, #0D0A03 100%);
  border: 2px solid var(--kd-gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 232, 117, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.kd6-spotlight-flagship:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(245, 196, 0, 0.28);
}

.spotlight-visual-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #080602;
}

.spotlight-visual-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}

.kd6-spotlight-flagship:hover .spotlight-visual-stage img {
  transform: scale(1.04);
}

.spotlight-top-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.spot-prov-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #F5C400 0%, #FFE14D 100%);
  color: #090601;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.spot-live-ping {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(9, 7, 2, 0.88);
  border: 1px solid rgba(74, 222, 128, 0.6);
  color: #86EFAC;
  font-size: 0.71rem;
  font-weight: 700;
}

.ping-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

.spotlight-gauge-ring {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 10, 3, 0.95) 55%, rgba(245, 196, 0, 0.25) 100%);
  border: 2.5px solid var(--kd-gold-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85), 0 0 14px rgba(245, 196, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gauge-val {
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--kd-gold-light);
  line-height: 1.1;
}

.gauge-lbl {
  font-size: 0.56rem;
  font-weight: 800;
  color: var(--kd-muted);
  letter-spacing: 0.04em;
}

.spotlight-info-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(24, 18, 6, 0.96) 0%, rgba(12, 9, 3, 0.99) 100%);
  border-top: 1px solid rgba(245, 196, 0, 0.35);
}

.spotlight-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.spotlight-main-title {
  display: block;
  font-size: 1.14rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.spotlight-sub-name {
  display: block;
  font-size: 0.81rem;
  color: var(--kd-gold-light);
  font-weight: 600;
}

.spotlight-cta-chip {
  padding: 7px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #FFE14D 0%, #F5C400 100%);
  color: #090601;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.telemetry-meter-wrap {
  background: rgba(8, 6, 2, 0.75);
  border: 1px solid rgba(245, 196, 0, 0.28);
  border-radius: 10px;
  padding: 9px 12px;
}

.telemetry-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--kd-muted);
  margin-bottom: 6px;
}

.telemetry-meter-head strong {
  color: var(--kd-gold-light);
}

.telemetry-bar-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.telemetry-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #F5C400 0%, #FFE14D 60%, #FFF7C2 100%);
  box-shadow: 0 0 10px rgba(245, 196, 0, 0.65);
}

/* Right 4 Horizontal Honeycomb Telemetry Capsules */
.kd6-honeycomb-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.kd6-honeycomb-capsule {
  display: grid;
  grid-template-columns: 28px 76px 1fr 32px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(24, 18, 7, 0.95) 0%, rgba(15, 11, 4, 0.92) 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.36);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  transition: all 0.22s ease;
}

.kd6-honeycomb-capsule:hover {
  border-color: var(--kd-gold-light);
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(38, 28, 9, 0.96) 0%, rgba(20, 15, 5, 0.95) 100%);
  box-shadow: 0 8px 20px rgba(245, 196, 0, 0.2);
}

.capsule-rank-num {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--kd-gold);
  opacity: 0.85;
  text-align: center;
}

/* Golden Bee Honeycomb Hexagon Portrait Frame */
.hex-avatar-frame {
  width: 74px;
  height: 68px;
  padding: 2px;
  background: linear-gradient(135deg, #FFE14D 0%, #B8860B 100%);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hex-avatar-frame.hex-sm {
  width: 68px;
  height: 62px;
}

.hex-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.capsule-telemetry-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.capsule-top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.capsule-prov-tag {
  font-size: 0.69rem;
  font-weight: 800;
  color: var(--kd-gold-light);
  letter-spacing: 0.03em;
}

.capsule-rtp-val {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.16);
  border: 1px solid rgba(245, 196, 0, 0.4);
  font-size: 0.69rem;
  font-weight: 800;
  color: #FFE14D;
}

.capsule-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.capsule-mini-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 2px 0;
}

.capsule-mini-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #F5C400 0%, #FFE14D 100%);
}

.capsule-sub {
  font-size: 0.74rem;
  color: var(--kd-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.capsule-arrow-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(245, 196, 0, 0.14);
  border: 1px solid rgba(245, 196, 0, 0.45);
  color: var(--kd-gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Bottom 3 Panoramic Spec Docks */
.kd6-bottom-trio-dock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kd6-panoramic-dock {
  display: grid;
  grid-template-columns: 68px 1fr 30px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22, 17, 6, 0.94) 0%, rgba(12, 9, 3, 0.96) 100%);
  border: 1.5px solid rgba(245, 196, 0, 0.34);
  transition: all 0.22s ease;
}

.kd6-panoramic-dock:hover {
  border-color: var(--kd-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 196, 0, 0.18);
}

.dock-meta-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dock-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.dock-rank-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--kd-gold-light);
}

.dock-spec-chip {
  font-size: 0.68rem;
  font-weight: 800;
  color: #090601;
  background: var(--kd-gold-light);
  padding: 1px 7px;
  border-radius: 999px;
}

.dock-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-sub {
  font-size: 0.74rem;
  color: var(--kd-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Interactive Filter Dim/Highlight States */
.kd6-arena-stage [data-cat].is-dimmed {
  opacity: 0.25;
  filter: grayscale(0.7);
  transform: scale(0.98);
}

.kd6-arena-stage [data-cat].is-highlighted {
  border-color: #FFE14D;
  box-shadow: 0 0 20px rgba(245, 196, 0, 0.38);
}

/* ===== 7. JACKPOT ODOMETER + LIVE WINNERS STRIP + VERIFIED SLIP PROOF (th83q.com .home-mid) ===== */
.th83-jackpot-split {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}

.jackpot-odometer-card {
  background: linear-gradient(135deg, #1E1607 0%, #0E0A03 100%);
  border: 2px solid var(--kd-gold);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: inset 0 0 28px rgba(245, 196, 0, 0.12);
}

.odometer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.odometer-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--kd-gold-light);
  letter-spacing: 0.03em;
}

.odometer-tiles-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.odo-tile {
  padding: 8px 13px;
  border-radius: 10px;
  background: linear-gradient(180deg, #090702 0%, #1C1506 50%, #080602 100%);
  border: 1.5px solid var(--kd-gold);
  color: var(--kd-gold-light);
  font-family: 'Poppins', monospace;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
}

.winner-feed-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.winner-pill-card {
  background: rgba(12, 9, 3, 0.88);
  border: 1px solid rgba(245, 196, 0, 0.32);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.78rem;
}

.winner-user {
  display: block;
  color: var(--kd-muted);
  font-size: 0.73rem;
}

.winner-payout {
  display: block;
  color: var(--kd-gold-light);
  font-weight: 800;
  font-size: 0.88rem;
}

/* Verified Transfer Slip Card (th83q.com Right Bank Slip Card) */
.verified-slip-card {
  background: linear-gradient(180deg, #1B1507 0%, #110D04 100%);
  border: 1.5px solid var(--kd-gold);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.slip-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slip-ok-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid #10B981;
  color: #34D399;
  font-size: 0.75rem;
  font-weight: 700;
}

.slip-data-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
}

.slip-data-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(245, 196, 0, 0.2);
}

/* ===== 8. SEO EDITORIAL CONTENT SECTIONS, DIRECT ANSWER & ZERO-CLS MEDIA FRAME ===== */
.th83-Glass-Article h2,
.th83-glass-panel h2 {
  font-size: clamp(1.22rem, 2vw, 1.54rem);
  font-weight: 800;
  color: var(--kd-gold-light);
  margin-bottom: 12px;
  line-height: 1.35;
}

.th83-glass-panel h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.direct-answer {
  background: linear-gradient(90deg, rgba(43, 32, 10, 0.92) 0%, rgba(22, 16, 5, 0.95) 100%);
  border-left: 4px solid var(--kd-gold);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.94rem;
  color: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* 2-Column Media Frame Showcase */
.media-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.media-frame {
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #080602;
  border: 1.5px solid var(--kd-gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75);
  text-align: center;
}

.media-banner-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.content-media-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.media-banner-overlay {
  position: absolute;
  inset: 0;
  width: 64%;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(6, 4, 1, 0.95) 0%, rgba(12, 9, 3, 0.8) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
}

.banner-vip-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.2);
  border: 1px solid var(--kd-gold);
  color: var(--kd-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
}

.banner-3d-brand {
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  font-weight: 800;
  color: var(--kd-gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.banner-3d-sub {
  font-size: 0.78rem;
  color: #ffffff;
  line-height: 1.4;
}

.media-frame figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--kd-muted);
  background: rgba(9, 7, 2, 0.96);
  border-top: 1px solid rgba(245, 196, 0, 0.25);
}

/* 2x2 Feature & Silo Cards with Yellow "อ่านเพิ่มเติม" Footer Bar (th83q.com .home-promotion style) */
.promo-cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.th83-promo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 196, 0, 0.42);
  background: rgba(15, 11, 4, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.promo-card-body {
  padding: 18px 20px;
}

.promo-card-body p {
  font-size: 0.9rem;
  color: var(--kd-text);
  margin-top: 6px;
}

.promo-card-foot {
  padding: 10px 18px;
  background: linear-gradient(90deg, #241B08 0%, #171104 100%);
  border-top: 1px solid rgba(245, 196, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.promo-foot-tag {
  font-size: 0.78rem;
  color: var(--kd-muted);
  font-weight: 600;
}

.btn-yellow-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(5deg, #FFE14D 8%, #FFF3A8 98%);
  color: #140E02;
  font-size: 0.78rem;
  font-weight: 800;
}

.btn-yellow-readmore:hover {
  filter: brightness(1.08);
  color: #000000;
}

/* Comparison Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: 14px;
  border: 1.5px solid var(--kd-gold);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(17, 13, 5, 0.95);
  font-size: 0.88rem;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(245, 196, 0, 0.2);
}

th {
  background: linear-gradient(90deg, #2D2209 0%, #1E1607 100%);
  color: var(--kd-gold-light);
  font-weight: 700;
}

tr:hover td {
  background: rgba(245, 196, 0, 0.06);
}

/* How-To 3-Step Box */
.howto-box {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(25, 19, 7, 0.9);
  border: 1px solid rgba(245, 196, 0, 0.38);
}

.howto-list {
  margin-top: 10px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

/* ===== 9. APP DOWNLOAD & QR SHOWCASE BANNER (th83q.com .home-down-wrapper) ===== */
.th83-app-down-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #1E1707 0%, #110D04 100%);
  border: 2px solid var(--kd-gold);
  border-radius: 20px;
  padding: 24px;
}

.down-qr-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.qr-card-box {
  background: rgba(10, 8, 3, 0.92);
  border: 1.5px solid var(--kd-gold);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-svg-frame {
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  display: inline-flex;
}

/* ===== 10. FAQ 2-COLUMN ACCORDION & E-E-A-T SEAL ===== */
.faq-bento-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.kd6-faq-card {
  background: rgba(15, 11, 4, 0.92);
  border: 1.5px solid rgba(245, 196, 0, 0.35);
  border-radius: 14px;
  padding: 14px 18px;
}

.kd6-faq-card summary {
  cursor: pointer;
  list-style: none;
}

.kd6-faq-card summary::-webkit-details-marker {
  display: none;
}

.kd6-faq-card .faq-ans {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(245, 196, 0, 0.2);
  font-size: 0.88rem;
  color: var(--kd-muted);
}

.eeat-author-card {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(24, 18, 6, 0.95);
  border: 1px solid rgba(245, 196, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-badge-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE14D 0%, #C89600 100%);
  color: #090601;
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lsi-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.lsi-tag-pill {
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.12);
  border: 1px solid rgba(245, 196, 0, 0.35);
  font-size: 0.8rem;
  color: var(--kd-gold-light);
}

/* ===== 11. PROVIDER LOGO WALL & FULL SILO FOOTER (th83q.com .footer-container) ===== */
.kd6-footer-container {
  margin-left: var(--sidebar-w);
  background: linear-gradient(180deg, #120E04 0%, #070502 100%);
  border-top: 2px solid var(--kd-gold);
  padding: 28px 24px 36px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.provider-vendor-wall {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.vendor-logo-tile {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(26, 20, 8, 0.9);
  border: 1px solid rgba(245, 196, 0, 0.3);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--kd-gold-light);
  letter-spacing: 0.02em;
}

.footer-silo-5grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 18px;
}

.footer-col-heading {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--kd-gold-light);
  margin-bottom: 10px;
}

.footer-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.84rem;
}

.footer-bottom-strip {
  padding-top: 16px;
  border-top: 1px solid rgba(245, 196, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--kd-muted);
}

/* ===== 12. RIGHT-EDGE FLOATING CONTACT TAB & MOBILE BOTTOM BAR (th83q.com Floating Tab + Auditor C8) ===== */
.th83-floating-contact-tab {
  position: fixed;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  z-index: 1250;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.vertical-contact-pill {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 14px 10px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #06C755 0%, #048C3B 100%);
  border: 1.5px solid #75FFB0;
  border-right: none;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: -4px 6px 18px rgba(0, 0, 0, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.float-guide-orb {
  margin-right: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFE14D 0%, #F5C400 100%);
  border: 1.5px solid #ffffff;
  color: #090601;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
}

/* Mobile 3-Button Fixed Bottom Bar (Hidden per user preference, except when .header-right-actions carries this class) */
nav.mobile-bottom-bar {
  display: none !important;
}

.header-right-actions.mobile-bottom-bar {
  position: static;
  height: auto;
  background: transparent;
  border-top: none;
  box-shadow: none;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 0;
  flex-shrink: 0;
}

.header-right-actions.mobile-bottom-bar .sr-home-link {
  display: none !important;
}

/* ===== 13. RESPONSIVE BREAKPOINTS & MOBILE NAVIGATION SYSTEM ===== */
.kd6-mobile-quick-strip,
.kd6-drawer-backdrop,
.drawer-mobile-head {
  display: none;
}

.drawer-hamburger-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.drawer-hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--kd-gold-light);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-drawer-btn.is-active .drawer-hamburger-icon span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-drawer-btn.is-active .drawer-hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-drawer-btn.is-active .drawer-hamburger-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1180px) {
  :root {
    --header-h: 64px;
  }

  body {
    padding-top: var(--header-h);
  }

  body.drawer-locked {
    overflow: hidden;
  }

  .header-brand-wing {
    width: auto;
    clip-path: none;
    border-right: none;
    background: transparent;
    padding: 0 12px;
  }

  .header-logo {
    height: 36px;
  }

  .header-center-pills {
    display: none;
  }

  .header-right-actions {
    gap: 8px;
    padding-right: 12px;
  }

  .btn-top-login,
  .btn-top-register {
    padding: 7px 13px;
    font-size: 0.8rem;
    border-radius: 9px;
  }

  .mobile-drawer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 9px;
    background: linear-gradient(180deg, #2B2008 0%, #151004 100%);
    border: 1.5px solid var(--kd-gold);
    color: var(--kd-gold-light);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
  }

  /* Horizontal Quick Category Pill Strip Directly Under Header */
  .kd6-mobile-quick-strip {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: 48px;
    z-index: 1150;
    background: linear-gradient(90deg, #0D0A04 0%, #191306 50%, #0D0A04 100%);
    border-bottom: 1.5px solid rgba(245, 196, 0, 0.42);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .kd6-mobile-quick-strip::-webkit-scrollbar {
    display: none;
  }

  .mq-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(28, 21, 8, 0.92);
    border: 1px solid rgba(245, 196, 0, 0.38);
    color: var(--kd-text);
    font-size: 0.79rem;
    font-weight: 600;
    flex-shrink: 0;
  }

  .mq-pill.active,
  .mq-pill:hover {
    background: linear-gradient(180deg, #FFE14D 0%, #F5C400 100%);
    border-color: #FFF3A1;
    color: #090601;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(245, 196, 0, 0.45);
  }

  /* Slide-Out Drawer Backdrop */
  .kd6-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1240;
    background: rgba(3, 2, 0, 0.75);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .kd6-drawer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Slide-Out Left Drawer Panel */
  .kd6-left-sidebar {
    top: 0;
    bottom: 0;
    width: min(310px, 84vw);
    z-index: 1280;
    padding: 16px 14px 80px;
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-right: 2px solid var(--kd-gold);
    box-shadow: 14px 0 38px rgba(0, 0, 0, 0.95);
  }

  .kd6-left-sidebar.is-open {
    transform: translateX(0);
  }

  .drawer-mobile-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(245, 196, 0, 0.35);
  }

  .drawer-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drawer-head-logo {
    height: 36px;
    width: auto;
  }

  .drawer-close-btn {
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(245, 196, 0, 0.15);
    border: 1px solid var(--kd-gold);
    color: var(--kd-gold-light);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
  }

  .drawer-head-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .drawer-cta-reg,
  .drawer-cta-log {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
  }

  .drawer-cta-reg {
    background: linear-gradient(180deg, #FFE14D 0%, #F5C400 100%);
    color: #090601 !important;
  }

  .drawer-cta-log {
    background: rgba(28, 21, 8, 0.95);
    border: 1.5px solid var(--kd-gold);
    color: var(--kd-gold-light) !important;
  }

  .kd6-main-canvas,
  .kd6-footer-container {
    margin-left: 0;
    max-width: 100vw;
  }
}

@media (max-width: 900px) {
  .hero-primary-showcase,
  .th83-jackpot-split,
  .th83-app-down-wrapper,
  .media-duo-grid,
  .promo-cards-2x2,
  .faq-bento-2col {
    grid-template-columns: 1fr;
  }

  .hero-3up-trio,
  .kd6-arena-layout,
  .kd6-bottom-trio-dock {
    grid-template-columns: 1fr;
  }

  .kd6-honeycomb-capsule {
    grid-template-columns: 22px 64px 1fr 28px;
    padding: 9px 10px;
  }

  .provider-vendor-wall {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-silo-5grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 58px;
  }

  body {
    padding-top: var(--header-h);
    padding-bottom: 0;
  }

  .header-brand-wing {
    padding: 0 8px 0 10px;
  }

  .header-logo {
    height: 30px;
  }

  .header-right-actions {
    gap: 5px;
    padding-right: 10px;
  }

  .btn-top-login,
  .btn-top-register {
    padding: 6px 9px;
    font-size: 0.73rem;
    border-radius: 8px;
  }

  .mobile-drawer-btn {
    padding: 6px 9px;
    font-size: 0.73rem;
    border-radius: 8px;
  }

  .kd6-main-canvas {
    padding: 12px 10px 24px;
  }

  .hero-left-overlay {
    padding: 18px 16px;
  }

  .hero-right-visual {
    min-height: 220px;
  }

  .hero-kpi-strip,
  .winner-feed-strip {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-cta-group .btn-line-cta {
    grid-column: 1 / -1;
  }

  .th83-floating-contact-tab {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .vertical-contact-pill {
    writing-mode: horizontal-tb;
    padding: 8px 12px;
    border-radius: 999px 0 0 999px;
    font-size: 0.75rem;
  }

  .float-guide-orb {
    display: none;
  }

  .footer-silo-5grid {
    grid-template-columns: 1fr;
  }

  .header-right-actions.mobile-bottom-bar {
    gap: 5px;
    padding-right: 10px;
  }
}
