:root {
  --bg: #0b0f12;
  --card: #0f1416;
  --text: #f6f3ef;
  --muted: #b8b0a6;
  --gold-1: #d4af37;
  --gold-2: #b8860b;
  --accent: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  --radius: 14px;
  --shadow: 0 12px 36px rgba(2,2,2,0.6);
  --glass: rgba(255,255,255,0.03);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* === Light Mode === */
body.light {
  --bg: #f5f4f1;
  --card: #ffffff;
  --text: #1e2025;
  --muted: #6d727a;
  --gold-1: #c9a13f;
  --gold-2: #a8831f;
  --accent: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  --glass: rgba(255,255,255,0.65);
  --shadow: 0 8px 24px rgba(0,0,0,0.1);
  background: linear-gradient(180deg, #f9f9f7 0%, #eceae7 100%);
  color: var(--text);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: linear-gradient(180deg, var(--bg) 0%, #071016 100%);
  background-attachment: fixed;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
  background-color: #0b0f12;
  color-scheme: dark;
}

/* === HEADER === */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 2000;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.12));
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.bar {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  gap: 12px;
}

.brand { display:flex; align-items:center; gap:12px; }
.logo { width:48px; height:48px; border-radius:50%; object-fit:cover; box-shadow:var(--shadow); }
.brand h1 { font-size:16px; margin:0; } 
.brand small { color:var(--muted); font-size:12px; margin-top:2px; }

nav.desktop { display:flex; gap:12px; }
nav.desktop a {
  color:var(--muted); text-decoration:none;
  padding:8px 12px; border-radius:10px; font-weight:600;
  transition:all .28s;
}
nav.desktop a:hover { color:var(--text); background:var(--glass); }

.controls { display:flex; gap:10px; align-items:center; }
.mode-btn {
  background:var(--accent); border:0;
  padding:8px 12px; border-radius:10px;
  color:#081012; font-weight:700; cursor:pointer;
}

/* === HAMBURGER === */
.hamburger {
  width: 40px; height: 36px; border-radius: 10px;
  border: 0; background: transparent;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2700 !important;
}
.hamburger .lines { width: 22px; height: 16px; position: relative; }
.hamburger .lines span {
  position:absolute; left:0; right:0; height:2px;
  background:var(--text); border-radius:2px;
  transition: transform .42s cubic-bezier(.2,.9,.3,1), opacity .3s;
}
.hamburger .lines span:nth-child(1){top:0;}
.hamburger .lines span:nth-child(2){top:7px;}
.hamburger .lines span:nth-child(3){top:14px;}
.hamburger.active .lines span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.active .lines span:nth-child(2){opacity:0;transform:scaleX(.6);}
.hamburger.active .lines span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* === MOBILE NAV PANEL === */
.mobile-nav {
  position: fixed; top: 0; right: -110%;
  width: 86%; max-width: 360px; height: 100vh;
  background: linear-gradient(180deg, rgba(10,10,10,0.96), rgba(17,12,6,0.96));
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  padding: 84px 22px; border-radius:14px 0 0 14px;
  display: flex; flex-direction: column; gap: 18px;
  transition: right 0.46s cubic-bezier(.2,.9,.25,1);
  z-index: 2600 !important;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  color: var(--text); text-decoration: none;
  font-weight: 700; padding: 12px 8px; border-radius: 8px;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.05); }

.blur-bg, .menu-overlay {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.blur-bg.show, .menu-overlay.show {
  opacity: 1; pointer-events: auto;
}

.blur-bg {
  backdrop-filter: blur(2px) brightness(1.1);
  background: rgba(0, 0, 0, 0.08);
  z-index: 1500;
}

.menu-overlay {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(1px);
  z-index: 1600;
}

.container { max-width:1120px; margin:0 auto; padding:18px; }

.hero {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 28px; align-items: center;
  padding: 36px 18px; margin: 90px 0 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  box-shadow: var(--shadow);
}
.hero h2 { font-size:28px; margin:0; line-height:1.18; }
.hero p { color:var(--muted); margin-top:10px; }
.hero .hero-img {
  width:100%; height:300px;
  border-radius:14px; background-size:cover;
  background-position:center; box-shadow:0 20px 50px rgba(0,0,0,0.55);
}

.section-title { display:flex; justify-content:space-between; align-items:center; margin:14px 0; }
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

.card {
  background: var(--card);
  border-radius:14px; padding:14px;
  border:1px solid rgba(255,255,255,0.03);
  box-shadow:0 10px 30px rgba(0,0,0,0.45);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-8px); box-shadow:0 24px 60px rgba(0,0,0,0.6); }
.card .img { height:180px; border-radius:10px; background-size:cover; background-position:center; margin-bottom:10px; }
.card h4 { margin:6px 0; }
.card p { color:var(--muted); font-size:14px; }
.card .price { font-weight:800; margin-top:8px; }

.btn {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg,#d4af37,#b8860b);
  color: #fff; 
  font-weight:800;
  padding: 17px 28px; 
  border:none; 
  border-radius:12px;
  cursor:pointer; 
  transition:all .3s ease;
  box-shadow:0 4px 12px rgba(212,175,55,0.3);
  height: 40px;
  line-height: 1;
  position: relative;
}

.btn:hover {
  background: linear-gradient(90deg,#ffcc33,#c49b0b);
  box-shadow:0 6px 16px rgba(255,215,0,0.4);
  transform:translateY(-2px);
}

.play-btn {
  background:transparent; color:var(--gold-1);
  border:1px solid rgba(212,175,55,0.25);
  margin-top:8px; 
  font-weight:700;
}
.play-btn:hover { background:var(--accent); color:#081012; }
audio { width:100%; margin-top:6px; border-radius:8px; outline:none; }

.sold { color:var(--muted); font-size:13px; margin-top:4px; }
.sold strong { color:var(--gold-1); }

/* === FORM & FOOTER === */
form {
  max-width:520px; margin-top:12px;
  display:flex; flex-direction:column; gap:10px;
}
input, textarea {
  background: rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.04);
  padding:10px; border-radius:10px; color:var(--text);
}
input:focus, textarea:focus {
  outline: 2px solid rgba(212,175,55,0.14);
  box-shadow:0 6px 20px rgba(212,175,55,0.06);
}

footer {
  text-align:center; color:var(--muted);
  padding:36px 18px; margin-top:18px;
}

/* === PROMO BANNER === */
.promo-banner {
  position: fixed; left:50%; top:70px;
  transform: translateX(-50%) translateY(-100%);
  background: linear-gradient(90deg,var(--gold-1),var(--gold-2));
  color:#081012; padding:14px 20px;
  border-radius:0 0 14px 14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.45);
  display:flex; align-items:center; gap:14px;
  font-weight:800; font-size:15px;
  z-index:100;
  opacity:0; transition: transform .7s cubic-bezier(.25,.9,.3,1), opacity .7s ease;
}
.promo-banner.show { transform:translateX(-50%) translateY(0); opacity:1; }
.promo-close {
  background: rgba(0,0,0,0.2);
  color:#fff; font-weight:700; border:none;
  border-radius:50%; width:28px; height:28px;
  cursor:pointer; transition:background .3s ease;
}
.promo-close:hover { background: rgba(0,0,0,0.4); }

/* === WHATSAPP FLOAT BUTTON === */
.wa {
  position:fixed; right:20px; bottom:28px; z-index:100;
  display:flex; align-items:center; gap:10px;
  background:linear-gradient(90deg,var(--gold-1),var(--gold-2));
  color:#071014; padding:12px 16px;
  border-radius:999px; font-weight:800;
  box-shadow:0 14px 34px rgba(0,0,0,0.45);
  cursor:pointer; transition: transform .6s cubic-bezier(.2,.9,.25,1), opacity .5s;
}
.wa.hide { transform:translateX(140%); opacity:0; pointer-events:none; }

/* === RESPONSIVE === */
@media (max-width:1020px){ .hero{grid-template-columns:1fr 320px;} }
@media (max-width:880px){ .grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){
  nav.desktop{display:none;} .hamburger{display:flex;}
  .hero{grid-template-columns:1fr; padding:20px;}
  .grid{grid-template-columns:1fr;}
  .hero .hero-img{height:220px;}
  .container{padding:10px;}
}

body.menu-open {
  overflow:hidden !important;
  position:relative !important;
  height:auto !important;
}
body.menu-open header,
body.menu-open main,
body.menu-open footer,
body.menu-open .wa,
body.menu-open .promo-banner {
  pointer-events:none !important;
}
body.menu-open .mobile-nav,
body.menu-open .hamburger,
body.menu-open .blur-bg,
body.menu-open .menu-overlay {
  pointer-events:auto !important;
}
/* Tombol utama (Beli Sekarang) */
.card .btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: all 0.35s ease;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.card .btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
}

.play-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--gold-1);
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: inset 0 0 12px rgba(212, 175, 55, 0.06),
    0 0 14px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(2px);
}

.play-btn::before {
  content: "▶ ";
  font-weight: 900;
}

.play-btn:hover {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

body.light .play-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #202020;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

body.light .play-btn:hover {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  border: none;
}

.card .play-btn+.btn {
  margin-top: 8px;
}

.play-btn::before {
  content: none !important;
}

body.light input,
body.light textarea {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text);
}

body.light input:focus,
body.light textarea:focus {
  border: 1px solid var(--gold-1);
  box-shadow: 0 0 8px rgba(212,175,55,0.25);
  outline: none;
}

body.light .mobile-nav {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,244,241,0.96));
  box-shadow: -20px 0 60px rgba(0,0,0,0.1);
}

body.light .blur-bg {
  backdrop-filter: blur(8px) brightness(1.05);
  background: rgba(255,255,255,0.4);
}
body.light .menu-overlay {
  background: rgba(0,0,0,0.05);
  backdrop-filter: blur(3px);
}

.card .btn,
.card .play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.card .btn {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  border: none;
  box-shadow: 0 3px 10px rgba(212,175,55,0.25);
}
.card .btn:hover {
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255,215,0,0.4);
}

body:not(.light) .card .play-btn {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  border: none;
  box-shadow: 0 3px 10px rgba(212,175,55,0.25);
}
body:not(.light) .card .play-btn:hover {
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255,215,0,0.4);
}

body.light .card .play-btn {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  border: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
body.light .card .play-btn:hover {
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.08);
}

.card .play-btn + .btn {
  margin-top: 8px;
}

.panduan .btn,
.section-panduan .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  float: right;
  margin-top: 12px;
}

.panduan,
.section-panduan {
  display: flex;
  justify-content: flex-end;
}

form button[type="submit"],
form .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.section-title + .btn,
.panduan .btn,
.section-panduan .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  border: none;
  box-shadow: 0 3px 10px rgba(212,175,55,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  margin-left: auto;   
  display: block;
  width: fit-content;
}

.section-title + .btn:hover,
.panduan .btn:hover,
.section-panduan .btn:hover {
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255,215,0,0.4);
}

.section-panduan,
.panduan {
  display: flex;
  justify-content: flex-end;
}

#panduan .btn {
  display: block;
  margin: 16px auto 0;    
  width: fit-content;     
}

#panduan .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;   
  line-height: 1;
  height: 38px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 15px;
  margin: 16px auto 0;   
  text-align: center;
  width: fit-content;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

#panduan .btn:hover {
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  transform: translateY(-2px);
}

.card .play-btn {
  font-weight: 900;
}

.card .btn {
  font-weight: 900;
}

.card .price {
  font-weight: 700;
}

.card h4 {
  font-weight: 900;
}

#panduan .btn {
  color: white;
}

body.light #panduan .btn {
  color: black;
}

body.light #kontak .btn {
  color: black;
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.in {
  opacity: 1;
  transform: translateY(0);
}

/* === REFINED SPECIAL PRODUCT (FLM DJ TRABAS ORIGINAL) === */
.card.special {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 0 20px rgba(255,215,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.card.special:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(255,215,0,0.35);
}

/* Border emas beranimasi lembut */
.card.special::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(130deg, #d4af37, #ffec8b, #b8860b, #ffd700);
  background-size: 300% 300%;
  animation: borderFlow 5s linear infinite;
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

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

/* Badge “Special Edition” */
.special-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  color: #081012;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  animation: badgePulse 2s ease-in-out infinite alternate;
}

@keyframes badgePulse {
  from { box-shadow: 0 0 10px rgba(255,215,0,0.3); }
  to { box-shadow: 0 0 20px rgba(255,215,0,0.8); }
}

.card.special .img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,215,0,0.2);
}
.card.special .img::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 5s infinite;
}
@keyframes shimmer {
  0% { left: -80%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

.card.special h4 {
  color: #ffdd55;
  text-shadow: 0 0 8px rgba(255,215,0,0.25);
}
.card.special .price {
  color: #ffec8b;
  font-weight: 800;
}

.card.special .btn {
  background: linear-gradient(90deg, #ffdd33, #c79a00);
  color: #081012;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255,215,0,0.3);
  transition: all .25s ease;
}
.card.special .btn:hover {
  background: linear-gradient(90deg, #fff566, #e0b200);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.card.special {
  position: relative;
  overflow: hidden;
}

.card.special .img {
  position: relative;
  z-index: 1;
}

.card.special .special-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5 !important;
}

/* === BADGE NEW SOLID GOLD === */
.new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #ffcc33, #d4a017);
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4),
              inset 0 0 6px rgba(255, 255, 255, 0.15);
  z-index: 6;
  animation: fadeInBadge 0.8s ease-out, goldPulse 2.8s ease-in-out infinite alternate;
}

/* Animasi glow halus */
@keyframes goldPulse {
  0% { box-shadow: 0 0 6px rgba(255,215,0,0.3), inset 0 0 4px rgba(255,255,255,0.1); }
  100% { box-shadow: 0 0 16px rgba(255,215,0,0.6), inset 0 0 6px rgba(255,255,255,0.25); }
}

/* Animasi masuk halus */
@keyframes fadeInBadge {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.marquee-container {
  position: fixed;
  top: 73px;
  left: 0;
  width: 100%;
  overflow: hidden;
  padding: 3px 0;
  color: #081012;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.5px;
  z-index: 900;
  text-align: center;
  opacity: 0;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  background-size: 300% 300%;
  animation: marqueeBG 6s ease-in-out infinite alternate;
  transition: opacity 1s ease;
  display: none;
}

/* Animasi background emas shimmer */
@keyframes marqueeBG {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.marquee-track {
  display: inline-flex;
  gap: 30px;
  white-space: nowrap;
  animation: marqueeMove 12s linear infinite;
}

.marquee-track span::after {
  content: "";
  margin-left: 30px;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 900;
}

@keyframes marqueeMove {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

p, small {
  font-family: 'Alata';
}

h1, h2 {
  font-family: 'Oswald';
}

.marquee-container {
  font-family: 'Open Sans';
}

.promo-banner {
  font-family: 'Passion One';
  font-weight: 400;
}

.play-btn, .btn {
  font-family: 'Alata';
}

.special-badge {
  font-family: 'Silkscreen';
  font-weight: 600;
}

.card.special h4 {
  font-family: 'Averia Serif Libre';
  font-size: 17px;
}

/* === LIMITED EDITION GALAXY CARD === */
.card.limited {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid transparent;
  background: rgba(8, 8, 15, 0.6);
  box-shadow: 0 0 40px rgba(80, 0, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card.limited:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.45);
}

/* border animasi galaxy */
.card.limited::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: conic-gradient(from 0deg, #9333ea, #3b82f6, #ec4899, #9333ea);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: galaxyBorder 6s linear infinite;
}
@keyframes galaxyBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* badge */
.limited-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 4;
}

/* gambar dan canvas partikel */
.img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.card.limited .img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}
.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 3;
}

/* teks & harga */
.card.limited h4 {
  color: #e0e7ff;
  font-weight: 800;
  margin-top: 10px;
}
.card.limited p {
  color: #bfc8e6;
}
.card.limited .price {
  color: #a5b4fc;
  font-weight: 700;
  margin-top: 6px;
}
.card.limited .sold {
  color: #cbd5e1;
  font-size: 13px;
  margin-top: 4px;
}

/* tombol play */
.card.limited .btn.play-btn {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.card.limited .btn.play-btn:hover {
  background: rgba(147, 51, 234, 0.7);
}

/* tombol beli */
.btn.buy-galaxy {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(90deg, #3b82f6, #9333ea, #ec4899);
  background-size: 300% 300%;
  animation: btnGalaxy 4s ease-in-out infinite;
  cursor: pointer;
  transition: transform .2s;
}
.btn.buy-galaxy:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(147, 51, 234, 0.4);
}

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

@media (max-width:640px){
  .card.limited .img { height: 150px; }
}

/* === FINAL GALAXY BUTTON STYLE === */

/* Tombol Play Lagu */
.card.limited .btn.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 10px;
  cursor: pointer;
  background: linear-gradient(90deg, #3b82f6, #9333ea, #ec4899, #3b82f6);
  background-size: 300% 300%;
  animation: galaxyGradient 6s ease infinite;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
  transition: box-shadow 0.25s ease;
}

.card.limited .btn.play-btn:hover {
  box-shadow: 0 0 25px rgba(147, 51, 234, 0.4);
}

/* Tombol Beli Sekarang */
.card.limited .btn.buy-galaxy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  margin-top: 12px;
  cursor: pointer;
  background: linear-gradient(90deg, #4f46e5, #9333ea, #ec4899, #3b82f6);
  background-size: 400% 400%;
  animation: galaxyGradient 8s ease infinite;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.4);
  transition: none; /* tidak ada animasi hover */
}

/* Hilangkan efek hover sepenuhnya */
.card.limited .btn.buy-galaxy:hover {
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.3);
  transform: none;
}

/* Warna tetap sama walau balik dari WA */
.card.limited .btn.buy-galaxy:visited,
.card.limited .btn.buy-galaxy:focus,
.card.limited .btn.buy-galaxy:active {
  color: #fff !important;
  background: linear-gradient(90deg, #4f46e5, #9333ea, #ec4899, #3b82f6) !important;
  background-size: 400% 400%;
  animation: galaxyGradient 8s ease infinite;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.4);
}

/* Animasi warna galaxy */
@keyframes galaxyGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === LIMITED EDITION: TERJUAL DISPLAY === */
.card.limited .sold {
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 8px;
  font-size: 14px;
  text-align: left; /* posisi tetap di tengah seperti sebelumnya */
}

.card.limited .sold strong {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #4f46e5, #9333ea, #ec4899, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: galaxyText 8s ease infinite;
}

.card.limited .sold .total {
  font-weight: 600;
  color: #a78bfa; /* lembut tapi tetap senada */
}

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

.limited-badge {
  font-family: "Shadows Into Light";
}

.card.limited h4 {
  font-family: "Rowdies";
}

/* === SAMAKAN TINGGI GAMBAR CARD LIMITED DENGAN CARD SPECIAL === */
.card.limited .img {
  width: 100%;
  height: 180px; /* samakan dengan card.special */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 2; /* gambar tetap di atas particle canvas */
}

/* untuk keamanan, kalau ada wrapper tambahan */
.card.limited .img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

/* pastikan particle tetap di belakang gambar */
.card.limited .particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
}

/* === NORMAL MODE (mobile/tablet) === */
#productGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto; /* biar natural di mobile */
}

/* === DESKTOP MODE === */
@media (min-width: 1024px) {
  #productGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    align-items: start;
  }

  /* semua card disetarakan tinggi tapi tidak maksa stretch berlebihan */
  .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* pastikan bagian konten tidak “narik” tinggi */
  .card h4,
  .card p,
  .card .price,
  .card .sold,
  .card .btn {
    flex-shrink: 0;
  }
}

.card.limited .btn.play-btn:hover {
  transform: none !important;
}

.card {
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 1s ease-out, transform 3s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

.card.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === ANIMASI FADE IN UNTUK SPECIAL & LIMITED CARD === */
.card.special,
.card.limited {
  opacity: 0;
  transform: translateX(-200px);
  transition: opacity 1s ease-out, transform 3s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

.card.special.visible,
.card.limited.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === IMAGE MODAL STYLES === */
.image-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: -40px;
  right: -40px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 3001;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Light mode support */
body.light .image-modal {
  background-color: rgba(255, 255, 255, 0.95);
}

body.light .close-modal {
  color: #333;
  background: rgba(0, 0, 0, 0.1);
}

body.light .close-modal:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 85%;
  }
  
  .close-modal {
    top: -50px;
    right: 0;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}

/* GALLERY BUKTI TRANSFER */
.testimoni-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 14px;
  background: var(--card);
  padding: 20px 0;
  box-shadow: var(--shadow);
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.gallery-btn {
  background: var(--accent);
  color: #081012;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.gallery-btn:hover {
  background: linear-gradient(90deg, #ffcc33, #c49b0b);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

@media (max-width: 640px) {
  .gallery-item {
    width: 240px;
    height: 170px;
  }
  
  .gallery-track {
    gap: 12px;
    padding: 0 15px;
  }
}

/* === STYLE UNTUK SELECT FORM === */
select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: 10px;
  color: var(--text);
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 40px;
}

select:focus {
  outline: 2px solid rgba(212, 175, 55, 0.14);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.06);
}

/* Style untuk option */
option {
  background: var(--card);
  color: var(--text);
  padding: 10px;
}

/* Light mode support */
body.light select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text);
}

body.light select:focus {
  border: 1px solid var(--gold-1);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
  outline: none;
}

/* === WELCOME NOTIFICATION POPUP (REVISED) === */
.welcome-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 5000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 15px;
  overflow-y: auto;
}

.welcome-popup.show {
  display: flex;
  opacity: 1;
}

.welcome-popup-content {
  background: linear-gradient(180deg, var(--card) 0%, #0a0e12 100%);
  border: 2px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  width: 100%;
  max-width: 420px; /* Lebih kecil dari sebelumnya */
  max-height: 85vh; /* Batas tinggi maksimum */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  animation: popupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes popupScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header popup dengan tombol close - lebih kompak */
.welcome-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.welcome-popup-header h3 {
  margin: 0;
  color: #ffdd55;
  font-size: 18px; /* Lebih kecil */
  font-family: 'Oswald', sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.welcome-popup-close {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #ffcc33;
  width: 32px; /* Lebih kecil */
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  flex-shrink: 0;
}

.welcome-popup-close:hover {
  background: rgba(212, 175, 55, 0.3);
  transform: rotate(90deg);
  color: #fff;
}

/* Body popup - dengan scroll jika konten panjang */
.welcome-popup-body {
  padding: 20px;
  color: var(--text);
  line-height: 1.6;
  font-size: 14px; /* Ukuran font lebih kecil */
  flex-grow: 1;
  overflow-y: auto;
  max-height: calc(85vh - 130px); /* Batas tinggi untuk scroll */
}

.welcome-popup-body p {
  margin-bottom: 12px;
}

.welcome-popup-warning {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  position: relative;
}

.warning-icon {
  position: absolute;
  top: -10px;
  left: 15px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #081012;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 800;
  font-size: 12px;
  font-family: 'Alata', sans-serif;
  white-space: nowrap;
}

.welcome-popup-warning p {
  margin-top: 8px;
  color: #ffcc33;
  font-weight: 700;
  font-size: 14px;
}

.welcome-popup-highlight {
  color: #ffcc33;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
}

/* List styling */
.welcome-popup-body ul {
  padding-left: 18px;
  margin: 10px 0;
}

.welcome-popup-body li {
  margin-bottom: 6px;
  font-size: 13.5px;
}

/* Footer popup */
.welcome-popup-footer {
  padding: 0 20px 18px;
  text-align: center;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 15px;
}

.welcome-popup-footer small {
  color: var(--muted);
  font-size: 11.5px;
  display: block;
  margin-top: 8px;
  opacity: 0.8;
}

/* Custom scrollbar untuk body popup */
.welcome-popup-body::-webkit-scrollbar {
  width: 5px;
}

.welcome-popup-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.welcome-popup-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 10px;
}

.welcome-popup-body::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* Light mode support */
body.light .welcome-popup-content {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7f4 100%);
  border: 2px solid rgba(212, 175, 55, 0.45);
}

body.light .welcome-popup-header h3 {
  color: var(--gold-2);
}

body.light .welcome-popup-warning {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

body.light .welcome-popup-warning p {
  color: var(--gold-2);
}

body.light .welcome-popup-highlight {
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.12);
}

body.light .welcome-popup-close {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-2);
}

body.light .welcome-popup-close:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #000;
}

/* Responsive untuk mobile kecil */
@media (max-width: 480px) {
  .welcome-popup {
    padding: 10px;
  }
  
  .welcome-popup-content {
    max-width: 95%;
    max-height: 90vh;
  }
  
  .welcome-popup-header {
    padding: 15px 16px 12px;
  }
  
  .welcome-popup-header h3 {
    font-size: 17px;
    gap: 6px;
  }
  
  .welcome-popup-body {
    padding: 16px;
    font-size: 13.5px;
    max-height: calc(90vh - 120px);
  }
  
  .welcome-popup-warning {
    padding: 12px;
    margin: 12px 0;
  }
  
  .warning-icon {
    font-size: 11px;
    padding: 3px 10px;
  }
  
  .welcome-popup-footer {
    padding: 0 16px 15px;
    padding-top: 12px;
  }
  
  .welcome-popup-footer small {
    font-size: 11px;
  }
}

/* Untuk layar sangat kecil (iPhone SE dll) */
@media (max-width: 360px) {
  .welcome-popup-header h3 {
    font-size: 16px;
  }
  
  .welcome-popup-body {
    font-size: 13px;
    padding: 14px;
  }
  
  .welcome-popup-body ul {
    padding-left: 15px;
  }
  
  .welcome-popup-body li {
    font-size: 12.5px;
  }
}