:root {
  --bg-dark: #121212;
  --bg-card: #1c1c1c;
  --primary-yellow: #ffcc00;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255,204,0,0.07) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--text-white);
  overflow-x: hidden;
}

#mainContent {
  filter: blur(8px); 
  transition: filter 0.5s ease;
  min-height: 100vh;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--primary-yellow);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

.lang-btn {
  background-color: var(--primary-yellow);
  color: var(--bg-dark);
  border: none;
  padding: 12px 24px;
  margin: 10px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}

.lang-btn:hover { transform: scale(1.05); }

nav {
  background-color: var(--bg-card);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-yellow);
  flex-wrap: wrap; 
}

.logo {
  color: var(--primary-yellow);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover {
  background-color: var(--primary-yellow);
  color: var(--bg-dark);
}

.btn-rent {
  border: 1px solid var(--primary-yellow);
  color: var(--primary-yellow) !important;
}

.container {
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

#katalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  justify-items: center;
  width: 100%;
}

.account-card {
  background-color: var(--bg-card);
  border: 1px solid #333;
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-title {
  color: var(--primary-yellow);
  margin: 0;
  font-size: 22px;
}

.card-img { display: block; }
.card-content { padding: 0; }

.card-kode {
  background: var(--primary-yellow);
  color: var(--bg-dark);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 15px;
}

.skin-list {
  background: rgba(0,0,0,0.3);
  padding: 12px;
  border-radius: 8px;
  color: var(--text-gray);
  font-size: 13px;
  white-space: pre-line;
  margin-bottom: 20px;
  max-height: 120px;
  overflow-y: auto;
}

/* ===== BANNER STYLES ===== */
.banner-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.4);
  color: var(--primary-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  animation: fadeSlideDown 0.8s ease both;
}
.banner-headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 16px 0;
  color: #fff;
  animation: fadeSlideDown 0.9s ease 0.1s both;
}
.banner-sub {
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
  animation: fadeSlideDown 1s ease 0.2s both;
}
.banner-btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary-yellow);
  color: #121212;
  font-weight: 900;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  animation: fadeSlideDown 1.1s ease 0.3s both;
  box-shadow: 0 4px 20px rgba(255,204,0,0.3);
}
.banner-btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 30px rgba(255,204,0,0.5);
  background: #ffe033;
}
.banner-btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  animation: fadeSlideDown 1.1s ease 0.35s both;
}
.banner-btn-secondary:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
  box-shadow: 0 8px 25px rgba(255,204,0,0.2);
}
.banner-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  animation: fadeSlideUp 1s ease 0.2s both;
}
.banner-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.banner-slide.active {
  opacity: 1;
}
.banner-slide-img {
  width: 100%;
  border-radius: 14px;
  border: 2px solid rgba(255,204,0,0.25);
  box-shadow: 0 10px 50px rgba(0,0,0,0.7), 0 0 30px rgba(255,204,0,0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}
.banner-slide-img:hover {
  box-shadow: 0 15px 60px rgba(0,0,0,0.8), 0 0 50px rgba(255,204,0,0.25);
  transform: scale(1.02);
}
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.banner-dot.active { background: var(--primary-yellow); width: 24px; }
.banner-particles { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.banner-particles::before, .banner-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: floatBubble 8s ease-in-out infinite alternate;
}
.banner-particles::before {
  width: 400px; height: 400px;
  background: var(--primary-yellow);
  top: -100px; right: 10%;
}
.banner-particles::after {
  width: 300px; height: 300px;
  background: #ff4655;
  bottom: -80px; left: 5%;
  animation-delay: -4s;
}
.account-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.7), 0 0 20px rgba(255,204,0,0.1);
  border-color: rgba(255,204,0,0.3);
}

/* ===== PAGINATION ===== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 20px;
  flex-wrap: wrap;
}
.page-btn {
  background: var(--bg-card);
  color: var(--text-white);
  border: 1px solid #333;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
  background: rgba(255,204,0,0.08);
}
.page-btn.active {
  background: var(--primary-yellow);
  color: #121212;
  border-color: var(--primary-yellow);
  font-weight: 900;
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.page-btn.arrow {
  font-size: 18px;
  width: 44px;
  height: 44px;
}
.page-info {
  color: var(--text-gray);
  font-size: 13px;
  text-align: center;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 2px solid var(--primary-yellow);
  margin-top: 60px;
  padding: 50px 30px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-section h3 {
  color: var(--primary-yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 18px;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,204,0,0.2);
}
.footer-brand .logo-foot {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-yellow);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--text-gray);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.footer-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}
.social-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: var(--text-white);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.social-link:hover {
  background: rgba(255,204,0,0.08);
  border-color: rgba(255,204,0,0.3);
  color: var(--primary-yellow);
  transform: translateX(4px);
}
.social-link .s-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.social-link .s-label {
  display: flex;
  flex-direction: column;
}
.social-link .s-label span:first-child {
  font-size: 10px;
  color: var(--text-gray);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.social-link .s-label span:last-child {
  font-size: 13px;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  color: var(--text-gray);
  font-size: 12px;
  margin: 0;
}
.footer-bottom .yellow { color: var(--primary-yellow); font-weight: 700; }

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatBubble {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(30px) scale(1.1); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.33%); }
}

#bannerRight {
  padding: 30px 30px 50px 0;
}

/* ===== MODAL ===== */
#accountModal { animation: none; }
#accountModal.open { display: flex !important; animation: modalFadeIn 0.25s ease; }
#modalBox { animation: modalSlideUp 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
#accountModal div::-webkit-scrollbar { width: 5px; }
#accountModal div::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 4px; }
#accountModal div::-webkit-scrollbar-thumb { background: rgba(255,204,0,0.4); border-radius: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { justify-content: center; padding: 15px; }
  .logo { margin-bottom: 10px; font-size: 24px; }
  .nav-links { gap: 10px; justify-content: center; }
  .nav-links a { font-size: 12px; padding: 6px 8px; }

  #heroBanner {
    flex-direction: column !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }
  .banner-particles { display: none !important; }
  #heroBanner > div:first-of-type {
    flex: none !important;
    width: 100% !important;
    padding: 24px 20px 16px 20px !important;
    max-width: 100% !important;
    text-align: center;
    transform: none !important;
  }
  #heroBanner .banner-sub { margin: 0 auto; }
  #heroBanner > div:first-of-type div[style*="flex-wrap"] { justify-content: center; }
  #heroBanner > div[style*="height:3px"] { display: none !important; }
  #bannerRight {
    flex: none !important;
    width: 100% !important;
    padding: 0 30px 24px 30px !important;
    box-sizing: border-box !important;
  }
  #bannerLeft {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: none !important;
    width: 100% !important;
    padding: 24px 20px 16px 20px !important;
  }
  .bannerSwiper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .banner-badge {
    display: inline-flex !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #bannerLeft div[style*="display:flex;gap:14px"] {
    justify-content: center !important;
  }
  .bannerSwiper,
  .bannerSwiper .swiper-wrapper,
  .bannerSwiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    transform: none !important;
  }
  .bannerSwiper .swiper-slide img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    display: block !important;
  }

  .container { padding: 10px; }
  h1 { font-size: 24px; text-align: center; }
  #katalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .account-card { max-width: 100% !important; }
  .account-card .card-kode { font-size: 10px !important; padding: 2px 6px !important; }
  .account-card .card-title { font-size: 11px !important; }
  .account-card div[style*="bottom:0; left:0; right:0; z-index:3; padding:16px"] {
    padding: 8px !important;
  }
  .account-card div[style*="grid-template-columns:1.1fr"] {
    gap: 4px !important;
    margin-bottom: 5px !important;
  }
  .account-card div[style*="grid-template-columns:1.1fr"] img[style*="width:30px"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 4px !important;
  }
  .account-card div[style*="grid-template-columns:1.1fr"] span {
    font-size: 7px !important;
  }
  .account-card div[style*="justify-content:space-around"] {
    font-size: 9px !important;
  }
  .account-card div[style*="justify-content:space-around"] img {
    width: 10px !important;
    height: 10px !important;
  }
  .account-card div[style*="font-size:8px"] { font-size: 6px !important; padding: 1px 0 !important; }
  .account-card div[style*="max-height:90px"] {
    max-height: 50px !important;
    font-size: 8px !important;
    padding: 5px 7px !important;
    margin-bottom: 5px !important;
  }
  .account-card div[style*="max-height:90px"] span {
    font-size: 8px !important;
  }
  .account-card div[style*="top:12px; left:12px"] span {
    font-size: 7px !important;
    padding: 1px 4px !important;
  }
  .account-card button {
    padding: 7px !important;
    font-size: 9px !important;
    border-radius: 6px !important;
  }

  /* Footer mobile */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Pagination mobile */
  .page-btn { width: 34px; height: 34px; font-size: 12px; }
  .page-btn.arrow { width: 38px; height: 38px; font-size: 16px; }

  /* Promo banner mobile */
  .promo-content {
    padding: 0 20px !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  .promo-content > div:first-child { max-width: 100% !important; }
  .promo-content > div:last-child { display: none !important; }
  .promo-content h3 { font-size: 18px !important; margin-bottom: 6px !important; }
  .promo-content p { font-size: 11px !important; margin-bottom: 12px !important; }
  .promo-content > div:first-child > div:first-child { font-size: 9px !important; padding: 3px 10px !important; margin-bottom: 10px !important; }
  .promo-cta { padding: 9px 16px !important; font-size: 11px !important; }

  #promoBannerSection { padding: 24px 16px !important; }
}

@media (max-width: 600px) {
  #modalBox { max-height: 95vh; }
  #accountModal { padding: 8px; }
  #accountModal > div > div { padding: 20px 16px 20px !important; }
  #accountModal #modalThumb { width: 110px !important; }
  #accountModal #modalHarga { font-size: 26px !important; }
}