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

:root {
  --green: #22D3EE;
  --gold: #ffd900;
  --bg: #060d1a;
  --bg2: #0a1420;
  --bg3: #0d1a28;
  --glass: rgba(255,255,255,0.04);
  --border-green: rgba(34,211,238,0.25);
  --border-gold: rgba(255,217,0,0.3);
}

body {
  min-height: 100vh;
  background: linear-gradient(160deg, #060d1a 0%, #0a1420 50%, #0d1a28 100%);
  overflow-x: hidden;
  animation: pageEnter 0.45s ease both;
  color: white;
}

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

/* ══════════════════════════════════════
   NAVBAR - Links di samping kanan logo
══════════════════════════════════════ */
.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;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-skull {
  font-size: 22px;
  filter: drop-shadow(0 0 6px rgba(34,211,238,0.4));
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--green);
  text-shadow: 0 0 15px rgba(34,211,238,0.5);
}

.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);
}

.nav-spacer {
  flex: 1;
}

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

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

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

/* ── HERO ── */
.addon-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  background-image: url('../image/green.jpg');
  background-size: cover;
  background-position: center;
  height: 220px;
}

.addon-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,13,26,0.80) 0%, rgba(10,31,20,0.72) 50%, rgba(13,42,20,0.78) 100%);
  z-index: 0;
}

.addon-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent 0%, rgba(34,211,238,0.12) 60%, rgba(0,30,10,0.85) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(34,211,238,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 0 20px;
}

.hero-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: rgba(34,211,238,0.08);
  box-shadow: 0 0 24px rgba(34,211,238,0.3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

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

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

.hero-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  color: white;
  text-shadow: 0 0 20px rgba(34,211,238,0.6), 0 0 50px rgba(34,211,238,0.3);
}

.title-line {
  flex: 1;
  height: 1px;
  max-width: 60px;
  background: linear-gradient(90deg, transparent, var(--green));
}

.title-line:last-child {
  background: linear-gradient(90deg, var(--green), transparent);
}

.title-text { white-space: nowrap; }

.hero-desc {
  max-width: 440px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(0,0,0,0.45);
  box-shadow: -6px -6px 18px rgba(34,211,238,0.12), 6px 6px 18px rgba(34,211,238,0.05);
}

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

/* ── FILTER ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 40px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--glass);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

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

.filter-btn.active {
  background: rgba(34,211,238,0.12);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 14px rgba(34,211,238,0.2);
}

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

.filter-btn.free {
  border-color: var(--green);
  color: var(--green);
  background: rgba(34,211,238,0.07);
  animation: free-glow 2s ease-in-out infinite alternate;
}

@keyframes free-glow {
  from { box-shadow: 0 0 12px rgba(34,211,238,0.3), 0 0 30px rgba(34,211,238,0.15); }
  to { box-shadow: 0 0 20px rgba(34,211,238,0.6), 0 0 50px rgba(34,211,238,0.3), 0 0 80px rgba(34,211,238,0.1); }
}

.search-box { margin-left: 4px; }

.search-box input {
  padding: 9px 18px;
  border-radius: 30px;
  border: 1px solid rgba(34,211,238,0.25);
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 13px;
  outline: none;
  width: 200px;
  transition: all 0.25s ease;
}

.search-box input::placeholder { color: rgba(255,255,255,0.35); }

.search-box input:focus {
  border-color: var(--green);
  box-shadow: 0 0 14px rgba(34,211,238,0.2);
  background: rgba(34,211,238,0.04);
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 24px;
  padding: 0 40px 80px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 0;
  position: relative;
}

.badge-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 7px;
  min-height: 24px;
}

.badge-row.no-badge {
  visibility: hidden;
}

.card-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.badge-free {
  background: rgba(34,211,238,0.18);
  border: 1px solid var(--green);
  color: var(--green);
}

.badge-premium {
  background: rgba(255,217,0,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255,217,0,0.6);
  box-shadow: 0 0 10px rgba(255,217,0,0.2);
}

.card-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,15,10,0.9), rgba(0,35,20,0.7));
  transition: box-shadow 0.3s ease;
}

.product-card:hover .card-image-wrap {
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.product-card:hover .card-img {
  transform: scale(1.05);
  opacity: 0.9;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
}

.card-label {
  padding: 11px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-name {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-price {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-price.price-free { color: var(--green); }
.card-price.price-premium { color: var(--gold); }

.card-btn {
  display: block;
  width: 100%;
  padding: 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 5;
}

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

.btn-free:hover {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 16px rgba(34,211,238,0.4);
}

.btn-premium {
  background: linear-gradient(135deg, #ffd900, #e6b800);
  color: #001a1c;
  box-shadow: 0 4px 12px rgba(255,217,0,0.35), 0 0 20px rgba(255,217,0,0.15);
}

.btn-premium:hover {
  box-shadow: 0 4px 22px rgba(255,217,0,0.6), 0 0 40px rgba(255,217,0,0.3);
}

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

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 30px 40px 0;
  padding: 9px 20px;
  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;
}

.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: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

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

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

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

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

.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: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
  color: white;
  text-shadow: 0 0 20px rgba(34,211,238,0.2);
}

.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);
}

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

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  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.1);
  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-premium {
  background: linear-gradient(135deg, #ffd900, #e6b800);
  color: #001a1c;
  border: none;
  box-shadow: 0 6px 20px rgba(255,217,0,0.4), 0 0 40px rgba(255,217,0,0.15);
}

.detail-btn.btn-type-premium:hover {
  box-shadow: 0 6px 35px rgba(255,217,0,0.7), 0 0 60px rgba(255,217,0,0.3);
  transform: translateY(-2px);
}

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

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

.views-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  display: none;
}

/* SLIDER */
.slider-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,0.25);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(34,211,238,0.3);
  border-color: #22D3EE;
}

.arrow-left { left: 12px; }
.arrow-right { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.2s ease;
}

.slider-dot.active {
  background: #22D3EE;
  border-color: #22D3EE;
  box-shadow: 0 0 8px rgba(34,211,238,0.6);
}

.thumbs-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.thumb-item {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: 0.2s ease;
  background: rgba(0,0,0,0.3);
}

.thumb-item:hover {
  border-color: rgba(34,211,238,0.5);
}

.thumb-item.active {
  border-color: #22D3EE;
  box-shadow: 0 0 10px rgba(34,211,238,0.4);
}

/* SOCIAL ICONS */
#detailYoutube, #detailTiktok {
  width: 38px;
  height: 38px;
}

#detailYoutube img {
  width: 59px;
  height: 59px;
  object-fit: contain;
}

#detailTiktok img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* PAGE TOGGLE */
.page-toggle {
  margin-left: auto;
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(34,211,238,0.2);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.toggle-btn {
  padding: 8px 18px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.toggle-btn:first-child { border-right: 1px solid rgba(34,211,238,0.15); }

#toggleAddon.active, #toggleSkin.active {
  background: var(--green);
  color: #031a10;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(34,211,238,0.4);
}

body.mode-skin .hero-icon {
  border-color: var(--green);
}

/* GRID SLIDE ANIMATION */
.product-grid {
  transition: opacity 0.25s ease;
}

.product-grid.slide-out-left {
  animation: slideOutLeft 0.2s ease forwards;
}

.product-grid.slide-in-right {
  animation: slideInRight 0.25s ease forwards;
}

.product-grid.slide-out-right {
  animation: slideOutRight 0.2s ease forwards;
}

.product-grid.slide-in-left {
  animation: slideInLeft 0.25s ease forwards;
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ══════════════════════════════════════
   NAVBAR AUTH COMPONENTS
══════════════════════════════════════ */
.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-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;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.35));
}

.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);
}

/* ════════════════════════════════════════════════════════════
   CUSTOM ICON TIKTOK & YOUTUBE - GREEN OUTLINE
   ════════════════════════════════════════════════════════════ */

/* YouTube Icon */
.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;
}

/* TikTok Icon */
.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;
}

/* YouTube Music Note variant (opsional) */
.custom-youtube-music-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;
}

.custom-youtube-music-icon:hover {
  background: rgba(34, 211, 238, 0.2);
  transform: translateY(-2px);
}

.custom-youtube-music-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--green);
}

/* Badges row icon styling override */
.badges-row .social-icon {
  width: auto;
  height: auto;
}

.badges-row .social-icon img {
  display: none;
}

/* MOBILE RESPONSIVE */
@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; }

  .addon-hero { height: 200px; }
  .hero-title { font-size: 15px; letter-spacing: 2px; gap: 8px; }
  .hero-icon { width: 54px; height: 54px; }
  .hero-desc { font-size: 12px; padding: 10px 16px; }

  /* Filter bar: row wrap — filter btns | search full | toggle center */
  .filter-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 16px 0;
  }

  /* Search: full width, baris sendiri */
  .search-box {
    order: 10;
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    flex-basis: 100%;
  }

  .search-box input {
    width: 100%;
    box-sizing: border-box;
  }

  /* Toggle: baris sendiri, posisi tengah */
  .page-toggle {
    order: 20;
    margin-left: 0;
    margin-top: 12px;
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 16px;
    padding: 0 16px 60px;
  }

  /* Product card: kotak 1:1 pas, tanpa border-radius */
  .card-image-wrap {
    border-radius: 0;
  }

  .detail-inner { flex-direction: column; padding: 20px; gap: 28px; }
  .back-btn { margin: 20px 20px 0; }
  .detail-title { font-size: 22px; text-align: center; }

  /* Detail price + buy button: center */
  .detail-info {
    align-items: center;
    text-align: center;
  }

  .detail-price {
    text-align: center;
  }

  .detail-btn {
    align-self: center;
  }

  .badges-row {
    justify-content: center;
  }

  .detail-desc {
    text-align: left;
  }
}

/* ══════════════════════════════════════
   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;
  }
}

.autopay-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-radius: 14px;
  background: rgba(34, 211, 238, 0.07);
  border: 1.5px solid rgba(34, 211, 238, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  width: fit-content;
  max-width: 320px;
}

.autopay-btn:hover {
  background: rgba(34, 211, 238, 0.13);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
  transform: translateY(-1px);
}

.autopay-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autopay-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #22D3EE;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.autopay-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.autopay-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.3px;
}

.autopay-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.42);
  font-weight: 500;
}

.autopay-global-wrap {
  padding: 0 40px 100px;
}

.autopay-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(34,211,238,0.06);
  border: 1px solid rgba(34,211,238,0.22);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.autopay-strip:hover {
  background: rgba(34,211,238,0.13);
  border-color: rgba(34,211,238,0.5);
}

.autopay-strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autopay-strip-icon svg {
  width: 20px;
  height: 20px;
  stroke: #22D3EE;
}

.autopay-strip-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.autopay-strip-title {
  font-size: 14px;
  font-weight: 700;
  color: #22D3EE;
  letter-spacing: 0.3px;
}

.autopay-strip-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
}

@media (max-width: 768px) {
  .autopay-global-wrap {
    padding: 0 16px 80px;
  }

  .autopay-strip {
    padding: 12px 16px;
    border-radius: 12px;
  }

  .autopay-strip-icon {
    width: 34px;
    height: 34px;
  }

  .autopay-strip-icon svg {
    width: 17px;
    height: 17px;
  }

  .autopay-strip-title {
    font-size: 13px;
  }

  .autopay-strip-sub {
    font-size: 10px;
  }
}