* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --green: #22D3EE;
  --teal: #22D3EE;
  --gold: #ffd900;
  --blue: #00cfff;
  --bg: #060d1a;
  --bg2: #0a1420;
  --bg3: #0d1a28;
  --glass: rgba(255,255,255,0.04);
  --border-green: rgba(34,211,238,0.22);
  --border-teal: rgba(34,211,238,0.22);
  --border-gold: rgba(255,217,0,0.28);
  --border-blue: rgba(0,207,255,0.22);
}

body {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 55%, var(--bg3) 100%);
  overflow-x: hidden;
  color: white;
  animation: pageIn 0.5s ease;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   NAVBAR - Links di samping kanan logo (sama seperti beranda & addon)
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: rgba(6, 13, 26, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-green);
  z-index: 9999;
  gap: 24px;
}

/* ── KIRI: brand logo ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 64px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.4));
}

.nav-logo-text-img {
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34,211,238,0.35));
}

/* ── SEBELAH KANAN LOGO: nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-shrink: 0;
  margin-left: 0;
}

.nav-links li a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(34, 211, 238, 0.12);
  color: var(--green);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}

/* ── SPACER: biar auth tetap ke kanan ── */
.nav-spacer {
  flex: 1;
}

/* ── KANAN: auth area ── */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 22px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}

/* ══════════════════════════════════════
   NAVBAR AUTH COMPONENTS (sama seperti beranda)
══════════════════════════════════════ */
.nav-auth-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.nav-btn-login {
  background: rgba(34, 211, 238, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.nav-btn-login:hover {
  background: rgba(34, 211, 238, 0.2);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

.nav-btn-register {
  background: var(--green);
  color: #060d1a;
}

.nav-btn-register:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}

.nav-user-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002d25, #22D3EE);
  border: 2px solid rgba(34, 211, 238, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #060d1a;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}

.nav-avatar:hover {
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

.nav-user-name {
  font-size: 12px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-pill.member {
  background: rgba(34, 211, 238, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.nav-pill.admin {
  background: rgba(255, 200, 50, 0.15);
  color: #ffc832;
  border: 1px solid rgba(255, 200, 50, 0.3);
}

.nav-btn-dashboard {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-btn-dashboard:hover {
  background: rgba(34, 211, 238, 0.1);
  color: var(--green);
  border-color: rgba(34, 211, 238, 0.25);
}

.nav-btn-logout {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.nav-btn-logout:hover {
  color: #ff5a6e;
  background: rgba(255, 90, 110, 0.1);
}

/* ── MAIN PAGE ── */
.main-page { padding-top: 64px; min-height: 100vh; }
.main-page.hidden, .detail-page.hidden { display: none; }

/* ── HERO ── */
.backup-hero {
  position: relative;
  padding: 60px 60px 40px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,207,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: background 0.5s ease;
}

body.mode-maps .hero-glow {
  background: radial-gradient(ellipse, rgba(34,211,238,0.1) 0%, transparent 70%);
}

.hero-content {
  display: flex; align-items: center; gap: 36px;
  max-width: 900px;
}

.hero-left { flex-shrink: 0; }

.hero-icon {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(34,211,238,0.07);
  box-shadow: 0 0 30px rgba(34,211,238,0.25), 0 0 60px rgba(34,211,238,0.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  transition: border-color 0.4s, box-shadow 0.4s;
}

body.mode-maps .hero-icon {
  border-color: var(--teal);
  background: rgba(34,211,238,0.07);
  box-shadow: 0 0 30px rgba(34,211,238,0.25), 0 0 60px rgba(34,211,238,0.08);
}

.hero-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.icon-fallback {
  display: none; font-size: 44px;
  align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.hero-right { display: flex; flex-direction: column; gap: 10px; }

.hero-label {
  font-size: 11px; letter-spacing: 4px;
  color: var(--green); opacity: 0.7;
  text-transform: uppercase;
  transition: color 0.4s;
}

body.mode-maps .hero-label { color: var(--teal); }

.hero-title {
  font-size: 38px; font-weight: 800; letter-spacing: 4px;
  color: white; line-height: 1.1;
  text-shadow: 0 0 20px rgba(34,211,238,0.5), 0 0 60px rgba(34,211,238,0.2);
  transition: text-shadow 0.4s;
}

body.mode-maps .hero-title {
  text-shadow: 0 0 20px rgba(34,211,238,0.5), 0 0 60px rgba(34,211,238,0.2);
}

.hero-subtitle {
  font-size: 14px; line-height: 1.8;
  color: rgba(255,255,255,0.65); max-width: 480px;
}

.tag-free  { color: var(--teal); font-weight: 700; text-shadow: 0 0 10px rgba(34,211,238,0.7); }
.tag-premium { color: var(--gold); font-weight: 700; text-shadow: 0 0 10px rgba(255,217,0,0.7); }

.hero-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(34,211,238,0.3), rgba(0,207,255,0.2), transparent);
  margin-top: 36px;
  transition: background 0.4s;
}

body.mode-maps .hero-divider {
  background: linear-gradient(90deg, rgba(34,211,238,0.35), rgba(34,211,238,0.15), transparent);
}

/* ── PAGE TOGGLE ── */
.page-toggle {
  position: absolute;
  top: 28px; right: 60px;
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}

.toggle-btn {
  padding: 9px 20px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  position: relative;
}

.toggle-btn:first-child { border-right: 1px solid rgba(255,255,255,0.08); }

.toggle-btn.active {
  color: #060d1a;
  font-weight: 700;
}

#toggleBackup.active {
  background: var(--green);
  box-shadow: 0 0 16px rgba(34,211,238,0.4);
}

#toggleMaps.active {
  background: var(--teal);
  box-shadow: 0 0 16px rgba(34,211,238,0.4);
}

/* ── FILTER ── */
.filter-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 28px 60px 20px;
}

.filter-btn {
  padding: 9px 26px; border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--glass);
  color: rgba(255,255,255,0.55);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.25s ease; letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}

.filter-btn:hover { border-color: rgba(255,255,255,0.25); color: white; }

/* Backup mode filter */
body:not(.mode-maps) .filter-btn.active {
  background: rgba(34,211,238,0.1);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 14px rgba(34,211,238,0.2);
}

/* Maps mode filter */
body.mode-maps .filter-btn.active {
  background: rgba(34,211,238,0.1);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 14px rgba(34,211,238,0.2);
}

.filter-btn.premium.active {
  background: rgba(255,217,0,0.1) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  box-shadow: 0 0 14px rgba(255,217,0,0.2) !important;
}

/* Free button glow — Backup */
body:not(.mode-maps) .filter-btn.free {
  border-color: var(--green);
  color: var(--green);
  background: rgba(34,211,238,0.06);
  animation: free-glow-backup 2s ease-in-out infinite alternate;
}

/* Free button glow — Maps */
body.mode-maps .filter-btn.free {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(34,211,238,0.06);
  animation: free-glow-maps 2s ease-in-out infinite alternate;
}

@keyframes free-glow-backup {
  from { box-shadow: 0 0 10px rgba(34,211,238,0.25), 0 0 25px rgba(34,211,238,0.1); }
  to   { box-shadow: 0 0 20px rgba(34,211,238,0.55), 0 0 50px rgba(34,211,238,0.25); }
}

@keyframes free-glow-maps {
  from { box-shadow: 0 0 10px rgba(34,211,238,0.25), 0 0 25px rgba(34,211,238,0.1); }
  to   { box-shadow: 0 0 20px rgba(34,211,238,0.55), 0 0 50px rgba(34,211,238,0.25); }
}

/* ── PRODUCT LIST (Backup — landscape) ── */
.product-list {
  display: flex; flex-direction: column; gap: 24px;
  padding: 10px 60px 80px;
}

.product-item {
  display: flex; align-items: stretch;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-green);
  background: var(--glass); cursor: pointer;
  transition: all 0.3s ease;
  position: relative; min-height: 180px;
  animation: slideUp 0.5s ease both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-item:nth-child(1) { animation-delay: 0.05s; }
.product-item:nth-child(2) { animation-delay: 0.10s; }
.product-item:nth-child(3) { animation-delay: 0.15s; }
.product-item:nth-child(4) { animation-delay: 0.20s; }
.product-item:nth-child(5) { animation-delay: 0.25s; }

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 35px rgba(34,211,238,0.2);
  border-color: rgba(34,211,238,0.45);
}

.product-item.premium-item { border-color: var(--border-gold); }
.product-item.premium-item:hover {
  box-shadow: 0 0 35px rgba(255,217,0,0.18);
  border-color: rgba(255,217,0,0.5);
}

.item-img-wrap { width: 340px; flex-shrink: 0; position: relative; overflow: hidden; }
.item-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-item:hover .item-img { transform: scale(1.04); }
.item-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 60px;
  background: linear-gradient(135deg, rgba(0,20,15,0.9), rgba(0,40,25,0.7));
}

.item-info { flex: 1; padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.item-top { display: flex; flex-direction: column; gap: 10px; }

.item-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 12px; border-radius: 20px; letter-spacing: 1.5px; width: fit-content;
}

.badge-free {
  background: rgba(34,211,238,0.15);
  border: 1px solid var(--green); color: var(--green);
}
.badge-premium {
  background: rgba(255,217,0,0.12);
  border: 1px solid var(--gold); color: var(--gold);
}

body.mode-maps .badge-free {
  background: rgba(34,211,238,0.15);
  border-color: var(--teal); color: var(--teal);
}

.item-name { font-size: 20px; font-weight: 700; color: white; letter-spacing: 0.5px; }
.item-short-desc {
  font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}

.item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.item-price { font-size: 18px; font-weight: 700; }

.item-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 12px;
  font-size: 13px; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.2s ease; font-family: 'Poppins', sans-serif; text-decoration: none;
}

.cta-free { background: rgba(34,211,238,0.1); border: 1px solid var(--green); color: var(--green); }
.cta-free:hover { background: var(--green); color: #000; box-shadow: 0 0 20px rgba(34,211,238,0.4); }
.cta-premium { background: linear-gradient(135deg, #ffd900, #ffb300); color: #1a1000; box-shadow: 0 4px 14px rgba(255,208,0,0.35); }
.cta-premium:hover { box-shadow: 0 4px 28px rgba(255,208,0,0.65); transform: translateY(-1px); }

body.mode-maps .cta-free {
  background: rgba(34,211,238,0.1);
  border-color: var(--teal); color: var(--teal);
}
body.mode-maps .cta-free:hover {
  background: var(--teal); color: #031a15;
  box-shadow: 0 0 20px rgba(34,211,238,0.4);
}

/* ── PRODUCT GRID (Maps — square cards) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 8px 60px 80px;
}

.product-card {
  background: var(--glass);
  border-radius: 20px;
  border: 1px solid var(--border-teal);
  overflow: hidden; cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  animation: cardIn 0.45s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.10s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.20s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.30s; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 32px rgba(34,211,238,0.28);
  border-color: rgba(34,211,238,0.55);
}

.product-card.premium-card { border-color: var(--border-gold); }
.product-card.premium-card:hover {
  box-shadow: 0 0 32px rgba(255,217,0,0.18);
  border-color: rgba(255,217,0,0.55);
}

.card-img-wrap { width: 100%; aspect-ratio: 1 / 1; position: relative; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card:hover .card-img { transform: scale(1.05); }
.card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 64px;
  background: linear-gradient(135deg, rgba(0,20,10,0.9), rgba(0,40,20,0.6));
}

.card-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; letter-spacing: 1px; z-index: 2;
}

.card-body { padding: 14px 16px 16px; }
.card-name { font-size: 14px; font-weight: 700; color: white; margin-bottom: 10px; letter-spacing: 0.3px; }

.card-btn {
  display: block; width: 100%; padding: 10px; border-radius: 12px;
  font-size: 13px; font-weight: 600; text-align: center;
  border: none; cursor: pointer; transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif; letter-spacing: 0.3px;
  position: relative; z-index: 5;
}

.btn-free-maps {
  background: rgba(34,211,238,0.1);
  border: 1px solid var(--teal); color: var(--teal);
}
.btn-free-maps:hover { background: var(--teal); color: #031a15; box-shadow: 0 0 16px rgba(34,211,238,0.5); }

.btn-premium { background: linear-gradient(135deg, #ffd900, #ffb300); color: #1a1000; box-shadow: 0 4px 12px rgba(34,211,238,0.4); }
.btn-premium:hover { box-shadow: 0 4px 24px rgba(255,208,0,0.6); }

/* ── DETAIL PAGE ── */
.detail-page { padding-top: 64px; min-height: 100vh; animation: pageIn 0.4s ease; }

.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 30px 60px 0; padding: 9px 22px; border-radius: 30px;
  background: var(--glass); border: 1px solid var(--border-green);
  color: var(--green); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: 0.2s ease; font-family: 'Poppins', sans-serif;
}

body.mode-maps .back-btn {
  border-color: var(--border-teal); color: var(--teal);
}

.back-btn:hover {
  background: rgba(34,211,238,0.1);
  box-shadow: 0 0 15px rgba(34,211,238,0.2);
}

body.mode-maps .back-btn:hover {
  background: rgba(34,211,238,0.1);
  box-shadow: 0 0 15px rgba(34,211,238,0.2);
}

.detail-inner {
  display: flex; gap: 50px;
  padding: 36px 60px 80px; max-width: 1200px; align-items: flex-start;
}

.detail-images { flex: 1.2; display: flex; flex-direction: column; gap: 14px; }

.detail-main-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--border-green);
  box-shadow: 0 0 30px rgba(34,211,238,0.08); background: rgba(0,0,0,0.3);
}

body.mode-maps .detail-main-img {
  border-color: var(--border-teal);
  box-shadow: 0 0 30px rgba(34,211,238,0.08);
}

.detail-main-placeholder {
  width: 100%; aspect-ratio: 16/9; display: flex;
  align-items: center; justify-content: center; font-size: 90px;
  border-radius: 18px; border: 1px solid var(--border-green);
  background: linear-gradient(135deg, rgba(0,20,15,0.85), rgba(0,40,25,0.6));
}

.detail-thumbs { display: flex; gap: 10px; }

.detail-thumb {
  width: 80px; height: 55px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border-green); cursor: pointer; transition: 0.2s;
}

.detail-thumb:hover, .detail-thumb.active {
  border-color: var(--green);
  box-shadow: 0 0 12px rgba(34,211,238,0.35);
}

body.mode-maps .detail-thumb:hover,
body.mode-maps .detail-thumb.active {
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(34,211,238,0.35);
}

.detail-info { flex: 1; display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }

.detail-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px; letter-spacing: 1.5px; width: fit-content;
}

.detail-title {
  font-size: 30px; font-weight: 800; letter-spacing: 1px; color: white;
  text-shadow: 0 0 20px rgba(34,211,238,0.15); line-height: 1.3;
}

body.mode-maps .detail-title { text-shadow: 0 0 20px rgba(34,211,238,0.15); }

.detail-desc {
  font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.7);
  padding: 18px 22px; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  white-space: pre-line;
}

.detail-meta { display: flex; flex-direction: column; gap: 8px; }
.meta-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }
.meta-icon { font-size: 16px; }
.meta-val { color: white; font-weight: 600; }

.detail-price { font-size: 24px; font-weight: 700; }

.detail-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 38px; border-radius: 14px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all 0.3s ease; width: fit-content;
}

.detail-btn.btn-type-free {
  background: rgba(34,211,238,0.08);
  border: 1.5px solid var(--green); color: var(--green);
}
.detail-btn.btn-type-free:hover {
  background: var(--green); color: #000;
  box-shadow: 0 0 30px rgba(34,211,238,0.5);
}

.detail-btn.btn-type-free-maps {
  background: rgba(34,211,238,0.08);
  border: 1.5px solid var(--teal); color: var(--teal);
}
.detail-btn.btn-type-free-maps:hover {
  background: var(--teal); color: #031a15;
  box-shadow: 0 0 30px rgba(34,211,238,0.5);
}

.detail-btn.btn-type-premium {
  background: linear-gradient(135deg, #ffd900, #ffb300);
  color: #1a1000; border: none;
  box-shadow: 0 6px 20px rgba(255,208,0,0.35);
}
.detail-btn.btn-type-premium:hover {
  box-shadow: 0 6px 35px rgba(255,208,0,0.65);
  transform: translateY(-2px);
}

.btn-arrow { font-size: 18px; transition: transform 0.2s; }
.detail-btn:hover .btn-arrow { transform: translateX(4px); }

/* ── HIDDEN ── */
.hidden { display: none !important; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 18px; gap: 12px; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 240px; height: 100vh;
    background: rgba(6,13,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 80px 20px;
    transition: 0.35s ease;
    z-index: 9998;
    border-left: 1px solid var(--border-green);
  }

  .nav-links.active { right: 0; }
  .hamburger { display: block; z-index: 9999; }

  .nav-user-name { display: none; }
  .nav-btn-dashboard { display: none; }

  .backup-hero { padding: 40px 20px 30px; }
  .hero-content { gap: 20px; }
  .hero-icon { width: 75px; height: 75px; }
  .hero-title { font-size: 24px; letter-spacing: 2px; }
  .hero-subtitle { font-size: 13px; }

  .page-toggle {
    position: static;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Filter bar: ALL | Premium | Free sejajar dari kiri ke kanan */
  .filter-bar {
    padding: 16px 20px 14px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
  }

  .product-list { padding: 10px 20px 60px; gap: 16px; }
  .product-item { flex-direction: column; min-height: unset; }
  .item-img-wrap { width: 100%; height: 180px; }
  .item-info { padding: 18px 20px 20px; }
  .item-name { font-size: 16px; }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 8px 16px 60px;
  }

  .card-name { font-size: 12px; }
  .card-btn  { font-size: 11px; padding: 8px; }

  .detail-inner { flex-direction: column; padding: 20px 20px 60px; gap: 24px; }
  .back-btn { margin: 20px 20px 0; }
  .detail-title { font-size: 22px; }
}

/* ══════════════════════════════════════
   BOTTOM NAVBAR (mobile only)
══════════════════════════════════════ */
.bottom-nav {
  display: none;
}

.navbar {
  display: flex;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  body {
    padding-bottom: 72px;
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(6, 13, 26, 0.97);
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    z-index: 9999;
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.15s;
    padding-bottom: 4px;
  }

  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bottom-nav-item.active,
  .bottom-nav-item:hover {
    color: #22D3EE;
  }
}

.badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.custom-youtube-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,238,0.1);
  border: 2px solid var(--green);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(34,211,238,0.3);
}
.custom-youtube-icon:hover {
  background: rgba(34,211,238,0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(34,211,238,0.5);
}
.custom-youtube-icon svg { width: 20px; height: 20px; fill: var(--green); transition: fill 0.3s ease; }
.custom-youtube-icon:hover svg { fill: #ffffff; }

.custom-tiktok-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,238,0.1);
  border: 2px solid var(--green);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(34,211,238,0.3);
}
.custom-tiktok-icon:hover {
  background: rgba(34,211,238,0.2);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(34,211,238,0.5);
}
.custom-tiktok-icon svg { width: 18px; height: 18px; fill: var(--green); transition: fill 0.3s ease; }
.custom-tiktok-icon:hover svg { fill: #ffffff; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.social-icon:hover { transform: translateY(-2px); opacity: 0.8; }