/* ===================================
           CSS VARIABLES (CUSTOM HAILOVERS)
           =================================== */
        :root {
            /* Light Mode Defaults */
            --bg-color: #eef2f5;
            --text-color: #1a1a1a;
            --text-secondary: #666666;
            --accent-color: #ff4500;
            --hero-text-brand: #ff4500;
            --emoticon: #27ab22;
            --terminal: #080808;
            
            /* Warna Hero Title Mode Terang */
            --hero-title: #ff4500;
            
            /* Glassmorphism Variables (Light) */
            --glass-bg: rgba(255,255,255, 0.65);
            --glass-border: rgba(0, 0, 0, 0.1); 
            --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
            --blur: 12px;
            
            /* UI Helpers */
            --card-radius: 12px;
            --input-glass: rgba(255,255, 255, 0.4);
            --btn-text: #ffffff;
            --input-select: rgb(207 214 207 / 94%);

            /* TOMBOL DOWNLOAD HOVER (MODE TERANG) */
            --btn-hover-bg: #ff4500; /* Oranye */
            
            /* SKELETON - LEMBUT & HALUS (Light Mode) */
            --sk-base: rgba(0, 0, 0, 0.04);
            --sk-shine: rgba(0, 0, 0, 0.08);
        }

        [data-theme="dark"] {
            /* Dark Mode Specifics */
            --bg-color: #050505;
            --text-color: #e0e0e0;
            --text-secondary: #a0a0a0;
            --accent-color: #fff;
            --hero-text-brand: #27ab22;
            --emoticon: #ff4500;
            --terminal: #e6e8ea;
            
            /* Warna Hero Title Mode Gelap */
            --hero-title: #27ab22;
            
            /* Glassmorphism Variables (Dark) */
            --glass-bg: rgba(20, 20, 20, 0.6);
            --glass-border: rgba(255, 255, 255, 0.08); 
            --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
            --blur: 16px;
            
            --input-glass: rgba(255, 255, 255, 0.05);
            --btn-text: #000000;
            --input-select: rgba(13 14 13 / 92%);

            /* TOMBOL DOWNLOAD HOVER (MODE GELAP) */
            --btn-hover-bg: #27ab22; /* Hijau */

            /* SKELETON - LEMBUT & HALUS (Dark Mode) */
            --sk-base: rgba(255, 255, 255, 0.03);
            --sk-shine: rgba(255, 255, 255, 0.07);
        }

        /* RESET & BASIC SETUP */
        * { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            transition: background-color 0.5s ease, color 0.5s ease;
            overflow-x: hidden;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-bottom: 80px;
            
            /* Background Pattern */
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(255, 69, 0, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(39, 171, 34, 0.08) 0%, transparent 40%),
                radial-gradient(rgba(128, 128, 128, 0.12) 0.8px, transparent 0.8px);
            background-size: cover, cover, 40px 40px;
            background-attachment: fixed;
        }

        a { text-decoration: none; color: inherit; transition: color 0.3s; }
        ul { list-style: none; }
        button { border: none; background: none; font-family: inherit; cursor: pointer; }
        
        /* Animasi Utilities */
        .bi-spin { animation: spin 1s linear infinite; }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        /* ===================================
           HEARTBEAT ANIMATION
           =================================== */
        @keyframes heartbeat {
            0% { transform: scale(1); }
            14% { transform: scale(1.3); }
            28% { transform: scale(1); }
            42% { transform: scale(1.3); }
            70% { transform: scale(1); }
        }
        .animate-heartbeat {
            animation: heartbeat 1.5s infinite;
            display: inline-flex;
        }

        /* ===================================
           PROCESSING BOUNCE ANIMATION
           =================================== */
        @keyframes processingBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-4px); }
        }

        /* ===================================
           EXPLOSION PARTICLES
           =================================== */
        .particle {
            position: fixed;
            top: 50%; left: 50%;
            pointer-events: none;
            z-index: 3000;
            font-size: 24px;
            opacity: 1;
            will-change: transform, opacity;
        }

        /* ===================================
           SKELETON SYSTEM (LEMBUT, RADIUS HALUS)
           =================================== */
        
        /* 1. Animasi Shimmer */
        @keyframes smoothShimmer {
            0% { background-position: -150% 0; }
            100% { background-position: 150% 0; }
        }

        /* 2. Animasi Text Blur Khusus Hero */
        @keyframes textBlurFocus {
            0% { 
                filter: blur(10px); 
                opacity: 0; 
                transform: translateY(10px); 
            }
            100% { 
                filter: blur(0); 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        /* Kelas Utama Skeleton Block */
        .skeleton-block {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(
                90deg, 
                var(--sk-base) 25%, 
                var(--sk-shine) 50%, 
                var(--sk-base) 75%
            );
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            
            color: transparent !important;
            border-color: transparent !important;
            box-shadow: none !important;
            text-shadow: none !important;
            pointer-events: none;
            user-select: none;
            
            border-radius: 8px !important;
        }

        /* Sembunyikan elemen anak */
        .skeleton-block i, .skeleton-block img, .skeleton-block span {
            opacity: 0 !important;
        }

        /* Variasi Bentuk */
        .sk-circle { border-radius: 50% !important; }
        
        .sk-icon {
            width: 42px !important;
            height: 42px !important;
            line-height: 42px !important;
            border-radius: 50% !important;
            background: var(--sk-base) !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            animation: smoothShimmer 2.5s infinite ease-in-out !important;
        }
        .sk-btn { border-radius: 12px !important; }
        .sk-input { border-radius: 10px !important; }

        /* 3. Animasi Text Khusus (Untuk Hero) */
        .hero-text-anim {
            animation: textBlurFocus 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }

        /* ==========================================
           GLOBAL LOADING STATES (REFRESH) - UPDATED
           ========================================== */
        
        /* MENU NAVIGASI */
        body.is-loading .nav-link {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-color: transparent !important;
            display: inline-block;
            height: 12px;
            width: auto;
            min-width: 50px;
            border-radius: 8px !important;
            padding: 0 !important;
            margin: 4px 0;
        }
        body.is-loading .nav-link::after { display: none !important; }

        /* LOGO & HERO ICONS */
        body.is-loading .nav-logo span,
        body.is-loading .hero-logo img {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-color: transparent !important;
            border-radius: 8px !important;
        }
        
        /* PRODUK: JUDUL & DESKRIPSI */
        body.is-loading .card-title-link,
        body.is-loading .card-desc {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-color: transparent !important;
            border-radius: 8px !important; 
            height: 1.2em;
            display: inline-block;
        }

        /* ITEM PRODUK LAINNYA */
        body.is-loading .icon-wrapper {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            border-color: transparent !important;
            border-radius: 10px !important;
        }
        body.is-loading .icon-wrapper img { opacity: 0 !important; }

        body.is-loading .star-stats {
            background: var(--sk-base) !important;
            border-radius: 12px !important;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            border-color: transparent !important;
            color: transparent !important;
        }
        body.is-loading .star-stats i { opacity: 0 !important; }

        body.is-loading .action-icon {
            background: var(--sk-base) !important;
            border-radius: 10px !important;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            border-color: transparent !important;
            color: transparent !important;
        }
        body.is-loading .action-icon i { opacity: 0 !important; }

        /* SECTION TITLE */
        body.is-loading .section-title {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-radius: 8px !important;
            display: inline-block;
            height: 1.5em;
        }
        body.is-loading .section-icon { opacity: 0 !important; }

        /* ===================================
           FIX SKELETON TESTIMONIAL
           =================================== */
        body.is-loading .testimonial-card {
            display: flex !important;
            gap: 12px !important;
            align-items: flex-start !important;
        }

        body.is-loading .testi-avatar-wrapper {
            background-color: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            width: 36px; 
            height: 36px;
            border-radius: 50%;
        }
        body.is-loading .testi-avatar {
            opacity: 0 !important;
        }

        body.is-loading .testi-text {
            background: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-radius: 6px !important;
            height: 36px;
            width: 100%;
            display: block;
        }

        body.is-loading .testi-meta {
            display: flex !important;
            align-items: center !important;
            gap: 6px !important;
            width: 100%;
        }

        body.is-loading .testi-author {
            background: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-radius: 4px !important;
            height: 12px;
            width: 45%;
            display: inline-block;
            flex-shrink: 0;
        }

        body.is-loading .testi-role {
            background: var(--sk-base) !important;
            background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-shine) 50%, var(--sk-base) 75%);
            background-size: 200% 100%;
            animation: smoothShimmer 2.5s infinite ease-in-out;
            color: transparent !important;
            border-radius: 4px !important;
            height: 12px;
            width: 30%;
            display: inline-block;
            flex-shrink: 0;
        }

        body.is-loading .testi-divider { display: none !important; }

        /* ===================================
           GLASSMORPHISM BASE CLASS
           =================================== */
        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(var(--blur)) saturate(180%);
            -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
        }

        /* ===================================
           NAVBAR
           =================================== */
        .navbar {
            position: fixed; width: 100%; max-width: 900px; z-index: 1000;
            left: 50%; transform: translateX(-50%); padding: 0 20px;
        }
        .nav-content {
            display: flex; align-items: center; color: var(--text-color); 
            padding: 14px 24px; position: relative; z-index: 1002;
            transition: all 0.3s ease;
            background: var(--glass-bg);
            backdrop-filter: blur(var(--blur));
            border: 1px solid var(--glass-border);
            box-shadow: var(--glass-shadow);
        }
        .navbar.top-nav { top: 0; }
        .navbar.top-nav .nav-content { justify-content: space-between; border-radius: 0 0 20px 20px; }
        .navbar.bottom-nav { top: auto; bottom: 0; }
        .navbar.bottom-nav .nav-content { justify-content: center; border-radius: 20px 20px 0 0; padding-top: 20px; padding-bottom: 20px; }

        .nav-logo { font-weight: 800; font-size: 22px; display: flex; align-items: center; user-select: none; color: var(--text-color); z-index: 1003; }
        .nav-logo img { height: 24px; width: 24px; max-height: 40px; max-width: 180px; object-fit: contain; margin-right: 8px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
        
        .text-hai { color: var(--accent-color); }
        .text-lovers { color: #27ab22; }
        [data-theme="light"] .text-hai { color: #ff4500; }

        .nav-menu { display: flex; gap: 28px; }
        .nav-link { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-secondary); cursor: pointer; position: relative; transition: color 0.3s; padding: 4px 0; white-space: nowrap; }
        .nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -2px; left: 0; background-color: var(--accent-color); transition: width 0.3s; }
        .nav-link:hover { color: var(--text-color); }
        .nav-link:hover::after { width: 100%; }

        .nav-actions { display: flex; align-items: center; gap: 12px; }
        .theme-toggle, .btn-login { background: var(--input-glass); color: var(--text-color); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; border: 1px solid var(--glass-border); }
        .btn-login { width: auto; padding: 0 16px; border-radius: 18px; font-weight: 600; font-size: 12px; }
        
        .theme-toggle:hover, .btn-login:hover { background: var(--accent-color); color: #000; transform: scale(1.1); }
        [data-theme="light"] .theme-toggle:hover, [data-theme="light"] .btn-login:hover { color: #fff; }

        /* Notification Bell Icon */
        .notification-bell { background: var(--input-glass); color: var(--text-color); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; border: 1px solid var(--glass-border); position: relative; font-size: 18px; }
        .notification-bell:hover { background: var(--accent-color); color: #000; transform: scale(1.1); }
        [data-theme="light"] .notification-bell:hover { color: #fff; }
        .notif-badge { position: absolute; top: -8px; right: -8px; background: #ff4757; color: white; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; border: 2px solid var(--bg-color); animation: pulse 2s infinite; }
        @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

        .user-avatar { display: none; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent-color); overflow: hidden; cursor: pointer; }
        .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .menu-btn { display: none; font-size: 24px; color: var(--text-color); }

        .mobile-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--glass-bg); backdrop-filter: blur(var(--blur)); z-index: 1001; flex-direction: column; border-bottom: 1px solid var(--glass-border); border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; overflow: hidden; box-shadow: var(--glass-shadow); animation: slideDown 0.3s; }
        .mobile-menu.active { display: flex; }
        .mobile-link { display: block; padding: 18px 24px; font-size: 15px; font-weight: 500; color: var(--text-color); border-bottom: 1px solid var(--glass-border); transition: background 0.2s; }
        .mobile-link:hover { background: rgba(125,125,125,0.1); padding-left: 32px; color: var(--accent-color); }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        .footer-text { font-size: 13px; font-weight: 500; color: var(--text-secondary); text-align: center; letter-spacing: 0.5px; }

        /* ===================================
           MAIN CONTENT
           =================================== */
        .main-container { 
            width: 100%; 
            max-width: 900px; 
            margin-top: 100px; 
            padding: 0 20px 40px 20px; 
            position: relative; 
            z-index: 1;
        }
        
        .hero-section { text-align: center; margin-bottom: 40px; }
        .hero-logo { position: relative; display: inline-block; margin-bottom: 20px; }
        .hero-logo img { width: 50px; height: 50px; border-radius: 16px; box-shadow: 0 10px 25px var(--glass-shadow); animation: float 4s ease-in-out infinite; }
        
        .hero-text h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
        .hero-title { color: var(--hero-title); transition: color 0.5s ease; }
        .hero-subtitle { color: var(--text-secondary); font-size: 14px; max-width: 600px; margin: 0 auto; }

        /* PRODUCT GRID (GLASS CARDS) */
        .grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
        
        .link-card {
            background: var(--glass-bg); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
            border-radius: var(--card-radius);
            padding: 15px;
            display: flex; align-items: center; justify-content: space-between;
            position: relative; overflow: hidden; 
            transition: all 0.3s;
            cursor: default; 
            opacity: 0; transform: translateY(20px);
            animation: fadeInUp 0.6s forwards;
        }
        .link-card:hover { transform: translateY(-4px); border-color: var(--accent-color); }
        
        .card-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
        .icon-wrapper { 
            width: 40px; height: 40px; background: var(--input-glass); 
            border-radius: 10px; display: flex; align-items: center; justify-content: center; 
            flex-shrink: 0; transition: all 0.3s; border: 1px solid var(--glass-border); pointer-events: none; 
        }
        .icon-wrapper img { width: 24px; height: 24px; object-fit: contain; border-radius: 5px;}
        
        .link-card:hover .icon-wrapper { 
            background: var(--accent-color); 
            border-color: var(--accent-color); 
            transform: rotate(-10deg) scale(1.1); 
        }
        
        .card-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; overflow: hidden; }
        .card-title-link { font-size: 14px; font-weight: 700; color: var(--text-color); margin-bottom: 4px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .card-title-link:hover { color: var(--accent-color); }
        .card-desc { font-size: 10px; color: var(--text-secondary); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
        
        .card-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        .star-stats { font-size: 11px; font-weight: 700; color: var(--text-color); display: flex; align-items: center; gap: 4px; background: var(--input-glass); padding: 5px 10px; border-radius: 12px; border: 1px solid var(--glass-border); white-space: nowrap; }
        .star-stats i { color: #ffd700; font-size: 10px; }

        .action-icon {
            width: 38px; height: 38px; border-radius: 10px; background: var(--input-glass);
            color: var(--text-color); display: flex; align-items: center; justify-content: center;
            font-size: 16px; transition: all 0.3s; 
            cursor: pointer; pointer-events: auto; flex-shrink: 0;
            border: 1px solid var(--glass-border);
        }
        
        .action-icon:hover { 
            background: var(--btn-hover-bg); 
            color: #000; 
            border-color: var(--btn-hover-bg);
            transform: scale(1.05);
        }

        /* STATE: LOCKED */
        .action-icon.locked {
            opacity: 0.4;
            pointer-events: none;
            filter: grayscale(1);
            cursor: not-allowed;
            border-color: var(--glass-border) !important;
            background: var(--input-glass) !important;
            transform: none !important;
            color: var(--text-secondary) !important;
        }
        
        /* STATE: PROCESSING */
        .action-icon.btn-processing {
            opacity: 1 !important;
            filter: none !important;
            background: var(--btn-hover-bg) !important;
            color: #fff !important;
            border-color: var(--btn-hover-bg) !important;
            animation: processingBounce 1s infinite ease-in-out;
            pointer-events: none;
        }
        
        .action-icon.success { background: #27ab22; color: #fff; border-color: #27ab22; animation: none !important; }

        /* TESTIMONIALS */
        .testimonials-section { margin-top: 40px; animation: fadeInUp 0.8s 0.3s forwards; opacity: 0; }
        .section-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
        .section-title { font-size: 18px; font-weight: 700; color: var(--text-color); }
        .section-icon { color: var(--accent-color); font-size: 20px; }
        
        .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
        .testimonial-card {
            background: var(--glass-bg); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
            border-radius: var(--card-radius);
            padding: 16px; 
            display: flex; gap: 12px; align-items: flex-start; 
            transition: transform 0.3s;
        }
        /* Testimonial Wrapper & Avatar Fix */
        .testi-avatar-wrapper { 
            width: 36px; height: 36px; 
            border-radius: 50%; 
            border: 2px solid var(--glass-border); 
            flex-shrink: 0; 
            overflow: hidden;
            position: relative;
        }
        .testi-avatar { 
            width: 100%; height: 100%; object-fit: cover; 
            display: block; 
        }
        
        .testi-content { flex: 1; display: flex; flex-direction: column; justify-content: center;}
        .testi-text { font-size: 12px; color: var(--text-color); font-style: italic; margin-bottom: 10px; line-height: 1.5; }
        .testi-meta { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .testi-author { font-size: 12px; font-weight: 700; color: var(--accent-color); }
        .testi-divider { font-size: 10px; color: var(--text-secondary); opacity: 0.7; }
        .testi-role { font-size: 10px; color: var(--text-secondary); text-transform: uppercase; font-weight: 500; }

        /* Animation Delays */
        .link-card:nth-child(1) { animation-delay: 0.05s; }
        .link-card:nth-child(2) { animation-delay: 0.1s; }
        .link-card:nth-child(3) { animation-delay: 0.15s; }
        .link-card:nth-child(4) { animation-delay: 0.2s; }
        .link-card:nth-child(5) { animation-delay: 0.25s; }
        .link-card:nth-child(6) { animation-delay: 0.3s; }
        .link-card:nth-child(7) { animation-delay: 0.35s; }
        .link-card:nth-child(8) { animation-delay: 0.4s; }

        /* ===================================
           MODALS (GLASS)
           =================================== */
        .modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 2000;
            display: none; justify-content: center; align-items: center;
            opacity: 0; transition: opacity 0.3s; padding: 20px;
        }
        .modal-overlay.active { display: flex; opacity:1; }
        .modal-box {
            background: var(--glass-bg); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
            width: 90%; max-width: 350px; padding: 30px 24px;
            border-radius: 24px; text-align: center;
            transform: scale(0.9) translateY(20px); transition: all 0.4s;
            position: relative; overflow: hidden;
        }
        .modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
        .modal-box::before { content: ''; position: absolute; top: -50px; left: -50px; width: 100px; height: 100px; background: var(--accent-color); opacity: 0.1; border-radius: 50%; filter: blur(20px); }
        .modal-icon { font-size: 42px; color: var(--accent-color); margin-bottom: 20px; display: inline-block; animation: float 3s ease-in-out infinite; }
        .modal-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text-color); position: relative; text-align: center; }
        .modal-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; position: relative; }
        .modal-btn { background: var(--accent-color); color: #000; padding: 12px 28px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: all 0.3s; width: 100%; font-size: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: relative; display: inline-block; text-align: center;}
        [data-theme="light"] .modal-btn { color: #fff; } 
        .modal-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
        .modal-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

        /* Forms */
        .auth-form, .testi-form { display: none; flex-direction: column; gap: 16px; text-align: left; animation: fadeIn 0.4s; }
        .auth-form.active, .testi-form.active { display: flex; }
        .form-group { display: flex; flex-direction: column; gap: 6px; }
        .form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
        .form-input, .form-textarea { width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--input-glass); color: var(--text-color); font-family: inherit; font-size: 14px; backdrop-filter: blur(4px); transition: all 0.3s; }
        .form-textarea { resize: vertical; min-height: 80px; }
        .form-input:focus, .form-textarea:focus { border-color: var(--accent-color); background: var(--glass-bg); box-shadow: 0 0 0 4px rgba(255,255,255,0.05); }
        .auth-switch { font-size: 13px; color: var(--text-secondary); margin-top: 8px; text-align: center; }
        .auth-switch span { color: var(--accent-color); font-weight: 700; cursor: pointer; text-decoration: none; }

        /* Star Rating Input */
        .star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; }
        .star-rating-input input { display: none; }
        .star-rating-input label { font-size: 24px; color: var(--glass-border); cursor: pointer; transition: color 0.2s; margin: 0; text-transform: none; }
        .star-rating-input input:checked ~ label, .star-rating-input label:hover, .star-rating-input label:hover ~ label { color: #ffd700; }

        /* TOAST NOTIFICATION */
        #toast-container { position: fixed; top: 90px; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 12px; width: 90%; max-width: 380px; pointer-events: none; }
        .toast { background: var(--glass-bg); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); color: var(--text-color); padding: 14px 18px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 14px; border-left: 5px solid var(--accent-color); opacity: 0; transform: translateY(-30px) scale(0.9); transition: all 0.4s; pointer-events: auto; font-size: 13px; font-weight: 500; border: 1px solid var(--glass-border); }
        .toast.show { opacity: 1; transform: translateY(0) scale(1); }
        .toast i { font-size: 18px; color: var(--accent-color); }
        .toast.success i { color: #27ab22; }
        .toast.success { border-left-color: #27ab22; }

        /* Keyframes */
        @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } }
        @keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

        /* ===================================
           MODAL SUPPORT KHUSUS (Love & Star)
           =================================== */
        .support-options-container {
            display: flex; justify-content: center; gap: 30px; margin: 20px 0;
        }
        .btn-support {
            width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--glass-border);
            background: var(--input-glass); display: flex; align-items: center; justify-content: center;
            font-size: 32px; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .btn-support:hover { transform: scale(1.15); border-color: var(--accent-color); }
        .btn-support.opt-star { color: #ffd700; }
        .btn-support.opt-heart { color: #ff4757; }

        /* ===================================
           RESPONSIVE MOBILE FIXES
           =================================== */
        @media (max-width: 921px) {
            .navbar {
                width: 95%;
                max-width: 100%;
                padding: 0;
            }
            .nav-content { padding-left: 15px; padding-right: 15px; }
            .navbar.top-nav .nav-content { border-radius: 0 0 20px 20px; }
            .navbar.bottom-nav .nav-content { border-radius: 20px 20px 0 0; }
        }

        @media (max-width: 600px) {
            .nav-menu { display: none; } .menu-btn { display: block; }
            .grid-container { grid-template-columns: 1fr; gap: 10px; }
            .main-container { padding: 0 16px 20px 16px; margin-top: 85px; }
            .link-card { padding: 18px; align-items: center; }
            .card-left { gap: 10px; }
            .icon-wrapper { width: 38px; height: 38px; } 
            .icon-wrapper img { width: 20px; height: 20px; }
            .card-info { flex: 1; }
            .card-title-link { font-size: 13px; margin-bottom: 2px; }
            .card-desc { font-size: 9px; }
            .card-right { flex-direction: row; gap: 6px; margin-left: 6px; }
            .star-stats { font-size: 10px; padding: 4px 8px; border-radius: 8px; }
            .action-icon { width: 32px; height: 32px; font-size: 14px; }

            .testimonial-grid { grid-template-columns: 1fr; gap: 10px; }
            .testimonial-card { padding: 12px; gap: 12px; align-items: center; }
            .testi-avatar-wrapper { width: 38px; height: 38px; }
            .testi-text { font-size: 12px; }
            
            .footer-text { font-size: 12px; }
            .nav-logo img { max-width: 130px; max-height: 30px; }
            .nav-logo { font-size: 18px; }
            .hero-text h1 { font-size: 22px; }
            .hero-subtitle { font-size: 13px; }
            .section-title { font-size: 16px; }
        }

        /* Pastikan Navbar dan anak-anaknya selalu bisa diklik */
        .navbar, 
        .nav-content, 
        .nav-menu, 
        .nav-actions,
        .nav-link,
        .nav-link::after,
        .theme-toggle,
        .btn-login,
        .user-avatar,
        .menu-btn {
            pointer-events: auto !important;
            cursor: pointer !important;
        }

        /* Pastikan tidak ada event blocking dari parent */
        body.is-loading .nav-link {
            pointer-events: auto !important;
            cursor: pointer !important;
        }

        /* Mobile Menu Fix */
        .mobile-menu {
            pointer-events: auto !important;
        }
        .mobile-link {
            pointer-events: auto !important;
        }

        /* Pastikan tombol tema selalu di atas dan bisa diklik */
        #theme-toggle {
            position: relative !important;
            z-index: 9999 !important;
            pointer-events: auto !important;
            cursor: pointer !important;
        }

        /* Pastikan icon di dalam tombol juga bisa diklik (jika user klik tepat di icon) */
        #theme-toggle i {
            pointer-events: none !important; /* Biarkan klik tembus ke button */
        }

        /* Pastikan menu mobile dan tombol login juga aman */
        #menu-btn, .btn-login {
            position: relative !important;
            z-index: 9999 !important;
            pointer-events: auto !important;
            cursor: pointer !important;
        }

        /* Fix global agar body tidak memblokir event */
        body {
            pointer-events: auto !important;
        }

        /* Fix agar glassmorphism tidak memblokir klik jika ada overflow hidden */
        .nav-content {
            overflow: visible !important;
        }

        /* === TOGGLE SWITCH STYLES === */
        input[type="checkbox"].form-toggle {
            appearance: none;
            -webkit-appearance: none;
            width: 50px;
            height: 26px;
            background-color: var(--glass-border);
            border: 1px solid var(--glass-border);
            border-radius: 13px;
            cursor: pointer;
            position: relative;
            transition: background-color 0.3s ease;
            outline: none;
        }

        input[type="checkbox"].form-toggle:before {
            content: '';
            position: absolute;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background-color: white;
            top: 1px;
            left: 1px;
            transition: left 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        input[type="checkbox"].form-toggle:checked {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
        }

        input[type="checkbox"].form-toggle:checked:before {
            left: 26px;
        }

        input[type="checkbox"].form-toggle:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* === FORM TEXTAREA === */
        .form-textarea {
            display: block;
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--glass-border);
            border-radius: 8px;
            background: var(--input-glass);
            color: var(--text-color);
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            resize: vertical;
            transition: all 0.2s;
        }

        .form-textarea:focus {
            outline: none;
            border-color: var(--accent-color);
            background: rgba(255, 69, 0, 0.05);
        }

        [data-theme="dark"] .form-textarea:focus {
            background: rgba(255, 255, 255, 0.1);
        }

        /* ===== NOTIFICATION PANEL STYLES ===== */
        .notification-panel {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            width: 350px;
            max-height: 500px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            box-shadow: var(--glass-shadow);
            backdrop-filter: blur(var(--blur));
            z-index: 1000;
            overflow: hidden;
            animation: slideDown 0.3s ease;
        }

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

        .notification-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            border-bottom: 1px solid var(--glass-border);
        }

        .notification-header h3 {
            margin: 0;
            font-size: 16px;
            font-weight: 700;
            color: var(--text-color);
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s;
        }

        .close-btn:hover {
            color: var(--text-color);
        }

        .notification-list {
            flex: 1;
            overflow-y: auto;
            max-height: 400px;
        }

        .notification-item {
            padding: 12px 16px;
            border-bottom: 1px solid var(--glass-border);
            transition: background 0.2s;
            cursor: pointer;
        }

        .notification-item:last-child {
            border-bottom: none;
        }

        .notification-item:hover {
            background: rgba(125, 125, 125, 0.1);
        }

        .notification-item.unread {
            background: rgba(39, 171, 34, 0.1);
        }

        .notification-content h4 {
            margin: 0 0 4px 0;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-color);
        }

        .notification-content p {
            margin: 0 0 8px 0;
            font-size: 12px;
            color: var(--text-secondary);
            line-height: 1.4;
        }

        .notification-content small {
            font-size: 10px;
            color: var(--text-secondary);
            opacity: 0.7;
        }

        .notification-empty {
            padding: 40px 16px;
            text-align: center;
            color: var(--text-secondary);
            font-size: 13px;
        }

        /* ===== TOAST NOTIFICATIONS ===== */
        .toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
    
            width: auto;
            min-width: 350px;
            max-width: 90%;
            transform: translateX(-50%) translateY(20px);
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            box-shadow: var(--glass-shadow);
            backdrop-filter: blur(var(--blur));
            z-index: 2000;
            transition: opacity 0.3s ease, transform 0.3s ease;
            opacity: 0; /* Mulai dengan transparan */
        }
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0); /* Kembali ke posisi tengah normal */
        }

        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(100px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .toast i {
            font-size: 20px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .toast-content {
            flex: 1;
        }

        .toast-content strong {
            display: block;
            font-size: 13px;
            color: var(--text-color);
            margin-bottom: 4px;
        }

        .toast-content p {
            margin: 0;
            font-size: 12px;
            color: var(--text-secondary);
        }

        .toast-success {
            border-left: 3px solid #27ab22;
        }

        .toast-success i {
            color: #27ab22;
        }

        .toast-error {
            border-left: 3px solid #e74c3c;
        }

        .toast-error i {
            color: #e74c3c;
        }

        .toast-warning {
            border-left: 3px solid #f39c12;
        }

        .toast-warning i {
            color: #f39c12;
        }

        .toast-info {
            border-left: 3px solid #3498db;
        }

        .toast-info i {
            color: #3498db;
        }

        @media (max-width: 600px) {
            .notification-panel {
                width: calc(100vw - 40px);
                max-width: none;
                right: 20px;
                left: 20px;
            }

            .toast {
                width: calc(100vw - 40px);
                max-width: none;
            }
        }
