@import url('/shared-assets/css/variables.css');
@import url('/shared-assets/css/base.css');
@import url('/shared-assets/css/components.css');

/* ==============================================================
   🔥🔥🔥 GLOBAL ANTI OVERFLOW & TEXT WRAP (WAJIB DI LUAR @media!)
   Mencegah horizontal scroll abadi & sisi kanan terpotong mobile
   ============================================================== */
html, body { overflow-x: hidden !important; -webkit-overflow-scrolling: touch; }
body > * { max-width: 100vw !important; overflow-x: hidden; }
#app-header-wrap, #ticker-wrap, main#main-content, .home-layout, .home-main-content, .container, .container-home, .hero-grid, .hero-copy, .hero-sidebar, .hero-stats-inline { min-width: 0 !important; max-width: 100% !important; }

/* Force text wrap natural (hindari character-break per huruf di container sempit) */
.hero-title, .hero-desc, .section-title, .section-subtitle, .hs-label, .nav-cta-card small, .chip-badge small, .tool-chip small {
  word-wrap: normal !important;
  overflow-wrap: break-word !important;
  -webkit-hyphens: auto !important;
  hyphens: auto !important;
  word-break: normal !important;
}

/* Ticker + Header explicit overflow hidden agar slider tidak bikin scroll */
#ticker-wrap { overflow-x: hidden !important; width: 100% !important; }
#app-header-wrap { overflow-x: hidden !important; }

/* ===== FORCE OVERRIDE base.css text-gradient-reverse (agar shimmer berjalan) ===== */
#hero-title > span.text-gradient-reverse,
#hero-title .gradient-shimmer,
.hero-title .gradient-shimmer,
.gradient-shimmer {
  background: linear-gradient(90deg, #7c5cff 0%, #ff4d9d 42%, #d488ff 60%, #7c5cff 100%) !important;
  background-size: 300% 300% !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: gradientShift 5.2s ease-in-out infinite !important;
  color: transparent !important;
  filter: drop-shadow(0 2px 18px rgba(124,92,255,0.16));
}

/* ===== HERO ===== */
.hero-card {
  position: relative;
  isolation: isolate;
  padding-top: 2.5rem !important;
  padding-right: clamp(1.25rem, 3.2vw, 2.5rem) !important;
  padding-bottom: clamp(2rem, 4.2vw, 3.2rem) !important;
  padding-left: clamp(1.25rem, 3.2vw, 2.5rem) !important;
  border-radius: 22px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 420px; height: 420px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, #ff4d9d 0%, transparent 70%);
  animation: floatGlow 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 360px; height: 360px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 70%);
  animation: floatGlow 8s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.1); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.75rem; }
}
.hero-copy { display: flex; flex-direction: column; gap: 1.45rem; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.3vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: white;
  text-shadow: 0 2px 30px rgba(124,92,255,0.15);
  margin-bottom: 0.55rem;
}
.hero-title br { display: none; }
@media (min-width: 640px) { .hero-title br { display: block; } }
.hero-desc {
  font-size: clamp(0.96rem, 1.65vw, 1.07rem);
  color: #9a9fbf;
  line-height: 1.78;
  max-width: 620px;
  font-weight: 400;
  padding-right: 0.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin: 0.65rem 0 1.4rem;
}
.btn-lg {
  padding: 0.85rem 1.45rem;
  font-size: 0.93rem;
  border-radius: 12px;
  font-weight: 600;
}

/* ===== HERO STATS INLINE (HORIZONTAL PENUH CENTERED - FULL SPAN 2 KOLUM HERO-GRID) ===== */
.hero-stats-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 1rem;
  margin-top: 1.1rem;
  padding-top: 1.85rem;
  padding-bottom: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  grid-row: 2 / auto;
}
@media (min-width: 560px) {
  .hero-stats-inline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
}
@media (min-width: 1024px) {
  .hero-stats-inline { margin-top: 1.5rem; padding-top: 2rem; }
}
.hs-item {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem;
  padding-bottom: 0.5rem;
  text-align: center;
  width: 100%;
}
.hs-num {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #ffffff;
  line-height: 1;
  padding-top: 0.12rem;
  text-align: center !important;
  text-shadow: 0 2px 24px rgba(124,92,255,0.16);
}
.hs-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8388a7;
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 0.1rem;
  text-align: center !important;
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
}

/* ===== HERO SIDEBAR KANAN - 4 feature cards vertical ===== */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
@media (min-width: 1024px) { .hero-sidebar { max-width: none; margin-inline: 0; } }

.hero-feat-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem 0.95rem 0.9rem;
  background: linear-gradient(135deg, rgba(30,28,64,0.55) 0%, rgba(19,18,46,0.38) 100%);
  border: 1px solid rgba(124,92,255,0.16);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s, box-shadow 0.3s, opacity 0.5s ease-out, translate 0.5s var(--ease-out);
  opacity: 0;
  translate: 0 22px;
  will-change: transform, opacity;
}
.hero-feat-card.is-visible { opacity: 1; translate: 0 0; }
.hero-feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,92,255,0.35);
  background: linear-gradient(135deg, rgba(124,92,255,0.14) 0%, rgba(255,77,157,0.07) 100%);
  box-shadow: 0 10px 28px rgba(124,92,255,0.12), 0 0 0 1px rgba(255,77,157,0.06);
}
.hfc-stagger-1 { transition-delay: 0.06s; }
.hfc-stagger-2 { transition-delay: 0.14s; }
.hfc-stagger-3 { transition-delay: 0.22s; }
.hfc-stagger-4 { transition-delay: 0.30s; }

.hfc-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,0.20) 0%, rgba(255,77,157,0.10) 100%);
  border: 1px solid rgba(124,92,255,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-feat-card:hover .hfc-icon {
  color: #fff;
  border-color: rgba(255,77,157,0.38);
  background: linear-gradient(135deg, rgba(255,77,157,0.26) 0%, rgba(124,92,255,0.22) 100%);
  filter: drop-shadow(0 2px 6px rgba(255,77,157,0.18));
}
.hfc-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}
.hfc-title {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.hfc-sub {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8f95b8;
  font-weight: 600;
  line-height: 1.15;
}
.hfc-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b4a5ff;
  opacity: 0.92;
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.hero-feat-card:hover .hfc-check { color: #ffffff; }

.animate-fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeIn 0.7s var(--ease-out) 0.05s forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== GLOBAL STAGGER GERAK BERJALAN TURUN HERO ===== */
.hero-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: transform, opacity;
  contain: layout style;
}
.hero-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Urutan STAGGER DELAY (Berjalan Berurutan Turun) ===== */
.hs-delay-1 { transition-delay: 0.05s; }   /* badge Live Now 24/7 */
.hs-delay-2 { transition-delay: 0.15s; }   /* H1 JUDUL */
.hs-delay-3 { transition-delay: 0.28s; }   /* deskripsi paragraph */
.hs-delay-4 { transition-delay: 0.42s; }   /* CTAs: Browse + See Hot Slots */
.hs-delay-5 { transition-delay: 0.56s; }   /* stats inline 4 kolom */
.hs-delay-6 { transition-delay: 0.10s; }   /* hero feature card #1 */
.hs-delay-7 { transition-delay: 0.22s; }   /* #2 */
.hs-delay-8 { transition-delay: 0.34s; }   /* #3 */
.hs-delay-9 { transition-delay: 0.46s; }   /* #4 */

/* ===== Continuous parallax subtle move SIDEBAR HERO + badge pulse ===== */
@keyframes heroSideDrift {
  0%,100% { transform: translateX(0) translateY(0); }
  50%     { transform: translateX(6px) translateY(-4px); }
}
.hero-sidebar.hero-drift {
  animation: heroSideDrift 9s ease-in-out infinite;
  animation-delay: 1.2s;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,77,157,0.35); transform: scale(1); }
  50%     { box-shadow: 0 0 0 8px rgba(255,77,157,0); transform: scale(1.02); }
}
.badge-hero-pulse { animation: badgePulse 2.4s var(--ease-out) infinite; }

/* ===== Gradient Shimmer text LIVE SLOT DATABASE gerak pelan ===== */
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

/* ===== FEATURED CASINO BANNER ===== */
#featured-casino-wrap .casino-featured-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 768px) {
  #featured-casino-wrap .casino-featured-banner {
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
  }
}
.casino-featured-banner {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-home);
  background: linear-gradient(135deg, rgba(255,77,157,0.08) 0%, rgba(124,92,255,0.12) 100%);
  border: 1px solid var(--color-home-card-border);
  position: relative;
  overflow: hidden;
}
.casino-featured-banner::before {
  content:'';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,77,157,0.25), transparent 50%);
  pointer-events: none;
}
.casino-featured-banner .banner-left { display: flex; align-items: center; gap: 1rem; }
.casino-featured-banner .banner-logo {
  width: 140px; max-width: 140px; height: 48px;
  background: var(--color-home-card-border) center/contain no-repeat;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-family: var(--font-display); font-size: 1.1rem;
}
.casino-featured-banner .banner-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-accent-green);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.banner-partner .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-accent-green);
  color: #0a0820;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
}
.casino-featured-banner .banner-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-home-pink);
  margin-bottom: 0.35rem;
}
.casino-featured-banner .banner-desc {
  color: var(--color-text-secondary);
  font-size: 1rem;
}
.casino-featured-banner .banner-desc strong {
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
}
.casino-featured-banner .banner-desc code {
  background: rgba(255,255,255,0.08);
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  color: white;
  margin: 0 0.15rem;
  border: 1px solid var(--color-home-card-border);
  font-size: 0.9em;
}
.banner-cta { flex-shrink: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.banner-cta .label { font-size: 0.7rem; color: var(--color-text-dim); text-align: center; }

/* ===== TOOLS CTA ===== */
.tools-cta { isolation: isolate; }
.tools-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7c5cff 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.tools-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) { .tools-list { grid-template-columns: repeat(3, 1fr); } }
.tool-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  text-align: left;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.tool-chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-home-purple);
  box-shadow: 0 8px 24px rgba(124,92,255,0.18);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255,77,157,0.06), rgba(124,92,255,0.08));
}
.tool-ic {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(255,77,157,0.18), rgba(124,92,255,0.22));
  border-radius: 12px;
  flex-shrink: 0;
}
.tool-chip strong { display: block; font-size: 0.85rem; color: white; margin-bottom: 2px; }
.tool-chip small { font-size: 0.72rem; color: var(--color-text-dim); }

/* ===== Responsive polish ===== */
@media (max-width: 639px) {
  .section-wrap { padding: 2.5rem 0; }
  .hero { padding-top: 1.5rem !important; padding-bottom: 2rem !important; }
}

/* ==============================================
   🔥🔥🔥 MOBILE KECIL EXPLICIT FIXES (WAJIB ADA!)
   Breakpoint khusus iPhone SE 2/3 gen (375px), iPhone 12/13/14 (390px), Android Small (<=480px)
   (mencegah layout hancur / horizontal scroll di mobile kecil!)
   ============================================== */

/* ---------------- (1) Small Android & iPhone 12/13 Mini (<= 480px) ---------------- */
@media (max-width: 480px) {
  html, body { overflow-x: hidden; }   /* 🔥 Anti horizontal scroll abadi! */
  body { -webkit-tap-highlight-color: transparent; }

  /* Container jangan gepeng pinggir, beri ruang nafas mobile kecil tapi tidak berlebih */
  .container,
  .container-home {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    max-width: 100% !important;
  }

  /* ===== HERO mobile kecil ===== */
  .hero-card {
    padding-top: 1.6rem !important;
    padding-right: 0.9rem !important;
    padding-bottom: 1.5rem !important;
    padding-left: 0.9rem !important;
    border-radius: 16px !important;
  }
  .hero-grid { gap: 1.25rem; }
  .hero-copy { gap: 0.9rem; }
  .hero-title { font-size: clamp(1.4rem, 6.3vw, 1.85rem) !important; line-height: 1.08 !important; letter-spacing: -0.025em; }
  .hero-desc { font-size: 0.88rem !important; line-height: 1.68 !important; padding-right: 0 !important; max-width: 100% !important; }
  .hero-actions { flex-direction: column; gap: 0.75rem; margin: 0.25rem 0 0.8rem; }
  .hero-actions .btn { width: 100% !important; justify-content: center; }
  .btn-lg { padding: 0.9rem 1.1rem !important; font-size: 0.94rem !important; }
  .badge-hero-pulse { margin-bottom: 0.75rem !important; font-size: 0.7rem; padding: 0.38rem 0.7rem !important; }

  /* Hero Stats = 2 KOLOM NORMAL tapi padding dirapikan */
  .hero-stats-inline { gap: 1.1rem 0.5rem; padding-top: 1.4rem; padding-bottom: 0.8rem; margin-top: 0.6rem; }
  .hs-num { font-size: clamp(1.2rem, 5.2vw, 1.5rem) !important; }
  .hs-label { font-size: 0.65rem; letter-spacing: 0.12em; max-width: none; }

  /* Hero Sidebar 4 feature cards = icon 44px saja agar muat tanpa gepeng text */
  .hero-sidebar { max-width: none; width: 100%; }
  .hero-feat-card { grid-template-columns: 44px 1fr auto; gap: 0.7rem; padding: 0.8rem 0.85rem; }
  .hfc-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; }
  .hfc-check { width: 28px; height: 28px; }
  .hfc-title { font-size: 0.92rem; }
  .hfc-sub { font-size: 0.68rem; letter-spacing: 0.1em; }

  /* Hero Glow background DIPERKECIL (tidak keluar 120px radius, biar tidak terpotong card border radius di mobile kecil) */
  .hero-glow-1 { width: 260px; height: 260px; top: -80px; right: -80px; filter: blur(60px); opacity: 0.4; }
  .hero-glow-2 { width: 240px; height: 240px; bottom: -80px; left: -60px; filter: blur(60px); opacity: 0.4; }

  /* ===== Section Headings ===== */
  .section-wrap { padding-top: 2.25rem !important; padding-bottom: 2.5rem !important; }
  .section-wrap#giveaway { padding-bottom: 3.25rem !important; }
  .section-head { margin-bottom: 1.4rem !important; gap: 0.9rem; }
  .section-title { font-size: clamp(1.2rem, 5.4vw, 1.45rem); margin-bottom: 0.45rem !important; }
  .section-subtitle { font-size: 0.9rem !important; line-height: 1.65; }

  /* ===== Cards Uniform padding ===== */
  .home-card { border-radius: 16px !important; }
  .tools-cta,
  .featured-casino,
  #providers-linklist-wrap,
  #featured-casino-wrap .casino-featured-banner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    border-radius: 16px !important;
  }

  /* ===== TOOLS LIST (AWALNYA 2 KOLOM → MOBILE KECIL 1 KOLOM PENUH, tidak mepet!) ===== */
  .tools-list { grid-template-columns: 1fr !important; gap: 0.8rem !important; }
  .tool-chip { padding: 0.9rem 0.95rem !important; border-radius: 14px !important; }
  .tool-ic { width: 38px; height: 38px; font-size: 1.1rem; border-radius: 10px; }
  .tool-chip strong { font-size: 0.88rem; }
  .tool-chip small { font-size: 0.74rem; line-height: 1.4; }

  /* ===== Feature Badges Grid → 2 kolom normal, tapi gap kecil ===== */
  .feature-badges-grid { gap: 0.55rem; }
  .chip-badge { padding: 0.7rem 0.75rem; gap: 0.6rem; border-radius: 14px; }
  .chip-ic { width: 34px; height: 34px; border-radius: 9px; font-size: 1rem; }
  .chip-badge strong { font-size: 0.78rem; }
  .chip-badge small { font-size: 0.65rem; line-height: 1.3; }

  /* ===== NAV CTA Grid → 2 kolom tetap OK di <=480 ===== */
  .nav-cta-grid { gap: 0.6rem; }
  .nav-cta-card { padding: 0.8rem 0.85rem; gap: 0.75rem; }
  .nav-cta-ic { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 10px; }
  .nav-cta-card strong { font-size: 0.8rem; }
  .nav-cta-card small { font-size: 0.68rem; }

  /* ===== CASINO FEATURED BANNER + RAINBET card center content ===== */
  .casino-featured-banner .banner-left { flex-direction: column; align-items: center; gap: 0.75rem; }
  .casino-featured-banner .banner-logo { width: 130px; max-width: 130px; height: 44px; }
  .casino-featured-banner .banner-desc { text-align: center; padding-right: 0; font-size: 0.92rem; }
  .banner-cta { width: 100%; }
  .banner-cta .btn { width: 100%; justify-content: center; }
  #featured-casino-wrap .casino-featured-banner { gap: 1rem; }

  /* FC Grid (Rainbet) center CTAs column direction */
  .fc-grid { gap: 1.1rem; }
  .fc-logo-wrap { align-items: center; }
  .fc-logo-wrap .badge-gold { margin-left: auto; margin-right: auto; }
  .fc-copy { padding-right: 0; text-align: center; }
  .fc-copy .fc-title, .fc-copy .fc-bonus, .fc-copy .fc-promo { text-align: center; }
  .fc-actions { width: 100%; min-width: 0; }

  /* ===== PROVIDERS LOGO GRID → mobile 2 kolom, tapi height lebih pendek agar tidak terlalu tinggi ===== */
  .providers-logo-grid { gap: 0.7rem 0.75rem; }
  .provider-card { min-height: 78px; padding: 0.7rem 0.6rem; border-radius: 16px !important; }
  .prov-logo { max-height: 32px; }
  .prov-special-title { font-size: 0.94rem; }
  .prov-special-sub { font-size: 0.74rem; }

  /* ===== SIDEBAR DRAWER MOBILE → width 74px (lebih ramping dari 88px) ===== */
  @media (max-width: 1023px) {
    .home-sidebar { width: 74px !important; top: 72px; bottom: 0.25rem; padding-left: 0.35rem; }
    .home-sidebar-card { padding: 1rem 0.6rem 1.1rem; border-radius: 16px !important; border-top-left-radius: 16px !important; }
    .sidebar-sticky { top: 72px; max-height: calc(100vh - 72px - 0.25rem); }
    .sb-link { padding: 0.55rem 0.58rem !important; border-radius: 12px !important; }
    .sb-ic { width: 20px; height: 20px; flex-basis: 20px; }
    body .home-sidebar:not(.sidebar-icononly) .home-sidebar-card .sb-label { font-size: 0.78rem !important; line-height: 1.25 !important; }
    .sb-section-title { font-size: 0.62rem !important; letter-spacing: 0.14em !important; }
  }

  /* ===== TABLE striped (Big Wins + Streamers) horizontal scroll OK ===== */
  .table-striped { font-size: 0.78rem; min-width: 560px; }
  .table-striped thead th { padding: 0.7rem 0.8rem; font-size: 0.65rem; }
  .table-striped tbody td { padding: 0.65rem 0.8rem; }
  .bw-rank, .st-rank { width: 38px; }
  .bw-slot, .st-name { min-width: 140px; }

  /* ===== DEMO LIST rows ===== */
  .demo-row { padding: 0.65rem 0.75rem; gap: 0.75rem; }

  /* ===== CAROUSEL mobile item lebih pendek ===== */
  .carousel-item { width: 230px; }
  .carousel-track { gap: 0.7rem; padding: 1rem 0.4rem 1.25rem; }

  /* ===== REFERRAL cards 1 kolom mobile kecil biar text tidak kepotong ===== */
  .referral-cards-grid { grid-template-columns: 1fr !important; }
  .referral-card { padding: 0.85rem 0.9rem; }

  /* ===== GIVEAWAY inner 1 kolom, wheel lebih pendek ===== */
  .giveaway-inner { gap: 1.25rem; }
  .wheel-placeholder { height: 180px; border-radius: 16px; font-size: 5rem; }

  /* ===== FAQ Accordion ===== */
  .accordion-btn { padding: 0.85rem 1rem; gap: 0.8rem; font-size: 0.84rem; }
  .acc-toggle { width: 26px; height: 26px; border-radius: 7px; font-size: 1rem; }
}

/* ---------------- (2) iPhone 12 / 13 / 14 / 15 (390px width) - Extra Rapi ---------------- */
@media (max-width: 390px) {
  .container, .container-home { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
  .hero-card { padding-top: 1.5rem !important; padding-left: 0.8rem !important; padding-right: 0.8rem !important; padding-bottom: 1.4rem !important; }
  .hero-grid { gap: 1.15rem !important; }
  .hero-copy { gap: 0.85rem !important; }
  .hero-title { font-size: clamp(1.3rem, 5.9vw, 1.7rem) !important; line-height: 1.08 !important; letter-spacing: -0.025em; }
  .hero-desc { font-size: 0.85rem !important; line-height: 1.66 !important; }
  .hero-stats-inline { gap: 0.95rem 0.3rem; }
  .hs-item { gap: 0.4rem; padding-bottom: 0.35rem; }
  .hs-num { font-size: clamp(1.12rem, 5vw, 1.4rem) !important; }

  .home-sidebar { width: 70px !important; padding-left: 0.3rem; }
  .sidebar-nav { gap: 0.2rem; }
  .sb-link { padding: 0.5rem 0.5rem !important; gap: 0.65rem !important; }
  body .home-sidebar:not(.sidebar-icononly) .home-sidebar-card .sb-label { font-size: 0.75rem !important; }

  /* Cards lebih padat */
  .section-wrap { padding-top: 2rem !important; padding-bottom: 2.25rem !important; }
  .tools-list { gap: 0.7rem !important; }
  .tool-chip { padding: 0.8rem 0.85rem !important; }
  .featured-casino, .tools-cta, #providers-linklist-wrap { padding-left: 0.9rem !important; padding-right: 0.9rem !important; padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
  .fc-logo { width: 140px; max-width: 140px; height: 50px; }
  .providers-logo-grid .provider-card { min-height: 74px; padding: 0.65rem 0.55rem; }
  .prov-logo { max-height: 28px; }

  .feature-badges-grid { grid-template-columns: 1fr !important; }   /* 🔥 iPhone 12 390px 1 KOLOM agar badge tidak gepeng 2 kolom */
  .chip-badge { padding: 0.75rem 0.85rem; }
  .carousel-item { width: 215px; }
}

/* ---------------- (3) iPhone SE 2/3 Gen / Android Super Small (375px width) - PALING KRITIS! ---------------- */
@media (max-width: 375px) {
  .container, .container-home { padding-left: 0.65rem !important; padding-right: 0.65rem !important; }
  .hero-card { padding-top: 1.4rem !important; padding-left: 0.75rem !important; padding-right: 0.75rem !important; padding-bottom: 1.3rem !important; border-radius: 14px !important; }
  .hero-grid { gap: 1.1rem !important; }
  .hero-copy { gap: 0.8rem !important; }
  .hero-title { font-size: clamp(1.2rem, 5.6vw, 1.55rem) !important; line-height: 1.1 !important; letter-spacing: -0.022em; }
  .hero-desc { font-size: 0.82rem !important; line-height: 1.65 !important; max-width: 100% !important; }
  .hero-actions .btn { padding: 0.85rem 1rem !important; }
  .badge-hero-pulse { font-size: 0.66rem; padding: 0.34rem 0.62rem !important; }

  .hero-stats-inline { grid-template-columns: 1fr 1fr; gap: 0.9rem 0.25rem; padding-top: 1.2rem; }
  .hs-label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .hero-feat-card { grid-template-columns: 40px 1fr auto; gap: 0.6rem; padding: 0.7rem 0.75rem; border-radius: 14px; }
  .hfc-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 11px; }
  .hfc-check { width: 26px; height: 26px; }
  .hfc-title { font-size: 0.88rem; line-height: 1.15; }
  .hfc-sub { font-size: 0.65rem; }

  .section-title { font-size: clamp(1.1rem, 5.1vw, 1.35rem); }
  .section-subtitle { font-size: 0.87rem; line-height: 1.63; }

  .nav-cta-grid { grid-template-columns: 1fr !important; gap: 0.55rem; }   /* 🔥 iPhone SE NAV CTA 1 KOLOM PENUH! */

  .tools-cta, .featured-casino, #providers-linklist-wrap, .casino-featured-banner { padding-left: 0.8rem !important; padding-right: 0.8rem !important; padding-top: 1.1rem !important; padding-bottom: 1.1rem !important; border-radius: 14px !important; }
  .tool-chip { padding: 0.75rem 0.8rem !important; }
  .tool-ic { width: 36px; height: 36px; border-radius: 9px; }
  .chip-badge { padding: 0.7rem 0.8rem; }
  .chip-ic { width: 32px; height: 32px; }

  /* Sidebar iPhone SE super sempit 66px saja (label text 0.7rem juga kecil!) */
  @media (max-width: 1023px) {
    .home-sidebar { width: 66px !important; padding-left: 0.25rem; }
    .sb-link { padding: 0.48rem 0.46rem !important; gap: 0.55rem !important; border-radius: 11px !important; }
    .sb-ic { width: 18px; height: 18px; flex-basis: 18px; }
    body .home-sidebar:not(.sidebar-icononly) .home-sidebar-card .sb-label { font-size: 0.7rem !important; line-height: 1.2 !important; }
    .sb-section-title { display: none !important; }   /* iPhone SE: sembunyikan section titles sidebar, terlalu makan tempat */
  }

  .referral-card { padding: 0.75rem 0.8rem; gap: 0.65rem; }
  .ref-ic { width: 34px; height: 34px; }
  .accordion-btn { padding: 0.78rem 0.9rem; font-size: 0.8rem; }
  .demo-row { grid-template-columns: 60px 1fr !important; gap: 0.65rem; padding: 0.6rem 0.7rem; }
  .wheel-placeholder { height: 160px; font-size: 4.2rem; }
  .carousel-item { width: 205px; }
  .fc-logo { width: 130px; height: 46px; }
  .banner-cta .btn { padding: 0.82rem 1rem !important; }
}

/* ---------------- (4) iPhone Mini 12/13 & Android 320px Ultra Small (EXTRA SAFETY! Hampir tidak ada tapi anti hancur) ---------------- */
@media (max-width: 340px) {
  .hero-card { padding-top: 1.25rem !important; padding-left: 0.7rem !important; padding-right: 0.7rem !important; padding-bottom: 1.2rem !important; }
  .hero-grid { gap: 1rem !important; }
  .hero-copy { gap: 0.75rem !important; }
  .hero-title { font-size: 1.05rem !important; line-height: 1.12 !important; letter-spacing: -0.02em; }
  .hero-desc { font-size: 0.78rem !important; line-height: 1.62 !important; }
  .hero-actions .btn { padding: 0.78rem 0.9rem !important; font-size: 0.88rem !important; }
  .hero-stats-inline { grid-template-columns: 1fr; gap: 0.75rem; padding-top: 1.1rem; }   /* 🔥 Ultra Small 320px = stats 1 KOLOM vertikal! Jangan dipaksa 2 kolom */
  .hs-item { flex-direction: row; justify-content: space-between; align-items: center; gap: 0.75rem; text-align: left; padding: 0.2rem 0; }
  .hs-num { text-align: left !important; font-size: 1.1rem !important; margin: 0; padding: 0; width: auto; }
  .hs-label { text-align: right !important; margin: 0; padding: 0; width: auto; max-width: 150px; }
  body .home-sidebar:not(.sidebar-icononly) .home-sidebar-card .sb-label { display: none !important; }   /* 320px = collapse sidebar total ICON ONLY! */
  @media (max-width: 1023px) {
    .home-sidebar { width: 60px !important; padding-left: 0.22rem; }
    .sb-link { justify-content: center; }
    .sb-ic { width: 22px; height: 22px; flex-basis: 22px; }
  }
}

/* ===== Prevent horizontal scroll SELURUH CASE ===== */
@viewport { width: device-width; zoom: 1; }
* { box-sizing: border-box; }
img, svg, video, canvas { max-width: 100%; height: auto; }

/* ==========================================
   GLOBAL SECTION & CARD SPACING UNIFORM RAPI
   ========================================== */
.section-wrap { padding-top: 3.25rem !important; padding-bottom: 3.65rem !important; }
.section-wrap.hero { padding-top: 1.25rem !important; }
.section-wrap#giveaway { padding-bottom: 4.5rem !important; }

.section-head {
  margin-bottom: 2rem !important;
  gap: 1.25rem;
}
.section-title {
  margin-bottom: 0.75rem !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-subtitle {
  margin-bottom: 0 !important;
  line-height: 1.72;
  font-size: 0.98rem;
  color: #959bb9;
  max-width: 620px;
}

/* ===== HOME CARD SAFETY: radius + padding uniform, overflow text aman ===== */
.home-card {
  border-radius: 18px !important;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.tools-cta {
  padding-top: 2.75rem !important;
  padding-right: clamp(1.25rem, 3.1vw, 2.5rem) !important;
  padding-bottom: 2.75rem !important;
  padding-left: clamp(1.25rem, 3.1vw, 2.5rem) !important;
  border-radius: 22px !important;
}

/* ===== Grid slots / providers / blog / casinos uniform gap + padding cards ===== */
.hot-slots-grid,
.slot-grid,
.providers-grid,
.new-slots-grid,
.themes-grid,
.casinos-grid,
#posts-grid,
.grid-posts {
  gap: 1.25rem !important;
}

/* ===== Tools chips & CTA padding bottom safety ===== */
.tools-list {
  gap: 0.95rem !important;
  margin-top: 0.25rem !important;
  padding-bottom: 0.5rem;
}
.tool-chip {
  padding: 1rem 1.1rem !important;
  border-radius: 16px !important;
  overflow: hidden;
}
.tool-chip small { line-height: 1.45; }

/* ===== Casino Featured Banner spacing safety ===== */
#featured-casino-wrap .casino-featured-banner,
.casino-featured-banner {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  padding-left: clamp(1.25rem, 2.6vw, 1.75rem) !important;
  padding-right: clamp(1.25rem, 2.6vw, 1.75rem) !important;
  border-radius: 20px !important;
}
.casino-featured-banner .banner-desc {
  line-height: 1.72 !important;
  padding-right: 0.5rem;
}

/* ========================================
   FIX #1: FEATURED CASINO RAINBET
   (badge gold Official Partner JANGAN terpotong sisi kiri radius card 18px)
   ======================================== */
.featured-casino {
  padding-top: clamp(1.6rem, 2.6vw, 2.2rem) !important;
  padding-bottom: clamp(1.6rem, 2.6vw, 2.2rem) !important;
  padding-left: clamp(1.6rem, 3.1vw, 2.3rem) !important;
  padding-right: clamp(1.6rem, 3.1vw, 2.3rem) !important;
  border-radius: 22px !important;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.fc-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 480px; height: 420px;
  background: radial-gradient(circle, rgba(255,77,157,0.22) 0%, transparent 62%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.fc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .fc-grid { grid-template-columns: auto 1fr auto; gap: 2.25rem; }
}
.fc-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  min-width: 0;
  padding-top: 0.1rem;
  padding-bottom: 0.2rem;
}
.fc-logo {
  width: 160px; max-width: 160px;
  height: 56px;
  min-height: 56px;
  background: rgba(124,92,255,0.14) center/contain no-repeat;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid rgba(124,92,255,0.24);
  overflow: hidden;
  position: relative;
}
.fc-logo-wrap .badge-gold,
.fc-logo-wrap .badge {
  padding: 0.38rem 0.9rem 0.38rem 0.88rem !important;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  position: relative;
  z-index: 10;
  margin-left: 0.1rem;
  margin-top: 0.1rem;
  box-shadow: 0 2px 14px rgba(250,204,21,0.08);
}
.fc-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-right: 0.25rem;
}
.fc-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: white;
  margin: 0;
}
.fc-bonus {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  font-weight: 700;
  color: #e9eaff;
  line-height: 1.3;
  margin: 0;
  padding-top: 0.1rem;
}
.fc-promo {
  color: #9a9fbf;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.78;
  margin: 0;
  padding-top: 0.1rem;
  max-width: 640px;
}
.code {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  background: rgba(124,92,255,0.18);
  padding: 0.1rem 0.55rem;
  border-radius: 8px;
  color: white;
  margin: 0 0.2rem;
  border: 1px solid rgba(124,92,255,0.3);
  font-size: 0.92em;
}
.fc-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  min-width: 220px;
}
@media (min-width: 768px) {
  .fc-actions { width: clamp(230px, 20vw, 280px); }
}
.btn-block {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ========================================
   FIX #2: PROVIDERS LOGO GRID 5 COL (HIDUP! bukan cuma text)
   EXACT match gambar user: 15 cards = 5 x 3 rows
   ======================================== */
#providers-linklist-wrap,
.providers-linklist-wrap {
  padding-top: clamp(1.45rem, 2.4vw, 1.9rem) !important;
  padding-bottom: clamp(1.55rem, 2.5vw, 2rem) !important;
  padding-left: clamp(1.55rem, 2.9vw, 2.05rem) !important;
  padding-right: clamp(1.55rem, 2.9vw, 2.05rem) !important;
  border-radius: 22px !important;
  overflow: hidden;
  margin-top: 1.5rem;
}
.providers-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.9rem;
  width: 100%;
  align-items: stretch;
  justify-items: stretch;
}
@media (min-width: 560px) {
  .providers-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1rem; }
}
@media (min-width: 880px) {
  .providers-logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.05rem 1.1rem; }
}
.provider-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 94px;
  height: 100%;
  width: 100%;
  padding: clamp(0.85rem, 1.4vw, 1.15rem) clamp(0.75rem, 1.3vw, 1.05rem);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform, box-shadow, border-color;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  margin: 0;
}
.providers-logo-grid .provider-card {
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(124,92,255,0.06) 0%, rgba(255,77,157,0.045) 100%) !important;
  border: 1px solid rgba(124,92,255,0.16) !important;
  box-shadow: none !important;
}
.provider-card::before {
  content:'';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124,92,255,0.18) 0%, transparent 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.provider-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(124,92,255,0.36);
  box-shadow: 0 14px 32px rgba(124,92,255,0.16), 0 6px 18px rgba(255,77,157,0.12);
  text-decoration: none;
  color: inherit;
}
.provider-card:hover::before { opacity: 1; }
.provider-card--special {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0.65rem;
  background: linear-gradient(135deg, rgba(255,77,157,0.10) 0%, rgba(124,92,255,0.16) 100%);
  border-color: rgba(124,92,255,0.28);
}
.provider-card--special:hover {
  border-color: rgba(255,77,157,0.42);
  box-shadow: 0 14px 32px rgba(255,77,157,0.18), 0 6px 18px rgba(124,92,255,0.16);
}
.prov-special-title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #ffffff;
  line-height: 1.15;
  z-index: 2;
  position: relative;
}
.prov-special-sub {
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
  color: #9ba1c3;
  font-weight: 500;
  line-height: 1.3;
  z-index: 2;
  position: relative;
}
.prov-logo {
  position: relative;
  z-index: 2;
  max-width: 80%;
  max-height: clamp(28px, 4vw, 44px);
  height: auto;
  width: auto;
  display: inline-block;
  object-fit: contain;
  filter: grayscale(1) contrast(0.92) brightness(0) invert(1) saturate(0) opacity(0.98);
  transition: filter 0.3s ease;
  pointer-events: none;
}
.provider-card:hover .prov-logo {
  filter: grayscale(0) contrast(1) brightness(1) saturate(1) opacity(1) drop-shadow(0 6px 18px rgba(124,92,255,0.28));
}
.prov-fallback {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 90%;
  line-height: 1.15;
}
.provider-card:hover .prov-fallback {
  color: white;
  text-shadow: 0 2px 14px rgba(124,92,255,0.28);
}

/* Delete old providers linklist styles (text list 4 col) */
.providers-columns, .prov-col, .prov-link {
  all: unset !important;
  display: none !important;
}

/* ===== FAQ & Big Wins Table padding safety ===== */
#faq-accordion-wrap,
#big-wins-table-wrap,
#streamers-table-wrap {
  padding-top: 0.5rem;
  overflow: hidden;
  border-radius: 18px !important;
}

/* ===== Providers link list & general grids line-height uniform ===== */
#providers-linklist-wrap {
  padding-top: 1.5rem;
  line-height: 1.72;
}

/* ===== General Grid Slot Cards overflow text aman ===== */
.slot-card,
.provider-card,
.theme-card,
.casino-card,
.post-card {
  padding: 1rem 1.05rem !important;
  border-radius: 16px !important;
  overflow: hidden;
  position: relative;
}
.slot-title,
.provider-name,
.theme-name,
.casino-name,
.post-title {
  line-height: 1.32 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.post-excerpt,
.casino-desc,
.theme-desc {
  line-height: 1.68 !important;
  color: #8f95b8;
  font-size: 0.92rem;
  padding-top: 0.15rem;
  overflow: hidden;
}

/* ===== Referral & Countdown spacing safety ===== */
#referral-codes-wrap,
#giveaway-cta-wrap,
#nav-cta-wrap,
#feature-badges-wrap {
  padding-top: 0.25rem;
  overflow: hidden;
  border-radius: 18px !important;
}
#feature-badges-wrap { border-radius: 0 !important; }

/* ===== HERO BADGE safety padding agar tidak mepet pinggir ===== */
.badge-hero-pulse,
.badge-pink {
  padding: 0.45rem 0.85rem 0.45rem 0.7rem !important;
  border-radius: 999px !important;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ===== LAYOUT 2 KOLOM (SIDEBAR KIRI + MAIN) ===== */
.home-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .home-layout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.75rem;
    padding-left: 0;
    margin-left: 0;
    max-width: none;
    width: 100%;
  }
  .home-layout > .home-main-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-right: 1rem;
    justify-self: start;
  }
}
.home-sidebar { min-width: 0; }
.sidebar-sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 110px - 0.25rem);
  margin-top: -58px;
}
.home-sidebar {
  min-width: 0;
  scroll-margin-top: 52px;
}
/* ================ SIDEBAR V3: CARDS PER SECTION ================ */
.home-sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0.2rem 0 0.4rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: calc(100vh - 130px - 0.25rem);
}
.home-sidebar-cards::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.sb-group-card {
  background: linear-gradient(180deg, rgba(12,9,38,0.9), rgba(8,6,26,0.9));
  border: 1px solid rgba(124,92,255,0.14);
  border-radius: 14px;
  padding: 0.7rem 0.65rem 0.75rem;
  box-shadow: 0 3px 10px -6px rgba(0,0,0,0.45);
}
.sb-group-card + .sb-group-card { margin-top: 0; }
.sb-section-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.25rem;
}
.sb-section-toggle {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  padding: 0.4rem 0.3rem 0.45rem;
  margin: 0 -0.1rem 0.1rem;
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, transform 0.12s ease;
}
.sb-section-toggle:hover {
  background: rgba(124,92,255,0.08);
}
.sb-section-toggle:hover .sb-section-title {
  color: #d9b57a;
}
.sb-section-toggle:focus-visible {
  outline: 2px solid rgba(255,77,157,0.55);
  outline-offset: 1px;
}
.sb-section-toggle .sb-section-title {
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  pointer-events: none;
}
.sb-sec-chev {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: #78716c;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), color 0.15s ease;
  pointer-events: none;
}
.sb-section-toggle:hover .sb-sec-chev { color: #c4b5fd; }
.sb-section-toggle.is-collapsed .sb-sec-chev { transform: rotate(-90deg); color: #a78bfa; }

/* Legacy .home-sidebar-card (digunakan oleh renderSidebar() home biasa) */
.home-sidebar-card {
  padding: 1.25rem 0.9rem 1.3rem;
  background: linear-gradient(180deg, #08061e 0%, #05041a 100%);
  border: 1px solid rgba(124,92,255,0.16);
  border-radius: 18px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: calc(100vh - 130px - 0.25rem);
}
.home-sidebar-card::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
@media (min-width: 1024px) {
  .home-sidebar {
    width: 200px;
    justify-self: stretch;
    margin-left: 0;
    transition: width 0.28s var(--ease-out);
  }
  .home-sidebar.sidebar-icononly { width: 104px; }
  .home-sidebar.sidebar-icononly .home-sidebar-card {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .home-sidebar.sidebar-icononly .sb-group-card { padding: 0.65rem 0.5rem 0.7rem; }
  .home-sidebar-card {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    width: 100%;
    padding: 1.1rem 0.85rem 1.2rem;
  }
  .sb-group-card {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid transparent;
  }
}
.sb-nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.sb-section-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #b08c4c;
  margin: 0 0 .45rem 0.05rem;
  padding-left: 0.15rem;
  font-family: var(--font-display);
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sb-ic {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: color var(--transition-fast);
}
.home-sidebar-card .sb-link,
.sb-group-card .sb-link {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.78rem;
  padding: 0.6rem 0.72rem;
  border-radius: 14px;
  font-size: 0.87rem;
  line-height: 1.32;
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  font-weight: 500;
  width: 100% !important;
  min-height: auto !important;
  height: auto !important;
}
.sb-link:hover {
  background: rgba(124,92,255,0.1);
  color: white;
  text-decoration: none;
  border-color: rgba(124,92,255,0.22);
}
.sb-link:hover .sb-ic { color: var(--color-home-purple); }
.sb-link.sb-active {
  background: linear-gradient(135deg, rgba(255,77,157,0.2) 0%, rgba(124,92,255,0.24) 100%);
  color: white;
  font-weight: 700;
  border: 1.5px solid #ff4d9d;
  box-shadow: 0 2px 10px rgba(255,77,157,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}
.sb-link.sb-active .sb-ic { color: #fff; filter: drop-shadow(0 0 4px rgba(255,77,157,0.45)); }
body .home-sidebar:not(.sidebar-icononly) .home-sidebar-card .sb-label,
body .home-sidebar:not(.sidebar-icononly) .sb-group-card .sb-label,
body .home-sidebar-card .sb-label,
body .sb-group-card .sb-label {
  display: block !important;
  visibility: visible !important;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  hyphens: manual;
  padding-top: 2px;
  line-height: 1.32;
}
/* Hide sb-section-toggle + sb-sec-chev di icon-only mode tidak berguna karena section title sudah hidden */
body .home-sidebar.sidebar-icononly .sb-section-toggle,
body .home-sidebar.sidebar-icononly .sb-sec-chev {
  display: none !important;
}
body .home-sidebar.sidebar-icononly .sb-label { display: none !important; visibility: hidden !important; }
body .home-sidebar.sidebar-icononly .sb-section-title { display: none !important; visibility: hidden !important; }
.home-sidebar.sidebar-icononly .sidebar-nav {
  gap: 0.75rem;
  align-items: center;
}
.home-sidebar.sidebar-icononly .sb-link {
  width: 56px;
  height: 56px;
  justify-content: center;
  padding: 0;
  border-radius: 16px;
  gap: 0;
}
.home-sidebar.sidebar-icononly .sb-ic {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #cbd5e1;
}
.home-sidebar.sidebar-icononly .sb-link.sb-active {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,77,157,0.22), rgba(124,92,255,0.28));
}
.home-sidebar.sidebar-icononly .sb-nav-wrap { gap: 1.1rem; align-items: center; }
.home-sidebar.sidebar-icononly .home-sidebar-card { padding: 1.25rem 0.7rem; }

/* ===== FIX V2 FLAT ITEMS (no sidebar-nav wrapper) ===== */
.home-sidebar.sidebar-icononly .sb-nav-wrap {
  align-items: center !important;
  justify-content: flex-start !important;
}
.home-sidebar.sidebar-icononly a.sb-link {
  width: 56px !important;
  height: 56px !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  border-radius: 16px !important;
  gap: 0 !important;
  margin: 0 auto !important;
}
.home-sidebar.sidebar-icononly .sb-section-title,
.home-sidebar.sidebar-icononly .sr-group,
.home-sidebar.sidebar-icononly h6.sb-section-title,
.home-sidebar.sidebar-icononly h6.sr-group {
  display: none !important;
}
.home-sidebar.sidebar-icononly a.sb-link.sb-active {
  width: 60px !important;
  height: 60px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255,77,157,0.22), rgba(124,92,255,0.28)) !important;
}
.home-sidebar.sidebar-icononly .sb-ic,
.home-sidebar.sidebar-icononly .sb-link-icon {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
  color: #cbd5e1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.home-sidebar.sidebar-icononly .sb-icon-img {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}
/* Show visibility scope checkboxes style label gold */
.mi-scope-section {
  grid-column: 1 / -1;
  border-top: 1px dashed rgba(124,92,255,.18);
  padding-top: 0.85rem;
  margin-top: 0.35rem;
}

/* V2 Menu Manager compat */
.home-sidebar.sidebar-icononly .sr-group { display: none !important; }
.home-sidebar .sb-link-icon, .sb-link-icon { width: 24px; height: 24px; flex: 0 0 24px; display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; }
.home-sidebar.sidebar-icononly .sb-link-icon { width: 30px; height: 30px; flex: 0 0 30px; }
.home-sidebar.sidebar-icononly .sb-link-has-icon { width: 56px; height: 56px; justify-content: center; padding: 0; border-radius: 16px; gap: 0; }
.home-sidebar.sidebar-icononly .sb-link-has-icon.sb-active { width: 60px; height: 60px; border-radius: 18px; }
/* If V2 items not wrapped in UL, still center them correctly in collapsed */
.home-sidebar.sidebar-icononly .sb-nav-wrap > a.sb-link { margin: 0 auto; }
.home-sidebar.sidebar-icononly .sb-link:hover .sb-link-icon, .home-sidebar .sb-link:hover .sb-link-icon { color: var(--color-home-purple); }

/* ===== SIDEBAR DRAWER OVERLAY (saat hamburger di-klik) ===== */
@media (max-width: 1023px) {
  .home-sidebar {
    position: fixed;
    top: 110px;
    left: 0;
    bottom: 0.5rem;
    width: 88px;
    z-index: 55;
    transform: translateX(-110%);
    transition: transform 0.32s var(--ease-out);
    padding-left: 0.5rem;
  }
  .home-sidebar.drawer-open {
    transform: translateX(0);
  }
  .home-sidebar .home-sidebar-card,
  .home-sidebar .home-sidebar-cards { height: 100%; overflow-y: auto; }
  .home-sidebar .sb-group-card { border-radius: 12px; }
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 24, 0.55);
  backdrop-filter: blur(2px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease-out;
}
.drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ===== FEATURE BADGES 3x4 GRID ===== */
.feature-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .feature-badges-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .feature-badges-grid { grid-template-columns: repeat(4, 1fr); }
}
.chip-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.chip-badge:hover {
  transform: translateY(-2px);
  border-color: var(--color-home-purple);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(124,92,255,0.15);
}
.chip-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,77,157,0.18), rgba(124,92,255,0.22));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.chip-badge strong {
  display: block;
  font-size: 0.82rem;
  color: white;
  margin-bottom: 1px;
}
.chip-badge small {
  font-size: 0.7rem;
  color: var(--color-text-dim);
}

/* ===== NAV CTA 3x2 CARDS ===== */
.nav-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .nav-cta-grid { grid-template-columns: repeat(3, 1fr); }
}
.nav-cta-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.nav-cta-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.nav-cta-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.nav-cta-pink-500 { background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(249,115,22,0.27)); }
.nav-cta-purple-500 { background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(79,70,229,0.27)); }
.nav-cta-amber-500 { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(202,138,4,0.27)); }
.nav-cta-sky-500 { background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(37,99,235,0.27)); }
.nav-cta-red-500 { background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(225,29,72,0.27)); }
.nav-cta-emerald-500 { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(22,163,74,0.27)); }
.nav-cta-card strong {
  display: block;
  font-size: 0.85rem;
  color: white;
  margin-bottom: 2px;
}
.nav-cta-card small {
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

/* ===== DEMO LIST ROWS ===== */
.demo-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.demo-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.demo-row:hover {
  border-color: var(--color-home-purple);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(124,92,255,0.12);
}
.demo-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-home-pink), var(--color-home-purple));
  color: white;
}
.demo-info { min-width: 0; }
.demo-name {
  display: block;
  font-size: 0.88rem;
  color: white;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-prov {
  font-size: 0.7rem;
  color: var(--color-text-dim);
}
.demo-stats {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.demo-stats span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: flex-end;
}
.demo-stats strong {
  font-size: 0.8rem;
  color: white;
}
.demo-stats small {
  font-size: 0.65rem;
  color: var(--color-text-dim);
}
.demo-stats .demo-top strong {
  color: var(--color-home-pink);
  font-weight: 800;
}
@media (max-width: 639px) {
  .demo-row { grid-template-columns: 70px 1fr; }
  .demo-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .demo-stats span { align-items: flex-start; }
}

/* ===== STRIPED TABLES (Big Wins + Streamers) ===== */
.table-wrap {
  overflow-x: auto;
  padding: 0 !important;
}
.table-striped {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.table-striped thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  color: var(--color-text-dim);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border-default);
  background: rgba(255,255,255,0.02);
  position: sticky;
  top: 0;
}
.table-striped tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.table-striped tbody tr:nth-child(even) td {
  background: rgba(124,92,255,0.03);
}
.table-striped tbody tr:hover td {
  background: rgba(255,77,157,0.05);
}
.mult-chip {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,77,157,0.18), rgba(124,92,255,0.22));
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
}
.cas-pill {
  display: inline-flex;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(124,92,255,0.25);
  color: var(--color-home-purple);
  font-size: 0.7rem;
  font-weight: 700;
}
.cas-pill.cas-sm {
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
}
.bw-rank, .st-rank {
  width: 48px;
  color: var(--color-text-dim);
  font-weight: 700;
  font-family: var(--font-mono);
}
.bw-slot, .st-name { min-width: 180px; }
.bw-slot strong {
  color: white;
  display: block;
}
.bw-slot small {
  font-size: 0.7rem;
  color: var(--color-text-dim);
}
.bw-amt strong {
  color: var(--color-accent-green);
  font-size: 0.88rem;
  font-weight: 800;
}
.st-name {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.st-ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.st-wins strong {
  color: white;
  font-size: 0.86rem;
  display: block;
}
.st-wins small {
  font-size: 0.65rem;
  color: var(--color-text-dim);
}

/* ===== HORIZONTAL SCROLL CAROUSELS ===== */
.horizontal-scroll-carousel {
  position: relative;
  margin-top: 0.25rem;
}
.carousel-track {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 1.25rem 0.5rem 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  text-decoration: none;
  overflow: hidden;
  transition: all var(--transition-fast);
}
.carousel-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-home-purple);
  box-shadow: 0 12px 32px rgba(124,92,255,0.18);
  text-decoration: none;
}
@media (min-width: 640px) {
  .carousel-item { width: 280px; }
}
.ci-thumb {
  aspect-ratio: 5 / 3;
  border-radius: 10px 10px 0 0;
}
.ci-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ci-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  background: rgba(124,92,255,0.18);
  color: var(--color-home-purple);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ci-name {
  color: white;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ci-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
}
.ci-meta span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ci-meta strong {
  font-size: 0.78rem;
  color: white;
}
.ci-meta small {
  font-size: 0.6rem;
  color: var(--color-text-dim);
}
.ci-meta .ci-top strong {
  color: var(--color-home-pink);
  font-weight: 800;
}
.scroll-left, .scroll-right {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  z-index: 10;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  background: rgba(10,8,32,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-home-card-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: all var(--transition-fast);
}
.scroll-left:hover, .scroll-right:hover {
  background: linear-gradient(135deg, #ff4d9d, #7c5cff);
  border-color: transparent;
}
.scroll-left { left: -10px; }
.scroll-right { right: -10px; }
@media (max-width: 639px) {
  .scroll-left, .scroll-right { display: none; }
}

/* ===== CASINO SPECIFIC TOOLS 4 CARDS ===== */
.casino-specific-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .casino-specific-cards { grid-template-columns: repeat(2, 1fr); }
}
.casino-specific-card {
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: all var(--transition-fast);
}
.casino-specific-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0,0,0,0.35);
  border-color: var(--color-home-purple);
}
.csc-head {
  height: 88px;
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
}
.csc-ic { font-size: 2.25rem; }
.csc-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.csc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
}
.csc-desc {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0.25rem 0 0.5rem;
}
.csc-action {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-home-purple);
}
.casino-specific-card:hover .csc-action { color: var(--color-home-pink); }

/* ===== REFERRAL CODES 5 CARDS ===== */
.referral-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .referral-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .referral-cards-grid { grid-template-columns: repeat(5, 1fr); }
}
.referral-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.referral-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(124,92,255,0.15);
  border-color: var(--color-home-purple);
}
.ref-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.referral-card strong {
  display: block;
  font-size: 0.82rem;
  color: white;
  margin-bottom: 2px;
  line-height: 1.3;
}
.referral-card small {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  line-height: 1.4;
}

/* ===== THEMES GRID 15 CARDS ===== */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}
.theme-card {
  text-decoration: none;
  transition: all var(--transition-fast);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
}
.theme-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.theme-card:hover .theme-thumb {
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.theme-thumb {
  aspect-ratio: 5 / 4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-home-card-border);
}
.theme-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,8,32,0.55) 100%);
}
.theme-ic {
  font-size: 2.8rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  z-index: 2;
}
.theme-info {
  padding: 0.7rem 0.2rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.theme-info strong {
  font-size: 0.85rem;
  color: white;
  font-weight: 700;
}
.theme-info small {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== PROVIDERS LINKLIST 4 KOLOM ===== */
.providers-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
@media (min-width: 768px) {
  .providers-columns { grid-template-columns: repeat(4, 1fr); }
}
.prov-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prov-link {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  padding: 0.2rem 0;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.prov-link:hover {
  color: var(--color-home-pink);
  transform: translateX(3px);
  text-decoration: none;
}

/* ===== FAQ ACCORDION 18 ITEMS ===== */
.accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.accordion-item {
  overflow: hidden;
  padding: 0 !important;
  transition: all var(--transition-fast);
}
.accordion-item.expanded {
  border-color: var(--color-home-purple);
  box-shadow: 0 8px 24px rgba(124,92,255,0.12);
}
.accordion-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  font-family: inherit;
}
.accordion-btn:hover { color: var(--color-home-pink); }
.accordion-item.expanded .accordion-btn {
  color: var(--color-home-purple);
  border-bottom: 1px solid var(--color-border-default);
}
.acc-toggle {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(124,92,255,0.12);
  color: var(--color-home-purple);
  font-weight: 800;
  font-size: 1.1rem;
}
.accordion-item.expanded .acc-toggle {
  background: linear-gradient(135deg, #ff4d9d, #7c5cff);
  color: white;
}
.accordion-panel {
  display: none;
  padding: 0 1.25rem 1.1rem;
}
.accordion-panel p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ===== GIVEAWAY CTA 2 KOLOM ===== */
.badge-emerald {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.giveaway-cta { isolation: isolate; }
.giveaway-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(16,185,129,0.4) 0%, rgba(124,92,255,0.27) 50%, transparent 70%);
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.giveaway-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .giveaway-inner { grid-template-columns: 1.4fr 1fr; }
}
.wheel-placeholder {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(124,92,255,0.18));
  border: 1px solid var(--color-home-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
}

/* ===== MISC UTILITIES ===== */
.text-link-purple {
  color: var(--color-home-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.text-link-purple:hover { color: var(--color-home-pink); }
.mt-6 { margin-top: 1.5rem !important; }
