* {
    font-family: "Poppins", sans-serif !important;
}

body { font-family: "Poppins", sans-serif; background:#fff; }

/* Hilangkan underline semua link di seluruh website */
a, a:link, a:visited {
    text-decoration: none !important;
}

/* Saat hover tetap tanpa underline */
a:hover {
    text-decoration: none !important;
}

/* ===== NAVBAR WRAPPER ===== */
.navbar-custom {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.75) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

/* Efek sticky shadow muncul saat scroll */
.navbar-scrolled {
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

/* ===== BRAND LOGO ===== */
.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0d1b2a !important;
}

/* ===== NAV LINKS ===== */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 18px !important;
    position: relative;
    color: #2a2a2a;
    transition: 0.25s ease;
}

/* underline animasi */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0%;
    background: #4f8bff;
    transition: 0.25s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: #4f8bff;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

/* Upgrade default (desktop) */
.navbar .nav-link.upgrade {
    background: linear-gradient(135deg, #ffb84f, #ff6f3f);
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s ease;
    text-align: center;
    display: inline-block;
}

.navbar .nav-link.upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 120, 50, 0.35);
    text-decoration: none;
}

/* Mobile: Upgrade seperti nav-link biasa */
@media (max-width: 991.98px) {
    .navbar .nav-link.upgrade {
        background: none !important;
        color: #2a2a2a !important;
        padding: 0.5rem 1rem;
        border-radius: 0;
        box-shadow: none;
        text-align: left;
    }

    /* Jika mau, ikon tetap bisa muncul */
    .navbar .nav-link.upgrade i {
        color: #2a2a2a;
    }
}



/* Desktop: tetap seperti tombol */
.btn-login {
    background: linear-gradient(135deg, #0461a1, #0461a1);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 14px rgba(79,139,255,0.35);
    transition: 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79,139,255,0.45);
}

/* Mobile: login lebih ringkas agar sejajar dengan nav-link */
@media (max-width: 991.98px) {
    .btn-login {
        padding: 0.5rem 1rem;   /* lebih kecil */
        font-size: 0.95rem;     /* menyesuaikan nav-link */
        border-radius: 6px;     /* lebih subtle */
        box-shadow: 0 2px 6px rgba(79,139,255,0.25);
        display: inline-block;
        margin-left:20px;
    }
}


/* Mobile */
.navbar-nav .nav-link {
    margin-left: 5px;
}


.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 40px !important; /* Tambah jarak */
    position: relative;
}

/* Optional: garis kecil aesthetic di bawah title */
.section-title span {
    display: inline-block;
    padding-bottom: 6px;
    position: relative;
}

.section-title span::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #0461a1;
    border-radius: 10px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}











.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
}

/* Blob effect */
.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-section::before {
    background: #4f8bff;
    top: -50px;
    left: -80px;
    opacity: 0.25;
}

.hero-section::after {
    background: #ffb84f;
    bottom: -60px;
    right: -60px;
    opacity: 0.3;
}

/* Agar konten tetap di atas blob */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ===== HERO CONTENT ===== */
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4f4f4f;
    max-width: 550px;
    line-height: 1.6;
}



/* ===== CTA BUTTON ===== */
.btn-hero {
    padding: 14px 34px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .3px;
    border: none;
    transition: 0.3s ease;
    background: linear-gradient(135deg, #0461a1, #0461a1);
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 139, 255, 0.35);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 139, 255, 0.45);
    color:white;
}

/* Tombol sekunder */
.btn-hero-outline {
    padding: 14px 34px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .3px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.5);
    transition: 0.3s ease;
    color: #0a0a0a;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.45);
    transform: translateY(-3px);
}






/* Section spacing */
.stats-section {
    padding: 70px 0; 
}

/* Box styling */
.stat-box {
    padding: 30px 20px;
    border-radius: 16px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

/* Hover effect */
.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

/* Icon styling */
.stat-box i {
    font-size: 42px;
    margin-bottom: 12px;
    display: block;
    color: #ffffff !important; /* Ikon tetap putih */
    opacity: 1;                /* Pastikan tidak transparan */
}

/* Angka besar */
.stat-box h4 {
    font-size: 32px;
    font-weight: 700;
    margin: 5px 0;
}

/* Warna unik per box */
.stat-1 { background: #3C7DFF; }  /* Modern Blue */
.stat-2 { background: #FF9F43; }  /* Deep Orange */
.stat-3 { background: #2FD6A7; }  /* Fresh Mint */
.stat-4 { background: #8E5CFF; }  /* Electric Purple */









/* ===== SECTION CATEGORY ===== */
.section-category {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* ===== CARD DASAR ===== */
.category-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.35s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Hover efek premium */
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.category-card .img-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* bisa ganti 1/1 untuk kotak */
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.category-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.category-card:hover .img-container img {
    transform: scale(1.05);
}


/* ===== FLOATING BADGE ===== */
.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    z-index: 2;
}

.category-badge i {
    font-size: 20px;
    color: #333;
}

/* ===== CONTENT CARD ===== */
.category-card .p-3 {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Judul */
.category-card h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Deskripsi */
.category-card p {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.5;
    flex: 1;
}

/* ===== TOMBOL JELAJAHI ===== */
/* Tombol Jelajahi versi kekinian */
.btn-explore {
    background: linear-gradient(135deg, #0461a1, #0461a1);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(106, 90, 249, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 8px;

    /* Tambahan agar tombol tidak full width */
    align-self: flex-start;
}


.btn-explore i {
    transition: 0.3s ease;
}

/* Hover efek modern */
.btn-explore:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 26px rgba(106, 90, 249, 0.35);
}

.btn-explore:hover i {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .category-card h5 {
        font-size: 1.1rem;
    }
    .category-card p {
        font-size: 0.85rem;
    }
    .btn-explore {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}








.btn-elegant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-weight: 500;
    font-size: 15px;
    border: 2px solid transparent; /* hilangkan border solid default */
    border-radius: 12px;
    background: linear-gradient(135deg, #4f8bff, #6aa9ff); /* warna hero */
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(79,139,255,0.35);
}

.btn-elegant i {
    transition: transform 0.3s ease;
}

/* Hover efek subtle */
.btn-elegant:hover {
    background: linear-gradient(135deg, #6aa9ff, #4f8bff);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79,139,255,0.45);
}

.btn-elegant:hover i {
    transform: translateX(4px);
}














.section-trending {
    padding-top: 100px;      /* lebih besar dari py-5 */
    padding-bottom: 100px;
}
/* Trending Card */
.trending-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.trending-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Image */
.trending-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Badge kategori */
.game-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.9);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-badge i {
    font-size: 18px;
    color: #333;
}

/* Rating */
.rating {
    font-size: 14px;
    font-weight: 600;
}

.btn-explore {
    background: #0461a1;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    transition: .2s;
}

.btn-explore:hover {
    background: #3730a3;
    color: #fff;
    transform: translateY(-2px);
}







.alert-no-product {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 5px solid #0461a1; /* garis biru di kiri */
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.alert-no-product i {
    font-size: 48px;
    color: #0461a1;
    margin-bottom: 15px;
}

.alert-no-product h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #212529;
}

.alert-no-product p {
    color: #495057;
    margin-bottom: 0;
}

.alert-no-product:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

















footer {
    position: relative;
    padding: 70px 0 10px 0;
    color: #fff;
    background: linear-gradient(135deg, #0461a1, #0461a1);
    overflow: hidden;
}

/* Blobs */
footer::before,
footer::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
}

footer::before {
    background: #4f8bff;
    top: -50px;
    left: -80px;
}

footer::after {
    background: #ffb84f;
    bottom: -60px;
    right: -60px;
}

/* Footer text and links */
footer h5,
footer h6 {
    font-weight: 700;
}

footer a {
    color: #e8ecff;
    opacity: 0.9;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Reduced opacity for description */
footer p {
    opacity: 0.85;
}

footer ul li {
    margin-bottom: 10px;   /* jarak antar list */
}

footer ul li:last-child {
    margin-bottom: 0;      /* item terakhir tidak perlu jarak */
}

/* Jika ingin linknya juga terlihat lebih elegan */
footer ul li a {
    color: #e9e9e9; 
    transition: 0.2s;
}

footer ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Footer copyright */
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    margin-top: 30px;
    opacity: 0.75;
}