:root {
    --nav-width: 75px;
    --accent: #00d2ff;
    --bg-dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
}

/* 1. GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    background: var(--bg-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* 2. NAVBAR DOCK (DESKTOP - TRANSPARENT) */
.nav-dock {
    position: fixed;
    top: 0;
    left: -70px;
    width: var(--nav-width);
    height: 100vh;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px 0 30px 0;
    gap: 20px;
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-dock:hover {
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    width: 60px;
    height: 60px;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.2s ease;
}

.nav-item:hover, .nav-item.selected {
    color: var(--accent);
    background: rgba(0, 210, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.nav-item i { width: 24px; height: 24px; }
.nav-item span {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* 3. MENU MOBILE BUTTON */
.menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #000;
    border-radius: 15px;
    display: none; 
    align-items: center;
    justify-content: center;
    z-index: 2500;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
}

/* 4. DASHBOARD CONTAINER (PERBAIKAN CENTER) */
.dashboard-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center; 
    background: radial-gradient(circle at center, #0a192f 0%, #000 100%);
    text-align: center;
    /* Gunakan padding seimbang kiri & kanan agar benar-benar center */
    padding: 40px var(--nav-width) 40px var(--nav-width); 
}

.welcome-section {
    max-width: 900px;
    margin-bottom: 60px;
    padding: 0 20px;
    animation: fadeIn 0.8s ease-out;
}

.welcome-section h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-section p {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
}

/* HUB GRID */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.hub-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 45px 25px;
    border-radius: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hub-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}

.hub-card i { color: var(--accent); margin-bottom: 25px; width: 45px; height: 45px; }
.hub-card h3 { font-size: 1.6rem; margin-bottom: 12px; font-weight: 700; }
.hub-card p { color: rgba(255, 255, 255, 0.5); font-size: 0.95rem; line-height: 1.6; }

/* 5. IFRAME FULLSCREEN */
.iframe-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

iframe {
    width: 100%; height: 100%;
    border: none; display: block;
}

/* 6. RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .menu-btn { display: flex; }

    .nav-dock {
        left: -100px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        padding-top: 100px;
    }

    .nav-dock.show { left: 0; }

    .nav-overlay {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(8px);
        z-index: 1999; display: none;
    }
    .nav-overlay.active { display: block; }

    .dashboard-container {
        /* Reset padding seimbang di mobile menjadi standar */
        padding: 100px 20px 40px 20px;
    }

    .welcome-section h1 { font-size: 2.8rem; }
    
    .hub-grid { 
        grid-template-columns: 1fr; 
        max-width: 450px;
    }
}

/* ANIMASI */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
