/* ==========================================================================
   TH83 Official Royal Blue (#006DB2) & Golden Lion (#FFB800 - #FFE033) Luxury Stylesheet (v400.0)
   1:1 Approved Visual Prototype Layout:
     - Top Utility Bar (.topbar-container) + Brand Ribbon (.brand-ribbon)
     - Main Header with Official TH83 Logo + 10-Category Icon Strip (.cat-icon-strip)
     - Full-Width 3D Hero Banner (.banner)
     - Interactive Home Info & Game Showcase (.home-info-container):
         * Announcement Ticker & Clock
         * Live Jackpot Pool LED Stadium Counter + 4-Digit Lucky Number Display
         * 8-Card Popular Games & Reviews Grid
         * 3-Column Split Showcase (Winner Feed + Provider Tabs/3x2 Grid + VIP Club)
     - 2-Column Mobile / AMP QR Code Block (.download-apk-container)
     - Deep SEO Editorial Cards + User Reviews Grid + <details> FAQ Accordion (+/-)
     - Multi-Tier Footer (5-Col Sitemap + 3 Amber-Gold Product Cards + 2 Banking Cards + Provider Wall)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --heng-obsidian: #030A14;
  --heng-charcoal: #04101E;
  --heng-surface: #071E36;
  --heng-card: #0A2847;
  --heng-card-dark: #051628;
  --heng-gold: #FFB800;
  --heng-gold-light: #FFE033;
  --heng-gold-deep: #E68A00;
  --heng-amber-box: #005894;
  --heng-silver: #E6F2FF;
  --heng-silver-bright: #FFFFFF;
  --heng-silver-muted: #9EC5EB;
  --heng-cyan: #38BDF8;
  --heng-green: #10B981;
  --container-max: 1160px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--heng-charcoal);
  color: var(--heng-silver);
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--heng-charcoal);
  background-image:
    radial-gradient(rgba(226, 232, 240, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(212, 175, 55, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 82% 20%, rgba(226, 232, 240, 0.10) 0%, transparent 45%);
  background-size: 36px 36px, 100% 100%, 100% 100%;
  color: var(--heng-silver);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
  overflow-x: hidden;
}

a {
  color: var(--heng-gold-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== 1. TOP UTILITY BAR (.topbar-container) ===== */
.topbar-container {
  background: #030B16;
  border-bottom: 1px solid rgba(226, 232, 240, 0.2);
  padding: 8px 0;
  font-size: 0.84rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  text-align: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.topbar-util-link {
  color: var(--heng-silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 500;
}

.topbar-util-link:hover {
  color: var(--heng-gold-light);
}

.btn-amp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #F5DB8A 0%, #D4AF37 60%, #AA8010 100%);
  color: #07090E !important;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-top-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 18px;
  border-radius: 20px;
  background: var(--heng-card);
  border: 1.5px solid rgba(226, 232, 240, 0.55);
  color: var(--heng-silver-bright) !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn-top-login:hover {
  background: var(--heng-silver-bright);
  color: #07090E !important;
}

.btn-top-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FFF3B0 0%, #F5DB8A 45%, #D4AF37 100%);
  border: 1.5px solid #FFFFFF;
  color: #07090E !important;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.45);
}

.btn-top-register:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* ===== 2. THIN BRAND RIBBON (.brand-ribbon) ===== */
.brand-ribbon {
  background: linear-gradient(90deg, #120F07 0%, #241D0B 50%, #120F07 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  padding: 4px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--heng-gold-light);
  letter-spacing: 0.4px;
}

/* ===== 3. MAIN NAVIGATION HEADER (.site-header + 10-ICON STRIP) ===== */
.heng-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 18, 34, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--heng-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.header-main-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  max-height: 58px;
  width: auto;
  filter: drop-shadow(0 3px 10px rgba(212, 175, 55, 0.35));
  transition: transform 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.cat-icon-strip {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  list-style: none;
  align-items: center;
}

.cat-icon-strip li {
  border-left: 1px solid rgba(226, 232, 240, 0.16);
  text-align: center;
}

.cat-icon-strip li:first-child {
  border-left: none;
}

.cat-icon-strip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  color: var(--heng-silver-bright);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
}

.cat-icon-strip a .cat-ico {
  font-size: 1.25rem;
  color: var(--heng-gold-light);
  line-height: 1.1;
}

.cat-icon-strip a:hover,
.cat-icon-strip a.active {
  background: rgba(212, 175, 55, 0.18);
  color: var(--heng-gold-light);
  box-shadow: inset 0 -2px 0 var(--heng-gold);
}

/* Sub-Silo Dropdown Strip */
.heng-silo-nav {
  background: linear-gradient(90deg, #04101E 0%, #004E82 50%, #04101E 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.14);
}

.heng-silo-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px 10px;
  padding: 5px 0;
}

.heng-silo-list > li {
  position: relative;
}

.heng-silo-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 13px;
  border-radius: 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--heng-silver);
}

.heng-silo-list > li > a:hover,
.heng-silo-list > li > a.active {
  background: linear-gradient(135deg, #F5DB8A 0%, #D4AF37 100%);
  color: #07090E;
}

.silo-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: #061A30;
  border: 1.5px solid var(--heng-gold);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.has-dropdown:hover .silo-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.silo-dropdown li a {
  display: block;
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--heng-silver);
  font-size: 0.84rem;
}

.silo-dropdown li a:hover {
  background: rgba(212, 175, 55, 0.22);
  color: var(--heng-gold-light);
}

/* ===== 4. FULL-WIDTH HERO BANNER (.banner) ===== */
.banner-section {
  width: 100%;
  background: #07090E;
  border-bottom: 2px solid var(--heng-gold);
  position: relative;
}

.banner-wrap {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.banner-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 540;
  object-fit: cover;
  display: block;
}

.banner-dots {
  text-align: center;
  padding: 6px 0;
  background: rgba(7, 9, 14, 0.92);
  color: var(--heng-gold-light);
  font-size: 0.82rem;
  letter-spacing: 5px;
}

/* ===== 5. INTERACTIVE HOME INFO & GAME SHOWCASE (.home-info-container) ===== */
.home-info-container {
  background: var(--heng-surface);
  border: 1.5px solid rgba(200, 210, 225, 0.35);
  border-radius: 16px;
  padding: 16px;
  margin: 20px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
}

/* 5.1 Announcement Ticker & Clock Bar */
.ticker-clock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--heng-card-dark);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 10px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.notice-pill {
  background: var(--heng-gold);
  color: #07090E;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.ticker-text {
  flex: 1;
  font-size: 0.86rem;
  color: var(--heng-silver);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-clock {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--heng-gold-light);
  white-space: nowrap;
}

/* 5.2 Progressive Jackpot LED Stadium Box + 4D Counter */
.jackpot-counter-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 14px;
  margin-bottom: 18px;
}

.jackpot-stadium-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--heng-card);
  border: 2px solid var(--heng-gold-light);
  border-radius: 46px;
  padding: 10px 22px;
  box-shadow: inset 0 0 18px rgba(212, 175, 55, 0.18);
}

.jackpot-label-col strong {
  display: block;
  color: var(--heng-gold-light);
  font-size: 1.05rem;
  line-height: 1.2;
}

.jackpot-label-col span {
  font-size: 0.82rem;
  color: var(--heng-silver);
  font-weight: 600;
}

.jackpot-led-screen {
  flex: 1;
  background: #030B16;
  border: 1.5px dashed var(--heng-gold);
  border-radius: 30px;
  padding: 8px 18px;
  text-align: center;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: var(--heng-gold-light);
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(245, 219, 138, 0.55);
}

.lucky-4d-box {
  background: var(--heng-card);
  border: 1.5px solid rgba(200, 210, 225, 0.45);
  border-radius: 14px;
  padding: 8px 12px;
  text-align: center;
}

.lucky-4d-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--heng-gold-light);
  margin-bottom: 6px;
}

.lucky-4d-digits {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.digit-tile {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #030B16;
  border: 1px solid var(--heng-gold);
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heng-silver-bright);
}

/* 5.3 Popular Games & Reviews 8-Column Grid */
.showcase-subhead {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heng-gold-light);
  margin: 6px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.popular-8grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.pop-game-card {
  background: var(--heng-card);
  border: 1.5px solid rgba(200, 210, 225, 0.35);
  border-radius: 12px;
  padding: 6px;
  position: relative;
  text-align: center;
  transition: all 0.2s ease;
}

.pop-game-card:hover {
  border-color: var(--heng-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
}

.pop-game-card img {
  width: 100%;
  aspect-ratio: 36 / 26;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.pop-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--heng-gold);
  color: #07090E;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 6px;
}

.pop-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--heng-silver-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 5.4 3-Column Split Video Slots & Live Casino Showcase */
.split-3col-showcase {
  display: grid;
  grid-template-columns: 240px 1fr 250px;
  gap: 14px;
}

.winner-feed-panel {
  background: var(--heng-card-dark);
  border: 1px solid var(--heng-gold);
  border-radius: 12px;
  overflow: hidden;
}

.winner-feed-header {
  background: linear-gradient(90deg, #F5DB8A 0%, #D4AF37 100%);
  color: #07090E;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 7px 12px;
  text-align: center;
}

.winner-feed-list {
  list-style: none;
  padding: 8px 12px;
}

.winner-feed-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
  font-size: 0.8rem;
}

.winner-feed-list li:last-child {
  border-bottom: none;
}

.winner-user strong {
  display: block;
  color: var(--heng-silver-bright);
}

.winner-user span {
  font-size: 0.74rem;
  color: var(--heng-silver-muted);
}

.winner-amt {
  color: var(--heng-gold-light);
  font-weight: 700;
}

.provider-center-panel {
  background: var(--heng-card-dark);
  border: 1.5px solid rgba(200, 210, 225, 0.35);
  border-radius: 12px;
  padding: 12px;
}

.provider-tab-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.prov-tab {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--heng-card);
  border: 1px solid rgba(226, 232, 240, 0.25);
  color: var(--heng-silver-bright);
  font-size: 0.78rem;
  font-weight: 700;
}

.prov-tab.is-active,
.prov-tab:hover {
  background: var(--heng-gold);
  color: #07090E;
  border-color: #ffffff;
}

.center-3x2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.center-game-box {
  background: var(--heng-card);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.center-game-box:hover {
  border-color: var(--heng-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.center-game-box img {
  width: 100%;
  aspect-ratio: 36 / 26;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 7px;
}

.center-game-box span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heng-silver-bright);
}

.vip-right-panel {
  background: var(--heng-card);
  border: 2px solid var(--heng-gold-light);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vip-right-panel img {
  width: 100%;
  aspect-ratio: 36 / 26;
  object-fit: cover;
  border-radius: 8px;
}

.vip-club-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heng-gold-light);
  margin-top: 8px;
}

.vip-club-sub {
  font-size: 0.82rem;
  color: var(--heng-silver);
  margin-bottom: 8px;
}

/* ===== 6. 2-COLUMN MOBILE / AMP QR PROMO BLOCK (.download-apk-container) ===== */
.download-apk-container {
  background: var(--heng-surface);
  border: 1.5px solid var(--heng-gold);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: center;
}

.qr-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.qr-mock-box {
  width: 92px;
  height: 92px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.qr-mock-inner {
  width: 100%;
  height: 100%;
  border: 7px solid #07090E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-mock-core {
  width: 60%;
  height: 60%;
  background: #07090E;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  margin: 16px 0 12px 0;
}

.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  background: rgba(18, 22, 31, 0.94);
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.86rem;
}

.breadcrumb-list a {
  color: var(--heng-gold-light);
  font-weight: 500;
}

.breadcrumb-list .current {
  color: var(--heng-silver-bright);
}

/* ===== 7. SIGNATURE TH83 SILVER-GOLD EDITORIAL CARDS ===== */
.heng-card {
  background: linear-gradient(180deg, rgba(7, 30, 54, 0.97) 0%, rgba(4, 16, 30, 0.99) 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(200, 210, 225, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.72);
  margin-bottom: 24px;
}

.heng-card-header {
  padding: 13px 22px;
  background: linear-gradient(90deg, #041222 0%, #005894 50%, #041222 100%);
  border-bottom: 2px solid var(--heng-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.heng-card-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heng-silver-bright);
  font-weight: 600;
  font-size: 0.92rem;
}

.suit-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.suit-gold {
  color: var(--heng-gold-light);
}

.suit-silver {
  color: var(--heng-silver-bright);
}

.heng-card-body {
  padding: 24px 22px;
}

/* ===== HEADINGS & GEO DIRECT ANSWER ===== */
h1 {
  font-size: clamp(1.52rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--heng-gold-light);
  line-height: 1.32;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

h2 {
  font-size: clamp(1.28rem, 2.05vw, 1.64rem);
  font-weight: 700;
  color: var(--heng-gold-light);
  line-height: 1.35;
  margin: 0 0 12px 0;
  padding-left: 14px;
  border-left: 4px solid var(--heng-gold);
}

h3 {
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  font-weight: 600;
  color: var(--heng-silver-bright);
  line-height: 1.4;
  margin: 12px 0 8px 0;
}

p {
  margin-bottom: 14px;
  color: #E2E8F0;
}

.direct-answer {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.14) 0%, rgba(226, 232, 240, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-left: 4px solid var(--heng-silver-bright);
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 1rem;
}

/* ===== ANIMATED GOLD & SILVER CHROME CTA BUTTONS ===== */
@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.btn-gold-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 700;
  color: #07090E !important;
  background: linear-gradient(135deg, #FFF3B0, #F5DB8A 25%, #D4AF37 50%, #F5DB8A 75%, #FFF3B0);
  background-size: 300% 300%;
  border-radius: 24px;
  border: 1.5px solid #FFFFFF;
  animation: gold-shimmer 2.5s ease infinite;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  cursor: pointer;
}

.btn-gold-animated:hover {
  transform: translateY(-2px);
  color: #000000 !important;
}

.btn-silver-chrome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #07090E !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
  border: 1.5px solid var(--heng-gold-light);
  border-radius: 24px;
}

.btn-silver-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heng-silver-bright) !important;
  background: rgba(226, 232, 240, 0.08);
  border: 1.5px solid var(--heng-silver);
  border-radius: 24px;
}

/* ===== HERO 2-COLUMN GRID & ZERO CLS MEDIA FRAME ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.kpi-3grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.kpi-box {
  background: rgba(7, 9, 14, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.32);
  border-top: 3px solid var(--heng-gold);
  border-radius: 12px;
  padding: 12px 14px;
}

.kpi-val {
  display: block;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--heng-gold-light);
}

.kpi-lbl {
  display: block;
  font-size: 0.82rem;
  color: var(--heng-silver);
}

figure.media-frame {
  width: 100%;
  margin: 12px 0;
  border-radius: 16px;
  overflow: hidden;
  background: #07090E;
  border: 2px solid rgba(226, 232, 240, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.72);
}

figure.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
}

figure.media-frame figcaption {
  padding: 9px 14px;
  font-size: 0.85rem;
  color: var(--heng-silver-bright);
  background: linear-gradient(90deg, #041222 0%, #08294A 50%, #041222 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  text-align: center;
}

/* ===== SILO LINK CARDS & BULLET LISTS ===== */
.silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.silo-card {
  background: var(--heng-card);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.silo-card:hover {
  transform: translateY(-4px);
  border-color: var(--heng-silver-bright);
}

.silo-card h3 {
  margin-top: 0;
  color: var(--heng-gold-light);
}

.silo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--heng-silver-bright);
  margin-top: 10px;
}

.check-list {
  list-style: none;
  margin: 14px 0 18px 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  background: rgba(7, 9, 14, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-left: 3px solid var(--heng-gold);
  border-radius: 10px;
  padding: 11px 15px;
}

.check-list li strong {
  color: var(--heng-gold-light);
}

/* ===== COMPARISON TABLES ===== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.55);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(5, 20, 38, 0.96);
  font-size: 0.93rem;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

th {
  background: linear-gradient(90deg, #00558F 0%, #07223D 100%);
  color: var(--heng-gold-light);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid var(--heng-gold);
}

tr:hover td {
  background: rgba(212, 175, 55, 0.08);
}

/* ===== HOWTO STEPS BOX ===== */
.howto-box {
  margin-top: 20px;
  background: rgba(7, 9, 14, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 14px;
  padding: 18px 20px;
}

.howto-list {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--heng-silver-bright);
  margin-top: 10px;
}

/* ===== USER REVIEWS GRID (#p01-reviews matching prototype) ===== */
.review-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 14px 0 22px;
}

.user-review-card {
  background: var(--heng-card);
  border: 1.5px solid rgba(200, 210, 225, 0.38);
  border-radius: 14px;
  padding: 16px;
}

.review-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.reviewer-name {
  font-weight: 700;
  color: var(--heng-silver-bright);
  font-size: 0.92rem;
}

.review-stars {
  color: var(--heng-gold-light);
  font-weight: 700;
  font-size: 0.84rem;
}

.user-review-card p {
  font-size: 0.88rem;
  color: var(--heng-silver-muted);
  margin-bottom: 0;
}

/* ===== INTERACTIVE <details> FAQ ACCORDION (+ / −) ===== */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

details.heng-faq-item {
  background: var(--heng-card);
  border: 1.5px solid rgba(200, 210, 225, 0.35);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

details.heng-faq-item[open] {
  border-color: var(--heng-gold-light);
}

details.heng-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--heng-card);
}

details.heng-faq-item summary::-webkit-details-marker {
  display: none;
}

details.heng-faq-item[open] summary {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.25) 0%, rgba(24, 30, 42, 0.98) 100%);
  border-bottom: 1px solid var(--heng-gold);
}

details.heng-faq-item summary h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--heng-silver-bright);
}

.faq-toggle-sign {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heng-gold-light);
  line-height: 1;
}

details.heng-faq-item[open] .faq-toggle-sign::before {
  content: "−";
}

details.heng-faq-item:not([open]) .faq-toggle-sign::before {
  content: "+";
}

.faq-answer-body {
  padding: 14px 18px;
  background: var(--heng-card-dark);
  color: var(--heng-silver);
  font-size: 0.94rem;
}

.faq-answer-body p {
  margin-bottom: 0;
}

.eeat-box {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16) 0%, rgba(12, 16, 24, 0.94) 100%);
  border: 1px solid rgba(226, 232, 240, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.eeat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eeat-tag {
  background: rgba(7, 9, 14, 0.9);
  border: 1px solid var(--heng-gold);
  color: var(--heng-gold-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== 8. MULTI-TIER FOOTER (#footer_menu matching prototype 1:1) ===== */
#footer_menu {
  margin-top: auto;
  background: #030B16;
  border-top: 2px solid var(--heng-gold);
  padding: 34px 0 30px 0;
  color: var(--heng-silver-muted);
}

.footer-5col-sitemap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.18);
}

.footer-col-title {
  display: block;
  color: var(--heng-gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-col-links {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.footer-col-links a {
  color: var(--heng-silver-muted);
}

.footer-col-links a:hover {
  color: var(--heng-gold-light);
}

/* 3 Equal-Width Solid Amber-Gold Featured Product Cards */
.amber-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 16px;
}

.amber-card {
  background: var(--heng-amber-box);
  border: 1.5px solid var(--heng-gold-light);
  border-radius: 8px;
  padding: 16px 18px;
  color: #ffffff;
}

.amber-card strong {
  display: block;
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.amber-card p {
  font-size: 0.84rem;
  color: #F1F5F9;
  margin-bottom: 0;
  line-height: 1.55;
}

/* 2 Equal-Width Amber-Gold Banking & Security Notice Cards */
.amber-banking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.footer-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed rgba(226, 232, 240, 0.18);
}

.footer-brand-logo {
  width: 185px;
  height: auto;
}

.provider-wall-bar {
  margin-top: 12px;
  background: var(--heng-card-dark);
  border: 1px solid rgba(200, 210, 225, 0.25);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--heng-silver);
}

/* ===== FIXED BOTTOM 5-ICON NAVIGATION BAR ===== */
.fix-nav-bottom {
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.9);
}

.fix-nav-bottom-lower {
  background: #041222;
  border-top: 2px solid var(--heng-gold);
}

.fix-nav-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
}

.fix-nav-bottom ul li {
  text-align: center;
  width: 20%;
  padding: 8px 0 6px;
}

.fix-nav-bottom ul li a {
  color: var(--heng-silver-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.fix-nav-bottom-play {
  background: linear-gradient(135deg, #F5DB8A 0%, #D4AF37 55%, #AA7C11 100%) !important;
}

.fix-nav-bottom-play a {
  color: #07090E !important;
  font-weight: 700 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-main-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .header-logo-link {
    justify-content: center;
  }
  .cat-icon-strip {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .popular-8grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .split-3col-showcase {
    grid-template-columns: 1fr;
  }
  .download-apk-container {
    grid-template-columns: 1fr;
  }
  .footer-5col-sitemap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .topbar-left,
  .topbar-right {
    width: 100%;
    justify-content: center;
  }
  .hero-grid,
  .kpi-3grid,
  .jackpot-counter-row,
  .review-grid-3col,
  .amber-product-grid,
  .amber-banking-grid {
    grid-template-columns: 1fr;
  }
  .popular-8grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .center-3x2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== SEO & CONVERSION ENHANCEMENTS (Quick Jump TOC, Live RTP Meter, Pro Callout Box) ===== */
.quick-toc-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(14, 18, 26, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.quick-toc-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--heng-gold-light);
  margin-right: 4px;
}

.quick-toc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 18px;
  background: var(--heng-card);
  border: 1px solid rgba(226, 232, 240, 0.28);
  color: var(--heng-silver-bright) !important;
  font-size: 0.81rem;
  font-weight: 500;
}

.quick-toc-pill:hover {
  border-color: var(--heng-gold-light);
  color: var(--heng-gold-light) !important;
  background: rgba(212, 175, 55, 0.14);
}

.rtp-meter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.rtp-meter-card {
  background: var(--heng-card-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rtp-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heng-silver-bright);
}

.rtp-meter-val {
  color: #34D399;
  font-weight: 700;
}

.rtp-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(226, 232, 240, 0.15);
  border-radius: 6px;
  overflow: hidden;
}

.rtp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4AF37 0%, #34D399 100%);
  border-radius: 6px;
}

.rtp-meter-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--heng-silver-muted);
}

.btn-rtp-play {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F5DB8A 0%, #D4AF37 100%);
  color: #07090E !important;
  font-weight: 700;
  font-size: 0.76rem;
}

.pro-callout-box {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(24, 30, 42, 0.96) 0%, rgba(18, 22, 31, 0.98) 100%);
  border-left: 4px solid var(--heng-gold);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  border-right: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 16px 18px;
}

.pro-callout-title {
  display: block;
  color: var(--heng-gold-light);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.pro-callout-list {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--heng-silver);
}

