: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;
}
/* --- BOTTOM NAV (Floating Style) --- */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    height: 70px;
    border-radius: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-center {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 15px rgba(138, 156, 255, 0.4);
}