:root {
    --warna-ungu-tua: #650187;
    --warna-ungu-muda: #A29BFE;
    --warna-ungu-pastel: #F8F7FF;
    --warna-teks: #2D3436;
    --warna-abu: #636E72;
    --putih: #FFFFFF;
}

body {
    background-color: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-dark);
}

/* --- SPLASH SCREEN / WELCOME --- */
.welcome-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.hero-img {
    flex: 1;
    background: url('../images/cats-hero.jpg') center/cover;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.welcome-content {
    padding: 40px 30px;
    text-align: center;
}

.welcome-content h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 18px;
    border-radius: 20px;
    text-decoration: none;
    display: block;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(138, 156, 255, 0.3);
}

/* --- HOME SCREEN --- */
.header-user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px 10px;
}

.search-bar {
    background: var(--white);
    margin: 20px;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.promo-banner {
    background: linear-gradient(135deg, #B5C0FF, #8A9CFF);
    margin: 0 20px;
    padding: 20px;
    border-radius: 25px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Container Scroll Kategori */
.category-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: none; /* Sembunyikan scrollbar di Firefox */
}

.category-scroll::-webkit-scrollbar {
    display: none; /* Sembunyikan scrollbar di Chrome/Safari */
}

.cat-item {
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

/* Kotak Gambar (Inspirasi Contoh) */
.cat-img-box {
    width: 80px;
    height: 80px;
    border-radius: 20px; /* Sudut membulat sesuai contoh */
    overflow: hidden;    /* Memotong gambar agar mengikuti bentuk kotak */
    background: #f0f0f0;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08); /* Shadow halus */
    margin-bottom: 10px;
    border: 2px solid white; /* Memberi kesan bingkai bersih */
}

.cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Sangat penting: agar gambar tidak gepeng */
    transition: transform 0.3s;
}

.cat-item:active .cat-img-box img {
    transform: scale(1.1); /* Efek zoom kecil saat diklik */
}

.cat-item small {
    font-weight: 500;
    color: #2D3436;
    font-size: 13px;
}
/* --- NAVIGASI BAWAH SOLID UNGU --- */
.bottom-nav {
    position: fixed;
    bottom: 15px; /* Memberikan jarak dari bawah layar seperti di gambar */
    left: 15px;
    right: 15px;
    background: #650187; /* Warna Ungu Solid Khas SIGERKAN */
    height: 65px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 25px rgba(101, 1, 135, 0.3);
    z-index: 2000;
    border-radius: 25px; /* Sudut membulat seperti di gambar */
}

/* Pengaturan Ikon Menu */
.nav-item {
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5); /* Putih transparan untuk menu tidak aktif */
    font-size: 22px;
    transition: 0.3s;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ikon Menu Aktif */
.nav-item.active {
    color: #FFFFFF; /* Putih Solid untuk menu yang aktif */
}

/* Tombol Tambah (+) Di Tengah Melayang */
.nav-center {
    width: 55px;
    height: 55px;
    background: #FFFFFF; /* Putih Bersih */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -35px; /* Menonjol ke atas */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.nav-center i {
    color: #650187; /* Ikon '+' berwarna ungu di dalam bulatan putih */
    font-size: 22px;
}