/* ==========================================================================
   PORTAL RESMI PENGADILAN NEGERI MALILI - BADILUM 2026 SUITE CSS
   Dedicated Standalone Stylesheet (Clean, Independent, Auto Cache-Busting)
   ========================================================================== */

:root {
  --body: #fff;
  --black: #000;
  --white: #fff;
  --secondcolor: #4E29B7;
  --header: #222222;
  --base: #166FD3;
  --text: #5E5F63;
  --text2: #8A8C94;
  --border: #EEEFF4;
  --border2: #D7D7D7;
  --button: #1C2539;
  --button2: #030734;
  --ratting: #F09815;
  --bg: #F6F3EE;
  --bg2: #F6F6F6;
  --bg3: #F5F6FD;
  --bg4: #020001;
  --bg5: #F8F8F8;
  --bg6: #020626;
  --bg7: #EDEEEE;
  --color-gradient-1: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 19.36%, rgba(15, 116, 230, 0.55) 71.26%, #166FD3 100%);
  --color-gradient-2: linear-gradient(180deg, rgba(0, 0, 0, 0.31) 0%, rgba(0, 0, 0, 0.78) 100%);
  ---box-shadow: 0px 9px 21px rgba(0, 0, 0, 0.04);
}

.recent_post_item {
display: flex;
flex-direction: column;
gap: 20px;
}
/* ======================================================
   PN MALILI V2 - HEADER & MENU
   ====================================================== */

:root{
  --pn-red:#861313;
  --pn-gold:#c99b1d;
  --pn-white:#ffffff;
}

#sp-header{
    background:var(--pn-red)!important;
}

.sp-megamenu-parent{
    display:flex!important;
    justify-content:center;
    align-items:center;
    flex-wrap:nowrap;
    background:var(--pn-gold);
}

.sp-megamenu-parent>li{
    position:relative;
    list-style:none;
}

.sp-megamenu-parent>li>a{
    color:#fff!important;
    padding:16px 18px!important;
    font-weight:600;
    font-size:15px;
    text-decoration:none;
}

.sp-megamenu-parent>li:hover>a{
    background:var(--pn-red)!important;
}
/* =========================================
   PN MALILI - HELIX DROPDOWN FIX
========================================= */

.sp-megamenu-parent > li {
    position: relative;
}

.sp-megamenu-parent > li > .sp-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: #861313;
    border-top: 3px solid #C99B1D;
    z-index: 99999;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.sp-megamenu-parent > li:hover > .sp-dropdown {
    display: block;
}

.sp-dropdown li a {
    display: block;
    padding: 12px 18px;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.sp-dropdown li a:hover {
    background: #C99B1D !important;
    color: #fff !important;
}

.sp-dropdown .sp-dropdown {
    left: 100%;
    top: 0;
}

/* ==========================================================================
   PORTAL PERADILAN BADILUM 2026 - PENGADILAN NEGERI MALILI KELAS II
   Standarisasi Juknis Pembaharuan Website Ditjen Badilum MA-RI 2026
   ========================================================================== */

:root {
    --pn-maroon: #7a0c14;
    --pn-maroon-dark: #4a050a;
    --pn-maroon-gradient: linear-gradient(135deg, #7a0c14 0%, #4a050a 100%);
    --pn-gold: #cfa847;
    --pn-gold-light: #fef3c7;
    --pn-gold-gradient: linear-gradient(135deg, #e5a93b 0%, #b8860b 100%);
    --pn-green: #064e3b;
    --pn-blue: #1e3a8a;
    --pn-slate: #0f172a;
    --pn-slate-light: #1e293b;
    --pn-radius: 16px;
    --pn-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* --- Bilah Navigasi Standar Badilum (Sticky Gold/Maroon) --- */
.badilum-main-navbar {
    background: linear-gradient(90deg, #4a050a 0%, #7a0c14 50%, #4a050a 100%) !important;
    border-top: 1px solid rgba(207, 168, 71, 0.4);
    border-bottom: 3px solid var(--pn-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1030;
}

.badilum-nav-list .nav-link {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.badilum-nav-list .nav-link:hover,
.badilum-nav-list .nav-link.active,
.badilum-nav-list .nav-item.show .nav-link {
    background: var(--pn-gold) !important;
    color: var(--pn-maroon-dark) !important;
}

.badilum-main-navbar .dropdown-menu {
    background: #ffffff;
    border: 2px solid var(--pn-gold);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    padding: 6px 0;
    min-width: 260px;
}

.badilum-main-navbar .dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    padding: 8px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.badilum-main-navbar .dropdown-item:last-child {
    border-bottom: none;
}

.badilum-main-navbar .dropdown-item:hover {
    background: #fff8e6;
    color: var(--pn-maroon);
    padding-left: 20px;
}

/* --- Hero Banner Slider Resmi PN Malili (Split Element Animations & Perfect Aspect-Ratio) --- */
.badilum-hero-wrapper {
    position: relative;
    width: 100%;
    background: #020b18;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   BADILUM 2026: HERO SLIDER RESMI MAJESTIC 3D & ROYAL GOLD SUITE
   ========================================================================== */
.badilum-hero-wrapper {
    position: relative;
    background: #020b18;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

/* Bingkai Emas Atas & Bawah (Royal Metallic Gold Trims) */
.court-slider-gold-trim-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5b0e04 0%, #cfa847 20%, #fff6c7 50%, #cfa847 80%, #5b0e04 100%);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.6);
    z-index: 25;
}

.court-slider-gold-trim-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5b0e04 0%, #cfa847 25%, #ffd700 50%, #cfa847 75%, #5b0e04 100%);
    box-shadow: 0 -2px 12px rgba(255, 215, 0, 0.5);
    z-index: 25;
}

/* 4 Ornamen Sudut Kerajaan (Royal Geometric Corner Brackets) */
.court-corner-bracket {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 22;
    pointer-events: none;
    border: 2px solid #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}

.court-corner-bracket.corner-top-left {
    top: 10px;
    left: 12px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 4px;
}

.court-corner-bracket.corner-top-right {
    top: 10px;
    right: 12px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 4px;
}

.court-corner-bracket.corner-bottom-left {
    bottom: 12px;
    left: 12px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 4px;
}

.court-corner-bracket.corner-bottom-right {
    bottom: 12px;
    right: 12px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 4px;
}

/* Garis Laser Waktu Emas (Animated Progress Bar Track) */
.court-slider-progress-track {
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 24;
    overflow: hidden;
    pointer-events: none;
}

.court-slider-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #cfa847, #ffd700, #ffffff);
    box-shadow: 0 0 10px #ffd700;
    animation: courtProgressTimer 6s linear infinite;
}

@keyframes courtProgressTimer {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Floating State Seal Badge (Top Right) */
.court-floating-seal {
    position: absolute;
    top: 14px;
    right: 36px;
    z-index: 21;
    background: rgba(10, 20, 38, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px 14px;
    pointer-events: none;
}

.court-floating-seal .seal-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ffd700;
    text-transform: uppercase;
}

.court-floating-seal .seal-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: courtLivePulse 1.8s infinite;
}

@keyframes courtLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

#courtCarousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #020b18;
}

/* Container Stage Slider */
.court-slide-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 365;
    max-height: 560px;
    overflow: hidden;
    background: radial-gradient(circle at center, #07172e 0%, #020813 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Base Image: Kejernihan & Kestabilan Visual + Ken Burns Smooth Float */
.court-slide-stage img.court-slide-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.45s ease 0.65s;
    will-change: transform, opacity;
}

.carousel-item.active .court-slide-stage img.court-slide-base {
    opacity: 1;
    animation: courtKenBurnsSlow 14s ease-out 0.8s infinite alternate;
}

/* Multi-Slice Split Pane */
.court-split-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.court-slice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform, opacity, filter;
}

/* Seam Laser Glow Along Diagonal Cuts */
.slice-laser-seam {
    position: absolute;
    top: 0;
    height: 100%;
    width: 6px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0) 0%, #ffd700 30%, #ffffff 50%, #00f2fe 70%, rgba(0, 242, 254, 0) 100%);
    box-shadow: 0 0 18px 4px rgba(255, 215, 0, 0.8), 0 0 30px 8px rgba(0, 242, 254, 0.6);
    opacity: 0.9;
    z-index: 5;
    pointer-events: none;
}

.seam-right {
    right: 0;
}

.seam-left {
    left: 0;
}

/* 3 Slices with 3D Depth & Angles */
.court-slice-1 {
    clip-path: polygon(0 0, 36% 0, 31% 100%, 0 100%);
    transform: translate3d(-90px, -25px, 60px) rotateY(14deg) scale(0.94);
    opacity: 0;
    filter: blur(6px) brightness(1.25);
}

.court-slice-2 {
    clip-path: polygon(35.7% 0, 68% 0, 63% 100%, 30.7% 100%);
    transform: translate3d(0, 60px, -80px) scale(0.9);
    opacity: 0;
    filter: blur(7px) brightness(1.3);
}

.court-slice-3 {
    clip-path: polygon(67.7% 0, 100% 0, 100% 100%, 62.7% 100%);
    transform: translate3d(90px, -25px, 60px) rotateY(-14deg) scale(0.94);
    opacity: 0;
    filter: blur(6px) brightness(1.25);
}

/* Animations into Place */
.carousel-item.active .court-slice-1 {
    animation: courtSliceInLeft3D 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.carousel-item.active .court-slice-2 {
    animation: courtSliceInCenter3D 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.carousel-item.active .court-slice-3 {
    animation: courtSliceInRight3D 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

@keyframes courtSliceInLeft3D {
    0% {
        transform: translate3d(-90px, -25px, 60px) rotateY(14deg) scale(0.94);
        opacity: 0;
        filter: blur(6px) brightness(1.25);
    }
    85% {
        opacity: 1;
        filter: blur(0) brightness(1.1);
    }
    100% {
        transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

@keyframes courtSliceInCenter3D {
    0% {
        transform: translate3d(0, 60px, -80px) scale(0.9);
        opacity: 0;
        filter: blur(7px) brightness(1.3);
    }
    85% {
        opacity: 1;
        filter: blur(0) brightness(1.1);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

@keyframes courtSliceInRight3D {
    0% {
        transform: translate3d(90px, -25px, 60px) rotateY(-14deg) scale(0.94);
        opacity: 0;
        filter: blur(6px) brightness(1.25);
    }
    85% {
        opacity: 1;
        filter: blur(0) brightness(1.1);
    }
    100% {
        transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

@keyframes courtKenBurnsSlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.025);
    }
}

/* Flash Penyatuan Elemen (Fusion Bloom) */
.court-fusion-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 245, 204, 0.7) 0%, rgba(207, 168, 71, 0.3) 45%, transparent 75%);
    z-index: 6;
    pointer-events: none;
    opacity: 0;
}

.carousel-item.active .court-fusion-flash {
    animation: courtFusionFlashAnim 0.7s cubic-bezier(0.2, 0.8, 0.4, 1) 0.68s forwards;
}

@keyframes courtFusionFlashAnim {
    0% { opacity: 0; transform: scale(0.85); }
    30% { opacity: 0.85; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.2); }
}

/* Garis Kilau Anamorphic Horizontal */
.court-anamorphic-flare {
    position: absolute;
    top: 48%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.4) 20%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 215, 0, 0.5) 80%, transparent 100%);
    box-shadow: 0 0 24px 6px rgba(0, 242, 254, 0.6), 0 0 40px 10px rgba(255, 215, 0, 0.4);
    z-index: 7;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%) scaleX(0.2);
}

.carousel-item.active .court-anamorphic-flare {
    animation: courtAnamorphicPulse 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.72s forwards;
}

@keyframes courtAnamorphicPulse {
    0% { opacity: 0; transform: translateY(-50%) scaleX(0.1); }
    40% { opacity: 1; transform: translateY(-50%) scaleX(1); }
    100% { opacity: 0; transform: translateY(-50%) scaleX(1.4); }
}

/* Kilau Cahaya (Golden Shimmer Sweep) */
.court-slide-shimmer {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 35%, rgba(255, 215, 0, 0.38) 50%, rgba(255, 255, 255, 0.2) 65%, transparent 100%);
    transform: skewX(-28deg);
    z-index: 8;
    pointer-events: none;
}

.carousel-item.active .court-slide-shimmer {
    animation: courtShimmerSweep 1.35s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes courtShimmerSweep {
    0% { left: -120%; opacity: 0; }
    25% { opacity: 1; }
    100% { left: 220%; opacity: 0; }
}

/* Partikel Cahaya Bintang / Golden Dust */
.court-golden-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
    overflow: hidden;
}

.court-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 10px 2px #ffd700, 0 0 18px 4px #ffffff;
    opacity: 0;
}

.sparkle-1 { top: 25%; left: 18%; animation: courtSparkleFloat 4s ease-in-out infinite 0.5s; }
.sparkle-2 { top: 65%; left: 32%; animation: courtSparkleFloat 4.5s ease-in-out infinite 1.2s; }
.sparkle-3 { top: 30%; right: 24%; animation: courtSparkleFloat 5s ease-in-out infinite 2s; }
.sparkle-4 { top: 70%; right: 15%; animation: courtSparkleFloat 4.2s ease-in-out infinite 0.8s; }

@keyframes courtSparkleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
    50% { opacity: 0.9; transform: translateY(-15px) scale(1.3); }
}

/* Floating Glassmorphic Pill: Judul Elegan & Indeks */
.court-luxury-chip {
    position: absolute;
    bottom: 20px;
    left: 24px;
    z-index: 20;
    background: rgba(8, 16, 32, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-bottom: 2px solid #cfa847;
    border-radius: 50px;
    padding: 6px 18px 6px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    max-width: 80%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.65s;
}

.carousel-item.active .court-luxury-chip {
    transform: translateY(0);
    opacity: 1;
}

.chip-index-badge {
    background: linear-gradient(135deg, #9a2109 0%, #5e1104 100%);
    border: 1px solid #ffd700;
    border-radius: 40px;
    padding: 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(154, 33, 9, 0.5);
}

.chip-current {
    font-size: 11px;
    font-weight: 800;
    color: #ffd700;
}

.chip-sep {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
}

.chip-total {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.chip-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chip-badge-label {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ffd700;
    text-transform: uppercase;
}

.chip-title-text {
    font-size: 11.5px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

/* Hilangkan Total Notifikasi Hitam Penutup Gambar */
.court-slide-caption,
.badilum-hero-wrapper .carousel-caption {
    display: none !important;
}

/* Navigasi 3D Royal Glassmorphism */
.badilum-carousel-control {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 20, 38, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 22;
    margin: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.badilum-carousel-control .badilum-control-icon {
    font-size: 20px;
    color: #ffd700;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badilum-hero-wrapper:hover .badilum-carousel-control {
    opacity: 0.9;
}

.badilum-carousel-control:hover {
    opacity: 1 !important;
    background: linear-gradient(135deg, #9a2109 0%, #5e1104 100%);
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.65), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.badilum-carousel-control:active {
    transform: translateY(-50%) scale(1.05);
}

/* Indikator Kapsul Emas Ramping */
.badilum-hero-indicators {
    bottom: 14px;
    margin-bottom: 0;
    z-index: 22;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.badilum-hero-indicators button {
    width: 32px;
    height: 6px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.75;
    text-indent: -9999px;
}

.badilum-hero-indicators button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.badilum-hero-indicators button.active {
    width: 46px;
    height: 7px;
    opacity: 1;
    background: linear-gradient(90deg, #ffd700 0%, #cfa847 100%);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Penyesuaian Responsif Mobile & Tablet */
@media (max-width: 768px) {
    .court-slide-stage {
        aspect-ratio: 1000 / 365;
        min-height: 140px;
    }

    .badilum-carousel-control {
        width: 36px;
        height: 36px;
        margin: 0 6px;
        opacity: 0.75;
    }

    .badilum-carousel-control .badilum-control-icon {
        font-size: 14px;
    }

    .badilum-hero-indicators {
        bottom: 8px;
        gap: 4px;
    }

    .badilum-hero-indicators button {
        width: 18px;
        height: 3px;
    }

    .badilum-hero-indicators button.active {
        width: 32px;
        height: 4px;
    }
}

/* --- Konten Utama 3-Kolom Pengadilan --- */
.badilum-main-section {
    background: #f8fafc;
}

.badilum-box {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badilum-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.badilum-box-title {
    font-size: 13.5px;
    letter-spacing: 0.5px;
}

.news-thumb {
    width: 120px;
    height: 85px;
    object-fit: cover;
    flex-shrink: 0;
}

.badilum-news-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    padding: 8px 16px;
}

.badilum-news-tabs .nav-link.active {
    border-bottom-color: var(--pn-maroon) !important;
    background: transparent !important;
}

.hover-maroon:hover {
    color: var(--pn-maroon) !important;
}

.banner-hover-zoom {
    transition: transform 0.3s ease;
}

.banner-hover-zoom:hover {
    transform: scale(1.03);
}

/* --- Top Bar & Jam Live WITA --- */
#sp-top-bar {
    display: none !important;
}

.badilum-topbar {
    background: var(--pn-maroon-dark);
    border-bottom: 2px solid var(--pn-gold);
    color: #f8fafc;
    font-size: 13px;
    position: relative;
    z-index: 1020;
}

.badilum-clock-badge {
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(207, 168, 71, 0.3);
    font-weight: 500;
}

.badilum-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-open {
    background: #065f46;
    color: #34d399;
    border: 1px solid #10b981;
}

.status-break {
    background: #854d0e;
    color: #fde047;
    border: 1px solid #eab308;
}

.status-closed {
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #ef4444;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

.badilum-top-btn {
    border-radius: 20px;
    font-size: 12px;
    padding: 2px 10px;
    transition: all 0.2s ease;
}

.badilum-top-btn:hover {
    background: var(--pn-gold);
    color: var(--pn-maroon-dark);
    border-color: var(--pn-gold);
}

/* --- Official Court Header --- */
.badilum-header-wrapper {
    background: var(--pn-maroon-gradient);
    border-bottom: 3px solid var(--pn-gold);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.badilum-brand-group {
    transition: transform 0.2s ease;
}

.badilum-brand-group:hover {
    transform: translateY(-1px);
}

.badilum-main-logo {
    max-height: 78px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.badilum-brand-titles {
    color: #ffffff;
}

.badilum-sub1 {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-transform: uppercase;
}

.badilum-sub2 {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--pn-gold-light);
    font-weight: 600;
    text-transform: uppercase;
}

.badilum-court-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 2px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.badilum-jurisdiction {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.badilum-header-badges .header-badge-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s ease;
}

.badilum-header-badges .header-badge-img:hover {
    transform: scale(1.08);
}

/* --- Running Text Marquee Bar --- */
.badilum-marquee-bar {
    background: #fff8e6;
    border-bottom: 1px solid #f2dfa7;
    font-size: 13px;
    color: #4a050a;
}

.badilum-marquee-label {
    background: var(--pn-gold);
    color: var(--pn-maroon-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-right: 2px solid rgba(0, 0, 0, 0.1);
}

.badilum-marquee-content {
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

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

.marquee-item {
    margin: 0 16px;
}

.marquee-divider {
    color: var(--pn-gold);
    margin: 0 8px;
}

/* --- Badilum Quick Services (12 Layanan Unggulan) --- */
.badilum-services-section {
    background: #f8fafc;
}

.badilum-section-heading .badilum-badge-pill {
    background: var(--pn-gold-light);
    color: #854d0e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(234, 179, 8, 0.4);
    display: inline-block;
    margin-bottom: 8px;
}

.badilum-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--pn-maroon-dark);
    letter-spacing: 0.5px;
}

.badilum-section-subtitle {
    font-size: 14px;
    max-width: 680px;
    margin: 0 auto;
}

.badilum-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.badilum-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -6px rgba(122, 12, 20, 0.15);
    border-color: var(--pn-gold);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.ico-sipp { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); }
.ico-ecourt { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.ico-eraterang { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 100%); }
.ico-eberpadu { background: linear-gradient(135deg, #581c87 0%, #a855f7 100%); }
.ico-sidang { background: linear-gradient(135deg, #7a0c14 0%, #b91c1c 100%); }
.ico-kalkulator { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }
.ico-posbakum { background: linear-gradient(135deg, #047857 0%, #14b8a6 100%); }
.ico-siwas { background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%); }
.ico-putusan { background: linear-gradient(135deg, #1e3a8a 0%, #60a5fa 100%); }
.ico-jdih { background: linear-gradient(135deg, #0f766e 0%, #2dd4bf 100%); }
.ico-mediasi { background: linear-gradient(135deg, #831843 0%, #ec4899 100%); }
.ico-maklumat { background: linear-gradient(135deg, #1e293b 0%, #64748b 100%); }

.service-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.service-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.service-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--pn-maroon);
}

.service-desc {
    font-size: 12px;
    line-height: 1.5;
}

.service-action-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--pn-maroon);
    transition: gap 0.2s ease;
}

.badilum-service-card:hover .service-action-link {
    color: var(--pn-gold);
    gap: 6px;
}

/* --- Transparency & Maklumat Card --- */
.badilum-maklumat-card {
    background: var(--pn-maroon-gradient);
    border-left: 5px solid var(--pn-gold) !important;
}

.text-maroon {
    color: var(--pn-maroon) !important;
}

.bg-maroon {
    background-color: var(--pn-maroon) !important;
}

/* --- Virtual Assistant SI-MALI --- */
.simali-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
}

.simali-badge-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7a0c14 0%, #991b1b 100%);
    color: #ffffff;
    border: 2px solid var(--pn-gold);
    border-radius: 50px;
    padding: 8px 16px 8px 8px;
    box-shadow: 0 8px 24px rgba(122, 12, 20, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.simali-badge-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(122, 12, 20, 0.45);
}

.simali-avatar {
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: var(--pn-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.simali-text-label {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.simali-status-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
}

.simali-chat-box {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    display: flex;
    flex-direction: column;
}

.simali-chat-header {
    background: var(--pn-maroon-gradient);
    color: #ffffff;
    padding: 14px 16px;
    border-bottom: 2px solid var(--pn-gold);
}

.simali-header-avatar {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simali-chat-body {
    height: 340px;
    overflow-y: auto;
    padding: 14px;
    background: #f8fafc;
    font-size: 13px;
}

.simali-msg .msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    line-height: 1.45;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.bot-msg .msg-bubble {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-top-left-radius: 4px;
}

.user-msg {
    display: flex;
    justify-content: flex-end;
}

.user-msg .msg-bubble {
    background: var(--pn-maroon);
    color: #ffffff;
    border-top-right-radius: 4px;
}

.simali-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip-btn {
    background: #ffffff;
    color: var(--pn-maroon);
    border: 1px solid rgba(122, 12, 20, 0.3);
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip-btn:hover {
    background: var(--pn-maroon);
    color: #ffffff;
    border-color: var(--pn-maroon);
}

/* --- Accessibility Drawer (WCAG 2.1 Level AA) --- */
.accessibility-drawer {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 14px;
    border: 2px solid var(--pn-gold);
    z-index: 1070;
    overflow: hidden;
}

.reading-guide-line {
    position: fixed;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    pointer-events: none;
    z-index: 99999;
}

/* Accessibility Modes */
body.mode-high-contrast {
    background: #000000 !important;
    color: #ffff00 !important;
}

body.mode-high-contrast * {
    background-color: #000000 !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
    box-shadow: none !important;
}

body.mode-monochrome {
    filter: grayscale(100%) !important;
}

body.mode-invert {
    filter: invert(100%) hue-rotate(180deg) !important;
}

body.mode-dyslexic-font, body.mode-dyslexic-font * {
    font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif !important;
    letter-spacing: 0.05em !important;
    line-height: 1.8 !important;
}

body.mode-big-cursor, body.mode-big-cursor * {
    cursor: pointer !important;
}

body.font-scale-sm { font-size: 14px !important; }
body.font-scale-lg { font-size: 18px !important; }
body.font-scale-xl { font-size: 21px !important; }

/* --- Comprehensive Dark Mode Theme (Mode Gelap & Terang) --- */
html.badilum-dark-mode,
body.badilum-dark-mode,
html.badilum-dark-mode body {
    background-color: #0b0f19 !important;
    color: #e2e8f0 !important;
}

html.badilum-dark-mode #sp-main,
html.badilum-dark-mode #sp-main-body,
html.badilum-dark-mode #sp-component,
html.badilum-dark-mode .badilum-services-section,
html.badilum-dark-mode .body-innerwrapper,
html.badilum-dark-mode .container-fluid,
html.badilum-dark-mode .sp-page-builder,
html.badilum-dark-mode .sppb-section {
    background-color: #0b0f19 !important;
    color: #e2e8f0 !important;
}

/* Cards, Boxes & Containers in Dark Mode */
html.badilum-dark-mode .card,
html.badilum-dark-mode .card-body,
html.badilum-dark-mode .card-header,
html.badilum-dark-mode .card-footer,
html.badilum-dark-mode .badilum-service-card,
html.badilum-dark-mode .badilum-card,
html.badilum-dark-mode .badilum-box,
html.badilum-dark-mode .badilum-subpage-card,
html.badilum-dark-mode .badilum-breadcrumb-wrapper,
html.badilum-dark-mode .sipp-item-card,
html.badilum-dark-mode .sipp-detail-box,
html.badilum-dark-mode #content,
html.badilum-dark-mode .modal-content,
html.badilum-dark-mode .modal-header,
html.badilum-dark-mode .modal-body,
html.badilum-dark-mode .modal-footer,
html.badilum-dark-mode .simali-chat-box,
html.badilum-dark-mode .dropdown-menu,
html.badilum-dark-mode .offcanvas,
html.badilum-dark-mode .drawer-content,
html.badilum-dark-mode .list-group-item,
html.badilum-dark-mode .sipp-ticker-container,
html.badilum-dark-mode .sipp-control-bar {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

/* Background utilities in dark mode */
html.badilum-dark-mode .bg-white,
html.badilum-dark-mode .bg-light,
html.badilum-dark-mode .bg-light-subtle {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

html.badilum-dark-mode .bg-body-tertiary,
html.badilum-dark-mode .bg-secondary-subtle {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

/* Text readability in dark mode */
html.badilum-dark-mode h1,
html.badilum-dark-mode h2,
html.badilum-dark-mode h3,
html.badilum-dark-mode h4,
html.badilum-dark-mode h5,
html.badilum-dark-mode h6,
html.badilum-dark-mode .h1,
html.badilum-dark-mode .h2,
html.badilum-dark-mode .h3,
html.badilum-dark-mode .h4,
html.badilum-dark-mode .h5,
html.badilum-dark-mode .h6,
html.badilum-dark-mode .text-dark,
html.badilum-dark-mode .text-black,
html.badilum-dark-mode .service-title,
html.badilum-dark-mode strong {
    color: #f8fafc !important;
}

html.badilum-dark-mode p,
html.badilum-dark-mode span,
html.badilum-dark-mode li {
    color: #e2e8f0;
}

html.badilum-dark-mode .text-muted,
html.badilum-dark-mode .text-secondary {
    color: #94a3b8 !important;
}

/* Tables in Dark Mode */
html.badilum-dark-mode .table,
html.badilum-dark-mode .table > :not(caption) > * > * {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

html.badilum-dark-mode .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #172033 !important;
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .table-hover > tbody > tr:hover > * {
    background-color: #27354f !important;
}

/* Forms & Inputs in Dark Mode */
html.badilum-dark-mode input.form-control,
html.badilum-dark-mode select.form-select,
html.badilum-dark-mode textarea.form-control {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

html.badilum-dark-mode input.form-control::placeholder {
    color: #64748b !important;
}

/* Border overrides in dark mode */
html.badilum-dark-mode .border,
html.badilum-dark-mode .border-top,
html.badilum-dark-mode .border-bottom,
html.badilum-dark-mode .border-start,
html.badilum-dark-mode .border-end {
    border-color: #334155 !important;
}

/* JBI Panel in Dark Mode */
html.badilum-dark-mode .jbi-subtitle-box,
html.badilum-dark-mode .jbi-quick-vocab,
html.badilum-dark-mode .jbi-controls {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

html.badilum-dark-mode #jbiSubtitleText {
    color: #f1f5f9 !important;
}

/* Badges & Pills in dark mode */
html.badilum-dark-mode .service-badge {
    background: #0f172a !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}

/* --- Floating WhatsApp Button --- */
.badilum-wa-float {
    position: fixed;
    bottom: 84px;
    right: 24px;
    background: #25d366;
    color: #ffffff !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.badilum-wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.badilum-wa-float .wa-tooltip {
    position: absolute;
    right: 58px;
    background: #1f2937;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.badilum-wa-float:hover .wa-tooltip {
    opacity: 1;
}

/* --- Badilum Footer --- */
.badilum-footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: 4px solid var(--pn-gold);
}

.badilum-footer .footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.badilum-footer .footer-link:hover {
    color: var(--pn-gold);
}

.badilum-social-links a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.badilum-social-links a:hover {
    background: var(--pn-gold);
    color: #000000;
    border-color: var(--pn-gold);
}

/* ==========================================================================
   BADILUM 2026 - LAMPIRAN II HALAMAN 34 ENHANCEMENTS
   ========================================================================== */

/* Header ASN Badges (BerAKHLAK & Bangga Melayani Bangsa) */
.badilum-asn-badges {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.asn-badge-card {
    background: #ffffff !important;
    border-radius: 10px;
    padding: 6px 14px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.asn-badge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
    border-color: #ffd700;
}

.badilum-header-logo-img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
    display: block;
}

/* Header ZI Badges (WBK & WBBM) */
.zi-badge-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zi-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 12 Quick Services Tile (Grid 2x6) */
.badilum-service-tile {
    min-height: 90px;
}
.badilum-service-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(154, 33, 9, 0.15) !important;
    border-color: #cfa847 !important;
}

/* News Cards (Grid 3x2) */
.news-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

/* Subpage Article Styling */
.badilum-article-header {
    box-shadow: 0 4px 15px rgba(154, 33, 9, 0.2);
}
.hover-shadow {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08) !important;
}

/* ==========================================================================
   TEMA MEWAH PERADILAN (PRESTIGIOUS JUDICIAL LUXURY THEME)
   ========================================================================== */

:root {
    --pn-royal-maroon: #7a0c02;
    --pn-deep-maroon: #9a2109;
    --pn-dark-maroon: #540601;
    --pn-gold-primary: #d4af37;
    --pn-gold-light: #fef08a;
    --pn-gold-metallic: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #996515 100%);
    --pn-maroon-gradient: linear-gradient(135deg, #9a2109 0%, #7a0c02 50%, #540601 100%);
    --pn-warm-bg: #f8f6f0;
    --pn-card-bg: #ffffff;
    --pn-gold-border: rgba(212, 175, 55, 0.45);
}

body.badilum-site {
    background-color: var(--pn-warm-bg) !important;
    background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
    color: #1e293b;
    overflow-x: hidden;
}

/* Luxury Card Enhancement */
.badilum-box,
.badilum-subpage-card,
.badilum-luxury-card {
    background: linear-gradient(160deg, #ffffff 0%, #fdfbf7 100%) !important;
    border: 1px solid var(--pn-gold-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(122, 12, 2, 0.07), 0 4px 6px -2px rgba(212, 175, 55, 0.08) !important;
    position: relative;
    transition: all 0.3s ease;
}

.badilum-box:hover {
    box-shadow: 0 14px 28px -5px rgba(122, 12, 2, 0.12), 0 6px 10px -2px rgba(212, 175, 55, 0.14) !important;
}

/* Gold Title Accent Ribbon */
.badilum-box-title {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    color: var(--pn-deep-maroon);
    font-weight: 700;
}

.badilum-box-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--pn-gold-metallic);
    border-radius: 2px;
}

/* ==========================================================================
   SIPP JADWAL SIDANG - PERSIS TAMPILAN RESMI SIPP MALILI (BERGERAK OTOMATIS)
   Sumber: https://sipp.pn-malili.go.id/list_jadwal_sidang
   ========================================================================== */

.sipp-toolbar-panel {
    background-color: transparent;
    padding: 4px 0 6px 0;
    font-family: Arial, sans-serif;
}

.sipp-toolbar-panel .form-control:focus {
    box-shadow: none;
    border-color: #0b6645;
}

.sipp-table-outer {
    border: 1px solid #008C4B;
    background-color: #f0f0f0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.table-sipp-header {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, sans-serif;
    margin-bottom: 0;
}

.table-sipp-header th {
    background-color: #008C4B !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    font-size: 12.5px;
    font-weight: 500;
    text-align: center;
    padding: 7px 4px;
    vertical-align: middle;
}

.sipp-table-viewport {
    height: 152px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
}

.sipp-table-track {
    display: flex;
    flex-direction: column;
    animation: sippTableScroll 22s linear infinite;
}

.sipp-table-viewport:hover .sipp-table-track,
.sipp-table-track.paused {
    animation-play-state: paused !important;
}

@keyframes sippTableScroll {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}

.table-sipp-body {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, sans-serif;
    margin-bottom: 0;
}

.table-sipp-body td {
    border: 1px solid #ffffff !important;
    padding: 6px 8px;
    font-size: 12px;
    color: #444444;
    vertical-align: middle;
    word-break: break-word;
    line-height: 1.35;
}

/* SIPP Official Alternating Colors */
.table-sipp-body tr.sipp-row-odd {
    background-color: #ffffff;
}

.table-sipp-body tr.sipp-row-even {
    background-color: #C9E6C8;
}

/* SIPP Official Hover Row State */
.table-sipp-body tr:hover {
    background-color: #007640 !important;
    cursor: default;
}

.table-sipp-body tr:hover td {
    color: #ffffff !important;
}

.table-sipp-body tr:hover .sipp-detil-link {
    color: #FFC000 !important;
    text-decoration: underline;
}

.sipp-detil-link {
    color: #259FD3;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.15s ease;
}

.sipp-detil-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Legacy ticker class fallback */
.sipp-ticker-container {
    height: 310px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: #ffffff;
}
.sipp-ticker-track {
    display: flex;
    flex-direction: column;
    animation: sippVerticalScroll 24s linear infinite;
}
.sipp-ticker-container:hover .sipp-ticker-track,
.sipp-ticker-track.paused {
    animation-play-state: paused !important;
}
@keyframes sippVerticalScroll {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-50%); }
}

/* ==========================================================================
   ALIH BAHASA 6 BAHASA (DYNAMIC MULTILINGUAL WIDGET)
   ========================================================================== */

.lang-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.lang-btn:hover {
    background: #fff8e6;
    border-color: #d4af37;
    color: #7a0c02;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--pn-maroon-gradient);
    border-color: #d4af37;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(154, 33, 9, 0.3);
}

.lang-flag {
    font-size: 14px;
    line-height: 1;
}

/* ==========================================================================
   INSTAGRAM FEED COMPONENT (@pnmalili)
   ========================================================================== */

.ig-feed-card {
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 10px !important;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ig-feed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(122, 12, 2, 0.12) !important;
    border-color: #d4af37 !important;
}

.ig-img-wrap {
    position: relative;
    overflow: hidden;
    height: 145px;
    background: #1e293b;
}

.ig-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ig-feed-card:hover .ig-img-wrap img {
    transform: scale(1.06);
}

.ig-badge-float {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ==========================================================================
   AVATAR AHLI BAHASA ISYARAT "SI WAWAN" - FLOATING ASSISTANT POJOK KIRI BAWAH
   ========================================================================== */

#badilum-jbi-widget.si-wawan-widget-container {
    position: fixed;
    bottom: 12px;
    left: 14px;
    z-index: 9999;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    pointer-events: none;
}

/* Avatar Card Container */
.si-wawan-avatar-card {
    position: relative;
    width: 260px;
    max-width: 280px;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.si-wawan-avatar-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.si-wawan-stage {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.si-wawan-avatar-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    user-select: none;
}

.si-wawan-avatar-img.si-wawan-secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jbi-avatar-img {
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.jbi-avatar-img.jbi-secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.si-wawan-avatar-card:hover .si-wawan-avatar-img {
    filter: drop-shadow(0 18px 36px rgba(15, 81, 50, 0.65)) brightness(1.03);
}

/* Efek Status Bahasa Isyarat Si Wawan */
.si-wawan-stage.is-signing .si-wawan-avatar-img {
    filter: drop-shadow(0 20px 40px rgba(15, 81, 50, 0.85)) brightness(1.05);
}

.si-wawan-stage.is-signing::after {
    content: "🖐 BISINDO AKTIF";
    position: absolute;
    top: 14px;
    left: 8px;
    background: #0f5132;
    color: #ffd700;
    font-size: 9.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1.5px solid #ffd700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    animation: wawanBadgePulse 1s infinite alternate;
    pointer-events: none;
    z-index: 10;
}

@keyframes wawanBadgePulse {
    0% { transform: scale(0.95); opacity: 0.85; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Animasi Pernapasan & Postur Bicara Alami Si Wawan (Artikulasi Wajah Alami Nirkedip) */
.si-wawan-stage.is-speaking .si-wawan-avatar-img,
.jbi-video-box.is-speaking .jbi-avatar-img {
    animation: wawanNaturalSpeechPulse 0.75s ease-in-out infinite alternate;
}

@keyframes wawanNaturalSpeechPulse {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-1.5px) scale(1.006);
    }
}

/* Ejaan Abjad Jari Resmi BISINDO */
.bisindo-spelling-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
    align-items: center;
}

.bisindo-letter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 24px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 5px;
    background: #0f5132;
    color: #f1f5f9;
    border: 1px solid #198754;
    transition: all 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bisindo-letter-badge.is-active {
    background: #ffd700 !important;
    color: #042615 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) scale(1.18);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.85);
}

.bisindo-active-gesture-info {
    background: #f8fafc;
    border-left: 3px solid #0f5132;
    padding: 4px 8px;
    border-radius: 0 6px 6px 0;
    font-size: 10px;
    color: #1e293b;
    margin-top: 4px;
    line-height: 1.35;
}

.bisindo-audio-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 700;
    color: #0f5132;
}

.bisindo-audio-waves {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}

.bisindo-audio-waves span {
    width: 2px;
    height: 100%;
    background: #0f5132;
    border-radius: 2px;
    animation: bisindoWave 0.6s infinite ease-in-out alternate;
}

.bisindo-audio-waves span:nth-child(2) { animation-delay: 0.2s; }
.bisindo-audio-waves span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bisindoWave {
    0% { height: 2px; }
    100% { height: 10px; }
}

.jbi-quick-vocab button {
    font-size: 11px;
    transition: all 0.2s ease;
}

.jbi-quick-vocab button:hover {
    background: #0f5132 !important;
    color: #ffd700 !important;
    border-color: #0f5132 !important;
    transform: translateY(-1px);
}

/* Badge Status Suara Si Wawan (Aktif / Nonaktif) */
.wawan-voice-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid #d4af37;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    z-index: 8;
    white-space: nowrap;
    transition: all 0.25s ease;
    user-select: none;
}

.wawan-voice-badge:hover {
    transform: translateX(-50%) scale(1.06);
    border-color: #ffd700;
}

.wawan-voice-badge.is-active {
    background: linear-gradient(135deg, #0f5132 0%, #06341f 100%);
    border-color: #ffd700;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.7);
}

.wawan-voice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    display: inline-block;
    transition: all 0.25s ease;
}

.wawan-voice-badge.is-active .wawan-voice-dot {
    background: #00ff66;
    box-shadow: 0 0 8px #00ff66;
    animation: wawanDotPulse 1.2s infinite alternate;
}

@keyframes wawanDotPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; }
}

.wawan-voice-toggle-btn {
    border-radius: 8px;
    font-size: 11px;
    padding: 6px 12px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(15, 81, 50, 0.3);
}

.wawan-voice-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(15, 81, 50, 0.45);
}

.wawan-voice-toggle-btn.btn-danger {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* Efek Sorot Teks saat Si Wawan aktif */
body.wawan-active-mode [data-wawan-hover="true"] {
    outline: 2px dashed rgba(212, 175, 55, 0.8) !important;
    outline-offset: 2px;
    background-color: rgba(255, 215, 0, 0.14) !important;
    border-radius: 3px;
    transition: background-color 0.15s ease;
}

/* Tombol Minimize Avatar */
.wawan-minimize-btn {
    position: absolute;
    top: 8px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(15, 81, 50, 0.88);
    backdrop-filter: blur(4px);
    border: 1.5px solid #d4af37;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
    z-index: 10;
}

.wawan-minimize-btn:hover {
    background: #0f5132;
    color: #ffd700;
    transform: scale(1.15);
    border-color: #ffd700;
}

/* Speech Bubble Sambutan Si Wawan */
.si-wawan-speech-bubble {
    position: absolute;
    bottom: 92%;
    left: 15px;
    min-width: 250px;
    max-width: 295px;
    width: auto;
    background: #ffffff;
    border: 2px solid #0f5132;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    z-index: 6;
    animation: wawanBubblePop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes wawanBubblePop {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.si-wawan-speech-bubble .wawan-bubble-header {
    font-weight: 800;
    color: #0f5132;
    font-size: 13.5px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.si-wawan-speech-bubble .wawan-bubble-text {
    font-size: 11px;
    line-height: 1.45;
    color: #334155;
}

.si-wawan-speech-bubble .wawan-bubble-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

.si-wawan-speech-bubble .wawan-bubble-close:hover {
    color: #ef4444;
}

.wawan-bubble-arrow {
    position: absolute;
    bottom: -8px;
    left: 36px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-right: 2px solid #0f5132;
    border-bottom: 2px solid #0f5132;
    transform: rotate(45deg);
}

/* Badge Mini Saat Diminimize */
.si-wawan-mini-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0f5132 0%, #06341f 100%);
    color: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 30px;
    padding: 8px 16px;
    box-shadow: 0 8px 24px rgba(15, 81, 50, 0.45);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    font-size: 12px;
}

.si-wawan-mini-pill:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
    border-color: #ffd700;
}

/* Panel Pop-up Modal JBI (Pemutar BISINDO & Pembaca TTS) */
.jbi-panel {
    display: none;
    width: 320px;
    background: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    margin-bottom: 12px;
    pointer-events: auto;
    animation: jbiSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes jbiSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.jbi-header {
    background: linear-gradient(135deg, #0f5132 0%, #06341f 100%);
    color: #ffffff;
    padding: 10px 14px;
    border-bottom: 2px solid #d4af37;
}

.jbi-video-box {
    position: relative;
    width: 100%;
    background: #041a0e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jbi-subtitle-box {
    line-height: 1.45;
}

/* Responsivitas Layar Kecil / Mobile */
@media (max-width: 576px) {
    #badilum-jbi-widget.si-wawan-widget-container {
        bottom: 8px;
        left: 8px;
    }

    .si-wawan-avatar-card {
        width: 190px;
    }

    .si-wawan-speech-bubble {
        width: 190px;
        left: 10px;
        padding: 8px 10px;
    }

    .si-wawan-speech-bubble .wawan-bubble-text {
        font-size: 10px;
    }

    .jbi-panel {
        width: 290px;
    }
}

/* ==========================================================================
   SUBPAGE MEWAH (PRESTIGIOUS SUBMENU & ARTICLES)
   ========================================================================== */

.badilum-subpage-card {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 10px 30px -5px rgba(122, 12, 2, 0.08);
}

.badilum-breadcrumb-wrapper .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 13px;
}

.badilum-breadcrumb-wrapper .breadcrumb-item a {
    color: var(--pn-deep-maroon);
    text-decoration: none;
    font-weight: 600;
}

.badilum-breadcrumb-wrapper .breadcrumb-item.active {
    color: #64748b;
}

/* Table peradilan mewah */
.table-luxury {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.table-luxury thead {
    background: var(--pn-maroon-gradient);
    color: #ffffff;
}

.table-luxury thead th {
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
}

.table-luxury tbody tr:nth-child(even) {
    background-color: #faf8f5;
}

.table-luxury tbody td {
    padding: 9px 12px;
    vertical-align: middle;
    font-size: 13px;
    border-color: #f1f5f9;
}

/* ==========================================================================
   RESPONSIVITAS MOBILE & TABLET ENHANCEMENT
   ========================================================================== */

@media (max-width: 991.98px) {
    .badilum-brand-titles .badilum-court-title {
        font-size: 20px !important;
    }
    
    .badilum-zi-badges,
    .badilum-asn-badges {
        margin-top: 8px;
        gap: 8px;
    }
    
    .asn-badge-card {
        height: 48px;
        padding: 4px 10px;
    }
    
    .badilum-header-logo-img {
        height: 32px;
        max-height: 32px;
        max-width: 110px;
    }
    
    .navbar-collapse {
        background: #851203;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .navbar-nav .dropdown-menu {
        background: #6b0c01 !important;
        border: 1px solid #d4af37 !important;
    }
    
    .navbar-nav .dropdown-item {
        color: #fef08a !important;
        padding: 8px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    .navbar-nav .dropdown-item:hover {
        background: #9a2109 !important;
        color: #ffffff !important;
    }
}

@media (max-width: 575.98px) {
    .badilum-brand-titles .badilum-court-title {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }
    
    .badilum-sub1, .badilum-sub2 {
        font-size: 10px !important;
    }
    
    .badilum-service-tile {
        padding: 8px 4px !important;
    }
    
    .badilum-service-tile .tile-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
    }
    
    #badilum-jbi-widget {
        bottom: 15px;
        left: 15px;
    }
    
    .jbi-panel {
        width: 290px;
    }
}

/* ==========================================================================
   INSTAGRAM FEED CARDS & REAL-TIME SYNC STYLING
   ========================================================================== */
.ig-feed-card {
    background: #ffffff;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ig-feed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(154, 33, 9, 0.12) !important;
    border-color: #d4af37 !important;
}

.ig-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    background: #0f172a;
    overflow: hidden;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.ig-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.ig-feed-card:hover .ig-card-img {
    transform: scale(1.06);
}

.ig-badge-float {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}

.ig-post-title a:hover {
    color: #9a2109 !important;
}

.hover-maroon:hover {
    color: #9a2109 !important;
}

#igSyncToast,
#sippSyncToast {
    animation: fadeInDown 0.3s ease-in-out;
}

/* ==========================================================================
   GALERI VIDEO KOTA AGUNG STYLE (PLAYER UTAMA + PLAYLIST KARTU INTERAKTIF)
   ========================================================================== */

.badilum-red-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #9a2109;
    margin-right: 8px;
    border-radius: 2px;
}

.video-main-player-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.video-main-caption-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.video-playlist-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-playlist-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.video-playlist-card {
    cursor: pointer !important;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

.video-playlist-card:hover {
    background: #fffbf6;
    border-color: #d4af37;
    transform: translateX(2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.video-playlist-card.active {
    background: #fff8f5 !important;
    border-color: #9a2109 !important;
    border-left: 4px solid #9a2109 !important;
    box-shadow: 0 4px 10px rgba(154, 33, 9, 0.12) !important;
}

.video-playlist-card.active .video-card-title {
    color: #9a2109 !important;
    font-weight: 700 !important;
}

.video-card-thumb {
    transition: transform 0.2s ease;
}

.video-playlist-card:hover .video-card-thumb {
    transform: scale(1.03);
}

.video-play-mini {
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-playlist-card:hover .video-play-mini {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   BADILUM 2026: Carousel Artikel & Koleksi Buku Penelitian Pengadilan
   ========================================================================== */
.badilum-research-carousel-section {
    position: relative;
    background: #ffffff;
    border-left: 5px solid #9a2109;
}

.research-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #495057;
    background: #ffffff;
    border: 1px solid #dee2e6 !important;
    transition: all 0.2s ease-in-out;
}

.research-nav-btn:hover {
    background: #9a2109 !important;
    border-color: #9a2109 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(154, 33, 9, 0.25);
    transform: scale(1.05);
}

.research-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 4px 2px;
}

.research-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.research-carousel-track::-webkit-scrollbar {
    display: none;
}

.research-book-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 200px;
    scroll-snap-align: start;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 991px) {
    .research-book-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}

@media (max-width: 575px) {
    .research-book-card {
        flex: 0 0 85%;
    }
}

.research-book-card:hover {
    transform: translateY(-4px);
    border-color: #d4af37 !important;
    box-shadow: 0 10px 22px rgba(154, 33, 9, 0.12) !important;
}

.research-book-3d {
    width: 130px;
    height: 180px;
    border-radius: 3px 7px 7px 3px;
    box-shadow: -4px 5px 12px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.research-book-card:hover .research-book-3d {
    transform: scale(1.04) rotate(-1deg);
}

.research-spine-overlay {
    width: 8px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0.2) 35%, transparent 100%);
    pointer-events: none;
}

.research-book-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
    transition: color 0.2s ease;
}

.research-book-card:hover .research-book-title {
    color: #9a2109 !important;
}

.research-btn-read {
    color: #9a2109;
    border: 1px solid #9a2109;
    background: transparent;
    transition: all 0.2s ease;
}

.research-btn-read:hover {
    background: #9a2109;
    color: #ffffff;
    border-color: #9a2109;
    box-shadow: 0 3px 8px rgba(154, 33, 9, 0.3);
}

.research-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.research-dot:hover {
    background: #adb5bd;
}

.research-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #9a2109;
}

/* ==========================================================================
   BADILUM 2026: Section Foto Galeri Kegiatan
   ========================================================================== */
.badilum-photo-gallery-section {
    position: relative;
    background: #ffffff;
    border-left: 5px solid #9a2109;
}

.court-photo-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid #e9ecef;
}

.court-photo-card:hover {
    transform: translateY(-4px);
    border-color: #d4af37 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.court-photo-thumb {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.court-photo-card:hover .court-photo-thumb {
    transform: scale(1.08);
}

.court-photo-overlay {
    opacity: 0;
    background: rgba(154, 33, 9, 0.35);
    backdrop-filter: blur(1.5px);
    transition: opacity 0.25s ease-in-out;
}

.court-photo-card:hover .court-photo-overlay {
    opacity: 1;
}

.court-photo-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
    transition: color 0.2s ease;
}

.court-photo-card:hover .court-photo-title {
    color: #9a2109 !important;
}

/* ==========================================================================
   BADILUM 2026: Indeks Kinerja (IKPA, IP ASN, IPA) di Sidebar
   ========================================================================== */
.performance-metric-item {
    transition: all 0.2s ease-in-out;
    background: #fdfdfd;
}

.performance-metric-item:hover {
    background: #fffbf6;
    border-color: #d4af37 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   BADILUM 2026: Slider Role Model & Agen Perubahan di Sidebar
   ========================================================================== */
.rolemodel-slider-viewport {
    background: #ffffff;
}

.rolemodel-img-wrapper {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.rolemodel-slide:hover .rolemodel-img-wrapper {
    transform: translateY(-3px) scale(1.02);
}

.rolemodel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.rolemodel-dot:hover {
    background: #adb5bd;
}

.rolemodel-dot.active {
    width: 20px;
    border-radius: 10px;
    background: #9a2109;
}

.rolemodel-nav-btns button:hover {
    background: #9a2109 !important;
    border-color: #9a2109 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   SIDEBAR KANAN 3D CANGGIH & FUTURISTIK BADILUM 2026
   Fitur: Alih Bahasa 3D, Smart Search 3D, Radar Jam PTSP, SISUPER 3D,
          Zona Integritas Gold Frame, Tactile Social Buttons, Cyber Visitor Stats
   ========================================================================== */

/* 1. Global 3D Container & Card Sheen */
.badilum-sidebar-3d {
    /* Tampilan 3D Solid & Stabil */
}

.badilum-3d-box {
    background: linear-gradient(165deg, #ffffff 0%, #fdfbf7 60%, #f5efe6 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px -4px rgba(122, 12, 2, 0.08), 
                0 4px 10px -2px rgba(0, 0, 0, 0.04), 
                inset 0 1px 0 rgba(255, 255, 255, 0.95), 
                inset 0 -3px 0 rgba(212, 175, 55, 0.2) !important;
    position: relative;
    transition: transform 0.25s ease, 
                box-shadow 0.25s ease, 
                border-color 0.25s ease;
}

.badilum-3d-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -6px rgba(122, 12, 2, 0.14), 
                0 6px 14px -2px rgba(0, 0, 0, 0.06), 
                inset 0 1px 0 rgba(255, 255, 255, 1), 
                inset 0 -3px 0 rgba(212, 175, 55, 0.35) !important;
    border-color: rgba(212, 175, 55, 0.7) !important;
}

.card-3d-sheen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.card-header-3d {
    position: relative;
    z-index: 2;
}

.badge-icon-3d {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.badge-3d-pill {
    border-radius: 14px;
    padding: 3px 10px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    letter-spacing: 0.3px;
}

/* 2. Alih Bahasa 3D (Tactile Push Pad) */
.active-lang-card-3d {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lang-grid-3d {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lang-card-btn-3d {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    border-bottom: 3.5px solid #94a3b8;
    border-radius: 10px;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    text-decoration: none;
    width: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.lang-card-btn-3d:hover {
    background: linear-gradient(180deg, #fffafa 0%, #fee2e2 100%);
    border-color: #fca5a5;
    border-bottom: 4.5px solid #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -2px rgba(185, 28, 28, 0.2);
}

.lang-card-btn-3d.active {
    background: linear-gradient(145deg, #b91c1c 0%, #7f1d1d 100%) !important;
    border-color: #7f1d1d !important;
    border-bottom: 2px solid #450a0a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 2px 5px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(2px) !important;
}

.lang-card-flag-3d {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 3px;
    display: inline-block;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lang-card-btn-3d:hover .lang-card-flag-3d {
    transform: scale(1.22);
}

.lang-card-code {
    font-size: 11px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.lang-card-btn-3d.active .lang-card-code {
    color: #ffffff !important;
}

.lang-card-name {
    font-size: 9.5px;
    color: #64748b;
    margin-top: 1px;
    line-height: 1;
}

.lang-card-btn-3d.active .lang-card-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

.btn-reset-id-3d {
    transition: all 0.2s ease;
}

.btn-reset-id-3d:hover {
    color: #9a2109 !important;
    transform: rotate(-15deg);
}

/* 3. Pencarian Portal Cerdas 3D */
.search-input-wrapper-3d .input-group {
    border-radius: 24px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid #cbd5e1;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s ease;
}

.search-input-wrapper-3d .input-group:focus-within {
    border-color: #9a2109;
    box-shadow: 0 0 0 3.5px rgba(154, 33, 9, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-3d-maroon {
    background: linear-gradient(135deg, #b91c1c 0%, #9a2109 100%) !important;
    border: none !important;
    border-bottom: 3.5px solid #5a0c02 !important;
    box-shadow: 0 3px 8px rgba(154, 33, 9, 0.35);
    color: #ffffff !important;
    transition: all 0.15s ease;
}

.btn-3d-maroon:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(154, 33, 9, 0.45);
}

.btn-3d-maroon:active {
    transform: translateY(2px);
    border-bottom-width: 1px !important;
}

.search-tag-chip-3d {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-bottom: 2.5px solid #94a3b8;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.search-tag-chip-3d:hover {
    background: #9a2109;
    color: #ffffff !important;
    border-color: #9a2109;
    border-bottom: 2.5px solid #5a0c02;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(154, 33, 9, 0.25);
}

.search-live-dropdown-3d {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(154, 33, 9, 0.3);
    border-radius: 12px;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.18), 0 6px 14px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    overflow: hidden;
    animation: dropDown3D 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropDown3D {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.live-search-item {
    transition: all 0.18s ease;
    cursor: pointer;
}

.live-search-item:hover {
    background-color: #f1f5f9;
    padding-left: 14px !important;
}

.live-search-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 4. Jam Operasional PTSP 3D (Holographic Radar Beacon) */
.badge-ptsp-live-3d {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    position: relative;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.radar-ripple {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.6);
    animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes radarPing {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.9;
    }
    75%, 100% {
        transform: translateY(-50%) scale(3.6);
        opacity: 0;
    }
}

.badge-ptsp-closed-3d {
    background: #e2e8f0;
    color: #475569;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
}

.schedule-tile-3d {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-bottom: 3.5px solid #cbd5e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.schedule-tile-3d:hover {
    transform: translateY(-2px);
    border-bottom-color: #94a3b8;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.banner-nonstop-3d {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

/* 5. Indeks SISUPER & Kinerja 3D */
.score-tile-3d {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 3.5px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 6px 14px -3px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.score-tile-3d:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 22px -4px rgba(0, 0, 0, 0.12);
}

.score-number-3d {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    letter-spacing: -0.5px;
}

.stars-gold-3d {
    color: #f59e0b;
    text-shadow: 0 1px 3px rgba(245, 158, 11, 0.4);
}

.perf-metric-card-3d {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 2.5px solid #cbd5e1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease;
}

.perf-metric-card-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.progress-3d {
    background: #e2e8f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* 6. Role Model 3D Gold Frame */
.rolemodel-frame-3d {
    border: 3px solid #d4af37 !important;
    box-shadow: 0 12px 28px -4px rgba(154, 33, 9, 0.25), 
                inset 0 0 15px rgba(212, 175, 55, 0.3) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.rolemodel-frame-3d:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 18px 36px -4px rgba(154, 33, 9, 0.35), 
                inset 0 0 20px rgba(212, 175, 55, 0.5) !important;
}

.btn-nav-3d {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    border-bottom: 2.5px solid #94a3b8;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
}

.btn-nav-3d:hover {
    background: #9a2109 !important;
    border-color: #9a2109 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-nav-3d:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

.btn-3d-push {
    border-bottom: 3px solid #691104 !important;
    box-shadow: 0 3px 6px rgba(154, 33, 9, 0.15);
    transition: all 0.15s ease;
}

.btn-3d-push:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(154, 33, 9, 0.25);
}

.btn-3d-push:active {
    transform: translateY(1px);
    border-bottom-width: 1px !important;
}

/* 7. Tautan & Media Sosial 3D Tactile Buttons */
.court-link-btn-3d {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 2.5px solid #cbd5e1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.court-link-btn-3d:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    border-bottom-color: #9a2109;
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(154, 33, 9, 0.12);
}

.btn-social-3d {
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.btn-social-3d:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.btn-social-3d:active {
    transform: translateY(2px);
    border-bottom-width: 1px !important;
}

.social-instagram-3d {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-bottom: 3.5px solid #8e1568;
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.28);
}

.social-facebook-3d {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    border-bottom: 3.5px solid #0a4da6;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.28);
}

.social-youtube-3d {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-bottom: 3.5px solid #8f0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.28);
}

.social-tiktok-3d {
    background: linear-gradient(135deg, #111827 0%, #000000 100%);
    border-bottom: 3.5px solid #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), -1px 1px 0 #00f2fe, 1px 1px 0 #fe0979;
}

/* 8. Statistik Pengunjung 3D Cyber Dashboard */
.cyber-live-badge-3d {
    background: #0f172a;
    color: #10b981;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
}

.stat-tile-3d {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 2.5px solid #cbd5e1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.stat-tile-3d:hover {
    transform: translateX(4px);
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.06);
}

.stat-icon-3d {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.total-visits-banner-3d {
    background: linear-gradient(145deg, #1e1b4b 0%, #311042 50%, #9a2109 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-bottom: 4px solid #5c0f05;
    box-shadow: 0 8px 24px -3px rgba(154, 33, 9, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.total-visits-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: rotateSheen 12s linear infinite;
}

@keyframes rotateSheen {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.total-counter-digits {
    background: linear-gradient(180deg, #fef08a 0%, #facc15 50%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.status-pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    animation: statusPulse 1.8s infinite;
    vertical-align: middle;
}

@keyframes statusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* 9. Mode Gelap (Dark Mode) 3D Sidebar */
html.badilum-dark-mode .badilum-3d-box {
    background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html.badilum-dark-mode .card-3d-sheen {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

html.badilum-dark-mode .active-lang-card-3d {
    background: #0f172a;
    border-color: #334155;
}

html.badilum-dark-mode .lang-card-btn-3d {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    border-bottom-color: #020617;
    color: #cbd5e1;
}

html.badilum-dark-mode .lang-card-btn-3d .lang-card-code {
    color: #f1f5f9;
}

html.badilum-dark-mode .lang-card-btn-3d:hover {
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border-color: #ef4444;
}

html.badilum-dark-mode .lang-card-btn-3d.active {
    background: linear-gradient(145deg, #9a2109 0%, #5a0c02 100%) !important;
}

html.badilum-dark-mode .search-input-wrapper-3d .input-group {
    background: #0f172a;
    border-color: #334155;
}

html.badilum-dark-mode .search-tag-chip-3d {
    background: #0f172a;
    border-color: #334155;
    border-bottom-color: #020617;
    color: #cbd5e1;
}

html.badilum-dark-mode .search-tag-chip-3d:hover {
    background: #9a2109;
    color: #ffffff !important;
}

html.badilum-dark-mode .search-live-dropdown-3d {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

html.badilum-dark-mode .live-search-item {
    border-color: #334155 !important;
}

html.badilum-dark-mode .live-search-item:hover {
    background-color: #0f172a;
}

html.badilum-dark-mode .live-search-item .text-dark {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .live-search-icon {
    background: #0f172a;
}

html.badilum-dark-mode .schedule-tile-3d {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    border-bottom-color: #020617;
}

html.badilum-dark-mode .schedule-tile-3d strong {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .score-tile-3d {
    background: #0f172a;
    border-color: #334155;
    border-bottom-color: #020617;
}

html.badilum-dark-mode .score-tile-3d .text-dark {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .perf-metric-card-3d {
    background: #0f172a;
    border-color: #334155;
    border-bottom-color: #020617;
}

html.badilum-dark-mode .perf-metric-card-3d .text-dark {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .court-link-btn-3d {
    background: #0f172a;
    border-color: #334155;
    border-bottom-color: #020617;
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .court-link-btn-3d:hover {
    background: #1e293b;
}

html.badilum-dark-mode .stat-tile-3d {
    background: #0f172a;
    border-color: #334155;
    border-bottom-color: #020617;
}

html.badilum-dark-mode .stat-tile-3d strong {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode .stat-icon-3d {
    background: #1e293b;
}

/* ==========================================================================
   BADILUM 2026: 12 IKON LAYANAN PRIORITAS 3D & COLOR THEME ENGINE
   ========================================================================== */

/* Section Container */
.badilum-services-section {
    background: linear-gradient(180deg, #fdfbf7 0%, #f4f0e6 100%);
    border-top: 1px solid #e2d9c8;
    border-bottom: 2px solid #e2d9c8;
    position: relative;
    transition: background 0.4s ease, border-color 0.4s ease;
}

/* Header Bar & 3D Title Medallion */
.services-header-bar {
    border-bottom-color: rgba(154, 33, 9, 0.15) !important;
}

.services-header-icon-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #9a2109 0%, #5e1104 100%);
    box-shadow: 0 4px 10px rgba(154, 33, 9, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-bottom: 2px solid #3f0902;
    font-size: 16px;
}

/* Color Theme Palette Controls */
.theme-palette-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.theme-color-btn {
    border: none;
    background: transparent;
    padding: 3px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.theme-color-btn:hover {
    transform: scale(1.15);
}

.theme-color-btn.active {
    transform: scale(1.22);
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #9a2109;
    border-radius: 50%;
}

.color-dot {
    display: block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dot-multi {
    background: conic-gradient(from 0deg, #10b981, #3b82f6, #8b5cf6, #ef4444, #f59e0b, #10b981);
}

.dot-emerald {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.dot-sapphire {
    background: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
}

.dot-maroon {
    background: linear-gradient(135deg, #f87171 0%, #9a2109 100%);
}

.dot-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
}

.dot-cyber {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

/* 3D Mode Toggle Button */
.btn-3d-toggle {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-bottom: 2px solid #94a3b8;
    color: #1e293b;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-3d-toggle:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.btn-3d-toggle:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

/* ==========================================================================
   3D CARD ARCHITECTURE (.service-card-3d)
   ========================================================================== */
.service-card-3d {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-bottom: 4px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.03);
    min-height: 180px;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease,
                border-color 0.28s ease,
                background-color 0.28s ease;
    cursor: pointer;
}

/* Glossy Sheen Effect on Hover */
.service-3d-sheen {
    position: absolute;
    top: -120%;
    left: -70%;
    width: 240%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: rotate(-25deg);
    pointer-events: none;
    transition: transform 0.65s ease;
    z-index: 5;
}

.service-card-3d:hover .service-3d-sheen {
    transform: rotate(-25deg) translateY(180%);
}

/* Top Row: Tag & Pulse Dot */
.service-tag-3d {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 1.5px 6px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.service-pulse-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: servicePulse 2s infinite;
}

@keyframes servicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Icon Container, Medallion 3D, and Glow */
.service-icon-container-3d {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-medallion-3d {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 21px;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.16),
                inset 0 2px 4px rgba(255, 255, 255, 0.45),
                inset 0 -3px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.service-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: currentColor;
}

/* Text Content */
.service-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.25s ease;
}

.service-card-sub {
    font-size: 10px;
    color: #64748b;
    margin-top: 1px;
    transition: color 0.25s ease;
}

/* Footer Link Action */
.service-card-footer {
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
    transition: all 0.25s ease;
}

.service-arrow-icon {
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Tactile 3D Hover & Active State */
.service-card-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.05);
}

.service-card-3d:hover .service-icon-medallion-3d {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22),
                inset 0 2px 4px rgba(255, 255, 255, 0.6),
                inset 0 -3px 4px rgba(0, 0, 0, 0.25);
}

.service-card-3d:hover .service-icon-glow {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.25);
}

.service-card-3d:hover .service-arrow-icon {
    transform: translateX(3px);
    color: #9a2109;
}

.service-card-3d:hover .service-action-hint {
    color: #9a2109;
    font-weight: 600;
}

/* Active Press / Taktil Feedback */
.service-card-3d:active {
    transform: translateY(-1px);
    border-bottom-width: 2px;
    box-shadow: 0 3px 6px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   DEFAULT MULTI-COLOR THEME ACCENTS (.service-theme-*)
   ========================================================================== */
#badilum-quick-services[data-service-theme="multi"] .service-theme-emerald {
    border-bottom-color: #059669;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-emerald:hover {
    border-color: rgba(16, 185, 129, 0.4);
    border-bottom-color: #047857;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-emerald .service-icon-glow {
    background: #10b981;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-emerald .service-tag-3d {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-purple {
    border-bottom-color: #7e22ce;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-purple:hover {
    border-color: rgba(147, 51, 234, 0.4);
    border-bottom-color: #6b21a8;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-purple .service-icon-glow {
    background: #9333ea;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-purple .service-tag-3d {
    background: #faf5ff;
    color: #581c87;
    border-color: #e9d5ff;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-amber {
    border-bottom-color: #d97706;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-amber:hover {
    border-color: rgba(245, 158, 11, 0.4);
    border-bottom-color: #b45309;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-amber .service-icon-glow {
    background: #f59e0b;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-amber .service-tag-3d {
    background: #fffbeb;
    color: #78350f;
    border-color: #fde68a;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-blue {
    border-bottom-color: #1d4ed8;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-blue:hover {
    border-color: rgba(37, 99, 235, 0.4);
    border-bottom-color: #1e40af;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-blue .service-icon-glow {
    background: #2563eb;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-blue .service-tag-3d {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #bfdbfe;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-indigo {
    border-bottom-color: #4338ca;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-indigo:hover {
    border-color: rgba(79, 70, 229, 0.4);
    border-bottom-color: #3730a3;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-indigo .service-icon-glow {
    background: #4f46e5;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-indigo .service-tag-3d {
    background: #eef2ff;
    color: #312e81;
    border-color: #c7d2fe;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-teal {
    border-bottom-color: #0f766e;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-teal:hover {
    border-color: rgba(13, 148, 136, 0.4);
    border-bottom-color: #115e59;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-teal .service-icon-glow {
    background: #0d9488;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-teal .service-tag-3d {
    background: #f0fdfa;
    color: #134e4a;
    border-color: #99f6e4;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-slate {
    border-bottom-color: #334155;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-slate:hover {
    border-color: rgba(71, 85, 105, 0.4);
    border-bottom-color: #1e293b;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-slate .service-icon-glow {
    background: #475569;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-slate .service-tag-3d {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-cyan {
    border-bottom-color: #0891b2;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-cyan:hover {
    border-color: rgba(6, 182, 212, 0.4);
    border-bottom-color: #0e7490;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-cyan .service-icon-glow {
    background: #06b6d4;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-cyan .service-tag-3d {
    background: #ecfeff;
    color: #155e75;
    border-color: #a5f3fc;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-ruby {
    border-bottom-color: #dc2626;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-ruby:hover {
    border-color: rgba(239, 68, 68, 0.4);
    border-bottom-color: #b91c1c;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-ruby .service-icon-glow {
    background: #ef4444;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-ruby .service-tag-3d {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-gold {
    border-bottom-color: #ca8a04;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-gold:hover {
    border-color: rgba(234, 179, 8, 0.4);
    border-bottom-color: #a16207;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-gold .service-icon-glow {
    background: #eab308;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-gold .service-tag-3d {
    background: #fefce8;
    color: #713f12;
    border-color: #fef08a;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-violet {
    border-bottom-color: #6d28d9;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-violet:hover {
    border-color: rgba(139, 92, 246, 0.4);
    border-bottom-color: #5b21b6;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-violet .service-icon-glow {
    background: #8b5cf6;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-violet .service-tag-3d {
    background: #f5f3ff;
    color: #4c1d95;
    border-color: #ddd6fe;
}

#badilum-quick-services[data-service-theme="multi"] .service-theme-green {
    border-bottom-color: #16a34a;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-green:hover {
    border-color: rgba(34, 197, 94, 0.4);
    border-bottom-color: #15803d;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-green .service-icon-glow {
    background: #22c55e;
}
#badilum-quick-services[data-service-theme="multi"] .service-theme-green .service-tag-3d {
    background: #f0fdf4;
    color: #14532d;
    border-color: #bbf7d0;
}

/* ==========================================================================
   DYNAMIC COLOR THEMES (EMERALD, SAPPHIRE, MAROON, GOLD, CYBER)
   ========================================================================== */

/* 1. EMERALD GREEN (PTSP) */
#badilum-quick-services[data-service-theme="emerald"] .service-card-3d {
    border-bottom-color: #059669;
}
#badilum-quick-services[data-service-theme="emerald"] .service-card-3d:hover {
    border-color: rgba(16, 185, 129, 0.4);
    border-bottom-color: #047857;
    box-shadow: 0 14px 26px rgba(5, 150, 105, 0.15), 0 4px 8px rgba(5, 150, 105, 0.08);
}
#badilum-quick-services[data-service-theme="emerald"] .service-icon-medallion-3d {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
}
#badilum-quick-services[data-service-theme="emerald"] .service-icon-glow {
    background: #10b981 !important;
}
#badilum-quick-services[data-service-theme="emerald"] .service-tag-3d {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}
#badilum-quick-services[data-service-theme="emerald"] .service-action-hint,
#badilum-quick-services[data-service-theme="emerald"] .service-arrow-icon {
    color: #059669 !important;
}

/* 2. SAPPHIRE BLUE (DIGITAL MA) */
#badilum-quick-services[data-service-theme="sapphire"] .service-card-3d {
    border-bottom-color: #2563eb;
}
#badilum-quick-services[data-service-theme="sapphire"] .service-card-3d:hover {
    border-color: rgba(37, 99, 235, 0.4);
    border-bottom-color: #1d4ed8;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.15), 0 4px 8px rgba(37, 99, 235, 0.08);
}
#badilum-quick-services[data-service-theme="sapphire"] .service-icon-medallion-3d {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
}
#badilum-quick-services[data-service-theme="sapphire"] .service-icon-glow {
    background: #3b82f6 !important;
}
#badilum-quick-services[data-service-theme="sapphire"] .service-tag-3d {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #bfdbfe;
}
#badilum-quick-services[data-service-theme="sapphire"] .service-action-hint,
#badilum-quick-services[data-service-theme="sapphire"] .service-arrow-icon {
    color: #2563eb !important;
}

/* 3. CRIMSON MAROON (PN MALILI) */
#badilum-quick-services[data-service-theme="maroon"] .service-card-3d {
    border-bottom-color: #9a2109;
}
#badilum-quick-services[data-service-theme="maroon"] .service-card-3d:hover {
    border-color: rgba(154, 33, 9, 0.4);
    border-bottom-color: #701404;
    box-shadow: 0 14px 26px rgba(154, 33, 9, 0.16), 0 4px 8px rgba(154, 33, 9, 0.08);
}
#badilum-quick-services[data-service-theme="maroon"] .service-icon-medallion-3d {
    background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%) !important;
}
#badilum-quick-services[data-service-theme="maroon"] .service-icon-glow {
    background: #dc2626 !important;
}
#badilum-quick-services[data-service-theme="maroon"] .service-tag-3d {
    background: #fef2f2;
    color: #7f1d1d;
    border-color: #fecaca;
}
#badilum-quick-services[data-service-theme="maroon"] .service-action-hint,
#badilum-quick-services[data-service-theme="maroon"] .service-arrow-icon {
    color: #9a2109 !important;
}

/* 4. ROYAL GOLD (KEMEWAHAN KEAGUNGAN) */
#badilum-quick-services[data-service-theme="gold"] .service-card-3d {
    border-bottom-color: #b45309;
}
#badilum-quick-services[data-service-theme="gold"] .service-card-3d:hover {
    border-color: rgba(245, 158, 11, 0.4);
    border-bottom-color: #92400e;
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.18), 0 4px 8px rgba(245, 158, 11, 0.1);
}
#badilum-quick-services[data-service-theme="gold"] .service-icon-medallion-3d {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%) !important;
}
#badilum-quick-services[data-service-theme="gold"] .service-icon-glow {
    background: #f59e0b !important;
}
#badilum-quick-services[data-service-theme="gold"] .service-tag-3d {
    background: #fffbeb;
    color: #78350f;
    border-color: #fde68a;
}
#badilum-quick-services[data-service-theme="gold"] .service-action-hint,
#badilum-quick-services[data-service-theme="gold"] .service-arrow-icon {
    color: #b45309 !important;
}

/* 5. CYBER HIGH-TECH NEON */
#badilum-quick-services[data-service-theme="cyber"] {
    background: linear-gradient(180deg, #090d16 0%, #030712 100%);
    border-color: #1e293b;
}
#badilum-quick-services[data-service-theme="cyber"] .services-section-title {
    color: #f1f5f9 !important;
}
#badilum-quick-services[data-service-theme="cyber"] .services-header-bar small {
    color: #94a3b8 !important;
}
#badilum-quick-services[data-service-theme="cyber"] .theme-palette-wrapper {
    background: #0f172a;
    border-color: #334155;
}
#badilum-quick-services[data-service-theme="cyber"] .theme-palette-wrapper small {
    color: #cbd5e1 !important;
}
#badilum-quick-services[data-service-theme="cyber"] .btn-3d-toggle {
    background: #0f172a;
    border-color: #334155;
    border-bottom-color: #00f2fe;
    color: #00f2fe;
}
#badilum-quick-services[data-service-theme="cyber"] .service-card-3d {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    border: 1px solid #1e293b;
    border-bottom: 4px solid #00f2fe;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.08);
}
#badilum-quick-services[data-service-theme="cyber"] .service-card-3d:hover {
    border-color: rgba(0, 242, 254, 0.6);
    border-bottom-color: #38bdf8;
    box-shadow: 0 14px 28px rgba(0, 242, 254, 0.22), 0 0 16px rgba(0, 242, 254, 0.2);
}
#badilum-quick-services[data-service-theme="cyber"] .service-icon-medallion-3d {
    background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%) !important;
    border-color: #38bdf8;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.6);
}
#badilum-quick-services[data-service-theme="cyber"] .service-icon-glow {
    background: #00f2fe !important;
    opacity: 0.5;
}
#badilum-quick-services[data-service-theme="cyber"] .service-card-title {
    color: #f8fafc !important;
}
#badilum-quick-services[data-service-theme="cyber"] .service-card-sub {
    color: #94a3b8 !important;
}
#badilum-quick-services[data-service-theme="cyber"] .service-tag-3d {
    background: #082f49;
    color: #38bdf8;
    border-color: #0369a1;
}
#badilum-quick-services[data-service-theme="cyber"] .service-card-footer {
    border-top-color: #1e293b;
    color: #64748b;
}
#badilum-quick-services[data-service-theme="cyber"] .service-card-3d:hover .service-action-hint,
#badilum-quick-services[data-service-theme="cyber"] .service-card-3d:hover .service-arrow-icon {
    color: #00f2fe !important;
}

/* ==========================================================================
   MODE 3D: GLASSMORPHISM (.mode-3d-glass)
   ========================================================================== */
#badilum-quick-services.mode-3d-glass .service-card-3d {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 3px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 30px 0 rgba(31, 38, 135, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#badilum-quick-services.mode-3d-glass .service-icon-medallion-3d {
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14),
                inset 0 4px 6px rgba(255, 255, 255, 0.6),
                inset 0 -3px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   DARK MODE ADAPTATION (html.badilum-dark-mode)
   ========================================================================== */
html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) {
    background: linear-gradient(180deg, #0f172a 0%, #090e17 100%);
    border-color: #1e293b;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .services-section-title {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .theme-palette-wrapper {
    background: #1e293b;
    border-color: #334155;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .theme-palette-wrapper small {
    color: #cbd5e1 !important;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .btn-3d-toggle {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .service-card-3d {
    background: #1e293b;
    border: 1px solid #334155;
    border-bottom: 4px solid #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .service-card-title {
    color: #f1f5f9 !important;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .service-card-sub {
    color: #94a3b8 !important;
}

html.badilum-dark-mode #badilum-quick-services:not([data-service-theme="cyber"]) .service-card-footer {
    border-top-color: #334155;
}