/* ==========================================================================
   ⚡ HUMAN-CRAFTED MINIMALIST INDUSTRIAL STYLE WITH AMBIENT BLUR (FULL CSS)
   ========================================================================== */

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; 
}

:root {
    --bg-main: #0a0a0a;
    --bg-card-default: #121212;
    --border-color: #262626;
    --text-main: #ededed;
    --text-muted: #a0a0a0;
    --accent: #ffffff;
    --radius-sm: 6px;
    --radius-md: 10px;
}

body { 
    background-color: var(--bg-main);
    color: var(--text-main); 
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.3px;
}

body.modal-terbuka { 
    overflow: hidden !important; 
}

/* ==========================================================================
   🏛️ HEADER MINIMALIS
   ========================================================================== */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 24px; 
    background-color: rgba(10, 10, 10, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.nav-kiri { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
}

.menu-hamburger { 
    font-size: 18px; 
    cursor: pointer; 
    color: var(--text-muted); 
    padding: 4px; 
}

.judul-projek { 
    font-size: 15px; 
    font-weight: 600; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.logo-profil { 
    width: 32px; 
    height: 32px; 
    background: var(--bg-card-default); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-sm); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 500; 
    font-size: 11px; 
    cursor: pointer; 
    overflow: hidden; 
    color: var(--text-main);
}

.logo-profil img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.container { 
    max-width: 540px; 
    margin: 0 auto; 
    padding: 16px; 
}

/* ==========================================================================
   📢 HERO BANNER (HIGH VISIBILITY UPDATE)
   ========================================================================== */
.banner-container { 
    margin-bottom: 24px; 
}

.banner-besar { 
    display: none; 
    width: 100%; 
    min-height: 120px; 
    background: var(--bg-card-default); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-md); 
    position: relative; 
    overflow: hidden; 
    align-items: center; 
    padding: 24px;
}

.banner-konten { 
    position: relative; 
    z-index: 3; 
    max-width: 75%; 
}

.banner-besar h2 { 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 6px; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}

.banner-besar p { 
    font-size: 12px; 
    color: #e0e0e0; 
    line-height: 1.4; 
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.img-banner-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: right center; 
    z-index: 1; 
    opacity: 0.75; 
}

.banner-overlay-layer { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 30%, rgba(10, 10, 10, 0.4) 70%, transparent 100%); 
    z-index: 2; 
}

/* ==========================================================================
   🏷️ NAV TABS (GAYA LINK TEKS KONTEMPORER)
   ========================================================================== */
.nav-tabs-container { 
    margin: 0 -16px 20px -16px; 
    padding: 0 16px; 
    overflow-x: auto; 
    scrollbar-width: none; 
    border-bottom: 1px solid var(--border-color); 
}

.nav-tabs-container::-webkit-scrollbar { 
    display: none; 
}

.nav-tabs { 
    display: flex; 
    gap: 24px; 
    width: max-content; 
}

.tab-item { 
    padding: 12px 2px; 
    font-size: 13px; 
    font-weight: 500; 
    color: var(--text-muted); 
    cursor: pointer; 
    position: relative; 
    transition: color 0.15s ease;
}

.tab-item.aktif { 
    color: var(--accent); 
}

.tab-item.aktif::after { 
    content: ''; 
    position: absolute; 
    bottom: -1px; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    background: var(--accent); 
}

/* ==========================================================================
   📱 GRID UTAMA & KARTU ADAPTIF BLUR
   ========================================================================== */
.bento-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.bento-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-app, var(--bg-card-default));
    border: 1px solid var(--border-app, var(--border-color));
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-app, var(--text-main));
    transition: transform 0.1s ease, border-color 0.15s ease;
    z-index: 1;
}

.bento-card:hover { 
    border-color: var(--text-app, var(--accent)); 
}

.bento-card:active { 
    transform: scale(0.99); 
}

/* EFEK AMBIENT GLUR LATAR BELAKANG KARTU */
.card-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px);
    opacity: 0.15; 
    pointer-events: none;
    z-index: -1;
    transform: scale(1.2);
}

.card-top { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    width: 75%; 
    position: relative;
    z-index: 2;
}

.card-logo { 
    width: 42px; 
    height: 42px; 
    border-radius: var(--radius-sm); 
    overflow: hidden; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
}

.card-logo img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.card-logo .emoji-fallback { 
    font-size: 20px; 
}

.card-info { 
    display: flex; 
    flex-direction: column; 
    gap: 1px; 
    overflow: hidden; 
}

.card-title { 
    font-size: 13.5px; 
    font-weight: 600; 
    color: var(--text-app, var(--text-main)); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.card-desc { 
    font-size: 11.5px; 
    color: var(--text-muted-app, var(--text-muted)); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.card-action { 
    position: relative;
    z-index: 2;
    padding: 6px 14px; 
    background: var(--btn-bg-app, #1a1a1a); 
    border: 1px solid var(--btn-border-app, var(--border-color)); 
    border-radius: var(--radius-sm); 
    font-size: 11.5px; 
    font-weight: 500; 
    color: var(--btn-text-app, var(--text-main));
    transition: all 0.15s ease;
}

.bento-card:hover .card-action { 
    background: var(--text-app, var(--accent)); 
    color: var(--bg-app, var(--bg-main)); 
    border-color: var(--text-app, var(--accent)); 
}

/* ==========================================================================
   📂 SIDEBAR PANEL (THE CLEAN DRAWER)
   ========================================================================= */
.screen-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.5); 
    z-index: 150; 
    display: none; 
}

.sidebar { 
    position: fixed; 
    top: 0; 
    left: -260px; 
    width: 260px; 
    height: 100%; 
    background: #121212; 
    border-right: 1px solid var(--border-color); 
    z-index: 200; 
    transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1); 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}

.sidebar.active { 
    left: 0; 
}

.sidebar-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 12px; 
}

.sidebar-judul { 
    font-size: 11px; 
    font-weight: 600; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.btn-tutup-sidebar { 
    cursor: pointer; 
    color: var(--text-muted); 
    font-size: 13px; 
}

.sidebar-info-box { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
}

.info-nama-brand { 
    font-size: 16px; 
    font-weight: 600; 
}

.info-desc { 
    font-size: 12px; 
    color: var(--text-muted); 
}

.sidebar-sub-judul { 
    font-size: 10.5px; 
    font-weight: 600; 
    color: #525252; 
    text-transform: uppercase; 
    margin-top: 4px; 
}

.panel-info-sidebar { 
    background: var(--bg-main); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-sm); 
    padding: 12px; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.baris-info-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 12px; 
}

.label-info-item { 
    color: var(--text-muted); 
}

.value-info-item { 
    font-weight: 500; 
}

.status-badge { 
    background: #14291f; 
    color: #4ade80; 
    padding: 2px 8px; 
    border-radius: 4px; 
    font-size: 10px; 
    font-weight: 500; 
    border: 1px solid #1e4631; 
}

.panel-tentang-sidebar { 
    background: var(--bg-main); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-sm); 
    padding: 12px; 
    color: var(--text-muted); 
    font-size: 12px; 
    line-height: 1.5; 
}

.btn-request { 
    display: block; 
    text-align: center; 
    background: var(--accent); 
    color: var(--bg-main); 
    text-decoration: none; 
    padding: 10px; 
    border-radius: var(--radius-sm); 
    font-size: 12.5px; 
    font-weight: 600; 
    margin-top: auto; 
}

/* ==========================================================================
   👤 DIALOG PROFIL PANEL (MONOCHROME CENTER MODAL)
   ========================================================================== */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.65); 
    z-index: 300; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.15s ease; 
}

.modal-overlay.active { 
    opacity: 1; 
    pointer-events: auto; 
}

.modal-box { 
    background: #121212; 
    border: 1px solid var(--border-color); 
    padding: 24px; 
    width: 85%; 
    max-width: 290px; 
    border-radius: var(--radius-md); 
    text-align: center; 
    transform: scale(0.96); 
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1); 
}

.modal-overlay.active .modal-box { 
    transform: scale(1); 
}

.modal-avatar { 
    width: 52px; 
    height: 52px; 
    background: #1a1a1a; 
    border: 1px solid var(--border-color); 
    font-size: 16px; 
    border-radius: var(--radius-sm); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 12px auto; 
    overflow: hidden; 
}

.modal-avatar img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.modal-box h3 { 
    font-size: 15px; 
    font-weight: 600; 
    margin-bottom: 2px; 
}

.modal-box p { 
    font-size: 11.5px; 
    color: var(--text-muted); 
    margin-bottom: 16px; 
}

.btn-tutup-modal { 
    background: var(--accent); 
    color: var(--bg-main); 
    border: none; 
    padding: 9px; 
    border-radius: var(--radius-sm); 
    font-weight: 600; 
    font-size: 12px; 
    width: 100%; 
    cursor: pointer; 
}

/* ==========================================================================
   ⏳ SKELETON LOADERS (PULSING ANIMATIONEFFECT)
   ========================================================================== */
.loading-wrapper { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    width: 100%; 
}

.skeleton-banner { 
    width: 100%; 
    height: 110px; 
    background: #161616; 
    border-radius: var(--radius-md); 
    animation: pulse 1.4s infinite; 
}

.skeleton-line { 
    width: 70px; 
    height: 14px; 
    background: #161616; 
    border-radius: 2px; 
    animation: pulse 1.4s infinite; 
}

.skeleton-card { 
    width: 100%; 
    height: 72px; 
    background: #161616; 
    border-radius: var(--radius-md); 
    animation: pulse 1.4s infinite; 
}

@keyframes pulse { 
    0%, 100% { opacity: 0.4; } 
    50% { opacity: 0.73; } 
}
