* {
    font-family: 'Poppins', sans-serif;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    /* Warna dasar dari bagian bawah foto background, supaya tidak ada
       strip putih kalau lapis background belum menutup seluruh layar
       (mis. saat toolbar browser HP muncul/hilang). */
    background-color: #7d8297;
}

html, body {
    height: 100%;
    overflow: hidden;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.bg-leaves-container::before {
    content: '';
    position: fixed;
    /* Sengaja dilebihkan 64px ke semua sisi: di Chrome HP, lapis fixed
       kadang tidak ikut membesar saat toolbar browser muncul/hilang,
       sehingga menyisakan strip kosong di bawah. Overscan ini menutupnya. */
    inset: -64px;
    background-image: url('../assets/bg.webp');
    background-color: #7d8297;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(0);
}

.glass-card {
    background: rgba(255, 209, 220, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(216, 167, 177, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.glass-inner-box {
    background: rgba(255, 209, 220, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(216, 167, 177, 0.7);
}

.profile-header {
    display: flex;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-header.header-home {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.profile-header.header-mini {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.avatar-box {
    border-radius: 9999px;
    overflow: hidden;
    border: 3px solid rgba(156, 163, 175, 0.7);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.profile-header.header-home .avatar-box {
    width: 8.5rem;
    height: 8.5rem;
    margin-bottom: 0.75rem;
}

.profile-header.header-mini .avatar-box {
    width: 3.5rem; 
    height: 3.5rem;
    margin-bottom: 0;
}

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

.profile-text {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-name {
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #111827;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-header.header-home .profile-name {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-align: center;
}

.profile-header.header-mini .profile-name {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
    text-align: left;
}

.profile-sub {
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-header.header-home .profile-sub {
    font-size: 0.68rem;
    line-height: 1.3;
    text-align: center;
    max-width: 260px;
}

.profile-header.header-mini .profile-sub {
    font-size: 0.55rem;
    line-height: 1.25;
    text-align: left;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.nav-btn.active .icon-circle {
    background-color: #111827;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-btn .indicator-line {
    width: 0%;
    height: 2.5px;
    background-color: #111827;
    transition: width 0.3s ease;
}

.nav-btn.active .indicator-line {
    width: 75%;
}
