:root {
    --primary: #39FF14;
    --primary-dim: rgba(57, 255, 20, 0.1);
    --bg-dark: #050505;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --text-main: #ffffff;
    --text-muted: #888888;
    --nav-height: 80px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* ============================
   RESET & BASE
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    /* Mencegah scroll saat menu aktif, kita atur scroll per section */
    height: 100vh; 
    width: 100vw;
}

/* Custom Cursor (Desktop Only) */
@media (hover: hover) and (pointer: fine) {
    body { cursor: none; }
    .cursor-dot, .cursor-outline {
        position: fixed; top: 0; left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%; pointer-events: none; z-index: 9999;
    }
    .cursor-dot { width: 6px; height: 6px; background: var(--primary); }
    .cursor-outline { 
        width: 30px; height: 30px; 
        border: 1px solid var(--primary); 
        transition: width 0.2s, height 0.2s, background 0.2s;
    }
}

/* Background Effects */
.orb {
    position: fixed; border-radius: 50%; filter: blur(100px); z-index: -1;
    opacity: 0.3; animation: float 10s infinite alternate;
}
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary); }
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: #004400; animation-delay: -5s; }

.noise-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: 0.05;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iNDAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNnKSIgb3BhY2l0eT0iMC41Ii8+PC9zdmc+');
}

@keyframes float {
    from { transform: translate(0, 0); }
    to { transform: translate(30px, 50px); }
}

/* ============================
   LAYOUT CONTAINER
============================ */
.app-container {
    width: 100%;
    height: 100%;
    position: relative;
    padding-bottom: calc(var(--nav-height) + 20px); /* Space for Nav */
    overflow-y: auto; /* Scrollable content */
}

/* Hide Scrollbar but keep functionality */
.app-container::-webkit-scrollbar { width: 4px; }
.app-container::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

/* SPA Logic */
.page-section {
    display: none;
    padding: 20px;
    max-width: 600px; /* Mobile View Limit */
    margin: 0 auto;
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================
   PAGE 1: HOME (PROFILE)
============================ */
.profile-header {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    margin-bottom: 24px;
    text-align: center;
    position: relative;
}

.banner-overlay {
    height: 120px;
    background: linear-gradient(180deg, rgba(57,255,20,0.2) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.profile-info {
    padding: 0 20px 30px;
    margin-top: -60px; /* Pull up avatar */
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.avatar-img {
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 4px solid #1a1a1a; /* Match darker bg */
    object-fit: cover;
    background: #000;
}

.status-indicator {
    position: absolute;
    bottom: 8px; right: 8px;
    width: 18px; height: 18px;
    background: var(--primary);
    border: 3px solid #1a1a1a;
    border-radius: 50%;
}

.identity-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 5px;
}

.username {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.verified-badge {
    width: 22px; height: 22px;
}

.role-tag {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.bio-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #ddd;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex; flex-direction: column;
}

.stat-item .count {
    font-family: var(--font-heading);
    font-weight: 700; font-size: 1.2rem; color: #fff;
}

.stat-item .label {
    font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase;
}

/* Profile Buttons */
.action-buttons {
    display: flex; gap: 10px; padding: 0 20px 30px;
}

.btn-profile {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.btn-profile:active { transform: scale(0.97); }

.btn-profile.primary {
    background: var(--primary);
    color: #000;
}

.btn-profile.secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
}

/* Content Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}
.glass-card h3 { font-family: var(--font-heading); margin-bottom: 10px; color: #fff; }
.glass-card .accent { color: var(--primary); }
.glass-card p { font-size: 0.9rem; color: #ccc; line-height: 1.6; }
.link-text { display: inline-block; margin-top: 10px; color: var(--primary); text-decoration: none; font-size: 0.9rem; font-weight: 600;}

/* ============================
   PAGE 2: PROJECTS GRID
============================ */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
}
.highlight { color: var(--primary); opacity: 0.6; font-size: 0.8em; }

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.project-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 140px;
}

/* Hover Effect */
.project-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.project-card:hover .card-glow { opacity: 1; }

.card-glow {
    position: absolute; top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(circle at top right, rgba(57,255,20,0.15), transparent 60%);
    opacity: 0; transition: 0.3s;
}

.proj-icon { font-size: 2rem; margin-bottom: 10px; }
.proj-info h3 { font-size: 1rem; margin-bottom: 4px; font-family: var(--font-heading); }
.proj-info p { font-size: 0.75rem; color: #888; line-height: 1.3; margin-bottom: 10px; }

.proj-badge {
    font-size: 0.65rem; padding: 3px 8px; border-radius: 4px;
    background: rgba(255,255,255,0.1); display: inline-block;
}

/* Specific Theme Colors (Subtle Borders) */
.theme-mqsd { border-color: rgba(255, 136, 0, 0.3); }
.theme-telepati { border-color: rgba(0, 243, 255, 0.3); }
.theme-aksara { border-color: rgba(255, 255, 255, 0.2); }
.theme-ammo { border-color: rgba(255, 215, 0, 0.3); }
.theme-telegram { border-color: rgba(0, 136, 204, 0.3); }

/* Make first item full width if odd number */
.projects-grid .project-card:nth-child(5) {
    grid-column: span 2;
}

/* ============================
   PAGE 3: AI CHAT (Full Height)
============================ */
.ai-container-full {
    display: flex; flex-direction: column;
    height: calc(100vh - var(--nav-height) - 40px);
}

.ai-top-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--glass-border);
}
.ai-status { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--primary); }
.dot-online { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary); }
.ai-model-badge { font-size: 0.7rem; background: #333; padding: 2px 6px; border-radius: 4px; color: #fff; }

.chat-viewport {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    display: flex; flex-direction: column; gap: 15px;
}

/* Message Bubbles */
.message { display: flex; gap: 10px; max-width: 90%; }
.message.user-msg { align-self: flex-end; flex-direction: row-reverse; }

.msg-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--primary); color: #000;
    font-weight: bold; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; flex-shrink: 0;
}
.user-msg .msg-avatar { background: #fff; }

.msg-bubble {
    background: rgba(255,255,255,0.05);
    padding: 10px 14px;
    border-radius: 12px;
    border-top-left-radius: 2px;
    font-size: 0.95rem; line-height: 1.5; color: #eee;
}
.user-msg .msg-bubble {
    background: var(--primary-dim);
    border: 1px solid var(--primary);
    border-radius: 12px; border-top-right-radius: 2px;
    color: #fff;
}

/* Chat Input */
.chat-input-wrapper {
    margin-top: 15px;
    display: flex; gap: 10px;
    position: relative;
}
.chat-input-wrapper input {
    flex: 1;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff; outline: none;
    font-family: var(--font-body);
}
.chat-input-wrapper input:focus { border-color: var(--primary); }

.send-btn-icon {
    background: var(--primary); border: none;
    width: 44px; border-radius: 10px; cursor: pointer;
    color: #000; display: flex; align-items: center; justify-content: center;
}

/* ============================
   PAGE 4: COMMENT
============================ */
.comment-form-box {
    margin-bottom: 30px;
}
.comment-desc { color: #888; font-size: 0.85rem; margin-bottom: 15px; }

.input-glass {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 10px;
    font-family: var(--font-body);
}
.input-glass.area { height: 100px; resize: none; }
.full-width { width: 100%; }

.comment-item {
    border-left: 2px solid var(--primary);
}
.comment-header {
    display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 0.8rem;
}
.c-name { font-weight: bold; color: #fff; }
.c-date { color: #666; }

/* ============================
   FLOATING NAVIGATION (ICON ONLY)
============================ */
.glass-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    
    /* Ukuran Nav - Lebih compact */
    width: auto;
    padding: 15px 35px; /* Padding lebih besar biar lega */
    
    /* GLASS EFFECT */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    
    /* Border & Shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    
    /* Shadows */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    
    z-index: 1000;
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 35px; /* Jarak antar icon lebih lebar */
    margin: 0;
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4); /* Warna default redup */
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    width: 40px; 
    height: 40px;
}

/* Icon Style */
.nav-icon svg {
    width: 26px; /* Icon diperbesar sedikit */
    height: 26px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
}

/* HILANGKAN TEKS LABEL TOTAL */
.nav-label {
    display: none !important;
}

/* --- STATE: HOVER --- */
.nav-item:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* --- STATE: ACTIVE --- */
.nav-item.active {
    color: var(--primary); /* Hijau Neon */
}

.nav-item.active .nav-icon svg {
    transform: scale(1.3); /* Membesar saat aktif */
    filter: drop-shadow(0 0 12px var(--primary)); /* Glow hijau kuat */
}

/* Titik Cahaya di Bawah Icon */
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px; 
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: fadeInDot 0.3s ease-out;
}

@keyframes fadeInDot {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .glass-nav {
        padding: 12px 25px;
        bottom: 25px;
        width: 85%; /* Sedikit lebih lebar di HP */
        justify-content: space-around;
        display: flex;
    }
    .nav-list {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }
}

/* Hover Effect (Desktop) */
.nav-item:hover { color: #fff; }

/* Desktop Adjustment */
@media (min-width: 768px) {
    .app-container { padding-top: 40px; }
    .page-section { max-width: 800px; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .projects-grid .project-card:nth-child(5) { grid-column: auto; }
}
/* --- UPDATE STYLE HOME --- */

/* 1. Bio Quote yang lebih rapi */
.bio-quote {
    font-style: italic;
    color: var(--primary);
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: var(--font-heading);
}

/* 2. Grid Sosial Media (Dua Tombol Sejajar) */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    padding: 0 15px 25px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #000;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.btn-social.outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-social:hover { transform: scale(1.03); }

/* 3. Teks Sejarah Lengkap */
.card-label {
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: bold;
}

.history-text p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.7;
    text-align: justify; /* Agar teks terlihat rapi seperti buku */
}
.history-text strong {
    color: #fff;
}

/* 4. Brand Assets Eksklusif */
.brand-assets-section {
    margin-top: 20px;
}

.asset-card-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(57,255,20,0.05), rgba(0,0,0,0.6));
    border: 1px solid var(--primary-dim);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: 15px;
    gap: 15px;
}

.asset-icon-box {
    background: rgba(57,255,20,0.1);
    width: 50px; height: 50px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}

.asset-info { flex: 1; }
.asset-info h4 { margin: 0; color: #fff; font-size: 1rem; font-family: var(--font-heading); }
.asset-info p { margin: 0; font-size: 0.75rem; color: #888; }

.btn-download {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}
.btn-download:hover { background: var(--primary); color: #000; }

/* Responsive Mobile untuk Tombol Sosmed */
@media (max-width: 400px) {
    .social-grid { grid-template-columns: 1fr; }
}
/* =========================================
   FIX FINAL: LOGO WARNA ASLI
   ========================================= */

.nav-logo-original {
    width: 28px;
    height: 28px;
    object-fit: contain;
    
    /* KEADAAN MATI (INACTIVE) */
    /* Bikin jadi putih polos dan agak transparan */
    opacity: 0.5;
    filter: grayscale(100%) brightness(1000%); 
    /* brightness 1000% memaksa gambar apapun jadi siluet putih */
    
    transition: all 0.3s ease;
}

/* KEADAAN HIDUP (ACTIVE) */
.nav-item.active .nav-logo-original {
    opacity: 1;
    
    /* PENTING: Matikan semua filter biar warna asli file keluar */
    filter: none !important; 
    
    /* Efek membesar & Glow di belakang kotak (bukan di gambarnya) */
    transform: scale(1.4);
    drop-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* KEADAAN HOVER */
.nav-item:hover .nav-logo-original {
    opacity: 1;
    transform: translateY(-3px);
}
/* ============================
   VIDEO HEADER STYLE
============================ */

.profile-header {
    position: relative; /* Wajib! Agar video terkurung di sini */
    overflow: hidden;   /* Potong video yang kelebihan */
    
    /* Style lama tetap dipakai */
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    background: #000; /* Fallback kalau video gagal load */
    margin-bottom: 24px;
    text-align: center;
}

/* Style Videonya */
.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full satu kotak header */
    object-fit: cover; /* Video di-crop otomatis biar gak gepeng */
    z-index: 0; /* Layer Paling Bawah */
    opacity: 0.6; /* Atur kecerahan video (0.1 - 1.0) biar gak nabrak teks */
    filter: saturate(120%); /* Biar warna video agak gonjreng dikit */
}

/* Lapisan Gelap di atas Video */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Gradasi dari transparan ke hitam pekat di bawah */
    /* Supaya teks bio & tombol di bawah makin jelas */
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 60%, #050505 100%);
    
    z-index: 1; /* Layer Tengah */
}

/* Konten (Foto, Teks, Tombol) */
.profile-info {
    position: relative;
    z-index: 2; /* Layer Paling Atas (Wajib! Biar bisa diklik) */
    padding: 0 20px 30px;
    margin-top: 100px; /* Jarak dari atas video */
}
/* =========================================
   PROFILE HEADER (STATS + SIMPLE SOSMED)
   ========================================= */

/* ... (Kode Video Header yang lama biarkan sama) ... */
.profile-header {
    padding: 0; text-align: left; overflow: hidden;
    background: transparent; border: 1px solid var(--glass-border);
}
.header-banner {
    position: relative; width: 100%; height: 150px;
    background: #000; overflow: hidden; border-bottom: none;
}
.banner-video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 1; filter: none; display: block;
}
/* =========================================
   FIX: NAMA DI BAWAH VIDEO, FOTO TETAP NAIK
   ========================================= */

.profile-meta-row {
    display: flex;
    align-items: flex-end; /* Sejajar bawah */
    padding: 0 20px;
    
    /* UBAH INI: Jangan pakai margin minus di sini agar Nama tidak naik */
    margin-top: 0; 
    
    position: relative;
    z-index: 10;
    gap: 15px;
}

/* KHUSUS FOTO PROFIL: Kita tarik naik sendirian */
.avatar-container-sm {
    position: relative;
    flex-shrink: 0;
    
    /* INI KUNCINYA: Foto ditarik ke atas menembus video (-40px) */
    margin-top: -45px; 
}

/* Identitas (Nama) tetap diam di tempatnya (di bawah video) */
.user-identity {
    /* Beri sedikit jarak dari garis video biar gak terlalu mepet */
    padding-top: 10px; 
    padding-bottom: 5px;
}

/* (Sisa CSS di bawah ini biarkan sama, atau copy ulang biar aman) */
.avatar-img-sm {
    width: 85px; 
    height: 85px;
    border-radius: 50%;
    border: 4px solid #000; /* Border hitam pekat */
    background: #000;
    object-fit: cover;
}

.status-indicator-sm {
    position: absolute;
    bottom: 5px; right: 5px;
    width: 16px; height: 16px;
    background: var(--primary);
    border: 3px solid #000;
    border-radius: 50%;
}

.name-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.username-sm {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.verified-badge-sm { width: 20px; height: 20px; filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.4)); }

/* [BARU] CSS UNTUK STATISTIK */
.stats-row-sm {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.75rem; color: #aaa;
    margin-top: 2px;
}
.stat-pill {
    /* Background tipis biar kebaca di atas video/hitam */
    background: rgba(0,0,0,0.4); 
    padding: 2px 6px; border-radius: 4px;
}
.dot-separator { font-size: 0.6rem; opacity: 0.5; }

/* Bio & Sosmed */
.bio-container { padding: 12px 20px 20px; }
.bio-quote {
    text-align: left; margin-bottom: 15px;
    font-size: 0.9rem; color: #ccc; font-style: italic;
}

/* [BARU] CSS TOMBOL KAPSUL SIMPEL */
.social-simple-row {
    display: flex; gap: 10px;
}
.btn-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    border-radius: 50px; /* Bentuk Kapsul */
    font-size: 0.75rem; font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255,255,255,0.1);
    color: #fff; border: 1px solid rgba(255,255,255,0.1);
}
.btn-pill:hover {
    background: #fff; color: #000;
    transform: translateY(-2px);
}
.btn-pill.outline {
    /* Opsi beda warna kalau mau, atau samakan saja */
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
}
.btn-pill.outline:hover {
    border-color: var(--primary); color: var(--primary);
}
/* --- UPDATE CHAT AVATAR --- */
.msg-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover; /* Biar gambar tidak gepeng */
    border: 1px solid var(--primary); /* Border hijau neon tipis */
    flex-shrink: 0;
}
/* =========================================
   FIX KOTAK HIJAU (FUN FACT)
   ========================================= */

.fun-fact-box {
    /* Background Hijau Transparan (Gradasi) */
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.1) 0%, rgba(0,0,0,0) 100%);
    
    /* Garis Hijau Tebal di Kiri (Signal) */
    border-left: 4px solid #39FF14;
    
    /* Border halus di sisi lain */
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
    border-right: 1px solid rgba(57, 255, 20, 0.1);
    
    border-radius: 0 12px 12px 0; /* Sudut membulat di kanan saja */
    padding: 20px;
    margin: 25px 0; /* Jarak atas bawah lebih lega */
    position: relative;
}

.fun-fact-box .box-title {
    font-weight: 800;
    color: #39FF14; /* Judul warna hijau neon */
    font-family: var(--font-heading);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.fun-fact-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 10px; /* Jarak antar paragraf dalam kotak */
    text-align: left; /* Teks rata kiri biar rapi dalam kotak */
}

/* Efek Glow di belakang kotak */
.fun-fact-box::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 20px;
    background: var(--primary);
    filter: blur(20px);
    opacity: 0.2;
    z-index: -1;
}
/* =========================================
   FIX: FULL WIDTH HEADER (MENTOK LAYAR)
   ========================================= */

@media (max-width: 600px) {
    
    /* 1. Hapus Jarak di Halaman Home */
    /* Ini yang bikin header sebelumnya 'mengkeret' di tengah */
    #page-home.page-section {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Modifikasi Profile Header */
    /* Biar nempel ujung ke ujung */
    .profile-header {
        width: 100%;
        margin: 0;
        
        /* Hilangkan radius atas biar nyatu sama status bar HP */
        /* Radius bawah dibesarkan biar makin estetik */
        border-radius: 0 0 35px 35px;
        
        /* Hilangkan garis pinggir kiri-kanan-atas */
        border-left: none;
        border-right: none;
        border-top: none;
        
        /* Sisakan garis bawah tipis aja */
        border-bottom: 1px solid var(--glass-border);
        
        background: #000; /* Pastikan background gelap pekat */
    }

    /* 3. Pastikan Video Banner Lurus */
    .header-banner {
        border-radius: 0; /* Video kotak sempurna di atas */
    }

    /* 4. Perbaikan Padding Konten Teks */
    /* Karena container utama sudah 0 padding, kita harus kasih jarak lagi
       khusus untuk tulisan di bawah header biar gak mepet pinggir layar */
    .content-feed {
        padding: 0 25px !important; /* Jarak aman kiri-kanan buat teks */
        margin-top: 20px;
    }
    
    /* Jarak aman untuk tombol navigasi bawah */
    .app-container {
        padding-bottom: 120px;
    }
}
