:root {
    /* Brand Colors */
    --bg-dark: #0D0808;
    --text-light: #E6D8D8;
    --color-danger: #A80F0F;
    --color-primary: #179E09; /* Hijau Utama */
    --color-info: #068B99;
    --color-accent: #efc900;  /* Emas */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Hilangkan scroll samping */
}

/* --- WRAPPER TENGAH --- */
.maintenance-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
}

/* --- EFEK BORDER BEAM (Garis Berputar) --- */
.border-beam-wrapper {
    position: relative;
    padding: 2px; /* Ketebalan garis neon */
    border-radius: 1rem;
    overflow: hidden;
    background: rgb(13, 8, 8);
    box-shadow: 0 25px 50px -12px rgba(23, 158, 9, 0.25); /* Bayangan Hijau Halus */
    max-width: 450px;
    width: 90%;
}

/* Animasi Putaran di Belakang Layar */
.border-beam-wrapper::before {
    content: '';
    position: absolute;
    width: 400%; /* Ukuran jumbo agar putaran mulus */
    height: 400%;
    top: -150%;
    left: -150%;
    
    /* GRADASI WARNA (Ekor Transparan -> Emas -> Hijau) */
    background: conic-gradient(
        transparent 70%, 
        var(--color-accent), 
        var(--color-primary)
    );
    
    animation: rotate-border 4s linear infinite;
}

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

/* --- KARTU DALAM (Glass Effect) --- */
.glass-effect {
    position: relative;
    z-index: 10;
    background: rgba(13, 8, 8, 0.95); /* Hitam pekat 95% */
    border-radius: calc(1rem - 2px); /* Radius mengikuti wrapper */
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(23, 158, 9, 0.1); /* Border tipis tambahan di dalam */
}

/* --- TYPOGRAPHY & GLOW --- */
.title-glow {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    /* Efek Glow Emas */
    text-shadow: 0 0 15px rgba(239, 201, 0, 0.6), 
                 0 0 30px rgba(239, 201, 0, 0.2);
}

.divider {
    height: 2px;
    width: 80px;
    background-color: rgba(239, 201, 0, 0.5); /* Emas Transparan */
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

.subtitle-glow {
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(230, 216, 216, 0.9);
    margin-bottom: 0.5rem;
    /* Efek Glow Hijau Halus */
    text-shadow: 0 0 10px rgba(23, 158, 9, 0.5);
}

.small-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(230, 216, 216, 0.5);
    margin-top: 0.5rem;
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .title-glow {
        font-size: 1.8rem; /* Kecilkan sedikit di HP */
    }
}

/* 1. NAVBAR FIXED */
.navbar-fixed {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px; z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    transition: height 0.3s;
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}

/* 2. MENU DESKTOP */
.desktop-menu { display: flex; align-items: center; gap: 8px; }

.nav-link {
    display: flex; align-items: center; gap: 8px; padding: 10px 16px;
    border-radius: 8px; font-size: 0.9rem; text-decoration: none; font-weight: 500;
    color: rgba(255,255,255,0.6); transition: all 0.3s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active {
    color: #179E09; font-weight: bold; background: rgba(23, 158, 9, 0.1);
    border: 1px solid rgba(23, 158, 9, 0.2);
}

/* 3. TOMBOL HAMBURGER (Default Sembunyi) */
.mobile-toggle-btn { display: none; }

/* 4. PROFIL */
.profile-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    background: transparent; cursor: pointer; transition: 0.3s; overflow: hidden;
}
.profile-dropdown {
    position: absolute; top: 75px; right: 20px; width: 200px;
    background: #0A0A0F; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    display: none; flex-direction: column; overflow: hidden; z-index: 100;
}
.profile-dropdown.show { display: flex; }

/* 5. SIDEBAR MOBILE */
.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 60;
    display: none; backdrop-filter: blur(4px);
}
.sidebar-mobile {
    position: fixed; top: 0; left: 0; height: 100%; width: 280px;
    background: #0A0A0F; border-right: 1px solid rgba(255,255,255,0.1);
    z-index: 70; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.sidebar-mobile.open { transform: translateX(0); }

/* 6. MODAL */
.logout-modal {
    position: fixed; inset: 0; z-index: 999;
    display: none; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(5px);
}
.logout-modal.show { display: flex; }

/* =========================================
   🔥🔥 MEDIA QUERY (KHUSUS HP) 🔥🔥
========================================= */
@media (max-width: 1024px) {
    .navbar-fixed { height: 60px; }
    .nav-container { padding: 0 1rem; }
    
    /* INI KUNCINYA: HILANGKAN MENU DESKTOP */
    .desktop-menu { display: none !important; } 

    /* MUNCULKAN HAMBURGER */
    .mobile-toggle-btn { 
        display: block; background: none; border: none; 
        color: white; padding: 5px; cursor: pointer;
    }

    .brand-text { font-size: 0.9rem !important; }
    .brand-logo-box { width: 30px !important; height: 30px !important; }
    .brand-logo-icon { width: 18px !important; height: 18px !important; }

    /* --- TAMBAHAN: PERBESAR MENU MOBILE --- */
    .sidebar-mobile .nav-link {
        font-size: 1.1rem !important; /* Teks lebih besar (sebelumnya 0.9rem) */
        padding: 15px 20px !important; /* Tombol lebih tebal/luas */
        margin-bottom: 5px; /* Jarak antar tombol */
        font-weight: 600; /* Lebih tebal sedikit */
    }

    /* Perbesar juga tombol Logout di bawah */
    .sidebar-mobile button {
        font-size: 1.1rem !important;
        padding: 15px !important;
    }
}


