        /* ========================================
           MAIN STYLE - CapitalhostID
           ======================================== */
        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #0f172a;
            --text-light: #f8fafc;
            --text-dark: #1e293b;
            --bg-light: #ffffff;
            --bg-gray: #f1f5f9;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--bg-light);
            overflow-x: hidden;
        }

        .container {
            width: 90%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ========== PRELOADER ========== */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0f172a, #1e293b);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 0.5s;
        }
        .preloader.hide {
            opacity: 0;
            visibility: hidden;
        }
        .preloader-cube {
            width: 80px;
            height: 80px;
            position: relative;
            margin: 0 auto 2rem;
            transform-style: preserve-3d;
            animation: cubeRotate 2s infinite linear;
        }
        .cube-face {
            position: absolute;
            width: 80px;
            height: 80px;
            opacity: 0.9;
        }
        .cube-face.front { transform: translateZ(40px); background: #2563eb; }
        .cube-face.back { transform: rotateY(180deg) translateZ(40px); background: #8b5cf6; }
        .cube-face.right { transform: rotateY(90deg) translateZ(40px); background: #10b981; }
        .cube-face.left { transform: rotateY(-90deg) translateZ(40px); background: #f59e0b; }
        .cube-face.top { transform: rotateX(90deg) translateZ(40px); background: #ec489a; }
        .cube-face.bottom { transform: rotateX(-90deg) translateZ(40px); background: #1d4ed8; }
        @keyframes cubeRotate {
            0% { transform: rotateX(0) rotateY(0); }
            100% { transform: rotateX(360deg) rotateY(360deg); }
        }
        .preloader-text {
            text-align: center;
            color: white;
            font-size: 1.5rem;
            font-weight: 700;
        }
        .preloader-text span { color: #2563eb; }
        .preloader-bar {
            width: 200px;
            height: 3px;
            background: rgba(255,255,255,0.2);
            border-radius: 10px;
            margin: 1rem auto;
            overflow: hidden;
        }
        .preloader-progress {
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #2563eb, #10b981);
            animation: progressAnim 1.5s ease-in-out;
        }
        @keyframes progressAnim {
            0% { width: 0%; }
            100% { width: 100%; }
        }

        /* ========== NAVBAR ========== */
        .navbar {
            background: var(--secondary);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-brand a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text-light);
            text-decoration: none;
        }

        .nav-brand i { color: var(--primary); font-size: 1.8rem; }
        .nav-brand span span { color: var(--primary); }

        .nav-wrapper {
            display: flex;
            flex: 1;
            justify-content: space-between;
            align-items: center;
            padding-left: 2rem;
        }

        .nav-mobile-header { display: none; }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .nav-menu a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        .nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
        .nav-cta {
            display: flex;
            align-items: center;
        }
        .btn-wa {
            background: #25D366;
            color: white;
            padding: 0.6rem 1.2rem;
            border-radius: 50px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 10px;
            padding: 8px;
            width: 44px;
            height: 44px;
        }
        .hamburger span {
            width: 20px;
            height: 2px;
            background: white;
            margin: 2.5px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        /* ========== DOWNLOAD HERO ========== */
        .download-hero {
            background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
            padding: 6rem 0 3rem;
            text-align: center;
        }
        .download-hero h1 {
            font-size: 2.5rem;
            color: white;
            margin-bottom: 1rem;
        }
        .download-hero p {
            color: #cbd5e1;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ========== FILTER SECTION ========== */
        .filter-section {
            padding: 2rem 0;
            background: var(--bg-gray);
            position: sticky;
            top: 70px;
            z-index: 99;
            border-bottom: 1px solid #e2e8f0;
        }
        .filter-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .filter-tabs {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .filter-chip {
            padding: 0.6rem 1.2rem;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }
        .filter-chip:hover, .filter-chip.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .filter-search {
            display: flex;
            align-items: center;
            background: white;
            border-radius: 50px;
            padding: 0.3rem 0.3rem 0.3rem 1rem;
            border: 1px solid #e2e8f0;
        }
        .filter-search input {
            border: none;
            padding: 0.5rem;
            width: 200px;
            outline: none;
        }
        .filter-search button {
            background: var(--primary);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            color: white;
            cursor: pointer;
        }

        /* ========== DOWNLOAD GRID ========== */
        .download-grid {
            padding: 3rem 0;
        }
        .downloads-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }
        .download-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.3s;
            border: 1px solid #e2e8f0;
            position: relative;
        }
        .download-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .download-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            padding: 0.3rem 1rem;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
            z-index: 1;
        }
        .download-badge.featured { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
        .download-badge.popular { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
        .download-badge.new { background: linear-gradient(135deg, #10b981, #059669); color: white; }
        
        .download-image {
            height: 180px;
            overflow: hidden;
            position: relative;
        }
        .download-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        .download-card:hover .download-image img {
            transform: scale(1.1);
        }
        .download-image .overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            padding: 1rem;
        }
        .download-type {
            display: inline-block;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
        }
        .download-type.world { background: #10b981; color: white; }
        .download-type.addon { background: #f59e0b; color: white; }
        
        .download-info { padding: 1.5rem; }
        .download-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
        .download-meta {
            display: flex;
            gap: 1rem;
            font-size: 0.75rem;
            color: #64748b;
            margin-bottom: 0.8rem;
            flex-wrap: wrap;
        }
        .download-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
        .download-description {
            color: #475569;
            font-size: 0.85rem;
            margin-bottom: 1rem;
            line-height: 1.5;
        }
        .download-tags {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }
        .download-tag {
            background: #f1f5f9;
            padding: 0.2rem 0.6rem;
            border-radius: 50px;
            font-size: 0.7rem;
            color: #64748b;
        }
        .download-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            padding-top: 0.5rem;
            border-top: 1px solid #e2e8f0;
        }
        .download-count { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: #64748b; }
        .download-version { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--primary); font-weight: 600; }
        .download-actions { display: flex; gap: 1rem; }
        .btn-download-file {
            flex: 1;
            background: var(--primary);
            color: white;
            padding: 0.7rem;
            border-radius: 50px;
            text-align: center;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            text-decoration: none;
            transition: all 0.3s;
        }
        .btn-download-file:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        .btn-preview-file {
            background: #f1f5f9;
            color: var(--text-dark);
            padding: 0.7rem 1.2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s;
        }
        .btn-preview-file:hover {
            background: var(--primary);
            color: white;
        }

        /* ========== MODAL ========== */
        .preview-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        .preview-modal.active { display: flex; }
        .preview-container {
            background: white;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
        }
        .preview-header {
            padding: 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .preview-close { font-size: 1.5rem; cursor: pointer; color: #94a3b8; }
        .preview-body { padding: 1.5rem; }
        .preview-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid #e2e8f0;
            display: flex;
            gap: 1rem;
        }
        .preview-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 1rem;
        }

        /* ========== FOOTER ========== */
        .footer {
            background: #0f172a;
            color: white;
            padding: 3rem 0 2rem;
            margin-top: 2rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-brand a {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            text-decoration: none;
            margin-bottom: 1rem;
        }
        .footer-brand i { color: var(--primary); }
        .footer-brand span span { color: var(--primary); }
        .footer-brand p { color: #94a3b8; margin: 1rem 0; font-size: 0.9rem; }
        .footer-social { display: flex; gap: 1rem; }
        .footer-social a {
            width: 35px;
            height: 35px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: all 0.3s;
        }
        .footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
        .footer-links h4, .footer-contact h4 { margin-bottom: 1rem; font-size: 1rem; }
        .footer-links ul, .footer-contact ul { list-style: none; }
        .footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
        .footer-links a, .footer-contact a { color: #94a3b8; text-decoration: none; transition: all 0.3s; }
        .footer-links a:hover { color: var(--primary); padding-left: 5px; }
        .footer-contact li { display: flex; align-items: center; gap: 0.5rem; color: #94a3b8; font-size: 0.9rem; }
        .footer-contact i { width: 20px; color: var(--primary); }
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.8rem;
            color: #64748b;
        }
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 45px;
            height: 45px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
        }
        .back-to-top.show { opacity: 1; visibility: visible; }
        .back-to-top:hover { transform: translateY(-5px); }

        /* ========== EMPTY STATE ========== */
        .empty-state {
            text-align: center;
            padding: 4rem;
            background: #f8fafc;
            border-radius: 20px;
        }
        .empty-state i { font-size: 4rem; color: #94a3b8; margin-bottom: 1rem; }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 768px) {
            .hamburger { display: flex; }
            
            .nav-wrapper {
                position: fixed;
                top: 80px;
                left: 5%;
                width: 90%;
                background: rgba(15, 23, 42, 0.95);
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 16px;
                flex-direction: column;
                align-items: stretch;
                padding: 1.5rem;
                gap: 1.5rem;
                transition: opacity 0.3s ease, transform 0.3s ease;
                z-index: 1001;
                opacity: 0;
                pointer-events: none;
                transform: translateY(-20px);
                display: flex;
            }
            .nav-wrapper.active {
                opacity: 1;
                pointer-events: auto;
                transform: translateY(0);
            }
            .nav-wrapper::before {
                content: '';
                position: fixed;
                top: -80px;
                left: -10vw;
                width: 120vw;
                height: 120vh;
                background: rgba(0,0,0,0.6);
                z-index: -1;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease;
            }
            .nav-wrapper.active::before {
                opacity: 1;
                pointer-events: auto;
            }
            .nav-mobile-header {
                display: flex !important;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                padding-bottom: 1rem;
                margin-bottom: 0.5rem;
            }
            .nav-mobile-close {
                background: transparent;
                border: none;
                color: #94a3b8;
                font-size: 1.2rem;
            }
            .nav-menu {
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
                width: 100%;
            }
            .nav-menu a {
                display: flex;
                align-items: center;
                width: 100%;
                padding: 12px 0;
                font-size: 1rem;
                border-bottom: 1px solid rgba(255,255,255,0.05);
                color: #f8fafc;
            }
            .nav-menu a::after { display: none; }
            .nav-menu a[href="index.php"]::before { content: "\f015"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 15px; color: #94a3b8; width: 20px; text-align: center; }
            .nav-menu a[href="katalog.php"]::before { content: "\f022"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 15px; color: #94a3b8; width: 20px; text-align: center; }
            .nav-menu a[href="download.php"]::before { content: "\f019"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 15px; color: #94a3b8; width: 20px; text-align: center; }
            .nav-menu a[href="index.php#fitur"]::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 15px; color: #94a3b8; width: 20px; text-align: center; }
            .nav-menu a[href="index.php#testimonial"]::before { content: "\f086"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 15px; color: #94a3b8; width: 20px; text-align: center; }

            .nav-cta {
                display: flex;
                flex-direction: column;
                width: 100%;
                gap: 10px;
                margin-top: 10px;
            }
            .nav-cta a {
                width: 100%;
                text-align: center;
                padding: 12px !important;
                margin: 0 !important;
                border-radius: 8px !important;
            }
            .nav-cta .btn-login {
                border: 1px solid rgba(255,255,255,0.2);
                background: transparent;
                color: white !important;
            }
            .nav-cta .btn-register {
                background: var(--primary) !important;
                color: white !important;
            }
            .nav-cta .btn-wa { display: none; }
            .filter-container { flex-direction: column; align-items: stretch; }
            .filter-search input { flex: 1; width: auto; }
            .downloads-grid { grid-template-columns: 1fr; }
            .download-actions { flex-direction: column; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-social { justify-content: center; }
            .footer-contact li { justify-content: center; }
            .footer-bottom { flex-direction: column; text-align: center; }
            .back-to-top { bottom: 1rem; right: 1rem; }
        }
