:root{
  --accent: #0f766e;          /* emerald */
  --accent-2: #d4af37;        /* gold */
  --glass: rgba(255,255,255,0.06);
  --card-grad: linear-gradient(135deg, rgba(15,118,110,0.15), rgba(212,175,55,0.15));
}

/* Background Gaming Neon Intens, Futuristik, dan Elegan */
body {
  background: url('banner/baground_ramadhan.webp') no-repeat center center fixed;
  background-size: cover;
  color: #f5f5dc;
}

body::after {
  content:"";
  position: fixed;
  inset:0;
  background: rgba(0,0,0,0.5);
  z-index:-1;
}

/* Overlay grid gaming dengan glow neon */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

/* Animasi grid pulse lebih neon */
@keyframes gridPulse {
  0% { opacity: 0.5; box-shadow: 0 0 20px rgba(139,92,246,0.3); }
  100% { opacity: 0.8; box-shadow: 0 0 30px rgba(139,92,246,0.5), 0 0 30px rgba(0,255,128,0.4); }
}

/* Animasi partikel jatuh tetap cepat */
@keyframes particleFall {
  0% { transform: translateY(0); }
  100% { transform: translateY(100vh); }
}

/* Font gaming tetap */
.font-gaming {
  font-family: 'Press Start 2P', cursive;
}

.sticky-etalase {
  position: sticky;
  top: 65px;
  z-index: 400;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.85);
  border-radius: 16px;
  padding: 10px 15px;
}


/* Header dengan glow neon lebih kuat */
header.site-top {
  backdrop-filter: blur(8px);
  background: linear-gradient(90deg, rgba(6,20,20,0.9), rgba(6,40,40,0.8));
  border-bottom: 1px solid rgba(212,175,55,0.3);
}


/* Teks neon dengan glow super kuat */
.neon-text {
  color: #fff;
  text-shadow:
    0 0 10px rgba(212,175,55,0.8),
    0 0 20px rgba(212,175,55,0.6);
}


/* Card Game – Neon Vibes Intens */
.card-game {
  background: linear-gradient(
    135deg,
    rgba(15,118,110,0.25),
    rgba(212,175,55,0.2)
  );
  border: 1px solid rgba(212,175,55,0.4);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.5),
    0 0 20px rgba(212,175,55,0.15);
  transition: 0.3s ease;
}

.card-game:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.6),
    0 0 25px rgba(212,175,55,0.3);
}


/* Price tag dengan glow neon hijau */
.price-tag {
  background: linear-gradient(90deg, rgba(212,175,55,0.25), rgba(212,175,55,0.15));
  border-left: 4px solid #d4af37;
  color: #fff;
}


/* Badge mode dengan glow */
.badge-mode {
  padding: 0.25rem .5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 0 12px rgba(139,92,246,0.3);
}

/* Button neon dengan glow super */
.btn-neon {
  background: linear-gradient(90deg, #0f766e, #d4af37);
  box-shadow: 0 6px 20px rgba(212,175,55,0.4);
  color: white;
}


/* Lazy loading image tetap */
img[loading="lazy"] {
  filter: blur(5px);
  transition: filter .3s ease;
}

img[loading="lazy"].loaded {
  filter: blur(0);
}

/* Hilangin scrollbar biar bersih */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Overlay gelap */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* gelap */
  z-index: 9998;
}

/* New Year Popup Styles */
.newyear-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    #0c2d2d,
    #0f766e,
    #d4af37
  );
  border: 2px solid #d4af37;
  border-radius: 20px;
  padding: 20px;
  max-width: 90vw;
  width: 400px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}

.newyear-popup .close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  color: #6a00c8; /* ungu tahun baru */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.25s ease;
}

.newyear-popup .close-btn:hover {
  background: #ffffff;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .newyear-popup {
    width: 80vw;
    font-size: 1rem;
    padding: 15px;
  }
}

/* Hide */
.hidden {
  display: none;
}

.steam-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1b1b1b;
  border: 2px solid #ff4d4d;
  border-radius: 16px;
  padding: 20px;
  width: 420px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10000; /* lebih tinggi dari promo */
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
}

.steam-popup h3 {
  color: #ff4d4d;
  margin-bottom: 10px;
}

.steam-popup a {
  color: #ffd966;
  word-break: break-all;
}

.agree-btn {
  margin-top: 15px;
  padding: 10px 18px;
  background: #ff4d4d;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.agree-btn:hover {
  opacity: 0.9;
}
.moon {
  position: fixed;
  top: 80px;
  right: 100px;
  width: 80px;
  height: 80px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: -20px 0 0 10px #061414;
  opacity: 0.9;
  z-index: -1;
}


/* Tombol ke atas - Ramadan Style */
#btnTop {
  position: fixed;
  right: 20px;
  bottom: 15%; /* Naik 30% dari bawah */
  
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;

  background: linear-gradient(135deg, #0f5132, #198754); /* Hijau islami */
  color: gold;
  border: 2px solid gold;
  border-radius: 50%;
  padding: 12px 14px;
  font-size: 18px;

  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Saat muncul */
#btnTop:not(.hidden) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hover effect biar lebih hidup */
#btnTop:hover {
  background: linear-gradient(135deg, #198754, #145c32);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
  transform: translateY(-5px) scale(1.05);
}

