/* ================= RESET & BASE ================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: Arial, sans-serif; 
    background: #020617; 
    color: white; 
    line-height: 1.4; 
    overflow-x: hidden; 
}

/* ================= HEADER ================= */
header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Garis bawah dibikin lebih soft */
    
    /* Bikin Header Ngikut Scroll (Sticky) */
    position: sticky;
    top: 0;
    z-index: 9999; /* Biar posisinya selalu paling depan, ga ketutup gambar/banner */
    
    /* Efek Kaca Buram (Glassmorphism) Aesthetic */
    background: rgba(2, 6, 23, 0.75); /* Warna dasar agak transparan */
    backdrop-filter: blur(12px); /* Efek nge-blur di belakangnya */
    -webkit-backdrop-filter: blur(12px); /* Buat support di browser Safari/iPhone */
}

header img { 
    height: 40px; 
    border-radius: 8px; 
}

/* ================= BANNER ================= */
.banner { 
    max-width: 100%; 
    margin: 0 0 30px 0; 
    padding: 40px 15px; 
    position: relative;
    
    /* Vibe Aesthetic & Soft: Gradasi gerak halus (Modern Motion Graphic) */
    background: linear-gradient(135deg, #0f172a, #162238, #182542, #0f172a);
    background-size: 300% 300%;
    animation: softAesthetic 12s ease infinite;
    
    /* Garis pemisah yang super tipis dan soft */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* Animasi biar backgroundnya gerak pelan dan smooth */
@keyframes softAesthetic {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.slider-container {
    width: 100%;
    overflow: hidden; 
    border-radius: 16px;
    padding: 10px 0; 
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out; 
}

.slider-wrapper img {
    /* Lebar ini yang bikin dia kebagi 3 coy */
    width: calc(33.333% - 10px); 
    flex: 0 0 calc(33.333% - 10px); 
    margin-right: 15px; 
    aspect-ratio: 21 / 9; 
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* TABLET: 2 banner sekaligus */
@media(max-width: 900px){
    .slider-wrapper img {
        width: calc(50% - 7.5px);
        flex: 0 0 calc(50% - 7.5px);
    }
}

/* MOBILE/HP: 1 banner di tengah, infinite peek kiri-kanan */
@media(max-width: 600px){
    .slider-wrapper {
        padding-left: calc(10% - 7.5px); /* Dorong biar persis di tengah */
    }
    .slider-wrapper img {
        width: 80%; 
        flex: 0 0 80%;
        margin-right: 15px; /* Jarak antar banner */
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: #334155;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots .dot.active {
    background: #0ea5e9;
    width: 20px;
    border-radius: 4px;
}

/* ================= CONTAINER (ISI WEB) ================= */
section, .stats { 
    max-width: 1100px; 
    margin: auto; 
    padding: 20px 15px; 
}

section h2 { 
    font-size: 18px; 
    margin-bottom: 15px; 
}

/* ================= FLASH SALE & STATS ================= */
.stats { 
    display: flex; 
    justify-content: space-between; 
    font-size: 14px; 
    opacity: 0.8; 
}

.flashsale { 
    text-align: center; 
    margin-top: 5px; 
}

#countdown { 
    margin-top: 6px; 
    background: #111827; 
    padding: 6px 12px; 
    border-radius: 6px; 
    color: #facc15; 
    display: inline-block; 
    font-size: 13px; 
    font-weight: bold; 
}

/* ================= KATEGORI CARD ================= */
.category-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
    gap: 15px; 
}

.category-card { 
    background: #1e293b; 
    border-radius: 12px; 
    padding: 15px 10px; 
    text-align: center; 
    font-weight: bold; 
    border: 1px solid #334155; 
    cursor: pointer; 
    font-size: 13px; 
    transition: 0.2s; 
}

.category-card:hover { 
    border-color: #3b82f6; 
}

/* ================= SUB CATEGORY BUTTONS ================= */
.sub-category-container { 
    display: flex; 
    gap: 8px; 
    margin-bottom: 20px; 
    overflow-x: auto; 
    padding-bottom: 5px; 
    scrollbar-width: none; 
}

.sub-category-container::-webkit-scrollbar { 
    display: none; 
}

.sub-btn { 
    background: #1e293b; 
    color: #cbd5e1; 
    border: 1px solid #334155; 
    padding: 6px 14px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: bold; 
    cursor: pointer; 
    white-space: nowrap; 
    transition: 0.3s; 
}

.sub-btn.active { 
    background: #3b82f6; 
    color: white; 
    border-color: #3b82f6; 
}

/* ================= UNIFIED PRODUCT CARD ================= */
.best, .popular, #listItems { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); 
    gap: 15px; 
}

.p-card { 
    background: #1e293b; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid #334155; 
    cursor: pointer; 
    transition: 0.2s; 
    display: flex; 
    flex-direction: column; 
}

.p-card:hover { 
    transform: translateY(-5px); 
    border-color: #0ea5e9; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
}

.p-img-box { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    position: relative; 
    background: #0f172a; 
}

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

/* ================= BADGE POPULER & FLASH SALE ================= */
.p-flash-badge, .p-popular-badge {
    position: absolute;
    left: 0;
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    font-weight: bold;
    border-bottom-right-radius: 8px;
    z-index: 2;
}

.p-flash-badge { background: #ef4444; }
.p-popular-badge { background: #f59e0b; }

.p-body { 
    padding: 12px; 
    display: flex; 
    flex-direction: column; 
    flex: 1; 
    text-align: left; 
}

.p-tags { margin-bottom: 8px; }

.c-tag { 
    background: #10b981; 
    color: white; 
    padding: 3px 6px; 
    border-radius: 4px; 
    font-size: 10px; 
    font-weight: bold; 
}

.p-title { 
    font-size: 14px; 
    margin-bottom: 8px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2;
    line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* ================= INFO PRODUK ================= */
.p-info {
    font-size: 11px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap; 
}

.p-price-area { margin-top: auto; margin-bottom: 10px; }
.c-old-price { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #9ca3af; margin-bottom: 3px; }
.c-disc-badge { color: #ef4444; font-weight: bold; background: rgba(239, 68, 68, 0.15); padding: 2px 4px; border-radius: 4px; }
.p-final-price { font-size: 16px; font-weight: bold; color: white; }
.p-stock { font-size: 11px; color: #9ca3af; margin-bottom: 10px; font-weight: bold; }

.p-btn { 
    width: 100%; 
    background: #0ea5e9; 
    color: white; 
    border: none; 
    padding: 10px; 
    border-radius: 8px; 
    font-size: 13px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.2s; 
    text-align: center; 
}
.p-btn:hover { background: #0284c7; }

/* ================= HALAMAN PRODUK DETAIL ================= */
.product-page { padding: 20px 15px; max-width: 600px; margin: auto; }
.product-page > img { display: block; margin-left: auto; margin-right: auto; margin-bottom: 15px; width: 110px; height: 110px; object-fit: contain; border-radius: 10px; }
.product-page h2 { font-size: 20px; margin-bottom: 10px; color: white; text-align: center; }

.tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; margin-bottom: 15px; }
.tags div { background: #334155; padding: 4px 8px; border-radius: 4px; font-size: 11px; color: #cbd5e1; }
.product-desc { font-size: 14px; opacity: 0.9; background: #1e293b; padding: 15px; border-radius: 10px; border: 1px solid #334155; margin-bottom: 20px; }

/* ================= KOTAK LENGKAPI DATA ================= */
.data-box { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 20px; margin-top: 20px; }
.data-box-title { font-size: 16px; color: #3b82f6; margin-bottom: 5px; border-bottom: 1px dashed #334155; padding-bottom: 10px; }
.input-label { display: block; font-size: 13px; color: #cbd5e1; margin-top: 15px; margin-bottom: 5px; font-weight: bold; }
input, select { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #334155; background: #0f172a; color: white; font-size: 14px; }
.data-box input, .data-box select { margin-top: 0; }
.discount-wrapper { display: flex; gap: 8px; }
.discount-wrapper input { flex: 1; }

.btn-inline { background: #3b82f6; color: white; border: none; padding: 0 15px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 13px; }
.btn-inline:hover { background: #1d4ed8; transform: scale(1.05); }

.btn { width: 100%; padding: 14px; margin-top: 15px; border: none; border-radius: 10px; background: #2563eb; color: white; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 15px; }
.btn:hover { background: #1d4ed8; }

/* ================= KOTAK RINGKASAN ================= */
.summary-box { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 15px; margin-top: 20px; margin-bottom: 15px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.s-left { color: #9ca3af; text-align: left; }
.s-right { color: white; text-align: right; font-weight: bold; max-width: 65%; }
.summary-line { border-bottom: 1px dashed #334155; margin: 12px 0; }

/* ================= UTILS ================= */
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); padding: 12px 20px; border-radius: 8px; opacity: 0; transition: 0.3s; z-index: 9999; color: white; font-weight: bold; pointer-events: none; }
.toast.show { opacity: 1; }
.wa { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.wa img { width: 55px; height: 55px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: 0.2s; }
.wa img:hover { transform: scale(1.1); }
.loader { position: fixed; inset: 0; background: #020617; display: flex; align-items: center; justify-content: center; z-index: 9998; }
.loader.hide { display: none; }
.spinner { width: 45px; height: 45px; border: 5px solid #334155; border-top: 5px solid #3b82f6; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= CONFIRMATION MODAL ================= */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; justify-content: center; z-index: 10000; backdrop-filter: blur(4px); }
.modal-content { background: #1e293b; width: 90%; max-width: 380px; border-radius: 20px; padding: 30px 20px; text-align: center; position: relative; border: 1px solid #334155; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes modalPop { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.check-animation { width: 65px; height: 65px; background: #10b981; border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: pulseCentang 1.5s infinite; }
@keyframes pulseCentang { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.check-icon { color: white; font-size: 30px; font-weight: bold; animation: drawCentang 0.5s ease-out forwards; }
@keyframes drawCentang { 0% { transform: scale(0) rotate(-45deg); } 100% { transform: scale(1) rotate(0deg); } }

.modal-title { font-size: 22px; color: white; margin-bottom: 8px; }
.modal-subtitle { font-size: 13px; color: #cbd5e1; margin-bottom: 20px; line-height: 1.5; }
.modal-info-box { background: #0f172a; border-radius: 12px; padding: 15px; margin-bottom: 20px; border: 1px solid #334155; }
.m-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.m-row:last-child { margin-bottom: 0; }
.m-label { color: #9ca3af; text-align: left; }
.m-value { color: white; font-weight: bold; text-align: right; max-width: 65%; word-wrap: break-word;}

.modal-actions { display: flex; gap: 10px; }
.btn-modal { flex: 1; padding: 12px; border-radius: 10px; border: none; font-weight: bold; cursor: pointer; transition: 0.2s; font-size: 14px; }
.btn-confirm { background: #0ea5e9; color: white; }
.btn-confirm:hover { background: #0284c7; }
.btn-cancel { background: #334155; color: white; }
.btn-cancel:hover { background: #475569; }

/* ================= HALAMAN BANTUAN (INFO PAGES) ================= */
.info-page { padding: 20px 15px; max-width: 800px; margin: auto; min-height: 60vh; }
.info-header { background: #0ea5e9; padding: 30px 20px; border-radius: 12px; text-align: center; margin-bottom: 30px; }
.info-header h2 { font-size: 24px; margin-bottom: 5px; }
.info-header p { font-size: 14px; opacity: 0.9; }
.info-content { background: #1e293b; padding: 20px; border-radius: 12px; border: 1px solid #334155; font-size: 14px; line-height: 1.6; }
.info-content h3 { color: #3b82f6; margin-bottom: 8px; }

/* ================= FAQ ACCORDION ================= */
.faq-container { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: #1e293b; border: 1px solid #334155; border-radius: 10px; overflow: hidden; cursor: pointer; transition: 0.3s; }
.faq-item:hover { border-color: #3b82f6; }
.faq-question { padding: 15px 20px; font-weight: bold; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { font-size: 12px; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #0f172a; }
.faq-answer p { padding: 15px 20px; font-size: 14px; color: #cbd5e1; line-height: 1.5; border-top: 1px dashed #334155; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-contact { text-align: center; margin-top: 40px; padding: 20px; background: #1e293b; border-radius: 12px; border: 1px solid #334155; }
.faq-contact h3 { margin-bottom: 5px; }
.faq-contact p { font-size: 13px; color: #cbd5e1; margin-bottom: 15px; }

/* ================= FAT FOOTER ================= */
.fat-footer { 
    background: #0ea5e9; 
    color: white; 
    margin-top: 40px; 
    padding-top: 60px; /* Ditambahin dikit biar teks ga ketutup ombak */
    position: relative; /* Kunci 1 */
    overflow: hidden; /* Kunci 2: Biar ombaknya ga keluar area biru! */
}
.ff-container { max-width: 1100px; margin: auto; padding: 0 15px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px; }
.ff-about .ff-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.ff-about .ff-logo img { height: 40px; border-radius: 8px; }
.ff-about h2 { font-size: 20px; margin: 0; }
.ff-about p { font-size: 13px; line-height: 1.6; opacity: 0.9; margin-bottom: 15px; }
.ff-socials { display: flex; gap: 15px; }
.ff-socials a { color: white; text-decoration: none; font-size: 13px; font-weight: bold; display: flex; align-items: center; gap: 5px; }
.ff-socials a img {
    width: 18px; /* Ngatur lebar logo */
    height: 18px; /* Ngatur tinggi logo */
    object-fit: contain;
}

.ff-col h3 { font-size: 16px; margin-bottom: 15px; border-bottom: 2px solid rgba(255,255,255,0.2); padding-bottom: 5px; display: inline-block; }
.ff-col ul { list-style: none; padding: 0; }
.ff-col ul li { font-size: 13px; margin-bottom: 10px; opacity: 0.9; cursor: pointer; transition: 0.2s; }
.ff-col ul li a { color: white; text-decoration: none; }
.ff-col ul li:hover { opacity: 1; transform: translateX(5px); }
.ff-contact-list li { cursor: default; transform: none !important; }

.ff-bottom { text-align: center; padding: 15px; background: #0284c7; font-size: 12px; opacity: 0.8; }

/* ================= RESPONSIVE HP ================= */
@media(max-width: 768px){
    .ff-container { grid-template-columns: 1fr; gap: 20px; }
}

@media(max-width: 480px){
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
    .best, .popular, #listItems { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 10px; }
    .p-body { padding: 10px; }
    .p-title { font-size: 13px; }
    .p-final-price { font-size: 14px; }
    section { padding: 15px 10px; }
    .banner { margin: 10px auto; padding: 0 10px; }
    .banner img { aspect-ratio: 16 / 9; border-radius: 10px; }
}

/* ================= WAVE FINAL FIX (NO RESET + CLICK SAFE) ================= */

/* footer */
.footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to top, #020617, #0f172a);
}

/* container wave */
.wave-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none; /* PENTING: biar ga ganggu klik */
}

/* svg */
.wave-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 120%;
    pointer-events: none;
}

/* warna wave */
.wave-group path {
    fill: url(#waveGradient);
    opacity: 0.75;
    pointer-events: none;
}

/* animasi smooth no reset */
.wave-group {
    animation: waveLoop 12s linear infinite;
    pointer-events: none;
}

@keyframes waveLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-1440px);
    }
}

/* pastiin semua konten footer di atas wave */
.footer > *:not(.wave-container) {
    position: relative;
    z-index: 2;
}

/* ================= HEADER & NAVBAR FIX ================= */
header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; /* Biar kebagi kiri-kanan */
    padding: 15px; 
    border-bottom: 1px solid #1e293b; 
    background: #020617; 
}

.nav-menu-desktop { 
    display: flex; 
    gap: 20px; 
    align-items: center;
    margin-left: auto; /* Ini yang bikin teksnya nempel di pojok kanan atas */
}

.nav-menu-desktop a { 
    color: #cbd5e1; 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: bold; 
    transition: 0.2s;
}

.nav-menu-desktop a:hover { color: #0ea5e9; }

/* Animasi Hamburger (Garis Tiga) */
.burger { 
    display: none; 
    cursor: pointer; 
    flex-direction: column; 
    gap: 6px; 
    z-index: 1001; 
}
.burger span { 
    width: 25px; 
    height: 3px; 
    background: white; 
    border-radius: 5px; 
    transition: all 0.3s ease-in-out; 
}

/* Kalo diklik jadi tanda (X) */
.burger.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 6px); }
.burger.toggle span:nth-child(2) { opacity: 0; }
.burger.toggle span:nth-child(3) { transform: rotate(45deg) translate(-6px, -6px); }

/* Mobile Menu Dropdown */
.mobile-menu {
    position: fixed; 
    top: -100%; 
    left: 0; 
    width: 100%; 
    background: #020617;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 30px 0;
    transition: 0.4s ease-in-out; 
    z-index: 998; 
    gap: 20px; 
    border-bottom: 1px solid #1e293b;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.mobile-menu.active { top: 70px; } /* Sesuaikan tinggi header */
.mobile-menu a { color: white; text-decoration: none; font-size: 16px; font-weight: bold; }

@media (max-width: 768px) {
    .nav-menu-desktop { display: none; }
    .burger { display: flex; }
}



/* ================= VARIASI BACKGROUND ================= */
body {
    /* Menimpa background warna solid dengan gradasi dinamis */
    background: linear-gradient(135deg, #020617, #0f172a, #1e293b, #020617);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ================= INFINITE PARTICLES ================= */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Berada di paling belakang */
    pointer-events: none; /* Biar gak ganggu klik tombol */
}

/* ================= SPLASH SCREEN & LOGO TERBANG ================= */
#splash-screen {
    position: fixed;
    inset: 0;
    background: #020617; /* Warna gelap solid saat loading */
    z-index: 10000; /* Paling atas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color 0.8s ease; /* Transisi memudar */
}

#splash-logo {
    width: 120px;
    border-radius: 20px;
    z-index: 10001;
    /* Animasi pergerakan CSS dari tengah ke pojok */
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1); 
    transform-origin: top left; /* Titik acuan pengecilan */
}

#splash-spinner {
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

/* Class tambahan yang di-trigger via JavaScript */
.splash-bg-hide {
    background-color: transparent !important;
    pointer-events: none;
}
.splash-fade {
    opacity: 0;
}


/* ================= PROGRESS BAR LOADING ================= */
#splash-loading-bar-container {
    width: 180px;
    height: 6px;
    background: #1e293b; /* Warna rel gelap */
    border-radius: 10px;
    margin-top: 25px;
    overflow: hidden;
    transition: opacity 0.3s ease; /* Efek memudar pas loading selesai */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

#splash-loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6); /* Warna biru keren */
    width: 0%;
    border-radius: 10px;
    /* Animasi mengisi penuh dalam 1 detik */
    animation: loadingFill 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Keyframes untuk pergerakan bar dari kiri ke kanan */
@keyframes loadingFill {
    0% { width: 0%; }
    40% { width: 50%; }
    80% { width: 90%; }
    100% { width: 100%; }
}
