/* Home Calendar, Dashboard & Full-Color Vibrant System */


/* ==========================================================================
           PREMIUM FULL-COLOR SIDE-BY-SIDE CALENDAR & DASHBOARD DESIGN SYSTEM
           ========================================================================== */
        /* Hero Floating Badge ("Muhammad Rafi Qsan") - Bulletproof Absolute Stacking & Contrast */
        .hero-floating-badge {
            position: absolute !important;
            bottom: 16px !important;
            left: 16px !important;
            right: 16px !important;
            background: #FFFFFF !important;
            border: 1.5px solid #E2E8F0 !important;
            border-radius: 1.15rem !important;
            box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04) !important;
            z-index: 30 !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: flex !important;
            align-items: center !important;
            gap: 0.75rem !important;
            padding: 0.65rem 0.95rem !important;
            box-sizing: border-box !important;
            transition: transform 0.25s ease, box-shadow 0.25s ease !important;
        }
        @media (max-width: 640px) {
            .hero-floating-badge {
                bottom: 12px !important;
                left: 12px !important;
                right: 12px !important;
                padding: 8px 10px !important;
                gap: 10px !important;
                border-radius: 1rem !important;
            }
        }
        html.dark .hero-floating-badge {
            background: #0F172A !important;
            border: 1.5px solid #1E293B !important;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.65), 0 4px 12px -2px rgba(0, 0, 0, 0.3) !important;
        }
        .hero-badge-icon {
            width: 42px !important;
            height: 42px !important;
            border-radius: 12px !important;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
            border: 1.5px solid #cbd5e1 !important;
            box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
            font-size: 22px !important;
            line-height: 1 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
        }
        @media (max-width: 640px) {
            .hero-badge-icon {
                width: 36px !important;
                height: 36px !important;
                border-radius: 10px !important;
                font-size: 19px !important;
            }
        }
        html.dark .hero-badge-icon {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
            border-color: #334155 !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        }
        .hero-badge-title {
            color: #0f172a !important;
            font-weight: 900 !important;
            font-size: 0.95rem !important;
            line-height: 1.2 !important;
            letter-spacing: -0.02em !important;
            white-space: nowrap !important;
            margin: 0 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        @media (max-width: 640px) {
            .hero-badge-title {
                font-size: 0.8rem !important;
                letter-spacing: -0.025em !important;
            }
        }
        html.dark .hero-badge-title {
            color: #ffffff !important;
        }
        .hero-badge-sub {
            color: #475569 !important;
            font-weight: 700 !important;
            font-size: 0.76rem !important;
            line-height: 1.2 !important;
            letter-spacing: -0.01em !important;
            white-space: nowrap !important;
            margin: 0.15rem 0 0 0 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        @media (max-width: 640px) {
            .hero-badge-sub {
                font-size: 0.7rem !important;
                margin-top: 0.1rem !important;
            }
        }
        html.dark .hero-badge-sub {
            color: #cbd5e1 !important;
        }
        .hero-badge-pill-dot {
            width: 6px !important;
            height: 6px !important;
            border-radius: 9999px !important;
            background-color: #10b981 !important;
            display: inline-block !important;
            box-shadow: 0 0 6px rgba(16, 185, 129, 0.7) !important;
            flex-shrink: 0 !important;
        }
        .hero-pill-desktop {
            display: inline !important;
        }
        .hero-pill-mobile {
            display: none !important;
        }
        @media (max-width: 640px) {
            .hero-pill-desktop {
                display: none !important;
            }
            .hero-pill-mobile {
                display: inline !important;
            }
        }
        .hero-sub-desktop {
            display: inline !important;
        }
        .hero-sub-mobile {
            display: none !important;
        }
        @media (max-width: 640px) {
            .hero-sub-desktop {
                display: none !important;
            }
            .hero-sub-mobile {
                display: inline !important;
            }
        }

        /* Calendar Header Card ("Kalender Kegiatan & Event Mendatang") */
        .cal-header-card { background-color: #ffffff !important; border: 1.5px solid #e2e8f0 !important; box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08) !important; }
        html.dark .cal-header-card { background-color: #131d38 !important; border-color: #273549 !important; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important; }
        .cal-header-title { color: #0f172a !important; font-weight: 900 !important; }
        html.dark .cal-header-title { color: #ffffff !important; }
        .cal-header-subtitle { color: #475569 !important; font-weight: 500 !important; }
        html.dark .cal-header-subtitle { color: #94a3b8 !important; }

        /* Article & Blog Header Card ("Daftar Artikel & Berita Edukasi") */
        .article-header-card { background-color: #ffffff !important; border: 1.5px solid #e2e8f0 !important; box-shadow: 0 10px 25px -5px rgba(0, 46, 71, 0.08) !important; }
        html.dark .article-header-card { background-color: #131d38 !important; border-color: #273549 !important; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important; }
        .article-header-title { color: #0f172a !important; font-weight: 900 !important; }
        html.dark .article-header-title { color: #ffffff !important; }
        .article-header-subtitle { color: #475569 !important; font-weight: 600 !important; }
        html.dark .article-header-subtitle { color: #94a3b8 !important; }

        /* News & Article Cards - Bulletproof Uniform Proportions & Typography */
        article, .article-card {
            background-color: #ffffff !important;
            border: 1.5px solid #e2e8f0 !important;
            border-radius: 1.5rem !important;
            display: flex !important;
            flex-direction: column !important;
            height: 100% !important;
            overflow: hidden !important;
            box-shadow: 0 10px 25px -5px rgba(0, 46, 71, 0.06) !important;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }
        .article-card:hover {
            transform: translateY(-5px) !important;
            border-color: #38bdf8 !important;
            box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.2) !important;
        }
        html.dark article, html.dark .article-card {
            background-color: #131d38 !important;
            border-color: #263654 !important;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
        }
        html.dark .article-card:hover {
            border-color: #0284c7 !important;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.7) !important;
        }

        /* Enforce identical 195px banner image container across ALL cards */
        .article-card-image-wrap {
            position: relative !important;
            width: 100% !important;
            height: 195px !important;
            min-height: 195px !important;
            max-height: 195px !important;
            overflow: hidden !important;
            display: block !important;
            background: #f1f5f9 !important;
            cursor: pointer !important;
        }
        html.dark .article-card-image-wrap {
            background: #0b132b !important;
        }
        .article-card-image-wrap img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }
        .article-card:hover .article-card-image-wrap img {
            transform: scale(1.06) !important;
        }

        /* Flex card body with consistent padding */
        .article-card-body {
            padding: 1.25rem !important;
            display: flex !important;
            flex-direction: column !important;
            flex: 1 1 0% !important;
            justify-content: space-between !important;
        }

        /* Title with fixed 2-line clamp & consistent min-height */
        article h2, article h3, .article-card h2, .article-card h3, .article-card-title, .article-title {
            color: #0f172a !important;
            font-weight: 800 !important;
        }
        .article-card-title {
            font-size: 0.95rem !important;
            line-height: 1.35 !important;
            font-weight: 900 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            min-height: 2.6rem !important;
            margin: 0 !important;
        }
        article h2:hover, article h3:hover, .article-card-title:hover { color: #0284c7 !important; }
        html.dark article h2, html.dark article h3, html.dark .article-card h2, html.dark .article-card h3, html.dark .article-card-title, html.dark .article-title {
            color: #f8fafc !important;
        }
        html.dark article h2:hover, html.dark article h3:hover, html.dark .article-card-title:hover { color: #38bdf8 !important; }

        /* Excerpt with fixed 2-line clamp & consistent min-height */
        article p, .article-card p, .article-card-excerpt { color: #475569 !important; }
        .article-card-excerpt {
            font-size: 0.78rem !important;
            line-height: 1.45 !important;
            font-weight: 500 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            min-height: 2.3rem !important;
            margin: 0 !important;
        }
        html.dark article p, html.dark .article-card p, html.dark .article-card-excerpt { color: #94a3b8 !important; }

        /* Card footer with pinned bottom alignment */
        .article-card-footer {
            margin-top: auto !important;
            padding-top: 0.75rem !important;
            border-top: 1px solid #f1f5f9 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }
        html.dark .article-card-footer {
            border-top-color: #1e293b !important;
        }

        article .text-slate-700, article .text-slate-600, article .text-slate-500, article .text-slate-400 { color: #475569 !important; }
        html.dark article .text-slate-700, html.dark article .text-slate-600 { color: #94a3b8 !important; }
        .article-cat-dropdown-text { color: #0f172a !important; font-weight: 800 !important; }
        html.dark .article-cat-dropdown-text { color: #f8fafc !important; }
        .article-modal-title { color: #0f172a !important; font-weight: 900 !important; }
        html.dark .article-modal-title { color: #f8fafc !important; }

        /* Neutralize Tailwind v4 media-query dark mode leak when html does NOT have class 'dark' */
        @media (prefers-color-scheme: dark) {
            html:not(.dark) .dark\:text-white, html:not(.dark) [class*="dark:text-white"] { color: #0f172a !important; }
            html:not(.dark) .dark\:text-slate-100, html:not(.dark) .dark\:text-slate-200, html:not(.dark) .dark\:text-slate-300 { color: #334155 !important; }
            html:not(.dark) article h2, html:not(.dark) article h3, html:not(.dark) .article-card-title { color: #0f172a !important; }
            html:not(.dark) article p, html:not(.dark) .article-card-excerpt { color: #334155 !important; }
        }

        /* 3D Calendar Header Icon Box */
        .cal-header-icon-box { width: 3.25rem; height: 3.25rem; border-radius: 1.15rem; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.3); border: 2px solid #bae6fd; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important; }
        @media (min-width: 640px) { .cal-header-icon-box { width: 3.85rem; height: 3.85rem; border-radius: 1.25rem; } }
        html.dark .cal-header-icon-box { background: linear-gradient(135deg, #0c2d48 0%, #1e293b 100%) !important; border-color: #0284c7 !important; }
        .cal-header-icon-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.3s ease; display: block; }
        .cal-header-icon-box:hover .cal-header-icon-img { transform: scale(1.08); }

        /* Category Tab Navigation Container - Fully Responsive & Scroll-Proof on Mobile */
        .tab-cat-nav-wrap { display: flex !important; align-items: center !important; padding: 0.25rem !important; border-radius: 1.15rem !important; background: rgba(241, 245, 249, 0.95) !important; border: 1px solid #cbd5e1 !important; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important; gap: 0.25rem !important; width: 100% !important; max-width: 100% !important; overflow-x: auto !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch !important; box-sizing: border-box !important; }
        @media (min-width: 640px) { .tab-cat-nav-wrap { width: auto !important; padding: 0.375rem !important; gap: 0.375rem !important; border-radius: 1.25rem !important; } }
        html.dark .tab-cat-nav-wrap { background: rgba(30, 41, 59, 0.95) !important; border-color: #334155 !important; }
        .tab-cat-nav-wrap::-webkit-scrollbar { display: none !important; }

        /* Category Tab Buttons - Mobile Fits All 4 (Semua, OSN, SNBT, TKA) Side-by-Side */
        .tab-cat-btn { flex: 1 1 0% !important; min-width: 0 !important; padding: 0.45rem 0.45rem !important; border-radius: 0.75rem !important; font-size: 0.76rem !important; font-weight: 800 !important; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; cursor: pointer !important; text-align: center !important; border: 1.5px solid transparent !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.25rem !important; white-space: nowrap !important; user-select: none !important; box-sizing: border-box !important; }
        @media (min-width: 380px) { .tab-cat-btn { padding: 0.45rem 0.6rem !important; font-size: 0.78rem !important; gap: 0.3rem !important; } }
        @media (min-width: 640px) { .tab-cat-btn { flex: 0 0 auto !important; padding: 0.6rem 1.35rem !important; font-size: 0.875rem !important; gap: 0.45rem !important; } }
        .tab-cat-btn.inactive { color: #475569 !important; background: transparent !important; }
        html.dark .tab-cat-btn.inactive { color: #94a3b8 !important; }
        .tab-cat-btn.inactive:hover { color: #0f172a !important; background: rgba(255, 255, 255, 0.7) !important; }
        html.dark .tab-cat-btn.inactive:hover { color: #ffffff !important; background: rgba(255, 255, 255, 0.1) !important; }
        .tab-cat-btn.active-all { background: linear-gradient(135deg, #002E47 0%, #08436b 100%) !important; color: #ffffff !important; border-color: #002E47 !important; box-shadow: 0 4px 14px rgba(0, 46, 71, 0.35) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-osn { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; color: #ffffff !important; border-color: #38bdf8 !important; box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-osn span { color: #ffffff !important; }
        .tab-cat-btn.active-snbt { background: linear-gradient(135deg, #059669 0%, #047857 100%) !important; color: #ffffff !important; border-color: #34d399 !important; box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-snbt span { color: #ffffff !important; }
        .tab-cat-btn.active-tka { background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important; color: #ffffff !important; border-color: #fbbf24 !important; box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-tka span { color: #ffffff !important; }
        .badge-cat-osn { background: #e0f2fe !important; color: #0369a1 !important; border: 1.5px solid #7dd3fc !important; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2) !important; }
        html.dark .badge-cat-osn { background: #0c2d48 !important; color: #7dd3fc !important; border: 1.5px solid #0284c7 !important; }
        .badge-cat-all { background: #f0f9ff !important; color: #002E47 !important; border: 1.5px solid #bae6fd !important; }
        html.dark .badge-cat-all { background: #0f172a !important; color: #93c5fd !important; border: 1.5px solid #1e3a8a !important; }
        .badge-cat-snbt { background: #dcfce7 !important; color: #065f46 !important; border: 1.5px solid #86efac !important; }
        html.dark .badge-cat-snbt { background: #064e3b !important; color: #6ee7b7 !important; border: 1.5px solid #059669 !important; }
        .badge-cat-tka { background: #fef3c7 !important; color: #92400e !important; border: 1.5px solid #fde68a !important; }
        html.dark .badge-cat-tka { background: #451a03 !important; color: #fcd34d !important; border: 1.5px solid #b45309 !important; }
        .cal-container-wide { width: 100%; max-width: 1440px; margin: 0 auto; }
        .cal-side-dashboard { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; }
        @media (min-width: 1024px) {
            .cal-side-dashboard { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.75rem; align-items: stretch; }
        }
        @media (min-width: 1280px) {
            .cal-side-dashboard { grid-template-columns: 1.45fr 1fr; gap: 2rem; }
        }
        .cal-col-left { width: 100%; min-width: 0; display: flex; flex-direction: column; }
        .cal-col-right { width: 100%; min-width: 0; display: flex; flex-direction: column; height: 100%; }
        .calendar-main-card { width: 100%; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 1.75rem; box-shadow: 0 20px 45px -15px rgba(0, 46, 71, 0.08); overflow: hidden; display: flex; flex-direction: column; }
        html.dark .calendar-main-card { background: #131d38; border-color: #273549; box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6); }
        .calendar-detail-card { width: 100%; height: 100%; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 1.75rem; box-shadow: 0 20px 45px -15px rgba(0, 46, 71, 0.08); display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
        html.dark .calendar-detail-card { background: #131d38; border-color: #273549; box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6); }
        .cal-detail-body { flex: 1 1 0%; min-height: 0; overflow-y: auto; padding-right: 0.35rem; }
        @media (max-width: 1023px) { .cal-detail-body { max-height: 520px; } }
        .custom-scrollbar::-webkit-scrollbar { width: 6px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }
        html.dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #334155; }
        .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; width: 100%; }
        @media (min-width: 640px) { .cal-grid { gap: 0.5rem; } }
        @media (min-width: 1024px) { .cal-grid { gap: 0.55rem; } }
        .cal-day-header { padding: 0.65rem 0.2rem; text-align: center; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 0.75rem; }
        .cal-day-header.senin { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
        .cal-day-header.selasa { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
        .cal-day-header.rabu { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
        .cal-day-header.kamis { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }
        .cal-day-header.jumat { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
        .cal-day-header.saturday { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
        .cal-day-header.sunday { color: #be123c !important; background: #ffe4e6 !important; border: 1.5px solid #fecdd3 !important; font-weight: 900 !important; }
        html.dark .cal-day-header.senin { background: #172554; color: #93c5fd; border-color: #1e3a8a; }
        html.dark .cal-day-header.selasa { background: #134e4a; color: #5eead4; border-color: #115e59; }
        html.dark .cal-day-header.rabu { background: #1e1b4b; color: #a5b4fc; border-color: #312e81; }
        html.dark .cal-day-header.kamis { background: #3b0764; color: #d8b4fe; border-color: #581c87; }
        html.dark .cal-day-header.jumat { background: #064e3b; color: #6ee7b7; border-color: #065f46; }
        html.dark .cal-day-header.saturday { background: #451a03; color: #fcd34d; border-color: #78350f; }
        html.dark .cal-day-header.sunday { background: #4c0519; color: #fda4af; border-color: #881337; }
        .cal-cell { min-height: 72px; border-radius: 1rem; padding: 0.45rem; display: flex; flex-direction: column; position: relative; border: 1.5px solid #e2e8f0; background: #ffffff; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; user-select: none; }
        @media (min-width: 640px) { .cal-cell { min-height: 88px; padding: 0.55rem; } }
        @media (min-width: 1024px) { .cal-cell { min-height: 102px; padding: 0.65rem; } }
        html.dark .cal-cell { background: #16223e; border-color: #263654; }
        .cal-cell:hover:not(.empty) { transform: translateY(-2px); border-color: #0284c7; box-shadow: 0 10px 22px -5px rgba(2, 132, 199, 0.2); z-index: 10; }
        html.dark .cal-cell:hover:not(.empty) { border-color: #38bdf8; box-shadow: 0 10px 22px -5px rgba(0, 0, 0, 0.6); }
        .cal-cell.saturday { background: #fffdfa; border-color: #fef08a; }
        html.dark .cal-cell.saturday { background: #17151f; border-color: #3b281c; }
        .cal-cell.sunday { background: #fff5f5 !important; border-color: #fecdd3 !important; }
        html.dark .cal-cell.sunday { background: #1e1117 !important; border-color: #4a1523 !important; }
        .cal-cell.today { background: linear-gradient(145deg, #e0f2fe 0%, #dbeafe 100%) !important; border: 2.5px solid #0284c7 !important; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.28), 0 10px 22px -5px rgba(2, 132, 199, 0.25) !important; transform: scale(1.015); z-index: 15; }
        html.dark .cal-cell.today { background: linear-gradient(145deg, #0b2545 0%, #11335e 100%) !important; border: 2.5px solid #38bdf8 !important; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35) !important; }
        .cal-cell.has-events { border-color: #93c5fd; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08); }
        html.dark .cal-cell.has-events { border-color: #2563eb; }
        .cal-cell.selected { border-color: #0284c7 !important; background: #e0f2fe !important; box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.35), 0 12px 24px -6px rgba(2, 132, 199, 0.3) !important; transform: scale(1.02); z-index: 20; }
        html.dark .cal-cell.selected { background: #172d57 !important; border-color: #38bdf8 !important; box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.4) !important; }
        .cal-pill { display: flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.4rem; border-radius: 0.45rem; font-size: 0.68rem; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.2rem; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
        .pill-osn { background: #e0f2fe; color: #0f172a !important; font-weight: 800; border-color: #bae6fd; }
        .pill-tka { background: #fef3c7; color: #0f172a !important; font-weight: 800; border-color: #fde68a; }
        .pill-snbt { background: #d1fae5; color: #0f172a !important; font-weight: 800; border-color: #a7f3d0; }
        .pill-mitra { background: #f3e8ff; color: #0f172a !important; font-weight: 800; border-color: #e9d5ff; }
        .pill-dinas { background: #ffe4e6; color: #0f172a !important; font-weight: 800; border-color: #fecdd3; }
        html.dark .pill-osn { background: #082f49; color: #7dd3fc; border-color: #0369a1; }
        html.dark .pill-tka { background: #451a03; color: #fde68a; border-color: #92400e; }
        html.dark .pill-snbt { background: #064e3b; color: #6ee7b7; border-color: #065f46; }
        html.dark .pill-mitra { background: #3b0764; color: #d8b4fe; border-color: #7e22ce; }
        html.dark .pill-dinas { background: #4c0519; color: #fda4af; border-color: #9f1239; }
        .month-chip-bar { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
        .month-chip-btn { flex-shrink: 0; padding: 0.4rem 0.85rem; border-radius: 9999px; font-size: 0.78rem; font-weight: 700; border: 1.5px solid #e2e8f0; background: #ffffff; color: #475569; cursor: pointer; transition: all 0.2s ease; }
        html.dark .month-chip-btn { background: #1a2542; border-color: #334155; color: #94a3b8; }
        .month-chip-btn:hover { border-color: #0284c7; color: #0284c7; transform: translateY(-1px); }
        .month-chip-btn.active { background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%) !important; border: 2px solid #0284c7 !important; color: #082f49 !important; font-weight: 900; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35); }
    
/* =========================================================================
   FULL-COLOR VIBRANT THEMED EVENT CARDS (SYNCED WITH NLS ADMIN)
   ========================================================================= */

.card-accent-nexgen { border-top: 4px solid #06b6d4 !important; }
        .card-accent-osn { border-top: 4px solid #0284c7 !important; }
        .card-accent-snbt { border-top: 4px solid #059669 !important; }
        .card-accent-tka { border-top: 4px solid #d97706 !important; }
        .card-accent-tips { border-top: 4px solid #9333ea !important; }
        .card-accent-school { border-top: 4px solid #e11d48 !important; }
        .card-accent-info { border-top: 4px solid #4f46e5 !important; }
        .blog-prose h2, .blog-prose h3 { font-weight: 800; color: #0f172a; margin-top: 1.25rem; margin-bottom: 0.5rem; }
        .blog-prose p { color: #334155; line-height: 1.7; margin-bottom: 0.9rem; }
        .blog-prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
        .blog-prose ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
        .blog-prose blockquote { border-left: 4px solid #0284c7; padding-left: 1rem; font-style: italic; color: #475569; background: #f8fafc; padding-top: 0.5rem; padding-bottom: 0.5rem; margin: 1rem 0; border-radius: 0 0.5rem 0.5rem 0; }

/* =========================================================================
   TRYOUT COUNTDOWN BANNER, TICKER STRIP & OMNISEARCH MODAL STYLES
   ========================================================================= */

/* 1. Live Countdown Strip */
.nls-countdown-strip {
    background: linear-gradient(135deg, #090d1a 0%, #1e1b4b 50%, #0f172a 100%) !important;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.4) !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 30 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4) !important;
}

.nls-countdown-box {
    background: rgba(30, 27, 75, 0.9) !important;
    border: 1px solid rgba(129, 140, 248, 0.45) !important;
    border-radius: 0.5rem !important;
    text-align: center !important;
    color: #ffffff !important;
}

.nls-countdown-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #090d1a !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.nls-countdown-btn:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5) !important;
    color: #000000 !important;
}

/* 2. Dynamic Social-Proof Ticker — "High Trust Navy Authority" (REDESIGN)
   Satu sumber kebenaran: seluruh aturan memakai #nls-ticker-strip (ID)
   agar tidak mungkin ditimpa oleh `html.dark section {background-image:none}`
   di theme.css. Tampilan sengaja identik di mode terang & gelap, dengan
   kontras teks aman (WCAG AA/AAA) dan titik penanda yang terlihat jelas. */
#nls-ticker-strip,
html.dark #nls-ticker-strip {
    background-color: #061426 !important;
    background-image:
        radial-gradient(120% 260% at 6% 0%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 58%),
        radial-gradient(120% 260% at 94% 100%, rgba(255, 138, 0, 0.18) 0%, rgba(255, 138, 0, 0) 58%),
        linear-gradient(100deg, #050f1e 0%, #0b2545 52%, #071528 100%) !important;
    border-top: 1px solid rgba(56, 189, 248, 0.32) !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.32) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 34px -16px rgba(2, 8, 23, 0.75) !important;
    color: #e2e8f0 !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
    padding: 0.6rem 0 !important;
    min-height: 3.1rem !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}
/* Edge fade: teks marquee tidak lagi terpotong kasar di kiri/kanan */
#nls-ticker-strip::before,
#nls-ticker-strip::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4.5rem !important;
    z-index: 3 !important;
    pointer-events: none !important;
}
#nls-ticker-strip::before {
    left: 0 !important;
    background: linear-gradient(90deg, #050f1e 10%, rgba(5, 15, 30, 0) 100%) !important;
}
#nls-ticker-strip::after {
    right: 0 !important;
    background: linear-gradient(270deg, #050f1e 10%, rgba(5, 15, 30, 0) 100%) !important;
}
@keyframes nlsMarquee {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}
@-webkit-keyframes nlsMarquee {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}
/* Track marquee: dua grup identik tanpa gap antar-grup sehingga
   translate(-50%) menghasilkan loop yang benar-benar seamless. */
.nls-ticker-track {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    width: max-content !important;
    min-width: max-content !important;
    animation: nlsMarquee 38s linear infinite !important;
    -webkit-animation: nlsMarquee 38s linear infinite !important;
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    will-change: transform;
}
/* Berhenti sejenak saat dibaca (hover / fokus keyboard) */
#nls-ticker-strip:hover .nls-ticker-track,
#nls-ticker-strip:focus-within .nls-ticker-track {
    animation-play-state: paused !important;
    -webkit-animation-play-state: paused !important;
}
.nls-ticker-group {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
}

/* Chip kaca navy untuk setiap fakta (kontras teks ≈12:1) */
#nls-ticker-strip .nls-ticker-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.8125rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: 0.005em !important;
    color: #e2e8f0 !important;
    background: rgba(148, 197, 255, 0.09) !important;
    border: 1px solid rgba(125, 211, 252, 0.24) !important;
    border-radius: 999px !important;
    padding: 0.4rem 0.95rem !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}
/* Kata kunci / angka kunci: sky terang, kontras ≈7.5:1 di atas navy */
#nls-ticker-strip .nls-ticker-item strong {
    color: #7dd3fc !important;
    font-weight: 800 !important;
}
/* Pemisah antar fakta; margin disimpan di elemen agar loop tetap presisi */
#nls-ticker-strip .nls-ticker-bullet {
    color: rgba(125, 211, 252, 0.5) !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    margin: 0 0.9rem !important;
}
/* Titik status ber-glow (menggantikan utility Tailwind yang tak ada di build) */
#nls-ticker-strip .nls-ticker-dot {
    display: inline-block !important;
    width: 0.5rem !important;
    height: 0.5rem !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
    background: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16), 0 0 10px rgba(56, 189, 248, 0.85) !important;
}
#nls-ticker-strip .nls-ticker-dot--emerald {
    background: #34d399 !important;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16), 0 0 10px rgba(52, 211, 153, 0.85) !important;
}
#nls-ticker-strip .nls-ticker-dot--sky {
    background: #38bdf8 !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16), 0 0 10px rgba(56, 189, 248, 0.85) !important;
}
#nls-ticker-strip .nls-ticker-dot--amber {
    background: #fbbf24 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.16), 0 0 10px rgba(251, 191, 36, 0.85) !important;
}
#nls-ticker-strip .nls-ticker-dot--indigo {
    background: #818cf8 !important;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.16), 0 0 10px rgba(129, 140, 248, 0.85) !important;
}
#nls-ticker-strip .nls-ticker-dot--purple {
    background: #c084fc !important;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.16), 0 0 10px rgba(192, 132, 252, 0.85) !important;
}

/* Mobile: rapatkan ukuran agar tetap terbaca tanpa memakan ruang */
@media (max-width: 640px) {
    #nls-ticker-strip::before,
    #nls-ticker-strip::after {
        width: 2.5rem !important;
    }
    #nls-ticker-strip .nls-ticker-item {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.8rem !important;
    }
    #nls-ticker-strip .nls-ticker-bullet {
        margin: 0 0.7rem !important;
    }
}

/* Hormati preferensi pengguna yang mengurangi animasi */
@media (prefers-reduced-motion: reduce) {
    #nls-ticker-strip .nls-ticker-track {
        animation: none !important;
        -webkit-animation: none !important;
        transform: none !important;
    }
}

/* 3. Global Omnisearch Spotlight Modal */
.nls-omni-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 29, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    padding-top: 4.5rem;
    box-sizing: border-box;
    cursor: pointer;
}
.nls-omni-backdrop.is-hidden,
.nls-omni-backdrop[style*="display: none"],
.nls-omni-backdrop[style*="display:none"],
[x-cloak].nls-omni-backdrop,
.nls-omni-backdrop[aria-hidden="true"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.nls-omni-card {
    width: 100%;
    max-width: 42rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 82vh;
    position: relative;
    z-index: 100000;
    color: #0f172a;
    cursor: default;
}
.nls-omni-card.is-hidden,
.nls-omni-card[style*="display: none"],
.nls-omni-card[style*="display:none"] {
    display: none !important;
}
html.dark .nls-omni-card {
    background: #0f172a;
    border-color: #334155;
    color: #ffffff;
}
.nls-omni-input {
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    outline: none !important;
    width: 100% !important;
}
html.dark .nls-omni-input {
    color: #ffffff !important;
}
.nls-omni-cat-bar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
html.dark .nls-omni-cat-bar {
    background: #1e293b !important;
    border-color: #334155 !important;
}
.nls-omni-result-item {
    padding: 0.75rem !important;
    border-radius: 1rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.15s ease !important;
    border: 1px solid transparent !important;
}
.nls-omni-result-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}
html.dark .nls-omni-result-item:hover {
    background: #1e293b !important;
    border-color: #334155 !important;
}

/* 4. Hero Floating Badge Optimization */
.hero-badge-pill {
    background: rgba(2, 132, 199, 0.12) !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}
html.dark .hero-badge-pill {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
}
@media (max-width: 640px) {
    .hero-badge-pill {
        padding: 2px 7px !important;
        font-size: 9.5px !important;
        gap: 4px !important;
    }
}

/* ==========================================================================
   REFORGE + MODERN EDTECH DESIGN SYSTEM (High Trust & Academic Authority)
   Palette: Royal Navy (#0F172A), Electric Blue (#2563EB), Warm Amber (#F59E0B)
   ========================================================================== */

/* Universal Font Enforcement */
body, h1, h2, h3, h4, h5, h6, p, button, a, span {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Program Bimbel & Testimonial Crisp Cards (Eliminates AI glassmorphism) */
#bimbel .tonal-card,
#testimoni .tonal-card,
#keunggulan .tonal-card,
.tonal-card {
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

#bimbel .tonal-card:hover,
#testimoni .tonal-card:hover,
.tonal-card:hover {
    border-color: #2563EB !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.06) !important;
}

html.dark #bimbel .tonal-card,
html.dark #testimoni .tonal-card,
html.dark #keunggulan .tonal-card,
html.dark .tonal-card {
    background: #0F172A !important;
    border: 1.5px solid #1E293B !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35) !important;
}

html.dark #bimbel .tonal-card:hover,
html.dark #testimoni .tonal-card:hover,
html.dark .tonal-card:hover {
    border-color: #3B82F6 !important;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.7) !important;
}

/* High-Contrast Electric Blue CTA Buttons */
a.bg-primary,
button.bg-primary,
.bg-primary {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: 1px solid #1D4ED8 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25) !important;
    border-radius: 0.75rem !important;
    transition: all 0.15s ease !important;
}

a.bg-primary:hover,
button.bg-primary:hover,
.bg-primary:hover {
    background: #1D4ED8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4) !important;
}

/* Achievement Gold & Warm Amber Highlights */
.bg-amber-badge {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #D97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

/* Feature Checkmark Emerald Pills */
.text-success-teal,
[class*="mdi--check-circle"] {
    color: #10B981 !important;
}

/* Catatan: gaya Ticker Strip lama (navy #0F172A) sudah dihapus karena
   bertabrakan dengan blok #nls-ticker-strip di atas dan membuat teks
   tak terbaca. Seluruh gaya ticker kini satu tempat (bagian "2."). */

/* ==========================================================================
   PREMIUM CINEMATIC VIDEO SHOWCASE (#kaleidoskop) - BULLETPROOF DESIGN
   ========================================================================== */
.nls-video-section {
    position: relative !important;
    padding: 5rem 0 !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%) !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
    transition: background 0.3s ease !important;
}

html.dark .nls-video-section {
    background: linear-gradient(180deg, #05131F 0%, #091E30 50%, #05131F 100%) !important;
    border-top-color: rgba(56, 189, 248, 0.2) !important;
    border-bottom-color: rgba(56, 189, 248, 0.2) !important;
}

.nls-video-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 1rem !important;
    border-radius: 9999px !important;
    background: rgba(220, 38, 38, 0.08) !important;
    border: 1px solid rgba(220, 38, 38, 0.25) !important;
    color: #DC2626 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

html.dark .nls-video-badge {
    background: rgba(220, 38, 38, 0.18) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #F87171 !important;
}

.nls-video-title {
    font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    color: #0A2540 !important;
    margin: 0 !important;
}

html.dark .nls-video-title {
    color: #FFFFFF !important;
}

.nls-video-title-accent {
    background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 50%, #F59E0B 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.nls-video-subtag {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #D97706 !important;
}

html.dark .nls-video-subtag {
    color: #FBBF24 !important;
}

.nls-video-desc {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin: 0 !important;
}

html.dark .nls-video-desc {
    color: #94A3B8 !important;
}

.nls-video-pillar-card {
    padding: 0.85rem 1rem !important;
    border-radius: 1rem !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s ease !important;
}

html.dark .nls-video-pillar-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
}

.nls-video-pillar-card:hover {
    transform: translateY(-2px) !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12) !important;
}

.nls-video-btn-play {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1.65rem !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #E11D48 0%, #DC2626 50%, #B91C1C 100%) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 0.92rem !important;
    box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
}

.nls-video-btn-play:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 14px 32px -4px rgba(225, 29, 72, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.3) inset !important;
    color: #FFFFFF !important;
}

.nls-video-btn-yt {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    padding: 0.85rem 1.4rem !important;
    border-radius: 9999px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #1E293B !important;
    font-weight: 800 !important;
    font-size: 0.92rem !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

html.dark .nls-video-btn-yt {
    background: #0F172A !important;
    border-color: #334155 !important;
    color: #F1F5F9 !important;
}

.nls-video-btn-yt:hover {
    border-color: #EF4444 !important;
    color: #DC2626 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.15) !important;
}

.nls-video-card-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 1.5rem !important;
    overflow: hidden !important;
    background: #000000 !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 25px 60px -15px rgba(2, 44, 76, 0.3), 0 0 0 1px rgba(14, 165, 233, 0.2) !important;
}

html.dark .nls-video-card-container {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(14, 165, 233, 0.25) !important;
}

@keyframes nlsPulseSlow {
    0% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}
.nls-play-ping {
    animation: nlsPulseSlow 2s cubic-bezier(0, 0, 0.2, 1) infinite !important;
}

/* ==========================================================================
   HALL OF FAME & COMMUNITY SECTION (#testimoni) - BULLETPROOF DESIGN
   ========================================================================== */
.nls-community-section {
    position: relative !important;
    padding: 5.5rem 0 !important;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%) !important;
    border-top: 1px solid #E2E8F0 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

html.dark .nls-community-section {
    background: linear-gradient(180deg, #071526 0%, #0F172A 100%) !important;
    border-top-color: #1E293B !important;
    border-bottom-color: #1E293B !important;
}

.nls-community-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 1rem !important;
    border-radius: 9999px !important;
    background: rgba(2, 132, 199, 0.08) !important;
    border: 1px solid rgba(2, 132, 199, 0.25) !important;
    color: #0284C7 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

html.dark .nls-community-badge {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    color: #38BDF8 !important;
}

.nls-community-title {
    font-size: clamp(2rem, 4vw, 2.75rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    color: #0A2540 !important;
    margin: 0.75rem 0 1rem 0 !important;
}

html.dark .nls-community-title {
    color: #FFFFFF !important;
}

.nls-community-desc {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 1.75rem !important;
}

html.dark .nls-community-desc {
    color: #94A3B8 !important;
}

.nls-feature-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    padding: 1rem !important;
    border-radius: 1.25rem !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.25s ease !important;
}

html.dark .nls-feature-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.nls-feature-item:hover {
    transform: translateX(4px) !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.1) !important;
}

.nls-feature-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3) !important;
}

.nls-btn-wa-community {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.95rem 2rem !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.45) !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.nls-btn-wa-community:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 14px 30px -4px rgba(16, 185, 129, 0.6) !important;
    color: #FFFFFF !important;
}

.nls-alumni-card {
    position: relative !important;
    padding: 1.35rem 1.25rem !important;
    border-radius: 1.35rem !important;
    background: #FFFFFF !important;
    border: 1.5px solid #E2E8F0 !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html.dark .nls-alumni-card {
    background: #0F172A !important;
    border-color: #1E293B !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.nls-alumni-card:hover {
    transform: translateY(-5px) !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 18px 35px -8px rgba(2, 132, 199, 0.18) !important;
}

html.dark .nls-alumni-card:hover {
    box-shadow: 0 18px 35px -8px rgba(0, 0, 0, 0.8) !important;
}

.nls-alumni-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 9999px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 0.85rem !important;
    text-transform: uppercase !important;
}

.nls-pill-gold {
    background: #FEF3C7 !important;
    color: #92400E !important;
    border: 1px solid #FCD34D !important;
}

html.dark .nls-pill-gold {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #FCD34D !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.nls-pill-cyan {
    background: #E0F2FE !important;
    color: #0369A1 !important;
    border: 1px solid #BAE6FD !important;
}

html.dark .nls-pill-cyan {
    background: rgba(14, 165, 233, 0.15) !important;
    color: #38BDF8 !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
}

.nls-pill-emerald {
    background: #D1FAE5 !important;
    color: #065F46 !important;
    border: 1px solid #A7F3D0 !important;
}

html.dark .nls-pill-emerald {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34D399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.nls-pill-purple {
    background: #EDE9FE !important;
    color: #5B21B6 !important;
    border: 1px solid #DDD6FE !important;
}

html.dark .nls-pill-purple {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #A78BFA !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

.nls-alumni-avatar-wrap {
    position: relative !important;
    margin-bottom: 0.85rem !important;
}

.nls-alumni-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 9999px !important;
    object-fit: cover !important;
    border: 3px solid #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2), 0 0 0 2px #0284C7 !important;
    transition: transform 0.3s ease !important;
}

.nls-alumni-card:hover .nls-alumni-avatar {
    transform: scale(1.05) !important;
}

.nls-alumni-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
}

html.dark .nls-alumni-name {
    color: #F8FAFC !important;
}

.nls-alumni-achieve {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #0284C7 !important;
    line-height: 1.35 !important;
    margin-bottom: 0.6rem !important;
}

html.dark .nls-alumni-achieve {
    color: #38BDF8 !important;
}

.nls-alumni-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #64748B !important;
    background: #F1F5F9 !important;
    padding: 0.2rem 0.65rem !important;
    border-radius: 9999px !important;
}

html.dark .nls-alumni-tag {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94A3B8 !important;
}

/* ==========================================================================
   PWA INSTALL PILL - FORTIFIED STYLING (DARK TEXT GUARANTEED)
   ========================================================================== */
#nls-pwa-install-pill {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    z-index: 999999 !important;
    display: flex;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 18px !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    box-shadow: 0 14px 35px -5px rgba(0, 46, 71, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    font-family: inherit !important;
    color: #0F172A !important;
}

#nls-pwa-install-pill.nls-pwa-hidden {
    display: none !important;
}

#nls-pwa-install-pill .pwa-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.25 !important;
    display: block !important;
}

#nls-pwa-install-pill .pwa-subtitle {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    line-height: 1.25 !important;
    display: block !important;
    margin-top: 2px !important;
}

#nls-pwa-install-pill button#nls-pwa-install-btn {
    padding: 7px 16px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FFFFFF !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
    transition: all 0.2s ease !important;
}

#nls-pwa-install-pill button#nls-pwa-install-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.5) !important;
}

#nls-pwa-install-pill button#nls-pwa-dismiss-btn {
    background: none !important;
    border: none !important;
    color: #64748B !important;
    font-size: 15px !important;
    cursor: pointer !important;
    padding: 4px 8px !important;
    margin-left: 2px !important;
    border-radius: 8px !important;
    transition: color 0.15s !important;
}

#nls-pwa-install-pill button#nls-pwa-dismiss-btn:hover {
    color: #0F172A !important;
    background: #F1F5F9 !important;
}



