  /* ===============================
    GLOBAL THEME
  ================================ */
  :root {
    --bg-main: #0B1220;
    --bg-card: #111827;
    --bg-navbar: #0E1627;
    --border-soft: #1F2937;
    --gold: #D4AF37;
    --gold-hover: #FACC15;
    --cyan: #00E5FF;
    --text-main: #E5E7EB;
    --text-muted: #9CA3AF;
    --border-gold:rgba(212, 175, 55, 0.2);
    --bg-body:radial-gradient(circle at top, #101A2E, #070B14);
    --navbar-hover:rgba(212, 175, 55, 0.5);
    --custom-border:#3a79db;
  }
  /* .swiper{
    width:600px;
    height:300px
  } */
.media-object.game-thumb {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  .sticky-navbar {
    display:flex; 
    align-items:center;
    justify-content:center; 
    position:sticky; 
    top:70px; 
    z-index:1000; 
    overflow-x:auto; 
    overflow-y:hidden; 
    white-space:nowrap;
  }

  /* html stiky */
  html { 
    scroll-behavior: smooth; 
  }
  /* ---- */

  /* .flash-deal-item-container {
    gap: 15px;
    display:flex; 
    align-items:center;
    justify-content:flex-start; 
    position:sticky; 
    top:70px; 
    z-index:1000; 
    overflow-x:hidden; 
    overflow-y:hidden; 
    white-space:nowrap;
    
  } */

  .sticky-navbar.is-sticky {
    background: transparent;
  }
  .swiper-slide {
    transition: 0.3s;
    transform: scale(0.85);
    opacity: 0.4;
    border-radius: 15px;
    overflow: hidden;
  }

  .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
  }

  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
  }

  /* pagination bar style */
  .swiper-pagination-bullet {
    width: 50px;
    height: 6px;
    border-radius: 10px;
    background: white;
    opacity: 0.4;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
  }

  /* .swiper-slide-active img {
    animation: zoomIn 3s ease-in-out;
  }

  @keyframes zoomIn {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  } */


  input.bg-transparent::placeholder {
      color: rgba(255, 255, 255, 0.7);
      opacity: 1;
  }


  .swal2-container {
      z-index: 99999 !important;
  }

  .modal {
      z-index: 10000;
  }

  .product-thumb {
      width: 100%;
      aspect-ratio: 1 / 1;
      overflow: hidden;
  }

  .product-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 6px;
  }
  /* --- Body padding supaya konten tidak tertutup navbar fixed --- */
  body {
    padding-top: 60px;
    background: var(--bg-body);
    color: var(--text-main);
  }

  /* --- Box Sosmed --- */
  .box-sosmed {
    background: linear-gradient(135deg, #0E1A30, var(--bg-main));
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.05);
  }

  /* --- Layout dasar --- */
  main {
    min-height: 60vh;
  }

  /* ===============================
   NAVBAR MAIN (WARNA + TRANSPARANSI)
   =============================== */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  /* ===============================
     🎨 WARNA NAVBAR
     =============================== */
  /* 🔝 HITAM DI ATAS → 🔽 BIRU DI BAWAH */
  background: linear-gradient(
    180deg,
    rgba(5, 8, 15, 0.85) 0%,     /* ⬆️ HITAM (ATAS) */
    rgba(11, 18, 32, 0.75) 60%,  /* ⬇️ BIRU GELAP (BAWAH) */
    rgba(11, 18, 32, 0.65) 100%
  );

  /* ===============================
     ✨ TRANSPARANSI + BLUR
     =============================== */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* ===============================
     GARIS & DEPTH
     =============================== */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  padding: 10px 0;
}


/* ===============================
   NAVBAR TOP (KONTEN SAJA)
   =============================== */
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  /* ❌ HILANGKAN VISUAL DI SINI */
  background: transparent;     /* ⬅️ TIDAK mengatur warna */
  border-bottom: none;         /* ⬅️ Tidak ada garis */
  box-shadow: none;            /* ⬅️ Tidak ada shadow */

  padding-bottom: 12px;
}


/* ===============================
   OPTIONAL: SMOOTH TRANSISI
   =============================== */


  /* ===============================
    NAVBAR TOP (LOGO - SEARCH - MENU)
  ================================ */


  /* ===============================
    LOGO (LEFT)
  ================================ */
  .navbar-top .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .navbar-main .logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform .3s ease, filter .3s ease;
  }

  .navbar-main .logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--gold))
            drop-shadow(0 0 22px rgba(212, 175, 55, 0.6));
  }

  /* ===============================
    HAMBURGER
  ================================ */
  .navbar-toggler {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
  }

  /* ===============================
    SEARCH (CENTER)
  ================================ */
  .search-box {
    position: relative;
    flex: 1;               /* KUNCI: isi tengah */
    max-width: 780px;
    margin: 0 auto;
  }

  .search-box input {
    width: 100%;
    padding: 9px 18px 9px 40px;
    border-radius: 30px;
    border: 1px solid var(--border-soft);
    outline: none;
    background: linear-gradient(135deg, #0F172A, var(--bg-main));
    color: var(--text-main);
    font-size: 14px;
    transition: .3s ease;
    box-sizing: border-box;
  }

  .search-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15),
                0 0 12px rgba(0, 229, 255, 0.15);
  }

  .search-box input::placeholder {
    color: var(--text-muted);
  }

  .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: var(--cyan);
    pointer-events: none;
  }

  /* ===============================
    MENU / DROPDOWN (RIGHT)
  ================================ */
  .navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
  }
  .navbar-menu a {
    color:white ;
    text-decoration: none;
  }

  /* ===============================
    MOBILE & TABLET
  ================================ */
  @media (max-width: 991px) {

    /* tetap satu baris */
    .navbar-top {
      flex-wrap: nowrap;
    }

    /* search tetap di tengah */
    .search-box {
      flex: 1;
      max-width: 100%;
      margin: 0 12px;
    }

    /* menu dropdown mobile */
    /* .navbar-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      flex-direction: column;
      background: linear-gradient(180deg, var(--bg-navbar), #090E18);
      padding: 16px;
      gap: 15px;
      border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    } */
     .navbar-menu{
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;

      flex-direction: column;
      align-items: flex-start; /* ini yang bikin tidak center */
      justify-content: flex-start;

      background: linear-gradient(180deg, var(--bg-navbar), #090E18);
      padding: 16px;
      gap: 15px;
      border-bottom: 1px solid rgba(212, 175, 55, 0.15);
     }

    .navbar-menu.active {
      display: flex;
    }

    .menu-left,
    .menu-right {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      width: 100%;
    }

    .menu-left a,
    .menu-right a {
      width: 100%;
    }
  }

  /* ===============================
    EXTRA SMALL (HP)
  ================================ */
  @media (max-width: 576px) {
    .search-box input {
      height: 40px;
      font-size: 13px;
    }
  }



  /* ===============================
    MENU
  ================================ */
  .menu-left a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow .3s ease;
  }

  .menu-left a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 8px var(--navbar-hover);
  }

  .menu-left a.active {
    color: var(--gold);
  }

  /* klik lalu lepas tetap putih */
  .menu-left a:focus,
  .menu-left a:active {
    color: var(--text-main);
    outline: none;
  }

  .menu-right a,
  .profile-menu > a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: .3s;
  }

  /* --- Hover menu --- */
  .menu-left a:hover,
  .menu-right a:hover,
  .profile-menu a:hover {
    color: var(--gold-hover);
  }

  /* --- Active menu --- */
  .navbar-menu a.active {
    border-bottom: 2px solid var(--gold) !important;
    color: var(--gold) !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  }

  /* --- Dropdown menu items --- */
  .dropdown-menu a i {
    margin-right: 6px;
  }

  /* ===============================
    BUTTON
  ================================ */
  .btn-warning {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    border: none;
    color: var(--bg-main);
    font-weight: 600;
    border-radius: 10px;
    transition: .3s ease;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
  }

  .btn-warning:hover {
    background: linear-gradient(135deg, #FFE066, var(--gold-hover));
    color: #020406;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.55);
  }

  /* ===============================
    SOSMED
  ================================ */
  .header-sosmed {
    margin: 10px 20px 15px 25px;
  }

  .warapper-sosmed {
    gap: 22px;
    padding: 20px 0;
  }

  .link-sosmed a {
    display: inline-block;
    transition: transform .3s ease, filter .3s ease;
  }

  .link-sosmed a:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 0 10px var(--cyan));
  }

  .sosmed {
    margin: 10px 20px 30px 25px;
  }

  .header-sosmed-text {
    width: 100%;
    text-align: center;
    color: var(--gold);
    letter-spacing: .5px;
  }

  /* ===============================
    FOOTER
  ================================ */
  .footer-dark {
    background: radial-gradient(circle at top, #05080F, #020406);
    color: #BBBBBB;
    border-top: 1px solid var(--border-gold);
    padding-bottom: 40px;
  }

  .footer-dark a {
    color: var(--text-main);
    text-decoration: none;
    transition: .3s ease;
  }

  .footer-dark a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 8px var(--navbar-hover);
  }

  /* fitur */
  .footer-link a {
    color: var(--text-main);
    text-decoration: none;
  }
  .footer-link a:hover {
    color: var(--gold-hover);
  }

  /* --- Footer Logo --- */
  .footer-logo {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: transform 0.5s ease, filter 0.5s ease;
    animation: glowPulse 3s infinite ease-in-out;
    cursor: pointer;
  }

  .footer-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--gold));
  }

  /* --- Glow Animation --- */
  @keyframes glowPulse {
    0% {
      filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.3));
    }
    50% {
      filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.85));
    }
    100% {
      filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.3));
    }
  }

.payment-footer {
  overflow: hidden;
}

.payment-marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.payment-track {
  display: inline-flex;
  gap: 10px; /* jarak kecil */
  padding: 0;
  margin: 0;
  width: max-content;
  animation: marquee 60s linear infinite;
  align-items: center;
}

.payment-track img {
  height: 34px;
  display: block;
  margin: 0;
  padding: 0;
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Fade edge */
.payment-marquee::before,
.payment-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.payment-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main), transparent);
}

.payment-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main), transparent);
}



  /* =============================
    FOOTER GLOBAL SCALE
  ============================= */
  

  /* =============================
    SOSMED SECTION
  ============================= */
  .box-sosmed {
    padding-bottom: 70px;
  }

  .header-sosmed-text {
    font-size: 22px;
    letter-spacing: .5px;
  }

  /* =============================
    CENTER BRANDING SECTION
  ============================= */
  .footer-dark .container.text-center {
    max-width: 1100px;
  }

  /* Nama brand */
  .footer-dark h3 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  /* Deskripsi */
  .footer-dark p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  /* =============================
    PAYMENT SLIDER SCALE
  ============================= */
  .payment-footer {
    margin-top: 48px;
  }

  .payment-track {
    gap: 48px; /* lebih lega */
  }

  .payment-track img {
    height: 44px; /* dari 34px */
    opacity: .9;
  }

  /* =============================
    BOTTOM FOOTER
  ============================= */
  .footer-dark hr {
    margin-top: 70px;
    margin-bottom: 40px;
  }

  .footer-dark .container:last-child {
    font-size: 15px;
    line-height: 1.7;
  }

  .footer-dark h6 {
    font-size: 16px;
    margin-bottom: 14px;
  }
  /* Batasi panjang jalur sliding (tampil ±6 logo) */
  .payment-marquee {
    max-width: 520px;   /* ± 6 logo, sesuaikan jika perlu */
    margin: 0 auto;     /* tetap center */
  }
  /* Branding kiri-kanan */
  .footer-branding {
    max-width: 1000px;
    margin: 0 auto;
  }

  .footer-brand-text {
    max-width: 560px;
  }

  /* Footer bawah lebih rapat */
  .footer-dark hr {
    margin-top: 24px;
    margin-bottom: 20px;
  }
  /* Jarak khusus antara logo dan deskripsi */
  .footer-brand-logo {
    margin-right: 40px; /* atur jarak sesuai selera */
  }
  .footer-bottom {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .footer-bottom .row {
    --bs-gutter-x: 14px;
  }


  /*baru

  */
  .container{
      color:white
  }

  .custom-title-border{
      text-align:right;border:1px solid var(--custom-border);border-radius:10px;
      font-family: "Eurostile Extended", "Eurostile", "Microgramma", sans-serif;
    font-weight: 700;
    letter-spacing: 3px; /* atur jarak antar huruf */
  }

  .custom-border{
      border:1px solid var(--custom-border);border-radius:10px
  }
    .custom-right-border{
      border-right:1px solid var(--custom-border);
  }
  .custom-bottom-border{
      border-bottom:1px solid var(--custom-border);
  }
  .big-banner{
        width: 100%;
      height: 70vh;
      object-fit: cover;
      object-position: center center;
  }
  .btn-pill:hover,.btn-pill.is-active {
    /* transform: translateY(-1px); */
    box-shadow: 0 8px 20px rgba(30,136,229,0.35);
    background: #0054a8ff;
  }
  .btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);

    background: #092d50;

    color: #fff;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    width: 300px;
    display: flex;
    justify-content: center;
  }
  .card-disabled{
    background: #80808061;
      opacity: 0.7;
      border: gray;
    border-radius: 10px;
    padding: 15px;
    color: white;
    position: relative;
    margin-bottom: 30px;
    cursor:not-allowed;
    transition:background-color .2s ease;
  }


  .card-img {
    width: 100%;
    border-radius: 10px;
  }

  .card-img-small {
    width: 50px;
    border-radius: 10px;
  }

  .card-icon {
    width: 40px;
    margin-right: 10px;
    vertical-align: middle;
  }

  hr {
    border-color: #2a4e88;
    margin: 10px 0;
  }

  /* Ribbon */
  .ribbon {
    width: 90px;
    height: 30px;
    background: #d83030;
    position: absolute;
    top: 10px;
    right: -25px;
    text-align: center;
    color: white;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 12px;
    line-height: 30px;
    z-index: 10;
  }

  .ribbon span {
    display: block;
    transform: rotate(-45deg);
  }
  /*===*/
  /* ===============================
    GAME CATALOG
  ================================ */
  /* ===============================
    GRID
  ================================ */
  .game-grid {
    margin-top: 18px;
  }

  /* 6 kolom desktop */
  @media (min-width: 992px) {
    .col-lg-2-5 {
      flex: 0 0 auto;
      width: 16.666666%;
    }
  }

  /* Remove underline link */
  .card-link {
    text-decoration: none;
    color: inherit;
  }

  /* ===============================
    CARD
  ================================ */
  .custom-card {
    background: var(--bg-main);
    /* border: 1px solid var(--custom-border); */
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: .35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,.6);
    max-height: 304px;
    /* width: 179px; */
    margin-bottom: 30px;
  }

  .custom-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow:
      0 0 20px 5PX rgba(0,229,255,.4)
      /* 0 18px 45px rgba(0,0,0,.85); */
  }

  .custom-card .game-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    margin: 0;
    padding: 0;
  }


  /* ===============================
    IMAGE
  ================================ */
  .custom-card .card-header {
    position: relative;
    height: 280px;
    overflow: hidden;
    padding: 0;
  }

  .custom-card .card-header .game-image {
    width: 100%;
    height: 100%;
    filter:blur(0px);
    object-fit: cover;
    transition: transform .45s ease,filter .45s ease;
  }
  .custom-card .card-header .letter-logo {
      width: 70%;
      position: relative;
      top: -80px;
      transition: transform .45s ease;
  }
  .custom-card:hover .card-header .game-image {
    transform: scale(1.12);
    filter:blur(5px)
  }
  .custom-card:hover .card-header .letter-logo {
      transform: translateY(-80px);
  }

  /* .card-header.flash-sale{
    min-height:0px !important;
        height: 60% !important;
  }

    .card-header.flash-sale img{
        height: 100%;
        object-fit: cover;
  } */

  /* ===============================
    INFO
  ================================ */
  .custom-card .card-body {
    padding: 10px 12px;
    background: linear-gradient(180deg, #0F172A, var(--bg-main));
  }

  .custom-card .card-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .custom-card .card-body p {
    font-size: 12px;
    color: var(--text-muted);
    /* margin-top: 2px; */
  }



  /* ===============================
    MOBILE
  ================================ */
  @media (max-width: 576px) {
    .custom-card .card-header {
    min-height: 230px;
    }
  }
  @media (max-width: 740px) {
    .sticky-navbar {
      display:flex; 
      align-items:center;
      justify-content:flex-start; 
      position:sticky; 
      top:70px; 
      z-index:1000; 
      overflow-x:auto; 
      overflow-y:hidden; 
      white-space:nowrap;
    }
  }

  /* ===============================
    PROFILE DROPDOWN (FINAL FIX)
  ================================ */
  .profile-menu {
    position: relative;
  }

  .profile-menu .dropdown-menu {
    background: linear-gradient(180deg, #0F172A, var(--bg-main));
    border-radius: 12px;
    padding: 6px 0;
    min-width: 170px;
    border: 1px solid rgba(212,175,55,.25);
    box-shadow: 0 14px 32px rgba(0,0,0,.65);
    margin-top: 10px;
    animation: dropdownFade .18s ease forwards;
  }

  .profile-menu .dropdown-item {
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-main); /* ✅ Profil & Keluar sama */
    font-size: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .25s ease;
    border-radius: 8px;
  }

  .profile-menu .dropdown-item i {
    font-size: 15px;
    color: var(--gold);
  }

  .profile-menu .dropdown-item:hover,
  .profile-menu .dropdown-item:focus {
    background: rgba(212,175,55,.15);
    color: #FFD86B;
  }

  .profile-menu .dropdown-item:hover i {
    color: #FFD86B;
  }

  /* Divider */
  .profile-menu .dropdown-divider {
    border-color: rgba(212,175,55,.18);
  }

  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(4px) scale(.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .profile-user-label,
  .profile-user-name {
    color: var(--text-main); /* sama persis */
    font-size: 13px;
  }

  .profile-menu .dropdown-menu {
    top: 100% !important;
    margin-top: 10px; /* sudah kamu punya, ini aman */
  }


  /* ===============================
    SOSMED PROMO SECTION (FIX)
  ================================ */
  .sosmed-section {
    background:
      radial-gradient(circle at top, var(--bg-main), #05080F),
      repeating-radial-gradient(
        circle,
        rgba(255,255,255,.035) 0,
        rgba(255,255,255,.035) 1px,
        transparent 1px,
        transparent 14px
      );
    padding: 48px 20px;
    text-align: center;
  }

  .sosmed-title {
    color: #FFD86B;
    font-weight: 700;
    margin-bottom: 26px;
  }

  /* Container icon */
  .sosmed-list {
    display: flex;
    justify-content: center;
    gap: 18px;
  }

  /* Icon wrapper */
  .sosmed-item {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .sosmed-item img {
    width: 57px;
    transition: transform .35s ease;
  }

  /* Hover effect */
  .sosmed-item:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 0 26px rgba(212,175,55,.65);
  }

  .sosmed-item:hover img {
    transform: scale(1.30);
  }

  /* Warna glow per platform */
  .instagram:hover { box-shadow: 0 0 28px rgba(225,48,108,.8); }
  .tiktok:hover    { box-shadow: 0 0 28px rgba(0,242,234,.7); }
  .youtube:hover   { box-shadow: 0 0 28px rgba(255,0,0,.7); }
  .whatsapp:hover  { box-shadow: 0 0 28px rgba(37,211,102,.7); }
  .discord:hover   { box-shadow: 0 0 28px rgba(88,101,242,.7); }

  .sosmed-item {
    box-shadow: 0 0 12px rgba(212,175,55,.15);
    animation: floatIcon 4s ease-in-out infinite;
    border: 1px solid rgba(212,175,55,.18);
  }

  /* ===============================
    SWIPER CAROUSEL STYLE
  ================================ */
  /* .mySwiper {
  width: 100%;
  padding: 20px 0;
  overflow: visible;
}

.mySwiper .swiper-wrapper {
  align-items: center;
}

.mySwiper .swiper-slide {
  position: relative;
  border-radius: 25px;
  overflow: hidden;

  transform: scale(0.72);
  opacity: 0.2;
  filter: blur(7px);
  z-index: 1;

  transition: transform 0.8s ease, opacity 0.8s ease, filter 0.8s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: 25px;
} */

/* slide aktif (paling besar) */
/* .mySwiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
  z-index: 20;
} */

/* prev & next (lebih kecil dan masuk ke belakang active) */
/* .mySwiper .swiper-slide-prev {
  transform: scale(0.82) translateX(70px);
  opacity: 0.6;
  filter: blur(2px);
  z-index: 10;
} */

  /* prev & next */
  /* .mySwiper .swiper-slide-prev,
  .mySwiper .swiper-slide-next {
    transform: scale(0.9);
    opacity: 0.6;
    filter: blur(3px);
    z-index: 5;
  } */
/* ========================= */
/* SPLIDE DEFAULT STYLE */
/* ========================= */

#main-carousel {
  width: 100%;
  position: relative;
}

/* track biarkan default (jangan overflow visible) */
#main-carousel .splide__track {
  border-radius: 25px;
  overflow: hidden;
}

/* slide */
#main-carousel .splide__slide {
  border-radius: 25px;
  overflow: hidden;
}

/* gambar */
#main-carousel .splide__slide img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}

/* ========================= */
/* ARROWS (TOMBOL KIRI KANAN) */
/* ========================= */
#main-carousel .splide__arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

#main-carousel .splide__arrow svg {
  fill: #fff;
}

#main-carousel .splide__arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ========================= */
/* PAGINATION (BULAT-BULAT) */
/* ========================= */
#main-carousel .splide__pagination {
  bottom: -20px;
}

#main-carousel .splide__pagination__page {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.4;
}

#main-carousel .splide__pagination__page.is-active {
  opacity: 1;
  transform: scale(1.2);
}

/* .flash-deal-item-container::before,
.flash-deal-item-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.flash-deal-item-container::before {
  left: 0;
  background: none !important;
}

.flash-deal-item-container::after {
  right: 0;
  background: none !important;
} */

/* glow di logo flashdeal */
/* .flash-glow {
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.9));
    transform: scale(1.03);
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.4));
    transform: scale(1);
  }
} */

.search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 6px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s;
}

.search-item:hover {
    background: #f5f5f5;
}

.search-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.search-title {
  color:black;
    font-weight: 600;
    font-size: 14px;
}

.search-desc {
    font-size: 12px;
    color: #777;
}


.page-section {
    scroll-margin-top: 150px; /* sesuaikan tinggi navbar */
}
#main-carousel .splide__slide {
    height: 400px; /* desktop */
}


#main-carousel .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* default untuk layar besar */
    border-radius: 12px;
}

/* Mobile: jangan zoom, biar gambar mengecil mengikuti container */
@media (max-width: 992px) {
    #main-carousel .splide__slide img {
        height: auto;
        object-fit: contain;
        background: #000; /* optional biar tidak kosong putih */
    }
    #main-carousel .splide__slide {
        height: 200px; /* mobile */
    }
}

#chatButton {
    position: fixed;
    bottom: 20px;
    right: 20px; /* pindah ke kiri */
    width: 55px;
    height: 55px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#chatBox {
    position: fixed;
    bottom: 90px;
    right: 20px; /* tetap kiri */
    width: 320px;
    height: 420px;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    display: none;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.special-program-modal {
    border-radius: 30px;
    background: linear-gradient(180deg, #0c3f7a 0%, #071b33 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 15px 40px rgba(0,0,0,0.6);
}

/* ornamen bulat kiri kanan */
.special-program-modal::before,
.special-program-modal::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.15);
    border: 3px solid rgba(0, 200, 255, 0.25);
    top: -40px;
}

.special-program-modal::before {
    left: -40px;
}

.special-program-modal::after {
    right: -40px;
}

/* garis dekorasi */
.special-program-tag {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(0, 200, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
}

.special-program-tag::after {
    content: "";
    flex-grow: 1;
    height: 2px;
    background: rgba(0, 200, 255, 0.35);
    border-radius: 10px;
}

.special-program-text {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.6;
}

/* tombol subscribe */
.special-program-btn {
    border-radius: 30px;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, #00d4ff, #007bff);
    border: none;
    box-shadow: 0px 8px 20px rgba(0, 200, 255, 0.35);
}

.special-program-btn:hover {
    opacity: 0.9;
}



/* stiky promo terbaik------------------------------------------------------ */
/* ================= WRAPPER ================= */
.promo-section{
    width:100%;
}

/* ================= PROMO BOX ================= */
.promo-box{
    width:100%;
    max-width:1270px;
    margin:40px auto 25px auto;
    padding:25px 30px;
    border-radius:18px;
    position:relative;
    overflow:hidden;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    border:1px solid rgba(0,180,255,.25);
    box-shadow:0 0 25px rgba(0,180,255,.15);

    text-align:center;
}

/* ================= OVERLAY ================= */
.promo-box::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(5,15,30,.85),
        rgba(10,25,50,.85)
    );
    backdrop-filter:blur(2px);
    z-index:1;
}

/* ================= GLOW LINE ================= */
.promo-box::after{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:60%;
    height:2px;
    background:linear-gradient(90deg,transparent,#00d0ff,transparent);
    animation:sectionGlow 3s linear infinite;
}

/* ================= CONTENT ================= */
.promo-content{
    position:relative;
    z-index:2;
}

/* ================= TITLE ================= */
.promo-title{
    margin:0;
    font-size:32px;
    font-family:'Orbitron', sans-serif;
    font-weight:700;
    letter-spacing:3px;
    color:#ffffff;
    text-transform:uppercase;
}

/* ================= SUBTITLE ================= */
.promo-subtitle{
    margin-top:10px;
    font-size:15px;
    letter-spacing:2px;
    color:#9edcff;
}

/* ================= ANIMATION ================= */
@keyframes sectionGlow{
    0%{opacity:.3;}
    50%{opacity:1;}
    100%{opacity:.3;}
}

/* ================= BACKGROUND PER CATEGORY ================= */

.pc-bg{
    background-image:url('/images/bg-pc.jpg');
}

.mobile-bg{
    background-image:url('/images/bg-mobile.jpg');
}

.trending-bg{
    background-image:url('/images/bg-trending.jpg');
}

.membership-bg{
    background-image:url('/images/bg-membership.jpg');
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .promo-box{
        padding:18px 20px;
        border-radius:14px;
    }

    .promo-title{
        font-size:20px;
        letter-spacing:2px;
    }

    .promo-subtitle{
        font-size:13px;
    }
}




/* ================= GLOBAL SECTION TITLE ================= */

.section-title-box{
    width:100%;
    max-width:1270px;
    margin:40px auto 25px auto;
    padding:25px 30px;
    border-radius:18px;
    position:relative;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    border:1px solid rgba(0,180,255,.25);
    box-shadow:0 0 25px rgba(0,180,255,.15);
}

/* Overlay gelap agar text jelas */
.section-title-box::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(5,15,30,.85),
        rgba(10,25,50,.85)
    );
    backdrop-filter:blur(2px);
}

/* Title Text */
.section-title-box h2{
    position:relative;
    margin:0;
    font-size:32px;
    font-family:'Orbitron', sans-serif;
    font-weight:700;
    letter-spacing:3px;
    color:#ffffff;
    text-transform:uppercase;
    z-index:2;
}


/* Animated Top Glow Line */
.section-title-box::after{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:60%;
    height:2px;
    background:linear-gradient(90deg,transparent,#00d0ff,transparent);
    animation:sectionGlow 3s linear infinite;
}


/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .section-title-box{
        padding:18px 20px;
        border-radius:14px;
    }

    .section-title-box h2{
        font-size:20px;
        letter-spacing:2px;
    }

}

.required-star {
    color: #dc3545; /* merah modern */
    font-weight: bold;
}