/* ==========================================================================
   QQMACAN - RESILIENCE ENGINEERING & SLOT GACOR DASHBOARD STYLES
   100% Signature QQMacan Dark Theme: Dominant Black + Vibrant Orange Accent
   ========================================================================== */

:root {
  /* QQMacan Signature Color Palette - Dominant Black + Orange */
  --app-bg: #0a0b0e;
  --sidebar-gradient: linear-gradient(185deg, #181a24 0%, #111218 60%, #0a0b0e 100%);
  
  --card-bg: #141620;
  --card-bg-light: #1b1e2b;
  --card-border: rgba(255, 255, 255, 0.08);
  
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  
  /* QQMacan Signature Orange Accents */
  --qq-orange: #ff6600;
  --qq-orange-dark: #e65c00;
  --qq-orange-gradient: linear-gradient(135deg, #ff7700 0%, #e65c00 100%);
  --qq-gold: #ffb700;
  
  --accent-green: #ff6600;
  --accent-purple: #ff7700;
  --accent-navy: #191b26;
  
  /* Borders & Shadows */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-card: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.5);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: var(--font-body);
  background-color: var(--app-bg);
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Outer Dashboard Shell Container (Column Layout for Full Width Footer) */
.dashboard-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1360px;
  gap: 24px;
}

.dashboard-body-row {
  display: flex;
  width: 100%;
  gap: 24px;
  align-items: flex-start;
}

/* ==========================================================================
   1. LEFT SIDEBAR NAVIGATION (EXTRA SPACIOUS & ELEGANT LAYOUT)
   ========================================================================== */
.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--sidebar-gradient);
  border-radius: var(--radius-xl);
  padding: 30px 0 24px 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 102, 0, 0.2);
  color: var(--text-light);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-logo-box {
  padding: 0 24px 20px 24px;
  display: flex;
  justify-content: center;
}

.sidebar-logo {
  max-width: 160px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 102, 0, 0.3));
  transition: transform 0.2s ease;
}

.sidebar-logo:hover {
  transform: scale(1.03);
}

/* Sidebar Banner Image Below Logo - 28px Bottom Spacing to Menu */
.sidebar-banner-box {
  padding: 0 16px 28px 16px;
  display: flex;
  justify-content: center;
}

.sidebar-banner-img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid rgba(255, 102, 0, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sidebar-banner-img:hover {
  transform: scale(1.02);
  border-color: var(--qq-orange);
}

/* Navigation Menu - 54px Spacing to Active Users Section */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 54px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px 13px 28px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-item:hover {
  color: var(--qq-orange);
}

.nav-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
}

.nav-item.active {
  background-color: var(--app-bg);
  color: var(--qq-orange);
  border-top-left-radius: 26px;
  border-bottom-left-radius: 26px;
  margin-left: 18px;
  padding-left: 22px;
  font-weight: 800;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5);
}

.nav-item.active .nav-icon {
  stroke: var(--qq-orange);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 20px;
  height: 20px;
  background: transparent;
  border-bottom-right-radius: 20px;
  box-shadow: 8px 8px 0 8px var(--app-bg);
  pointer-events: none;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 20px;
  height: 20px;
  background: transparent;
  border-top-right-radius: 20px;
  box-shadow: 8px -8px 0 8px var(--app-bg);
  pointer-events: none;
}

/* Active Users Section - Long Top Gap */
.active-users-section {
  padding: 0 24px;
  z-index: 2;
  margin-top: 10px;
}

.active-users-title {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--qq-gold);
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 12px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #0a0b0e;
  margin-left: -7px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--qq-orange);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -7px;
  border: 2px solid #0a0b0e;
}

/* ==========================================================================
   LIVE ACTIVE SIGNAL ANIMATION (SIDEBAR FOOTER)
   ========================================================================== */
.sidebar-map-wrapper {
  margin-top: 18px;
  width: 100%;
  height: 85px;
  position: relative;
  z-index: 1;
}

.live-signal-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  font-weight: 800;
  color: var(--qq-gold);
  letter-spacing: 0.8px;
  padding: 2px 8px;
  background: rgba(255, 183, 0, 0.1);
  border: 1px solid rgba(255, 183, 0, 0.3);
  border-radius: 10px;
  width: fit-content;
  margin-bottom: 4px;
}

.live-signal-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: liveSignalBlink 1s ease-in-out infinite alternate;
}

@keyframes liveSignalBlink {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.sidebar-map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.95;
  overflow: visible;
}

/* Streaming active signal paths */
.sidebar-map-svg path,
.signal-path-flow {
  stroke-dasharray: 6 4;
  animation: streamSignal 1.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(255, 102, 0, 0.8));
}

.signal-path-flow-fast {
  stroke-dasharray: 4 3;
  animation: streamSignal 1.1s linear infinite reverse;
  filter: drop-shadow(0 0 4px rgba(255, 183, 0, 0.8));
}

@keyframes streamSignal {
  to {
    stroke-dashoffset: -20;
  }
}

/* Active glowing beacon nodes */
.sidebar-map-svg circle[r="3"],
.signal-beacon-node {
  fill: #ff6600;
  animation: beaconPulse 1.2s ease-in-out infinite alternate;
}

.signal-beacon-node-gold {
  fill: #ffb700;
  animation: beaconPulse 1s ease-in-out infinite alternate;
}

@keyframes beaconPulse {
  0% {
    r: 2.8px;
    filter: drop-shadow(0 0 2px #ff6600);
  }
  100% {
    r: 4.8px;
    filter: drop-shadow(0 0 10px #ffb700);
  }
}

/* Expanding Radar Signal Wave Rings */
.radar-wave-ring {
  fill: none;
  animation: radarWaveExpand 2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  transform-origin: center;
}

@keyframes radarWaveExpand {
  0% {
    r: 3px;
    opacity: 0.9;
    stroke-width: 1.8px;
  }
  100% {
    r: 16px;
    opacity: 0;
    stroke-width: 0.4px;
  }
}


/* ==========================================================================
   2. MAIN DASHBOARD CONTENT (RIGHT - BLACK & ORANGE)
   ========================================================================== */
.main-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

/* Top Header Bar */
.top-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  padding: 16px 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
  gap: 20px;
}

.top-header-bar-bare {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Header Search Bar Component */
.header-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0f1017;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 9px 20px;
  flex: 1;
  max-width: 480px;
  transition: all 0.25s ease;
}

.header-search-bar:focus-within {
  border-color: var(--qq-orange);
  background: #141620;
  box-shadow: 0 4px 18px rgba(255, 102, 0, 0.25);
}

.search-bar-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.header-search-bar:focus-within .search-bar-icon {
  stroke: var(--qq-orange);
}

.search-bar-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dark);
  width: 100%;
}

.search-bar-input::placeholder {
  color: var(--text-muted);
  font-size: 12.5px;
}

.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-login-link {
  background: transparent;
  color: var(--qq-orange);
  border: 2px solid var(--qq-orange);
}

.btn-login-link:hover {
  background: rgba(255, 102, 0, 0.15);
  transform: translateY(-2px);
}

.btn-register-link {
  background: var(--qq-orange-gradient);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.4);
}

.btn-register-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.6);
}


/* ==========================================================================
   2.0 TOP SEO ARTICLE CARD (REFERENCE MATCHING 2-COLUMN LAYOUT)
   ========================================================================== */
.article-seo-top-card-v2 {
  background: #0b0c12;
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.article-seo-top-card-v2-bare {
  background: transparent;
  padding: 24px 0;
  margin: 16px 0 24px 0;
  border: none;
  box-shadow: none;
}

.article-ref-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: center;
}

/* Left Column: 3 Stacked Feature Cards */
.article-left-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-colored-card {
  background: #141622;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-colored-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.card-cyan-border {
  border-left: 4px solid #00d2ff;
}

.card-cyan-border .feature-card-title {
  color: #00d2ff;
}

.card-magenta-border {
  border-left: 4px solid #d946ef;
}

.card-magenta-border .feature-card-title {
  color: #d946ef;
}

.card-green-border {
  border-left: 4px solid #10b981;
}

.card-green-border .feature-card-title {
  color: #10b981;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-card-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Right Column: Main Article Body */
.article-right-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-ref-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--qq-gold);
  line-height: 1.35;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.article-ref-paragraph {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.7;
}

.article-ref-paragraph strong {
  color: #ffffff;
  font-weight: 700;
}

.article-ref-paragraph a {
  color: var(--qq-orange);
  font-weight: 800;
  text-decoration: underline;
}


/* Galeri Bukti Transaksi Item Hover Effects */
.galeri-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--qq-orange) !important;
  box-shadow: 0 12px 30px rgba(255, 102, 0, 0.3) !important;
}

.galeri-item-card img {
  transition: transform 0.35s ease;
}

.galeri-item-card:hover img {
  transform: scale(1.08);
}


/* ==========================================================================
   2.005 OFFICIAL LICENSES & PARTNERS SECTION (INSIDE FOOTER - NATURAL FLOW)
   ========================================================================== */
.official-licenses-bare {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.licenses-header-center {
  text-align: center;
  width: 100%;
}

.licenses-title-centered {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--qq-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.licenses-natural-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 36px;
  width: 100%;
}

.license-natural-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.license-natural-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.logo-bold-blue-nat {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: #3b82f6;
  line-height: 1;
}

.logo-subtext-blue-nat {
  font-size: 8.5px;
  font-weight: 800;
  color: #93c5fd;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.logo-mga-red-nat {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #ef4444;
  letter-spacing: -1px;
}

.logo-mga-sub-nat {
  font-size: 8.5px;
  font-weight: 800;
  color: #fca5a5;
  letter-spacing: 0.5px;
}

.logo-cga-flag-nat {
  font-size: 20px;
}

.logo-cga-text-nat {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: 0.8px;
}

.logo-gib-icon-nat {
  font-size: 18px;
}

.logo-gib-text-nat {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  color: #f87171;
  letter-spacing: 0.5px;
}

.logo-iom-icon-nat {
  font-size: 18px;
}

.logo-iom-text-nat {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  color: #fb7185;
  letter-spacing: 0.5px;
}

.logo-fc-icon-nat {
  font-size: 18px;
}

.logo-fc-text-nat {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}

.logo-pagcor-icon-nat {
  font-size: 18px;
}

.logo-pagcor-text-nat {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 0.5px;
}

.logo-asf-icon-nat {
  font-size: 18px;
}

.logo-asf-text-nat {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}


/* ==========================================================================
   2.01 SUMMARY INFO BAR (5 COLUMNS)
   ========================================================================== */
.summary-info-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #0d0e14;
  border: 2px solid var(--qq-gold);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 16px rgba(255, 183, 0, 0.2);
  overflow: hidden;
  width: 100%;
  margin-bottom: 16px;
}

.info-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 4px 8px;
  border-right: 1px solid rgba(255, 183, 0, 0.3);
  min-width: 0;
  overflow: hidden;
}

.info-bar-col:last-child {
  border-right: none;
}

.info-bar-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 3px;
  max-width: 100%;
}

.info-icon {
  font-size: 12px;
  flex-shrink: 0;
}

.info-label {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--qq-gold);
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}


/* ==========================================================================
   2.03 4 CHARTS ANALYTICS SECTION & BARE SECTIONS (NO OUTER CARD BORDER)
   ========================================================================== */
.analytics-charts-bare {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.katalog-gacor-bare,
.bukti-transaksi-bare {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 24px;
}

/* Slot Game Thumbnail Image Box Styling */
.game-thumb-box {
  width: 100%;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #141620;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.slot-game-card:hover .game-card-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.charts-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.charts-main-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--qq-gold);
  letter-spacing: 1px;
}

.charts-live-pill {
  font-size: 10px;
  font-weight: 800;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.charts-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: 100%;
}

.chart-card-item {
  background: #0f1017;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.chart-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 102, 0, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.chart-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-card-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chart-stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--qq-orange);
  line-height: 1.1;
  margin-top: 2px;
}

.chart-stat-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Chart 1: Sparkline Graph */
.sparkline-box {
  width: 100%;
  height: 75px;
  position: relative;
  margin-top: 4px;
}

.sparkline-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Chart 2: Regional Progress Bars */
.region-progress-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.region-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.region-item-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.region-name {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.region-bar-track {
  width: 100%;
  height: 7px;
  background: #181a24;
  border-radius: 4px;
  overflow: hidden;
}

.region-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #ff7700 0%, #ffb700 100%);
}

/* Chart 3: Weekly Payout Bars */
.bar-chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  gap: 6px;
  padding-top: 10px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill-vertical {
  width: 100%;
  max-width: 18px;
  background: linear-gradient(180deg, #ff7700 0%, #e65c00 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease;
}

.bar-fill-vertical.peak {
  background: linear-gradient(180deg, #ffc800 0%, #ff7700 100%);
  box-shadow: 0 0 12px rgba(255, 183, 0, 0.6);
}

.bar-label-day {
  font-size: 9.5px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Chart 4: Gacor Game Progress Bars */
.gacor-progress-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gacor-game-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gacor-game-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}

.gacor-game-title {
  color: #ffffff;
}

.gacor-game-winrate {
  color: #22c55e;
}

.gacor-bar-track {
  width: 100%;
  height: 7px;
  background: #181a24;
  border-radius: 4px;
  overflow: hidden;
}

.gacor-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #ffb700 100%);
}


/* ==========================================================================
   2.05 KATEGORI MENU PERMAINAN QQMACAN SECTION (BARE & ELEGANT 5-GRID)
   ========================================================================== */
.game-categories-card,
.game-categories-bare {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.categories-header {
  text-align: center;
  margin-bottom: 4px;
}

.categories-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--qq-gold);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.categories-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.category-item-card {
  background: #0f1017;
  border-radius: var(--radius-md);
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 102, 0, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.cat-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cat-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7700 0%, #e65c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.cat-icon {
  font-size: 18px;
}

.cat-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-providers {
  font-size: 9.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

a.cat-action-btn,
a.cat-action-btn:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34, 197, 94, 0.12);
  border: 1.2px solid #22c55e;
  border-radius: 16px;
  padding: 6px 10px;
  text-decoration: none;
  font-size: 9px;
  font-weight: 800;
  color: #22c55e !important;
  gap: 4px;
  min-width: 0;
  transition: all 0.2s ease;
}

a.cat-action-btn:hover {
  background: #22c55e;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.badge-status {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dot-green {
  color: #22c55e;
  font-size: 9px;
  line-height: 1;
}

a.cat-action-btn:hover .dot-green {
  color: #ffffff;
}

.btn-arrow {
  font-weight: 800;
  font-size: 8.5px;
  flex-shrink: 0;
}


/* ==========================================================================
   2.08 POLLING SECTION (2 COLUMNS)
   ========================================================================== */
.polling-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.polling-form-card,
.polling-result-card {
  min-height: 290px;
  justify-content: space-between;
}

.polling-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  justify-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--qq-gold);
}

.poll-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.poll-option-item {
  cursor: pointer;
  user-select: none;
}

.poll-option-item input[type="radio"] {
  display: none;
}

.poll-option-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f1017;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  transition: all 0.2s ease;
}

.poll-option-item input[type="radio"]:checked + .poll-option-box {
  border-color: var(--qq-orange);
  background: rgba(255, 102, 0, 0.15);
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.option-icon {
  font-size: 15px;
}

.option-text {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-select {
  background: #0f1017;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 12px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.form-select:focus {
  border-color: var(--qq-orange);
}

.btn-poll-submit {
  background: var(--qq-orange-gradient);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 11px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.4);
  transition: all 0.25s ease;
  margin-top: 4px;
}

.btn-poll-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.6);
}

.poll-results-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 2px;
}

.poll-result-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-name {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.game-percentage {
  font-size: 11px;
  font-weight: 700;
  color: var(--qq-gold);
}

.result-bar-track {
  width: 100%;
  height: 9px;
  background: #0f1017;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.result-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill-orange {
  background: linear-gradient(90deg, #ff7700 0%, #ff5500 100%);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.fill-gold {
  background: linear-gradient(90deg, #ffc800 0%, #ffa000 100%);
}

.fill-amber {
  background: linear-gradient(90deg, #ffaa00 0%, #e68800 100%);
}

.fill-subtle {
  background: linear-gradient(90deg, #d97706 0%, #b45309 100%);
}


/* Section Common Container Card */
.content-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.card-subheading {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}


/* ==========================================================================
   2.5 DASHBOARD FOOTER COMPONENT (BARE NATURAL WITH INTEGRATED LICENSES)
   ========================================================================== */
.dashboard-footer {
  width: 100%;
  padding: 24px 0 20px 0;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px dashed rgba(255, 183, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-copyright-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--qq-gold);
  letter-spacing: 0.5px;
}


/* ==========================================================================
   2.6 FLOATING RIGHT SIDEBAR WIDGET PANEL V2 (5 VERTICAL SQUARE CARDS)
   ========================================================================== */
.floating-right-panel-v2 {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-card-v2 {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 6px;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}

.floating-card-v2:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.5);
}

/* Dark Card with Orange Border */
.card-dark-border {
  background: #0f1017;
  border: 2px solid var(--qq-orange);
  color: #ffffff;
}

.card-dark-border .floating-v2-label {
  color: #ffffff;
}

/* Solid Orange Filled Card (LOGIN & DAFTAR) */
.card-orange-fill {
  background: var(--qq-orange-gradient);
  border: 2px solid #ff7700;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.card-orange-fill .floating-v2-label {
  color: #ffffff;
}

.floating-v2-icon {
  font-size: 22px;
  line-height: 1;
}

.floating-v2-label {
  font-family: var(--font-heading);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
}


/* ==========================================================================
   3. SCHEMA SEO MODAL & FLOATING DEBUG BUTTON
   ========================================================================== */
.schema-quick-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--qq-orange);
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.5);
  z-index: 99;
  transition: transform 0.2s ease;
}

.schema-quick-btn:hover {
  transform: translateY(-2px);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 6, 10, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background: #141620;
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 102, 0, 0.3);
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--qq-orange);
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  background: #090a0f;
  color: #ffaa55;
  font-family: monospace;
  font-size: 12px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
}

.btn-pill {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--qq-orange);
  color: white;
}


/* ==========================================================================
   4. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1280px) {
  .categories-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .category-item-card {
    padding: 10px 8px;
  }

  .cat-title {
    font-size: 10.5px;
  }

  .cat-providers {
    font-size: 8.5px;
  }

  .licenses-natural-flex {
    gap: 16px 24px;
  }
}

@media (max-width: 1080px) {
  .dashboard-wrapper {
    flex-direction: column;
  }

  .dashboard-body-row {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    max-height: none;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item.active {
    margin-left: 0;
    border-radius: 20px;
  }

  .nav-item.active::before,
  .nav-item.active::after {
    display: none;
  }

  .top-header-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .header-search-bar {
    max-width: 100%;
  }

  .summary-info-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .info-bar-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 183, 0, 0.2);
    padding-bottom: 10px;
  }

  .info-bar-col:last-child {
    border-bottom: none;
  }

  .charts-grid-4 {
    grid-template-columns: 1fr;
  }

  .article-ref-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .three-col-stats-section,
  .two-col-feature-section {
    grid-template-columns: 1fr;
  }

  .galeri-bukti-section > div:last-child {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .polling-section,
  .faq-split-container,
  .article-highlights-grid {
    grid-template-columns: 1fr;
  }

  .middle-row,
  .bottom-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .summary-info-bar {
    grid-template-columns: 1fr;
  }

  .galeri-bukti-section > div:last-child {
    grid-template-columns: 1fr !important;
  }

  .poll-options-grid {
    grid-template-columns: 1fr;
  }

  .licenses-natural-flex {
    gap: 14px 18px;
  }

  .floating-card-v2 {
    width: 60px;
    height: 60px;
    padding: 4px;
  }

  .floating-v2-icon {
    font-size: 18px;
  }

  .floating-v2-label {
    font-size: 8.5px;
  }
}
