/* ============================================================
   XYZGAMING STORE — Global Design System (Deep Red Gaming)
   Point Blank Specialist Edition
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ── TOKENS ── */
:root {
  --bg-primary:    #060b16;
  --bg-secondary:  #0a1220;
  --bg-card:       #101c38;
  --bg-card-hover: #16233f;
  --bg-glass:      rgba(16, 28, 56, 0.85);

  --electric:      #2f6fed;
  --electric-dark: #1d4ed8;
  --electric-glow: rgba(47, 111, 237, 0.4);
  --electric-light:#93c5fd;

  --gold:          #f5a623;
  --gold-dark:     #c8811a;
  --gold-light:    #ffd08a;
  --gold-glow:     rgba(245, 166, 35, 0.4);

  --cyan:          #22d3ee;
  --cyan-glow:     rgba(34, 211, 238, 0.3);

  --success:       #10b981;
  --danger:        #ef4444;
  --warning:       #f59e0b;

  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;
  --border:        rgba(47,111,237, 0.2);
  --border-gold:   rgba(251, 191, 36, 0.3);

  --font-display:  'Orbitron', sans-serif;
  --font-heading:  'Bebas Neue', sans-serif;
  --font-body:     'Plus Jakarta Sans', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.5);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.8);
  --glow-electric: 0 0 20px rgba(47,111,237,0.4), 0 0 60px rgba(47,111,237,0.15);
  --glow-gold:     0 0 20px rgba(251,191,36,0.4), 0 0 60px rgba(251,191,36,0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Floating background shapes -- global, kayak referensi jackzstore.id: diamond,
   kotak miring, segitiga yang ngambang pelan di belakang seluruh halaman.
   Ini GANTI approach sebelumnya (blur gradient blob) yang ternyata cuma
   kerasa kayak gradien doang, bukan "shape". Wrapper-nya `fixed` + `inset:0`
   nutupin whole viewport, tetep diem di situ pas discroll (kayak jackzstore),
   nembus semua section yang backgroundnya transparan. Opacity sengaja tipis
   banget (0.05-0.08) + warna abu netral, biar dekoratif doang, ga rebutan
   perhatian sama konten/produk. */
.bg-shapes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-shapes span {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--text-muted);
  opacity: 0.07;
}
.bg-shapes .shape-diamond {
  border-radius: 16px;
}
.bg-shapes .shape-square {
  border-radius: 18px;
}
.bg-shapes .shape-triangle {
  width: 0;
  height: 0;
  background: none;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 82px solid var(--text-muted);
  opacity: 0.06;
}
/* Posisi + ukuran + rotasi awal tiap shape, disebar kayak referensi (ada yang
   kepotong di tepi layar) */
.bg-shapes .s1 { width: 100px; height: 100px; top: 8%;  left: -3%;  animation: shape-float-a 13s ease-in-out infinite; }
.bg-shapes .s2 { width: 70px;  height: 70px;  top: 62%; left: 6%;   animation: shape-float-b 10s ease-in-out infinite; animation-delay: 1.5s; }
.bg-shapes .s3 { top: 30%; left: 42%; animation: shape-float-c 15s ease-in-out infinite; animation-delay: 3s; }
.bg-shapes .s4 { top: 70%; left: 30%; animation: shape-float-b 11s ease-in-out infinite; animation-delay: 0.8s; }
.bg-shapes .s5 { width: 110px; height: 110px; top: 18%; right: -4%; animation: shape-float-a 14s ease-in-out infinite; animation-delay: 4s; }
.bg-shapes .s6 { width: 60px;  height: 60px;  top: 55%; right: 8%;  animation: shape-float-c 12s ease-in-out infinite; animation-delay: 2s; }
.bg-shapes .s7 { top: 85%; right: 20%; animation: shape-float-b 13s ease-in-out infinite; animation-delay: 5s; }

@keyframes shape-float-a {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(58deg) translateY(-24px); }
}
@keyframes shape-float-b {
  0%, 100% { transform: rotate(20deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(18px); }
}
@keyframes shape-float-c {
  0%, 100% { transform: rotate(-15deg) translateY(0); }
  50%      { transform: rotate(-28deg) translateY(-16px); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-shapes span { animation: none; }
}
@media (max-width: 768px) {
  /* Di HP layarnya sempit, shape gede2 malah kerasa penuh/mepet konten -- kecilin & kurangin */
  .bg-shapes .s3, .bg-shapes .s4, .bg-shapes .s7 { display: none; }
  .bg-shapes span { transform: scale(0.6); }
}
/* Semua konten harus di atas shape (shape ada di z-index:0 & fixed) */
header, main, footer, section, .section { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
input, select, textarea { font-family: var(--font-body); outline: none; }

/* .form-input dipakai di mana-mana (halaman order, form detail char, admin)
   tapi belum pernah ada definisinya sama sekali di sini -- jadi selama ini
   semua field itu cuma tampil sebagai input polos bawaan browser (kecil,
   gak ada padding/background), makanya kelihatan "kekecilan" dibanding
   elemen lain di halaman yang udah full styled. */
.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px var(--electric-glow);
}
.form-input:disabled { opacity: 0.6; cursor: not-allowed; }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 90px; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--electric); border-radius: 3px; }

/* ── UTILITIES ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.text-gradient-electric {
  background: linear-gradient(135deg, var(--electric), #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-electric { background: rgba(47,111,237,0.15); color: var(--electric); border: 1px solid var(--border); }
.badge-gold     { background: rgba(251,191,36,0.15); color: var(--gold); border: 1px solid var(--border-gold); }
.badge-danger   { background: rgba(239,68,68,0.25); color: #fff; border: 1px solid rgba(239,68,68,0.5); }
.badge-success  { background: rgba(16,185,129,0.15); color: var(--success); border: 1px solid rgba(16,185,129,0.3); }

/* ============================================================
   CUT-CORNER ACCENT — angular "sliced box" shape client liked
   from the promo posters (jasa login / pricelist banners).
   Sprinkle onto a badge/tag/button here and there for the
   gaming-tag look — corners cut instead of rounded. Not meant
   to replace every rounded element, just an aesthetic accent.
   ============================================================ */
.cut-corner {
  border-radius: 0 !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.cut-corner-sm {
  border-radius: 0 !important;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--electric), var(--electric-dark));
  color: #fff;
  box-shadow: 0 4px 15px var(--electric-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--electric-glow);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #060b16;
  box-shadow: 0 4px 15px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--gold-glow);
}
.btn-outline {
  background: transparent;
  color: var(--electric);
  border: 1.5px solid var(--electric);
}
.btn-outline:hover {
  background: var(--electric);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--electric);
  color: var(--electric);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }

/* ── CARD ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(47,111,237,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-electric);
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(47,111,237,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 5, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 5, 7, 0.98);
  border-bottom-color: rgba(47,111,237,0.4);
  box-shadow: 0 4px 30px rgba(0,0,0,0.8);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--electric), var(--electric-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--electric-glow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(47,111,237,0.12);
  color: var(--electric);
}
.nav-links .nav-highlight a {
  background: linear-gradient(135deg, var(--electric), var(--electric-dark));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--electric-glow);
}
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--electric);
  border-radius: 1px;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  background: rgba(10,5,7,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 1rem;
}
.nav-mobile a:hover {
  background: rgba(47,111,237,0.12);
  color: var(--electric);
}

/* ============================================================
   SLIDER BANNER COMPONENT
   ============================================================ */
.slider-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(47,111,237,0.15);
  margin-bottom: 2rem;
  background: var(--bg-card);
}
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}
.slide-item {
  min-width: 100%;
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  padding: 2.5rem 3.5rem;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(1.2);
  z-index: 0;
}
.slide-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(47,111,237,0.25);
  border: 1px solid var(--electric);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 0.75rem;
}
.slide-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(10,5,7,0.7);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  transition: var(--transition-fast);
}
.slider-btn:hover {
  background: var(--electric);
  box-shadow: 0 0 15px var(--electric-glow);
}
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }
.slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dot.active {
  background: var(--electric);
  width: 28px;
  border-radius: 5px;
}

/* ============================================================
   MODAL POP-UP (Notif Pengumuman & Cara Order)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(47,111,237,0.3);
  transform: scale(0.9);
  transition: var(--transition);
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--electric);
  color: #fff;
}
.modal-header-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  background: rgba(47,111,237,0.15);
  border: 1px solid var(--border);
  color: var(--electric);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.modal-body {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* ============================================================
   TICKER & FLASH SALE
   ============================================================ */
.ticker-bar {
  background: linear-gradient(90deg, var(--electric-dark), var(--electric), var(--electric-dark));
  padding: 0.625rem 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.flash-sale-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(47,111,237,0.1), rgba(185,28,28,0.05));
  border-top: 1px solid rgba(47,111,237,0.25);
  border-bottom: 1px solid rgba(47,111,237,0.25);
}
/* Ambient glow blobs -- niatnya biar section-nya kerasa hidup/premium kayak
   request klien (referensi jackzstore), tapi TANPA shape rame yang muter2
   di background, biar gak rebutan perhatian sama card & harga yang jalan
   sendiri lewat marquee. Cukup 2 blob blur lembut yang pulse pelan. */
.flash-sale-section::before,
.flash-sale-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  animation: flash-glow-pulse 9s ease-in-out infinite alternate;
}
.flash-sale-section::before {
  width: 320px; height: 320px;
  background: var(--electric);
  top: -100px; left: -80px;
}
.flash-sale-section::after {
  width: 280px; height: 280px;
  background: var(--gold);
  bottom: -90px; right: -60px;
  animation-delay: 4.5s;
}
@keyframes flash-glow-pulse {
  from { opacity: 0.2; transform: scale(1); }
  to   { opacity: 0.4; transform: scale(1.18); }
}
.flash-sale-section > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .flash-sale-section::before, .flash-sale-section::after { animation: none; }
}
.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.flash-title-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.flash-icon { font-size: 2rem; animation: flash-bounce 0.8s ease-in-out infinite; }
@keyframes flash-bounce {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50%       { transform: scale(1.2) rotate(5deg); }
}
.flash-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--electric);
}
.countdown { display: flex; align-items: center; gap: 0.5rem; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; }
.countdown-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 52px;
  text-align: center;
  padding: 0.35rem 0.5rem;
  color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}
.countdown-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.countdown-sep { font-size: 1.5rem; font-weight: 900; color: var(--gold); margin-bottom: 1rem; }

.flash-marquee-viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.flash-products {
  display: flex;
  gap: 1rem;
  width: max-content;
  /* JS (loadHomeCatalog di index.html) sekarang jamin jumlah copy-nya
     selalu bikin total lebar row ini > 2x lebar viewport, jadi row-nya
     SELALU penuh nempel kiri-kanan, gapernah ada ruang kosong pas geser --
     ga butuh trik margin:auto buat "narik ke tengah" lagi kayak sebelumnya. */
  padding-bottom: 0.5rem;
  animation: flash-marquee var(--flash-marquee-duration, 32s) linear infinite;
}
/* Pause on hover/touch so people can actually read+click a card, resume after */
.flash-marquee-viewport:hover .flash-products,
.flash-products.is-paused {
  animation-play-state: paused;
}
@keyframes flash-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--flash-marquee-distance, 50%))); }
}
@media (prefers-reduced-motion: reduce) {
  .flash-products { animation: none; overflow-x: auto; }
}
.flash-product-card {
  background: var(--bg-card);
  border: 1px solid rgba(47,111,237,0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  transition: var(--transition);
  flex: 0 0 220px;
  width: 220px;
}
.flash-product-card:hover {
  border-color: var(--electric);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(47,111,237,0.3);
}
.flash-discount-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--electric);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}
.flash-product-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.75rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #101c38, #080e1c);
}
.flash-product-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.flash-product-game {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.flash-price-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.flash-price-old { font-size: 0.8rem; color: var(--danger); text-decoration: line-through; }
.flash-price-new { font-size: 1.1rem; font-weight: 800; color: var(--gold); }
.flash-savings {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--danger);
  margin: -0.4rem 0 0.75rem;
}
/* "Tersisa X" pill -- request klien biar keliatan kaya referensi kompetitor
   (jawzstore dkk): gradient oranye nyala di kiri meredup ke gelap di kanan,
   biar kesan "stok menipis, buruan" tanpa perlu itung persentase asli
   (kita gak punya angka "total stok awal" buat itung fill % beneran). */
.flash-stock-bar {
  margin-top: 0.6rem;
  height: 26px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--warning) 0%, #7a3a0a 60%, #2a1608 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  overflow: hidden;
}
.flash-buy-btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 0.5rem;
  background: linear-gradient(135deg, var(--electric), var(--electric-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
}
.flash-buy-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px var(--electric-glow);
}

/* ============================================================
   GRID PRODUK & CHAR CARDS
   ============================================================ */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-tab {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--electric);
  border-color: var(--electric);
  color: #fff;
  box-shadow: 0 0 15px var(--electric-glow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--electric);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--electric-glow);
}
.product-card-header {
  aspect-ratio: 4 / 5; /* cocok sama rasio screenshot char 1080x1350 (mahesastore-style), kartu jadi lebih besar/dominan */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  background: linear-gradient(135deg, #101c38, #080e1c);
}
/* Overlay judul di atas gambar (ala mahesastore/charpb) — poster look,
   scrim gelap di bawah biar teks kebaca di atas foto apapun. */
.product-card-title-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.65rem;
  background: linear-gradient(to top, rgba(5,10,20,0.95) 15%, rgba(5,10,20,0.55) 65%, transparent 100%);
  pointer-events: none;
}
.product-card-title-overlay .product-name {
  margin-bottom: 0.15rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.product-card-title-overlay .product-game {
  margin-bottom: 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.68);
}
.product-card-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-type-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 0.5rem;
}
.product-meta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.product-meta-row i { color: var(--text-muted); margin-right: 0.25rem; }
.product-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.product-game {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}
.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}
.product-price-original {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-buy-btn {
  padding: 0.55rem 1.2rem;
  background: rgba(47,111,237,0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--electric);
  transition: var(--transition-fast);
}
.product-buy-btn:hover {
  background: var(--electric);
  color: #fff;
  box-shadow: 0 4px 15px var(--electric-glow);
}

/* ============================================================
   TOP-UP 5 GAME COMPONENT
   ============================================================ */
.topup-games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.topup-game-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.topup-game-card:hover {
  border-color: var(--electric);
  transform: translateY(-6px);
  box-shadow: 0 8px 30px var(--electric-glow);
}
.topup-game-card.active-pb {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(251,191,36,0.1), var(--bg-card));
}
.topup-game-card.active-pb::after {
  content: '★ UTAMA';
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--gold);
}
.topup-game-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.topup-game-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.25rem; }
.topup-game-status { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }

/* ============================================================
   GALERI 30+ SCREENSHOT AKUN (LIGHTBOX)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  max-height: 480px;
  overflow-y: auto;
  padding: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.gallery-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: pointer;
  position: relative;
  background: #0a1220;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-thumb:hover {
  border-color: var(--electric);
  transform: scale(1.03);
}
.gallery-thumb:hover img { transform: scale(1.1); }
.gallery-thumb-tag {
  position: absolute;
  bottom: 2px; left: 2px;
  background: rgba(0,0,0,0.75);
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  color: #fff;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-img-wrapper { max-width: 90vw; max-height: 85vh; position: relative; }
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--electric);
  box-shadow: 0 0 50px rgba(47,111,237,0.5);
}
.lightbox-caption {
  text-align: center;
  color: #fff;
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================================
   VOUCHER / BULK BUY COMPONENT
   ============================================================ */
.voucher-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.voucher-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.voucher-input:focus { border-color: var(--electric); }
.voucher-btn {
  padding: 0.75rem 1.25rem;
  background: var(--electric);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
}

.bulk-buy-box {
  background: rgba(251,191,36,0.08);
  border: 1px dashed rgba(251,191,36,0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bulk-buy-title { font-size: 0.85rem; font-weight: 700; color: var(--gold); }
.bulk-buy-desc { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   TRUST & TESTIMONI
   ============================================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.trust-card:hover { border-color: var(--electric); transform: translateY(-4px); }
.trust-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.trust-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.trust-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--electric); transform: translateY(-3px); }

/* FAQ Accordion */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-item:hover { border-color: rgba(47,111,237,0.4); }
.faq-item:has(.faq-answer.open) { border-color: var(--gold); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.faq-question:hover { background: rgba(255,255,255,0.02); color: #fff; }
.faq-question.open { color: var(--gold); }
.faq-question i { color: var(--gold); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 1.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 1.4rem 1.25rem;
}
.testi-header { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--electric-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-game { font-size: 0.72rem; color: var(--text-muted); }
.testi-stars { color: var(--gold); font-size: 0.875rem; letter-spacing: 0.1em; }
.testi-body { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}
.social-link:hover {
  background: var(--electric);
  border-color: var(--electric);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--electric-glow);
}
.footer-title {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: var(--transition-fast); }
.footer-links a:hover { color: var(--electric); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-payment { display: flex; gap: 0.5rem; align-items: center; }
.payment-badge {
  padding: 0.25rem 0.625rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .topup-games-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .topup-games-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-item { height: 320px; padding: 2rem; }
  .slide-title { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .topup-games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Cegah input/select yang punya width inline fixed bikin scroll horizontal di HP */
  input, select, textarea, .form-input { max-width: 100%; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
}
@media (max-width: 380px) {
  .container { padding: 0 0.85rem; }
  .btn { padding: 0.65rem 1.1rem; font-size: 0.85rem; }
}
