/* =========================================
   1. GLOBAL VARIABLES & TYPOGRAPHY
   ========================================= */
:root {
    --color-research: #00d0af;
    --color-experience: #a6ce39;
    --color-skill: #ff0055;
    --bg-color: #050505;

    /* FLUID TYPOGRAPHY */
    /* Base: HP 14px, Desktop max 18px */
    --fs-base: clamp(14px, 1.2vw, 18px);
    
    /* H1 (Nama): HP 2rem, Desktop 3.5rem (Dikecilkan dikit biar aman di laptop) */
    --fs-h1: clamp(2rem, 3.5vw, 3.5rem);
    
    /* Role Text */
    --fs-role: clamp(0.9rem, 1.5vw, 1.2rem);
    
    --spacing-md: clamp(1rem, 2vw, 2rem);
}

html {
    font-size: var(--fs-base);
}

body {
    background: var(--bg-color);
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden; /* No scrollbars */
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}

/* =========================================
   2. INTERACTION LAYER (CRITICAL FIX)
   ========================================= */
/* Agar mouse bisa menembus layer UI dan menggerakkan garis background */
#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none; /* TEMBUS PANDANG MOUSE */
}

/* Tapi elemen penting harus tetap bisa diklik */
.node, 
#filter-dock, 
.identity-content, 
.social-orbit a,
.virtual-window,
.panel-overlay {
    pointer-events: auto !important; /* BISA DIKLIK */
    cursor: pointer;
}

/* =========================================
   3. CORE IDENTITY (TENGAH)
   ========================================= */
.core-identity {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15; /* Di atas UI Layer biasa */
    width: 90%; 
    max-width: 500px;
    pointer-events: none; /* Container tembus */
}

/* Kotak Nama (Agar teks terbaca jelas walau ada node lewat) */
.identity-content {
    background: rgba(5, 5, 10, 0.65); /* Gelap transparan */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 50px rgba(0,0,0, 0.5);
    transition: transform 0.3s ease;
}

.core-identity:hover .identity-content {
    transform: scale(1.02);
    border-color: rgba(0, 255, 200, 0.2);
}

.core-identity h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin: 0 0 10px 0;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role-text {
    font-size: var(--fs-role);
    font-family: 'Courier New', monospace;
    color: #888;
    letter-spacing: 1px;
}

.social-orbit {
    margin-top: 20px;
}

.social-orbit a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.social-orbit a:hover {
    color: var(--color-research);
    border-bottom: 1px solid var(--color-research);
}

/* =========================================
   4. NODES (KARTU MELAYANG)
   ========================================= */
.node {
    position: absolute;
    width: 280px;
    max-width: 220px; /* Batasi lebar di Desktop agar orbit aman */
    padding: 20px;
    
    /* Glassmorphism */
    background: rgba(20, 20, 25, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    
    /* Animasi */
    animation: float 6s ease-in-out infinite;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 20;
}

/* Variasi Animasi */
.node:nth-child(odd) { animation-duration: 7s; animation-delay: 1s; }
.node:nth-child(even) { animation-duration: 5s; animation-delay: 0.5s; }

@keyframes float {
    0%, 100% { margin-top: 0px; }
    50% { margin-top: -15px; }
}

.node h3 {
    margin: 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.node p {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.node-date {
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.click-hint { 
    display: block !important; /* PAKSA MUNCUL */
    font-size: 0.6rem;
    margin-top: 6px;
    opacity: 0.8;
    color: #00ffc8; /* Warna cyan terang biar kelihatan ajakan klik-nya */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Warna Border */
.node-research { border-left: 3px solid var(--color-research); }
.node-experience { border-left: 3px solid var(--color-experience); }
.node-skill { border-left: 3px solid var(--color-skill); }
.node-project { border-left: 3px solid #ffcc00; }
.node-blog { border-left: 3px solid #aa00ff; }

/* =========================================
   5. COMMAND DOCK (MENU BAWAH)
   ========================================= */
#filter-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 15, 20, 0.85);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 200, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dock-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #888;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    color: #000;
    background: #00ffc8;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.4);
}

/* =========================================
   6. OVERLAYS (BOOT, PANEL, WINDOW)
   ========================================= */
/* Boot Screen */
#boot-screen {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    font-family: 'Courier New', monospace;
}
.terminal-loader { width: 300px; color: #00ffc8; }
.terminal-header { font-size: 0.8rem; margin-bottom: 10px; border-bottom: 1px solid #333; padding-bottom: 5px; display: flex; align-items: center; }
.status-dot { width: 8px; height: 8px; background: #00ffc8; border-radius: 50%; display: inline-block; margin-right: 8px; animation: blink 0.5s infinite; }
#terminal-text { font-size: 0.75rem; height: 100px; overflow: hidden; opacity: 0.8; line-height: 1.5; }
.progress-line { height: 2px; background: #333; margin-top: 10px; position: relative; overflow: hidden; }
.progress-line::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #00ffc8; animation: loadProgress 2.5s ease-in-out forwards; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes loadProgress { 0% { width: 0%; } 100% { width: 100%; } }

/* Holographic Panel */
.panel-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px);
    z-index: 999; display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.panel-overlay.active { display: flex; opacity: 1; }
.panel-content {
    background: rgba(15, 15, 20, 0.95); width: 90%; max-width: 600px; padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.panel-overlay.active .panel-content { transform: scale(1); }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #666; font-size: 2rem; cursor: pointer; transition: color 0.3s; }
.close-btn:hover { color: #fff; }
.panel-badge { background: rgba(255, 255, 255, 0.1); padding: 5px 10px; border-radius: 5px; font-size: 0.7rem; font-weight: bold; color: var(--color-research); text-transform: uppercase; }
.panel-year { font-family: monospace; color: #666; margin-left: 10px; }
#panel-title { font-size: 2rem; margin: 20px 0; line-height: 1.2; background: linear-gradient(to right, #fff, #aaa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#panel-desc { font-size: 1rem; color: #ccc; line-height: 1.6; margin-bottom: 30px; }
.action-btn { display: inline-block; padding: 12px 25px; background: white; color: black; text-decoration: none; font-weight: bold; border-radius: 30px; transition: all 0.3s; }
.action-btn:hover { background: var(--color-research); box-shadow: 0 0 20px var(--color-research); }

/* Virtual Windows (Profile/Contact) */
/* --- VIRTUAL WINDOW SYSTEM --- */
.virtual-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    
    width: 85%;
    max-width: 900px;
    
    /* REVISI: Gunakan max-height agar adaptive */
    display: none; 
    flex-direction: column;
    
    height: auto;        /* Biarkan tinggi menyesuaikan isi... */
    max-height: 85vh;    /* ...tapi STOP jika sudah mencapai 85% layar */
    
    background: rgba(10, 12, 16, 0.95);
    border: 1px solid rgba(0, 255, 200, 0.3);
    box-shadow: 0 0 50px rgba(0, 255, 200, 0.1);
    z-index: 2000;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
}

.virtual-window.active {
    display: flex; /* Tetap Flexbox untuk layout Header-Content */
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.window-header {
    flex-shrink: 0; /* Header jangan gepeng */
    background: rgba(0, 255, 200, 0.1);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 200, 0.2);
    font-family: monospace;
    letter-spacing: 2px;
    color: #00ffc8;
}

.window-content {
    box-sizing: border-box;
    /* Content mengisi ruang, tapi akan scroll jika mentok max-height */
    overflow-y: auto; 
    padding: 30px;
    padding-right: 35px;
    
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

/* Profile Styles */
.profile-section {
    /* Flexbox untuk meratakan tengah secara vertikal & horizontal */
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    
    /* Garis pemisah di kanan agar rapi */
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%; 
}

/* Gambar Profil */
.holo-img { 
    width: 140px; 
    height: 140px; 
    border-radius: 50%; 
    border: 3px solid #00ffc8; 
    object-fit: cover; 
    margin-bottom: 20px; 
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.2); /* Efek glowing */
}

/* Nama (H3) di dalam profil */
.profile-section h3 {
    font-size: 1.6rem;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Role / Jabatan */
.role-highlight { 
    color: #00ffc8; 
    font-family: 'JetBrains Mono', monospace; 
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(0, 255, 200, 0.1); /* Background tipis */
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Deskripsi Bio */
.bio-text { 
    font-size: 0.9rem; 
    color: #ccc; 
    line-height: 1.6; 
    margin-bottom: 25px; 
    max-width: 90%; /* Batasi lebar agar teks enak dibaca */
}

/* Tombol Download */
.btn-download { 
    margin-top: auto; /* Dorong ke bawah */
    display: inline-block; 
    padding: 12px 30px; 
    border: 1px solid #00ffc8; 
    color: #00ffc8; 
    text-decoration: none; 
    font-size: 0.8rem; 
    transition: 0.3s; 
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.btn-download:hover { 
    background: #00ffc8; 
    color: black;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.4);
}
/* Stats Styles */
.holo-title { font-size: 0.8rem; color: #666; border-bottom: 1px solid #333; padding-bottom: 5px; margin-bottom: 15px; letter-spacing: 1px; }
.skill-item { margin-bottom: 12px; } .skill-item span { font-size: 0.85rem; display: block; margin-bottom: 5px; }
.progress-bar { height: 6px; background: #222; border-radius: 3px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: #00ffc8; box-shadow: 0 0 10px #00ffc8; }
.holo-timeline { border-left: 2px solid #333; padding-left: 20px; }
.tl-item { margin-bottom: 20px; position: relative; }
.tl-item::before { content: ''; position: absolute; left: -26px; top: 5px; width: 10px; height: 10px; background: #00ffc8; border-radius: 50%; }
.tl-date { font-size: 0.75rem; color: #00ffc8; font-family: monospace; }
.tl-item h4 { margin: 5px 0; font-size: 1rem; } .tl-item p { margin: 0; font-size: 0.85rem; color: #888; }
/* Contact Styles */
.contact-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    box-sizing: border-box; /* Safety */
}

/* Pastikan style ini berlaku GLOBAL (bukan cuma di mobile) */
.holo-form input, 
.holo-form textarea {
    width: 100%; /* Penuhi wadah */
    
    /* INI KUNCINYA: Hitung padding sebagai bagian dari lebar 100% */
    box-sizing: border-box !important; 
    
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    padding: 15px; /* Padding lebih lega */
    color: white;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.holo-form input:focus, 
.holo-form textarea:focus {
    border-color: #00ffc8;
    background: rgba(0, 255, 200, 0.05);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.1);
}

.btn-send {
    width: 100%;
    box-sizing: border-box; /* Tombol juga harus border-box */
    background: #00ffc8;
    color: black;
    border: none;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 200, 0.3);
}

/* =========================================
   7. UNIFIED MOBILE RESPONSIVE (MAX 768px)
   ========================================= */
@media (max-width: 768px) {
    
    /* --- A. CORE IDENTITY ADJUSTMENT --- */
    .core-identity {
        top: 42% !important;
        transform: translate(-50%, -42%) !important;
        width: 90%;
        max-width: 300px;
    }
    
    .core-identity h1 {
        font-size: 1.5rem; /* Ukuran font aman */
        margin-bottom: 5px;
    }

    .identity-content {
        padding: 15px;
        background: rgba(5, 5, 10, 0.7);
    }

    .bio-text { display: none; } /* Hide bio di home HP */
    .role-text { font-size: 0.8rem; }

    /* --- B. COMPACT NODES (44vw) --- */
    .node {
        width: 44vw; 
        max-width: 160px;
        min-height: 60px;
        padding: 10px;
        border-radius: 10px;
        
        /* Style Card Mobile */
        background: rgba(10, 15, 25, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(255,255,255,0.15);
        animation: floatMobile 5s ease-in-out infinite; 
    }
    
    /* Biar geraknya selang-seling (Genap & Ganjil beda waktu) */
    .node:nth-child(odd) { animation-duration: 5s; }
    .node:nth-child(even) { animation-duration: 6s; animation-delay: 1s; }

    .node h3 {
        font-size: 0.85rem;
        margin: 4px 0;
        /* Batasi 2 baris */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        line-height: 1.3;
    }

    .node p, .click-hint { 
        display: none; /* Sembunyikan detail text di card HP */
    }

    .node-date {
        font-size: 0.6rem;
        opacity: 0.8;
    }

    /* --- C. DOCK MENU (SMART SCROLL INDICATOR) --- */
    #filter-dock {
        bottom: 20px; 
        width: 90%;   
        max-width: 100%;
        
        display: flex;
        justify-content: flex-start; 
        flex-wrap: nowrap; 
        gap: 8px; 
        
        overflow-x: auto; 
        padding: 10px 15px;
        
        border-radius: 50px;
        background: rgba(5, 8, 12, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        
        /* Shadow Luar Default (Selalu ada) */
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        
        /* Transisi halus saat cahaya muncul/hilang */
        transition: box-shadow 0.3s ease;
        
        -ms-overflow-style: none; scrollbar-width: none;
    }
    
    #filter-dock::-webkit-scrollbar { display: none; }

    .filter-btn {
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 8px 16px;
        white-space: nowrap;
    }

    /* --- LOGIKA CAHAYA DINAMIS (Diatur oleh JS) --- */
    
    /* 1. Kalau bisa geser KANAN saja (Awal) */
    #filter-dock.scroll-mask-right {
        box-shadow: inset -25px 0 20px -10px rgba(0, 255, 200, 0.6), /* Cahaya Kanan */
                    0 10px 30px rgba(0,0,0,0.5); /* Shadow Luar */
    }

    /* 2. Kalau bisa geser KIRI saja (Mentok Kanan) */
    #filter-dock.scroll-mask-left {
        box-shadow: inset 25px 0 20px -10px rgba(0, 255, 200, 0.6), /* Cahaya Kiri */
                    0 10px 30px rgba(0,0,0,0.5);
    }

    /* 3. Kalau bisa geser DUA ARAH (Tengah-tengah) */
    #filter-dock.scroll-mask-both {
        box-shadow: inset 25px 0 20px -10px rgba(0, 255, 200, 0.6),  /* Cahaya Kiri */
                    inset -25px 0 20px -10px rgba(0, 255, 200, 0.6), /* Cahaya Kanan */
                    0 10px 30px rgba(0,0,0,0.5);
    }

    /* --- D. WINDOW & PANEL --- */
    .virtual-window {
        width: 95%;
        padding: 0;
    }

    .window-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        
        /* Tambahkan padding bawah ekstra biar scroll lega */
        padding: 20px 25px 60px 25px;
    }
    /* --- Contact Form Styling --- */
    .contact-layout { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 30px; 
        box-sizing: border-box; /* Safety */
    }

    .holo-form input, 
    .holo-form textarea {
        width: 100%;
        
        box-sizing: border-box; /* Agar padding tidak melebarkan input keluar batas */
        
        background: rgba(255,255,255,0.05);
        border: 1px solid #333;
        padding: 12px;
        color: white;
        margin-bottom: 15px;
        font-family: inherit;
        border-radius: 5px; /* Tambahan biar sedikit manis */
    }

    .holo-form input:focus, 
    .holo-form textarea:focus {
        border-color: #00ffc8;
        outline: none;
        background: rgba(0, 255, 200, 0.05); /* Efek fokus dikit */
    }
    /* Update Mobile Profile */
    .holo-img { 
        width: 110px; 
        height: 110px; 
        margin-bottom: 15px;
    }

    .profile-section { 
        /* Matikan settingan desktop */
        border-right: none; 
        padding-right: 0;
        height: auto;
        
        /* Ganti jadi garis bawah untuk pemisah di HP */
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        padding-bottom: 30px; 
        margin-bottom: 30px;
    }
    .panel-content { padding: 25px; width: 95%; }x
    #panel-title { font-size: 1.5rem; }

    .social-orbit {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 15px; /* Memberikan jarak antar ikon */
    }

    .social-orbit a {
        font-size: 1.4rem; /* Ukuran ikon lebih besar dari teks sebelumnya */
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.3s ease;
    }

    .social-orbit a:hover {
        color: var(--color-research);
        transform: translateY(-3px); /* Efek melayang saat hover */
        text-shadow: 0 0 10px var(--color-research);
    }

    /* --- E. ARCHIVE TABLE MOBILE FIX (RESPONSIVE) --- */
    
    /* 1. Kecilkan Font Keseluruhan Tabel */
    .archive-table {
        font-size: 0.75rem !important; /* Sekitar 12px, cukup terbaca di HP */
    }

    /* 2. Rapatkan Padding (Jarak antar sel) */
    .archive-table th, 
    .archive-table td {
        padding: 10px 5px !important; /* Atas-Bawah 10px, Kiri-Kanan 5px */
    }

    /* 3. Atur Perilaku Kolom */
    
    /* Kolom Tahun (Kecilkan & Posisikan di atas) */
    .archive-table td:nth-child(1) {
        font-size: 0.7rem !important;
        white-space: nowrap; /* Jangan turun baris */
        color: #666;
    }

    /* Kolom Judul (Paling Penting - Biarkan Wrap) */
    .archive-table td:nth-child(2) {
        white-space: normal !important; /* Izinkan teks panjang turun ke bawah */
        word-wrap: break-word;
        max-width: 120px; /* Batasi lebar agar tidak mendorong kolom lain */
    }

    /* Kolom Badge/Kategori (Kecilkan Badge) */
    .tag-badge {
        font-size: 0.6rem !important; /* Badge mungil */
        padding: 2px 4px !important;
        display: inline-block;
        margin-top: 2px;
    }

    /* Kolom Link/Action (Kecilkan Tombol) */
    .archive-link {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
        white-space: nowrap;
    }

    /* Responsif Mobile */
    @media (max-width: 768px) {
        .social-orbit {
            gap: 12px;
            flex-wrap: wrap; /* Agar ikon turun ke bawah jika layar terlalu sempit */
        }
        .social-orbit a {
            font-size: 1.2rem;
        }
    }
}

/* --- STYLE ARSIP & TAB --- */
.node-archive {
    border: 1px dashed #aa00ff !important;
    box-shadow: 0 0 15px rgba(170, 0, 255, 0.3) !important;
}

.window-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #666;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.tab-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }

.tab-btn.active {
    color: #00ffc8;
    border-bottom: 2px solid #00ffc8;
    background: rgba(0, 255, 200, 0.05);
}

.archive-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.archive-table th { text-align: left; padding: 10px; border-bottom: 2px solid #333; color: #00ffc8; }
.archive-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* Badge Warna */
.tag-badge { padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; border: 1px solid #555; }
.tag-blog { border-color: #aa00ff; color: #aa00ff; }
.tag-research { border-color: #00d0af; color: #00d0af; }
.tag-project { border-color: #ffcc00; color: #ffcc00; }

.archive-link { color: #00ffc8; text-decoration: none; font-size: 0.8rem; border: 1px solid #00ffc8; padding: 2px 8px; border-radius: 4px; }
#empty-state { text-align: center; padding: 30px; color: #666; font-family: monospace; }

/* --- GLOBAL HELPER --- */
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Wajib ada agar bisa discroll horizontal di HP */
    -webkit-overflow-scrolling: touch; /* Biar scroll licin di iPhone */
}

/* --- SYSTEM STATUS TRIGGER (DESKTOP & MOBILE) --- */
.system-status {
    margin-top: 20px; /* Jarak dari ikon sosmed */
    
    /* 1. PERBAIKAN UTAMA: Padding Lega */
    padding: 15px 20px; 
    
    /* 2. Visual Button: Kasih background tipis biar kelihatan area kliknya */
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.05); /* Border halus keliling */
    border-radius: 8px; /* Sudut tumpul */
    
    /* Typography */
    font-family: 'JetBrains Mono', monospace; 
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    
    /* Layout & Interaction */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    transition: all 0.3s ease;
}

/* Efek Hover Desktop: Lebih Terang */
.system-status:hover {
    background: rgba(0, 255, 200, 0.1); /* Hijau transparan */
    border-color: rgba(0, 255, 200, 0.3);
    color: #00ffc8;
    transform: translateY(-2px); /* Efek tombol ditekan/naik */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Titik Hijau */
.status-dot {
    width: 6px;
    height: 6px;
    background-color: #00ffc8;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ffc8;
    animation: pulseDot 2s infinite;
}

/* --- ANIMASI KHUSUS MOBILE (SAFE MODE) --- */
/* Menggunakan margin-top agar tidak merusak posisi tengah (transform) dari JS */
@keyframes floatMobile {
    0%, 100% { 
        margin-top: 0px; 
    }
    50% { 
        margin-top: -12px; /* Naik 12px ke atas */
    }
}

/* 1. Reset Box Model agar ukuran konsisten */
#contactForm input,
#contactForm textarea {
    width: 100%;
    box-sizing: border-box; /* PENTING: Agar padding tidak membuat kotak melebar keluar */
    
    /* 2. Spacing yang lebih enak dilihat */
    padding: 14px 18px; 
    margin-bottom: 15px;
    
    /* 3. Warna Background & Border Halus */
    background: rgba(10, 15, 25, 0.6); /* Sedikit lebih gelap agar clean */
    border: 1px solid rgba(0, 255, 200, 0.2); 
    border-radius: 8px;
    
    /* 4. Tipografi */
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem; /* Ukuran font sedikit diperbesar agar terbaca */
    letter-spacing: 0.5px;
    
    /* 5. Hilangkan gangguan visual */
    outline: none;
    resize: none; /* MENGHILANGKAN SEGITIGA DI POJOK TEXTAREA */
    transition: all 0.3s ease;
}

/* Efek Fokus: Saat diklik jadi menyala */
#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #00ffc8;
    background: rgba(0, 255, 200, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.15); /* Glow lebih kuat dikit */
}

/* Placeholder (Teks petunjuk "Name", "Email") */
#contactForm input::placeholder,
#contactForm textarea::placeholder {
    color: rgba(255, 255, 255, 0.3); /* Lebih redup agar elegan */
    font-size: 0.9rem;
}

/* --- FIX AUTOFILL BROWSER (PENTING!) --- */
/* Mencegah Chrome/Edge mengubah background jadi putih/kuning saat autofill */
#contactForm input:-webkit-autofill,
#contactForm input:-webkit-autofill:hover, 
#contactForm input:-webkit-autofill:focus, 
#contactForm textarea:-webkit-autofill {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0px 1000px #0b1016 inset; /* Hack background gelap */
    transition: background-color 5000s ease-in-out 0s;
}
