/* =========================================================
   ORION ZERA - HAMBURGER DROPDOWN NAVBAR (SILVER COSMIC)
   ========================================================= */

/* Reset body padding agar konten tidak tertutup header */
body {
    padding-top: 80px !important; 
    margin: 0;
    box-sizing: border-box;
}

/* =========================
   TOP HEADER BAR
========================= */
.dex-header {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 72px;
    background: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    /* Z-Index diturunkan menjadi 50 agar tertutupi oleh Modal Token (100) */
    z-index: 50; 
    box-sizing: border-box;
}

/* =========================
   BRAND & LOGO
========================= */
.dex-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dex-logo { 
    height: 32px; 
    width: auto; 
    filter: drop-shadow(0 0 8px rgba(192, 192, 192, 0.4)); 
}

.dex-brand-text {
    font-weight: 800; 
    font-size: 18px; 
    color: #fff;
    background: linear-gradient(90deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

/* =========================
   ACTIONS (Jaringan & Hamburger)
========================= */
.dex-actions {
    display: flex; 
    align-items: center; 
    gap: 16px;
}

.network-badge {
    display: flex; 
    align-items: center; 
    gap: 8px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.2);
    padding: 6px 14px; 
    border-radius: 20px;
    color: #e2e8f0; 
    font-size: 13px; 
    font-weight: 600;
}

.status-dot {
    width: 8px; 
    height: 8px; 
    background: #10b981; 
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

/* =========================
   TOMBOL GARIS 3 (HAMBURGER)
========================= */
.hamburger-btn {
    background: transparent;
    border: none;
    color: #c0c0c0; /* Silver Color */
    font-size: 32px; /* Ukuran icon besar */
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hamburger-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.8);
    transform: scale(1.05);
}

/* =========================
   DROPDOWN MENU
========================= */
.dropdown-menu {
    position: absolute;
    top: 76px; /* Tepat di bawah header */
    right: 20px;
    /* KUNCI: Diubah menjadi warna solid agar tidak transparan sama sekali */
    background: #0a101e; 
    border: 1px solid rgba(192, 192, 192, 0.15);
    border-radius: 16px;
    width: 200px; /* Lebar kotak menu */
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
    
    /* Animasi Buka/Tutup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Kelas ini ditambahkan oleh Javascript saat diklik */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Style Link dalam Dropdown */
.nav-link {
    text-decoration: none; 
    color: #94a3b8; 
    font-size: 15px; 
    font-weight: 600;
    padding: 12px 16px; 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    gap: 12px;
    transition: all 0.2s ease;
}

.nav-link i {
    font-size: 18px;
    color: #cbd5e1;
}

.nav-link:hover { 
    background: rgba(192, 192, 192, 0.1); 
    color: #fff; 
}

.nav-link.active { 
    background: rgba(192, 192, 192, 0.15); 
    color: #fff; 
    border-left: 3px solid #c0c0c0; /* Tanda silver di kiri menu aktif */
}

.nav-link.active i {
    color: #fff;
}

/* =========================
   RESPONSIVE (TAMPILAN HP)
========================= */
@media (max-width: 480px) {
    /* Sembunyikan tulisan Mainnet di layar HP kecil agar tidak sempit */
    .net-text { display: none; }
    
    .network-badge { 
        padding: 6px 10px; 
    }
    
    /* Lebarkan dropdown menu di layar HP */
    .dropdown-menu {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}