/* =========================================================
   TODAGAMES TEMPLATE V2 (MODERN GLASS & DASHBOARD SYSTEM)
   File: assets/css/templates/v2.css
   ========================================================= */

/* Neutral Grounds & Glassmorphism Surfaces berbasis Warna DB */
:root {
  --bg-body: var(--warna);
  --bg-surface: #221542;
  --bg-card: var(--warna_3);
  --bg-card-hover: #3b236e;

  --border-card: rgba(255, 255, 255, 0.09);
  --border-highlight: hsl(var(--warnahsl, 263 70% 50%) / 0.5);

  --text-title: #f8fafc;
  --text-body: #ddd6fe;
  --text-muted: #94a3b8;
  --text-accent: hsl(var(--warnahsl, 263 70% 50%));

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --font-main:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card: none;
  --shadow-glow: none;
}

/* Reset & Base Rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a,
a:hover,
a:focus,
a:visited,
a:active {
  text-decoration: none !important;
  outline: none;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

button,
a,
input,
select {
  /* min-height: 44px; */
  touch-action: manipulation;
}

/* ---------------------------------------------------------
   NAVBAR (MOBILE-FIRST)
   --------------------------------------------------------- */
.navbar-modern {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: hsl(var(--warnahsl2) / .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-card);
  padding: 0;
}

.nav-top-row {
  padding: 14px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--warna);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.brand-logo-img {
  height: 36px;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.5px;
}

.brand-title span {
  color: #a78bfa;
}

.search-box-wrapper {
  display: none;
  flex: 1;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Live Search Results Dropdown V2 */
.v2-search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--warna);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  max-height: 380px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  padding: 8px;
}

.v2-search-results-dropdown.show {
  display: block;
}

.v2-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-body);
  transition: background 0.2s ease;
}

.v2-search-item-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.v2-search-item-info {
  flex: 1;
  min-width: 0;
}

.v2-search-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-search-item-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.v2-search-highlight {
  color: var(--warna_4);
  font-weight: 800;
}

.v2-search-empty {
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--border-card);
  border-radius: 30px;
  padding: 8px 16px 8px 38px;
  color: var(--text-title);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--warna_4) !important;
}

.search-box-wrapper .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  stroke: var(--text-muted);
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  pointer-events: none;
  display: block;
}

.mobile-search-btn svg,
.menu-toggle-btn svg,
.mobile-search-inner svg {
  width: 16px;
  height: 16px;
  color: var(--text-title);
}

.nav-link-v2 .nav-svg-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.nav-link-v2:hover .nav-svg-icon,
.nav-link-v2.active .nav-svg-icon {
  stroke: var(--warna_4) !important;
  transform: translateY(-1px);
}

/* =========================================================
   NAVBAR & SIDEBAR SVG MICRO-INTERACTION ANIMATIONS
   1. Topup: Gamepad getar-getar + tombol dimainkan
   2. Cek Transaksi: Shopping bag goyang mencari pesanan + tali lepas
   3. Artikel/Promo: Kado getar + penutup lepas + bintang/artikel meluncur
   4. Daftar Harga: Mencatat baris list + efek kedip-kedip highlight
   ========================================================= */

.nav-link-v2 .nav-svg-icon,
.sidebar-menu-icon svg {
  overflow: visible !important;
}

/* ---------------------------------------------------------
   1. TOPUP (GAMEPAD): Power Charge & Floating Energy (No Getar)
   Gamepad mengambang halus + efek gelombang energi/petir terisi
   --------------------------------------------------------- */
.nav-icon-gamepad {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-icon-gamepad .gp-charge-energy {
  opacity: 0;
  transform: translateY(4px) scale(0.6);
  transform-origin: 12px 3px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-icon-gamepad .gp-body {
  transform-origin: 12px 14px;
  transition: transform 0.25s ease;
}

.nav-icon-gamepad .gp-dpad,
.nav-icon-gamepad .gp-btns {
  transition: transform 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
}

/* Saat Hover (Desktop) & Active (Mobile) */
.nav-link-v2:hover .nav-icon-gamepad,
.sidebar-menu-item a:hover .nav-icon-gamepad,
.sidebar-menu-item a:active .nav-icon-gamepad {
  animation: gpFloat 1.4s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-gamepad .gp-charge-energy,
.sidebar-menu-item a:hover .nav-icon-gamepad .gp-charge-energy,
.sidebar-menu-item a:active .nav-icon-gamepad .gp-charge-energy {
  animation: gpChargeRise 1.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.nav-link-v2:hover .nav-icon-gamepad .gp-btns line,
.sidebar-menu-item a:hover .nav-icon-gamepad .gp-btns line,
.sidebar-menu-item a:active .nav-icon-gamepad .gp-btns line {
  animation: gpBtnGlow 1.4s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-gamepad .gp-dpad,
.sidebar-menu-item a:hover .nav-icon-gamepad .gp-dpad,
.sidebar-menu-item a:active .nav-icon-gamepad .gp-dpad {
  animation: gpDpadGlow 1.4s ease-in-out infinite;
}

/* Keyframe: Gamepad Mengambang Santai & Anggun */
@keyframes gpFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* Keyframe: Gelombang Energi Melayang Naik (Power Charge) */
@keyframes gpChargeRise {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.5);
  }
  25% {
    opacity: 1;
    transform: translateY(0px) scale(1.1);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1);
  }
  85%, 100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.7);
  }
}

/* Keyframe: Tombol Kanan Berpendar Cahaya Energi */
@keyframes gpBtnGlow {
  0%, 100% {
    stroke: currentColor;
    stroke-width: 2;
    filter: none;
  }
  35%, 65% {
    stroke: var(--warna_4, #ffb703);
    stroke-width: 2.8;
    filter: drop-shadow(0 0 2px var(--warna_4, #ffb703));
  }
}

/* Keyframe: Tombol D-Pad Kiri Ikut Menyala */
@keyframes gpDpadGlow {
  0%, 100% {
    stroke: currentColor;
    filter: none;
  }
  40%, 70% {
    stroke: var(--warna_4, #ffb703);
    filter: drop-shadow(0 0 2px var(--warna_4, #ffb703));
  }
}


/* ---------------------------------------------------------
   2. CEK TRANSAKSI (HANDBAG): Tali lepas berayun + tas goyang mencari
   --------------------------------------------------------- */
.nav-icon-transaksi .hb-handle {
  transform-origin: 8px 11px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-icon-transaksi .hb-body {
  transform-origin: 12px 18px;
  transition: transform 0.25s ease;
}

.nav-icon-transaksi .hb-search-icon {
  opacity: 0;
  transform: translateY(4px) scale(0.6);
  transform-origin: 12px 13px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Saat Hover (Desktop) & Active (Mobile) */
.nav-link-v2:hover .nav-icon-transaksi .hb-handle,
.sidebar-menu-item a:hover .nav-icon-transaksi .hb-handle,
.sidebar-menu-item a:active .nav-icon-transaksi .hb-handle {
  animation: hbHandleLoose 0.9s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.nav-link-v2:hover .nav-icon-transaksi .hb-body,
.sidebar-menu-item a:hover .nav-icon-transaksi .hb-body,
.sidebar-menu-item a:active .nav-icon-transaksi .hb-body {
  animation: hbSearchWobble 0.9s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-transaksi .hb-search-icon,
.sidebar-menu-item a:hover .nav-icon-transaksi .hb-search-icon,
.sidebar-menu-item a:active .nav-icon-transaksi .hb-search-icon {
  animation: hbSearchPeeking 0.9s ease-in-out infinite;
}

/* Keyframes Handbag */
@keyframes hbHandleLoose {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-28deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(-22deg);
  }
}

@keyframes hbSearchWobble {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(-8deg) translateY(0.5px);
  }
  50% {
    transform: rotate(0deg) translateY(-0.5px);
  }
  75% {
    transform: rotate(7deg) translateY(0.5px);
  }
}

@keyframes hbSearchPeeking {
  0%, 100% {
    opacity: 0;
    transform: translateY(4px) scale(0.6);
  }
  20% {
    opacity: 1;
    transform: translateY(0px) scale(1) rotate(-8deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-1.5px) scale(1.05) rotate(5deg);
  }
  75% {
    opacity: 0.9;
    transform: translateY(0px) scale(0.95) rotate(-4deg);
  }
}


/* ---------------------------------------------------------
   3. ARTIKEL/PROMO (GIFT): Getar + tutup kado lepas + bintang/artikel keluar
   --------------------------------------------------------- */
.nav-icon-promo .gf-lid {
  transform-origin: 3px 9px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-icon-promo .gf-box {
  transform-origin: 12px 16px;
  transition: transform 0.2s ease;
}

.nav-icon-promo .gf-pop-content {
  opacity: 0;
  transform: translateY(5px) scale(0.4);
  transform-origin: 12px 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Saat Hover (Desktop) & Active (Mobile) */
.nav-link-v2:hover .nav-icon-promo .gf-box,
.sidebar-menu-item a:hover .nav-icon-promo .gf-box,
.sidebar-menu-item a:active .nav-icon-promo .gf-box {
  animation: gfBoxJiggle 1.1s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-promo .gf-lid,
.sidebar-menu-item a:hover .nav-icon-promo .gf-lid,
.sidebar-menu-item a:active .nav-icon-promo .gf-lid {
  animation: gfLidPopOff 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.nav-link-v2:hover .nav-icon-promo .gf-pop-content,
.sidebar-menu-item a:hover .nav-icon-promo .gf-pop-content,
.sidebar-menu-item a:active .nav-icon-promo .gf-pop-content {
  animation: gfContentBurst 1.1s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* Keyframes Gift */
@keyframes gfBoxJiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  8% {
    transform: rotate(-5deg);
  }
  16% {
    transform: rotate(5deg);
  }
  24% {
    transform: rotate(-3deg);
  }
  32% {
    transform: rotate(0deg);
  }
}

@keyframes gfLidPopOff {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  8%, 20% {
    transform: translateY(-0.5px) rotate(3deg);
  }
  30% {
    transform: translateY(-6px) rotate(-18deg);
  }
  50% {
    transform: translateY(-7px) rotate(-22deg);
  }
  75% {
    transform: translateY(-4px) rotate(-10deg);
  }
  92% {
    transform: translateY(0.5px) rotate(1deg);
  }
}

@keyframes gfContentBurst {
  0%, 20% {
    opacity: 0;
    transform: translateY(5px) scale(0.4);
  }
  35% {
    opacity: 1;
    transform: translateY(-4px) scale(1.15);
  }
  55% {
    opacity: 1;
    transform: translateY(-6px) scale(1.2);
  }
  75% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1);
  }
  90%, 100% {
    opacity: 0;
    transform: translateY(2px) scale(0.5);
  }
}


/* ---------------------------------------------------------
   4. DAFTAR HARGA (CLIPBOARD): Mencatat baris + list kedip-kedip
   --------------------------------------------------------- */
.nav-icon-harga .cp-board {
  transform-origin: 12px 12px;
  transition: transform 0.2s ease;
}

.nav-icon-harga .cp-pen {
  opacity: 0;
  transform: translate(2px, -2px) scale(0.8);
  transform-origin: 17px 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-icon-harga .cp-dot,
.nav-icon-harga .cp-line {
  transition: stroke-width 0.2s ease, opacity 0.2s ease;
}

/* Saat Hover (Desktop) & Active (Mobile) */
.nav-link-v2:hover .nav-icon-harga .cp-board,
.sidebar-menu-item a:hover .nav-icon-harga .cp-board,
.sidebar-menu-item a:active .nav-icon-harga .cp-board {
  animation: cpBoardTilt 1.2s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-harga .cp-pen,
.sidebar-menu-item a:hover .nav-icon-harga .cp-pen,
.sidebar-menu-item a:active .nav-icon-harga .cp-pen {
  animation: cpPenWrite 1.2s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-harga .cp-item-1,
.sidebar-menu-item a:hover .nav-icon-harga .cp-item-1,
.sidebar-menu-item a:active .nav-icon-harga .cp-item-1 {
  animation: cpLineBlink1 1.2s ease-in-out infinite;
}

.nav-link-v2:hover .nav-icon-harga .cp-item-2,
.sidebar-menu-item a:hover .nav-icon-harga .cp-item-2,
.sidebar-menu-item a:active .nav-icon-harga .cp-item-2 {
  animation: cpLineBlink2 1.2s ease-in-out infinite;
}

/* Keyframes Clipboard */
@keyframes cpBoardTilt {
  0%, 100% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(-3deg) translateY(-0.5px);
  }
  70% {
    transform: rotate(2deg) translateY(0.5px);
  }
}

@keyframes cpPenWrite {
  0%, 100% {
    opacity: 0;
    transform: translate(3px, -3px) scale(0.7);
  }
  15% {
    opacity: 1;
    transform: translate(0px, 0px) scale(1) rotate(5deg);
  }
  35% {
    opacity: 1;
    transform: translate(-3px, 1px) scale(1) rotate(-8deg);
  }
  50% {
    opacity: 1;
    transform: translate(1px, 4px) scale(1) rotate(5deg);
  }
  70% {
    opacity: 1;
    transform: translate(-2px, 5px) scale(1) rotate(-6deg);
  }
  85% {
    opacity: 0.6;
    transform: translate(1px, 3px) scale(0.9);
  }
}

@keyframes cpLineBlink1 {
  0%, 10% {
    opacity: 0.4;
  }
  20%, 35% {
    opacity: 1;
    stroke-width: 2.8;
  }
  50%, 100% {
    opacity: 1;
    stroke-width: 2;
  }
}

@keyframes cpLineBlink2 {
  0%, 40% {
    opacity: 0.4;
  }
  50%, 70% {
    opacity: 1;
    stroke-width: 2.8;
  }
  85%, 100% {
    opacity: 1;
    stroke-width: 2;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-search-btn,
.menu-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-title);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

.currency-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-title);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  outline: none !important;
}

.currency-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--warna_4);
}

.currency-flag-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.currency-code {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
}

/* ---------------------------------------------------------
   USER PROFILE BUTTON IN TOP NAVBAR (NEXT TO CURRENCY FLAG)
   --------------------------------------------------------- */
.user-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text-title);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.user-avatar-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8b4513;
  /* Background Coklat tetap */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.user-profile-name {
  display: none;
  color: var(--text-title);
  font-size: 13px;
  font-weight: 600;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 576px) {
  .user-profile-btn {
    gap: 8px;
    padding: 0 12px 0 4px;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-card);
  }

  .user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--warna_4);
    color: var(--text-title);
  }

  .user-profile-name {
    display: inline-block;
  }
}

/* ---------------------------------------------------------
   CURRENCY SELECTION MODAL POPUP V2
   --------------------------------------------------------- */
.currency-modal-backdrop {
  position: fixed;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.75); */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.currency-modal-card {
  width: 100%;
  max-width: 420px;
  background: var(--warna_2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-border-radius: var(--radius-lg, 16px);
  -moz-border-radius: var(--radius-lg, 16px);
  -ms-border-radius: var(--radius-lg, 16px);
  -o-border-radius: var(--radius-lg, 16px);
}

.currency-modal-backdrop.show .currency-modal-card {
  transform: scale(1) translateY(0);
}

.currency-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-card);
}

.currency-modal-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-modal-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
}

.currency-modal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md, 12px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  color: var(--text-body);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.currency-modal-option:hover,
.currency-modal-option.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--warna_4);
  color: var(--text-title);
}

.currency-modal-option-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-flag-img-lg {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.currency-option-code {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
}

.currency-option-name {
  font-size: 11px;
  color: var(--text-muted);
}

.currency-check-icon {
  color: #00ffa2;
  font-size: 18px;
}

.navbar-secondary-menu {
  display: none;
}

@media (min-width: 768px) {
  .navbar-secondary-menu {
    display: block;
    width: 100%;
    border-top: 1px solid var(--border-card);
  }

  .nav-secondary-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
  }

  .nav-secondary-left {
    display: flex;
    align-items: stretch;
    gap: 28px;
  }

  .nav-secondary-right {
    display: flex;
    align-items: center;
    padding: 4px 0;
  }

  .nav-link-v2 {
    color: var(--text-body);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 0;
    position: relative;
    transition: all 0.2s ease;
  }

  .nav-link-v2 i {
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
    -webkit-transition: color 0.2s ease, transform 0.2s ease;
    -moz-transition: color 0.2s ease, transform 0.2s ease;
    -ms-transition: color 0.2s ease, transform 0.2s ease;
    -o-transition: color 0.2s ease, transform 0.2s ease;
  }

  .nav-link-v2:hover,
  .nav-link-v2.active,
  .nav-link-v2:hover span,
  .nav-link-v2.active span {
    color: var(--warna_4) !important;
  }

  .nav-link-v2:hover i,
  .nav-link-v2.active i {
    color: var(--warna_4) !important;
    transform: translateY(-1px);
  }

  .nav-link-v2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--warna_4);
    border-radius: 2px 2px 0 0;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-link-v2:hover::after,
  .nav-link-v2.active::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
  }

  /* Dropdown Kalkulator V2 */
  .nav-dropdown-v2 {
    position: relative;
    display: inline-block;
  }

  .nav-dropdown-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .nav-dropdown-toggle .dropdown-arrow {
    font-size: 11px;
    margin-left: 2px;
    transition: transform 0.2s ease;
  }

  .nav-dropdown-v2:hover .dropdown-arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--warna_2);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md, 12px);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1050;
  }

  .nav-dropdown-v2:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-body);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
  }

  .nav-dropdown-item i {
    color: var(--text-muted);
    font-size: 14px;
    width: 16px;
    text-align: center;
    transition: color 0.2s ease;
  }

  .nav-dropdown-item:hover,
  .nav-dropdown-item.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--warna_4) !important;
  }

  .nav-dropdown-item:hover i,
  .nav-dropdown-item.active i {
    color: var(--warna_4) !important;
  }
}

/* ---------------------------------------------------------
   MOBILE SIDEBAR DRAWER & OVERLAY (INTERACTIVE MENU)
   --------------------------------------------------------- */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.sidebar-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 290px;
  height: 100vh;
  background: var(--warna_2);
  border-right: 1px solid var(--border-card);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.sidebar-backdrop.show .sidebar-drawer {
  transform: translateX(300px);
}

.sidebar-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.02);
}

.sidebar-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-close-btn:hover {
  background: #f43f5e;
  border-color: #f43f5e;
}

.sidebar-user-card {
  margin: 16px 18px 8px 18px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--warna_3);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card);
}

.user-greeting {
  font-size: 11px;
  color: #c4b5fd;
  font-weight: 600;
}

.user-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.user-balance {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
}

.sidebar-section-title {
  padding: 16px 18px 6px 18px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.sidebar-menu-list {
  list-style: none;
  padding: 0 12px;
}

.sidebar-menu-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sidebar-menu-item a:hover,
.sidebar-menu-item a.active {
  background: hsl(var(--warnahsl, 263 70% 50%) / 0.2);
  color: #fff;
  border-left: 3px solid var(--warna_4);
}

.sidebar-menu-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  font-size: 14px;
}

/* Mobile Search Modal */
.mobile-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 16, 45, 0.96);
  backdrop-filter: blur(20px);
  z-index: 10005;
  padding: 16px;
  border-bottom: 1px solid var(--border-card);
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-modal.show {
  transform: translateY(0);
}

.mobile-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   COMMON SECTION STYLING
   --------------------------------------------------------- */
.section-wrapper {
  margin-top: 28px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-desc {
  font-size: .75rem;
  line-height: 1rem;
  max-width: 48rem;
  color: var(--text-title);
  font-weight: 500;
}

.section-subtitle-link {
  font-size: 12px;
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-subtitle-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   1. HERO SLIDER BANNER & TRUST FEATURES
   --------------------------------------------------------- */
.hero-section {
  padding: 1.5rem 0 1.5rem 0;
  background-color: hsl(var(--warnahsl2) / 0.5);
}

.v2-banner-swiper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

.v2-banner-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 0.6;
  width: 8px;
  height: 8px;
  transition: all 0.25s ease;
}

.v2-banner-pagination .swiper-pagination-bullet-active {
  background: var(--warna_4) !important;
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}

.banner-slide-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 16, 45, 0.2) 0%,
      rgba(26, 16, 45, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.banner-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 4px;
}

.banner-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--warna);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: hsl(var(--warnahsl, 263 70% 50%) / 0.18);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.1;
}

.feature-sub {
  display: none;
}

/* ---------------------------------------------------------
   2. FLASH SALE SPLIT POSTER SHOWCASE & PROGRESS BAR
   --------------------------------------------------------- */
.flash-sale-section {
  padding: 10px 0;
}

.flash-sale-box-wrapper {
  background: hsl(var(--warnahsl2) / 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.flash-split-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 640px) {
  .flash-split-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .flash-split-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.flash-card-split-41 {
  display: flex;
  align-items: stretch;
  padding: 6px;
  gap: 10px;
  background: var(--warna_2);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  min-height: 125px;
  width: 100%;
}

.flash-card-split-41:hover {
  border-color: var(--warna_4);
  transform: translateY(-4px);
}

/* Style Image Poster Opsi 44: Minimalist Pill-Split Compact Poster */
.flash-split-poster {
  width: 90px;
  min-width: 90px;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

@media (min-width: 480px) {
  .flash-split-poster {
    width: 105px;
    min-width: 105px;
  }
}

.flash-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.flash-split-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  font-family: var(--font-h);
  font-size: 9px;
  font-weight: 900;
  background: #f43f5e;
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
  z-index: 2;
  white-space: nowrap;
}

.flash-split-content {
  flex: 1;
  align-self: stretch;
  padding: 4px 6px 4px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
}

.flash-split-top-group {
  margin-top: 0;
}

.flash-split-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.flash-split-game {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-split-stock {
  font-size: 9px;
  color: #f43f5e;
  font-weight: 800;
  white-space: nowrap;
}

.flash-split-prod {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-card-split-41.out-of-stock {
  pointer-events: none !important;
  cursor: not-allowed;
  background: var(--warna_3) !important;
  border-color: var(--warna_3) !important;
  opacity: 0.8;
}

.flash-card-split-41.out-of-stock .flash-split-img {
  filter: grayscale(80%);
}

.fs-progress-bg {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 6px 0 2px 0;
}

.fs-progress-fill {
  height: 100%;
  border-radius: 10px;
  /* background: linear-gradient(90deg, var(--warna_4), #f43f5e) */
  background: var(--warna_4);
  transition: width 0.5s ease;
}

.fs-stock-text {
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  color: var(--text-muted, #94a3b8);
  /* margin-bottom: 4px; */
  line-height: 1;
}

.fs-stock-text.text-out-of-stock {
  color: #f43f5e;
  font-weight: 800;
  text-transform: uppercase;
}

.flash-split-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0;
  gap: 6px;
}

.flash-split-prices {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.flash-split-price-now {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 900;
  color: var(--warna_4);
  white-space: nowrap;
}

.flash-split-btn {
  background: #f43f5e;
  color: #fff;
  font-family: var(--font-h);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.flash-card-split-41:hover .flash-split-btn {
  background: #ff4500;
}

.flash-sale-animated-title {
  color: #f43f5e;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #f43f5e, #fb7185, #ff4500, #f43f5e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flashTextShine 3s linear infinite;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.flash-bolt-icon {
  -webkit-text-fill-color: #f43f5e;
  color: #f43f5e;
  animation: flashPulseGlow 1.2s ease-in-out infinite alternate;
}

@keyframes flashTextShine {
  to {
    background-position: 200% center;
  }
}

@keyframes flashPulseGlow {
  0% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 2px rgba(244, 63, 94, 0.4));
  }

  50% {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.9));
  }

  100% {
    transform: scale(1.1) rotate(6deg);
    filter: drop-shadow(0 0 12px rgba(255, 69, 0, 0.8));
  }
}

/* INLINE COUNTDOWN TIMER SIDE-BY-SIDE DENGAN FLASH SALE */
.flash-sale-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.t-unit {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #f43f5e;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 18px;
  text-align: center;
}

.t-sep {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #f43f5e;
  opacity: 0.6;
}

.flash-grid-klasik {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.v2-flash-swiper {
  width: 100%;
  padding: 4px 2px 8px 2px;
  overflow: hidden;
}

/* FOUC Fix: Kunci layout & ukuran slide sebelum Swiper JS selesai loading */
.v2-flash-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  overflow: hidden;
  gap: 12px;
}

.v2-flash-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 auto;
  width: 290px;
  max-width: 290px;
}

@media (min-width: 480px) {
  .v2-flash-swiper:not(.swiper-initialized) .swiper-slide {
    width: 320px;
    max-width: 320px;
  }
}

@media (min-width: 768px) {
  .v2-flash-swiper:not(.swiper-initialized) .swiper-slide {
    width: 360px;
    max-width: 360px;
  }
}

.v2-flash-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.v2-flash-swiper .flash-card-klasik {
  width: 100%;
}

.flash-card-klasik {
  background: var(--warna_2);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.flash-card-klasik:hover {
  border-color: var(--warna_4);
  transform: translateY(-4px);
}

.flash-card-left {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
}

.flash-card-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.flash-badge-sale-sub {
  position: absolute;
  top: 7px;
  left: 7px;
  font-family: var(--font-h);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(103deg, #f3491b -8%, #ec1f3e 116%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
  margin-top: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.flash-card-info {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.flash-card-game {
  font-size: .675rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flash-card-prod {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.flash-card-price-group {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.flash-price-cut {
  font-size: 11px;
  color: #f43f5e;
  text-decoration: line-through;
  opacity: .75;
}

.flash-price-now {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-title);
}

/* ---------------------------------------------------------
   3. GRID POPULER / TRENDING
   --------------------------------------------------------- */
.trending-fire-gif {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  transform: translateY(-2px);
  flex-shrink: 0;
}

/* 12. App Store Editors' Choice Pill Row Style untuk Populer / Trending */
.populer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 768px) {
  .populer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .populer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.row-t12-card {
  background: hsl(var(--warnahsl3) / 5);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  overflow: hidden;
}

.row-t12-card:hover {
  background: hsl(var(--warnahsl2) / 5);
  border-color: var(--warna_4);
  transform: translateY(-3px);
}

.t12-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.t12-thumb-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.t12-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-populer-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
  z-index: 2;
  white-space: nowrap;
}

.t12-info-group {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.populer-title {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.populer-sub {
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t12-price-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--warna_4);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t12-btn {
  font-family: var(--font-h);
  font-size: 11px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 20px;
  /* background: var(--warna_3); */
  color: var(--text-title);
  border: 1px solid var(--warna_4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

@media (min-width: 480px) {
  .populer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .row-t12-card {
    padding: 10px 12px;
    border-radius: 16px;
    gap: 10px;
  }

  .t12-thumb-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
  }

  .populer-title {
    font-size: 12.5px;
  }

  .populer-sub {
    font-size: 10px;
  }

  .t12-price-tag {
    font-size: 10.5px;
  }
}

@media (min-width: 768px) {
  .populer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .row-t12-card {
    padding: 12px 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .t12-thumb-box {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 14px;
  }

  .populer-title {
    font-size: 13px;
  }

  .t12-price-tag {
    font-size: 11px;
  }
}

@media (min-width: 1024px) {
  .populer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

.row-t12-card:hover .t12-btn {
  background: var(--warna_4);
  color: #0f172a;
}

.badge-instant {
  color: #34d399;
  font-weight: 600;
}

/* ---------------------------------------------------------
   4. GRID KATEGORI GAMES (TABS + GRID)
   --------------------------------------------------------- */
.category-scroll-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroll-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  background: hsl(var(--warnahsl2) / 0.5);
  border: 1px solid transparent;
  color: var(--text-title);
  padding: .5rem 1rem;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  outline: none !important;
  box-shadow: none;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.cat-tab:focus,
.cat-tab:focus-visible,
.cat-tab:active {
  outline: none !important;
  box-shadow: none !important;
}

/* .cat-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
} */

.cat-tab.active {
  background: var(--warna_4);
  color: var(--text-title);
  border-color: transparent;
  font-weight: 600;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}

@media (min-width: 1280px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

/* Layered Pop-out Shelf (gaya opsi #5) + subtitle publisher abu Title Case (#5-2)
   Foto "menyembul" ke panel gradien; nama game besar, di bawahnya publisher abu. */
.game-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  text-decoration: none !important;
  color: inherit;
}

.sh-thumb {
  position: relative;
  z-index: 2;
  margin-left: 3px;
  margin-right: 3px;
}

.sh-thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.sh-chip {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #fb7185, #f43f5e);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 50%;
  white-space: nowrap;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.sh-chip svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.sh-panel {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  margin-top: -8px;
  padding: 15px 9px 10px;
  background: var(--warna_3);
  border: 1px solid var(--border-card);
  border-radius: 12px;
}

.sh-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.1px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-sub {
  font-family: var(--font-main);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.35;
  min-height: 1.35em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

/* Tanpa harga terdaftar: baris bawah cukup rata kanan */
.sh-row-right {
  justify-content: flex-end;
}

.sh-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 9px;
  color: #ffd7a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-btn {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 8px;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(109, 40, 217, 0.6);
}

.sh-thumb-img,
.sh-panel {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.game-card:hover .sh-thumb-img {
  transform: translateY(-5px) rotate(-3deg);
  -webkit-transform: translateY(-5px) rotate(-3deg);
  -moz-transform: translateY(-5px) rotate(-3deg);
  -ms-transform: translateY(-5px) rotate(-3deg);
  -o-transform: translateY(-5px) rotate(-3deg);
}

.game-card:hover .sh-panel {
  transform: translateY(-3px) rotate(3deg);
  border-color: var(--warna_4);
  -webkit-transform: translateY(-3px) rotate(3deg);
  -moz-transform: translateY(-3px) rotate(3deg);
  -ms-transform: translateY(-3px) rotate(3deg);
  -o-transform: translateY(-3px) rotate(3deg);
}

/* Skala naik di layar lebih lebar */
@media (min-width: 640px) {
  .sh-thumb {
    margin-left: 4px;
    margin-right: 4px;
  }

  .sh-panel {
    padding: 16px 10px 11px;
  }

  .sh-title {
    font-size: 11.5px;
  }

  .sh-sub {
    font-size: 9px;
  }

  .sh-price {
    font-size: 9.5px;
  }

  .sh-btn {
    font-size: 8.5px;
    padding: 4px 11px;
  }
}

@media (min-width: 1024px) {
  .sh-thumb {
    margin-left: 5px;
    margin-right: 5px;
  }

  .sh-panel {
    margin-top: -9px;
    padding: 17px 11px 12px;
    border-radius: 13px;
  }

  .sh-title {
    font-size: 12.5px;
  }

  .sh-sub {
    font-size: 9.5px;
  }

  .sh-row {
    margin-top: 9px;
    padding-top: 7px;
  }

  .sh-price {
    font-size: 10px;
  }

  .sh-btn {
    font-size: 9px;
    padding: 5px 12px;
  }
}

/* ---------------------------------------------------------
   5. GRID ARTIKEL / BLOG / NEWS (Opsi 6: Dual Featured Hero + Triple Grid Bottom)
   --------------------------------------------------------- */
.opt6-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.opt6-hero-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* border: 1px solid var(--border-card); */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
}

.opt6-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 9, 32, 0.1) 0%, rgba(15, 9, 32, 0.95) 85%);
  z-index: 2;
}

.opt6-hero-content {
  position: relative;
  z-index: 3;
}

.opt6-hero-card:hover {
  /* border-color: #06b6d4; */
  transform: translateY(-3px);
  /* box-shadow: 0 10px 25px rgba(6, 182, 212, 0.25); */
}

.opt6-hero-card-sm {
  height: 200px;
  padding: 16px;
}

.opt6-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.opt6-sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.opt6-sub-card:hover {
  background: var(--bg-card-hover);
  border-color: #fbbf24;
  transform: translateY(-3px);
}

.opt6-sub-thumb {
  height: 115px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.opt6-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opt6-sub-body {
  padding: 14px;
}

.opt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid;
  backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .opt6-grid-top {
    grid-template-columns: 1fr;
  }

  .opt6-grid-bottom {
    grid-template-columns: 1fr;
  }
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.article-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.article-img-box {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

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

.article-date-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(26, 16, 45, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-body);
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-card);
}

.article-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-snippet {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-readmore {
  font-size: 11px;
  font-weight: 700;
  color: #c4b5fd;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* ---------------------------------------------------------
   6. FOOTER (PRE-FOOTER - OPSI 1: Cyberpunk Esports Giant Footer Style)
   --------------------------------------------------------- */
.pre-footer-section {
  margin-top: 50px;
  background: var(--warna_2);
  /* border-top: 1px solid rgba(255, 255, 255, 0.08); */
  padding: 40px 0 24px 0;
  position: relative;
}

.f1-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-text span {
  color: #06b6d4;
}

.brand-desc {
  font-size: 13px;
  color: var(--text-title);
  line-height: 1.6;
  margin-top: 10px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--warna_4);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-title);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--warna_4);
  padding-left: 4px;
}

.f1-newsletter-input {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.f1-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  flex: 1;
  outline: none;
}

.f1-btn {
  background: var(--warna_4);
  color: var(--text-title);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.f1-brand-payments-wrap {
  margin-top: 18px;
}

.f1-payment-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warna_4);
  margin-bottom: 10px;
}

.payment-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-title);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.payment-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.payment-pill-img {
  height: 14px;
  max-width: 32px;
  object-fit: contain;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.95);
  padding: 1px 3px;
  border-radius: 3px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: var(--warna_4);
  color: #fff;
  transform: translateY(-3px);
}

.f1-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.f1-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.f1-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-size: 11px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ---------------------------------------------------------
   RESPONSIVE BREAKPOINTS (TABLET & DESKTOP)
   --------------------------------------------------------- */
@media (min-width: 481px) {
  .hero-banner-card {
    min-height: 220px;
  }

  .banner-slide-img {
    height: 220px;
  }

  .banner-title {
    font-size: 24px;
  }

  .banner-cta-btn {
    width: auto;
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-sub {
    display: block;
  }

  .flash-grid-klasik {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .populer-poster-box {
    height: 155px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {

  .search-box-wrapper {
    display: block;
  }

  .mobile-search-btn,
  .menu-toggle-btn {
    display: none;
  }

  .nav-btn-desktop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-card);
    color: var(--text-title);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }

  .hero-banner-card {
    min-height: 280px;
  }

  .banner-slide-img {
    height: 489px;
  }

  .banner-title {
    font-size: 32px;
  }

  .features-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .flash-grid-klasik {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .article-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .populer-poster-box {
    height: 180px;
  }

  .f1-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.container {
  max-width: none;
}

@media (min-width: 768px) {
  .container {
    max-width: 48rem
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 64rem
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 80rem
  }
}

/* =========================================================
   V2 TOASTR NOTIFICATION (POJOK KANAN ATAS — clean white, no shadow/neon/gradient)
   ========================================================= */
#toast-container.toast-top-right {
    top: 20px;
    right: 20px;
    z-index: 999999;
}

#toast-container>.toast {
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none;
    color: #000000;
    font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
    opacity: 1;
    animation: v2ToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding-left: 52px;
    position: relative;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

#toast-container>.toast:hover {
    box-shadow: none;
}

#toast-container>.toast>.toast-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 13px;
    font-weight: 700;
    color: #000000;
}

#toast-container>.toast>.toast-message {
    font-size: 12px;
    line-height: 1.45;
    color: #000000;
}

#toast-container>.toast>.toast-close-button {
    color: #000000;
    opacity: 0.6;
    text-shadow: none;
}

#toast-container>.toast>.toast-close-button:hover,
#toast-container>.toast>.toast-close-button:focus {
    color: #000000;
    opacity: 1;
}

#toast-container>.toast::before {
    display: none !important;
}

#toast-container>.toast {
    background-image: none !important;
}

.toast-v2-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.toast-v2-svg svg {
    width: 24px;
    height: 24px;
}

.toast-v2-svg-success svg {
    color: #10b981;
    stroke: #10b981;
}

.toast-v2-svg-error svg {
    color: #f43f5e;
    stroke: #f43f5e;
}

.toast-v2-svg-warning svg {
    color: #f59e0b;
    stroke: #f59e0b;
}

.toast-v2-svg-info svg {
    color: var(--warna_4);
    stroke: var(--warna_4);
}

@keyframes v2ToastSlideIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}