/* ═══════════════════════════════════════════════════════════════
   style.css — Zonabokep24 Main Stylesheet
   Dark / Light mode via data-theme attribute on <html>
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables (Dark Theme default) ──────────────────────── */
:root,
[data-theme="dark"] {
  --bg-primary:    #0f0f13;
  --bg-secondary:  #18181f;
  --bg-tertiary:   #1e1e28;
  --bg-card:       #1c1c25;
  --bg-card-hover: #232330;
  --bg-nav:        rgba(15,15,19,0.95);
  --bg-subnav:     #13131a;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(236,72,153,0.4);
  --text-primary:  #f0f0f5;
  --text-secondary:#9898b0;
  --text-muted:    #5e5e78;
  --accent:        #ec4899;
  --accent-dark:   #db2777;
  --accent-glow:   rgba(236,72,153,0.25);
  --badge-cat:     rgba(124,58,237,0.75);
  --thumb-bg:      #0a0a10;
  --scrollbar-bg:  #1c1c25;
  --scrollbar-thumb: #3a3a50;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-nav:    0 1px 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.6);
}

[data-theme="light"] {
  --bg-primary:    #f4f4f6;
  --bg-secondary:  #ffffff;
  --bg-tertiary:   #ededf2;
  --bg-card:       #ffffff;
  --bg-card-hover: #f8f8fb;
  --bg-nav:        rgba(255,255,255,0.97);
  --bg-subnav:     #ffffff;
  --border:        rgba(0,0,0,0.08);
  --border-hover:  rgba(236,72,153,0.5);
  --text-primary:  #111118;
  --text-secondary:#5a5a72;
  --text-muted:    #9090a8;
  --accent:        #ec4899;
  --accent-dark:   #db2777;
  --accent-glow:   rgba(236,72,153,0.18);
  --badge-cat:     rgba(124,58,237,0.85);
  --thumb-bg:      #e0e0e8;
  --scrollbar-bg:  #f0f0f4;
  --scrollbar-thumb: #c8c8d8;
  --shadow-card:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-nav:    0 1px 0 rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-bg); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ══ NAVBAR ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-nav);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo */
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}
.logo span { color: var(--accent); }

/* Search */
.search-wrap {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-wrap:focus-within { border-color: var(--accent); }
.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}
.search-wrap input::placeholder { color: var(--text-muted); }
.search-wrap button {
  padding: 8px 16px;
  background: var(--bg-card-hover);
  border: none;
  border-left: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.search-wrap button:hover { color: var(--text-primary); background: var(--accent); }

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dropdown buttons (Filter, Kategori, Genre) */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-btn:hover, .nav-btn.active {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}
.nav-btn i.fa-chevron-down { font-size: 10px; opacity: 0.6; }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* Upload Button */
.btn-upload {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-upload:hover { opacity: 0.9; transform: translateY(-1px); }

/* Age badge */
.age-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  background: linear-gradient(45deg, #ff1744, #ff5722);
  color: #fff;
  flex-shrink: 0;
  animation: glowBadge 2.5s ease-in-out infinite alternate;
}
@keyframes glowBadge {
  from { box-shadow: 0 0 4px #ff1744; }
  to   { box-shadow: 0 0 12px #ff1744, 0 0 20px rgba(255,23,68,0.4); }
}

/* ══ SUBNAV (Sort tabs) ══════════════════════════════════════════ */
.subnav {
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 99;
  background: var(--bg-subnav);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.subnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }

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

/* ══ MOBILE TAGLINE ══════════════════════════════════════════ */
.mobile-tagline {
  display: none;
}
@media (max-width: 768px) {
  .mobile-tagline {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-secondary);
    background: var(--bg-nav);
    margin-top: 60px;
    line-height: 1.5;
  }
}

.sort-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.sort-tab:hover { color: var(--text-primary); }
.sort-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}
.sort-tab i { font-size: 12px; }

/* ══ DROPDOWN OVERLAYS ══════════════════════════════════════════ */
.dropdown-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
}
.dropdown-overlay.open { display: block; }

.dropdown-panel {
  position: absolute;
  top: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  min-width: 200px;
  overflow: hidden;
  display: none;
  z-index: 200;
}
.dropdown-panel.open { display: block; animation: dropIn 0.15s ease; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.dropdown-panel a:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.dropdown-panel a.active { color: var(--accent); background: var(--bg-card-hover); }
.dropdown-panel a i { width: 16px; text-align: center; font-size: 12px; }

.dropdown-panel .panel-title {
  padding: 10px 16px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

/* ══ MAIN LAYOUT ════════════════════════════════════════════════ */
.main-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 40px;
  margin-top: 110px; /* navbar 60 + subnav ~50 */
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title i { color: var(--accent); font-size: 16px; }
.video-count {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ══ VIDEO GRID ══════════════════════════════════════════════════ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ── Video Card ───────────────────────────────────────────────── */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.video-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

/* Thumbnail */
.thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 62.5%;
  background: var(--thumb-bg);
  overflow: hidden;
}
.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.3s ease;
  will-change: transform;
  filter: contrast(1.04) saturate(1.06);
}
.video-card:hover .thumb-img {
  transform: scale(1.07);
  filter: contrast(1.0) saturate(1.0) brightness(0.65);
}

/* Gradient overlay */
.thumb-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

/* Play button */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.22s;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-btn {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18), 0 0 0 8px rgba(236,72,153,0.2), 0 8px 20px rgba(0,0,0,0.5);
  transform: scale(0.85);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s;
}
.video-card:hover .play-btn {
  transform: scale(1);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.28), 0 0 0 10px rgba(236,72,153,0.25), 0 10px 28px rgba(0,0,0,0.6);
}
.play-btn i { font-size: 14px; color: #fff; margin-left: 3px; }

/* Badges on thumbnail */
.badge-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  z-index: 4;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.3px;
}
.badge-hd {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 4;
  background: rgba(37,99,235,0.9);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.badge-hot {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 4;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Card body */
.card-body {
  padding: 10px 11px 11px;
}
.card-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* Stats row (views, duration, likes) — like screenshot */
.card-stats {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11px;
  color: var(--text-muted);
  padding: 7px 0 0;
  border-top: 1px solid var(--border);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.stat-item:not(:last-child) {
  border-right: 1px solid var(--border);
}
.stat-item i { font-size: 10px; opacity: 0.7; }
.stat-item.likes i { color: #f43f5e; }

/* Category pill */
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  background: var(--badge-cat);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 6px;
  transition: opacity 0.15s;
}
.cat-pill:hover { opacity: 0.8; }

/* ══ EMPTY STATE ════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 56px; display: block; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 20px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }

/* ══ PAGINATION ═════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  padding: 0 10px;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}
.page-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ══ FOOTER ═════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-warning {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}
.footer-warning i { color: #ef4444; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.dmca-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 6px;
  font-size: 11px;
  color: #ef4444;
}

/* ══ MOBILE BOTTOM BAR ═══════════════════════════════════════════ */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  backdrop-filter: blur(20px);
}
.mobile-search {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mobile-search input {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 16px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.mobile-search input:focus { border-color: var(--accent); }

/* ══ SCROLL TO TOP ═══════════════════════════════════════════════ */
#scrollTop {
  position: fixed;
  bottom: 72px; right: 18px;
  width: 40px; height: 40px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--accent-glow);
  z-index: 90;
  transition: opacity 0.2s, transform 0.2s;
}
#scrollTop:hover { transform: translateY(-2px); }
#scrollTop.visible { display: flex; }

/* ══ BREADCRUMB ══════════════════════════════════════════════════ */
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }

/* ══ RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; gap: 12px; }
  .navbar-inner { gap: 4px; }
  .desktop-only { display: none !important; }
}

@media (max-width: 480px) {
  .navbar-inner { padding: 0 12px; }
  .main-wrap { padding: 12px 12px 60px; margin-top: 60px; }
}

/* ══ UTILITY ════════════════════════════════════════════════════ */
.mobile-only { display: none; }
@media (max-width: 768px) {
  .mobile-only { display: block !important; }
}


.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hidden { display: none !important; }

/* ══ MOBILE ICON BAR (navbar kanan, mobile only) ════════════════ */
.mobile-icon-bar {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.mob-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
  position: relative;
}
.mob-icon-btn:hover,
.mob-icon-btn.active { color: var(--accent); }
/* Hamburger lines inside mob-icon-btn */
.mob-hamburger {
  flex-direction: column;
  gap: 4px;
  padding: 10px 8px;
}
.mob-hamburger .hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s;
}
.mob-hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--accent); }
.mob-hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mob-hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--accent); }

@media (max-width: 768px) {
  .mobile-icon-bar { display: flex; }
}

/* ══ MOBILE SEARCH MODAL ══════════════════════════════════════ */
.mob-search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
}
.mob-search-overlay.open { display: block; }

.mob-search-modal {
  position: fixed;
  top: -100%;
  left: 0; right: 0;
  z-index: 201;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  transition: top 0.25s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(20px);
}
.mob-search-modal.open { top: 0; }

.mob-search-form {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 8px;
  gap: 6px;
}
.mob-search-back {
  width: 38px; height: 38px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.mob-search-back:hover { color: var(--text-primary); }
.mob-search-modal input[type="text"] {
  flex: 1;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  font-family: 'Inter', sans-serif;
}
.mob-search-modal input:focus { border-color: var(--accent); }
.mob-search-go {
  width: 38px; height: 38px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ══ MOBILE FILTER SHEET (bottom sheet) ══════════════════════ */
.mob-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.mob-sheet-overlay.open { display: block; }

.mob-sheet {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  z-index: 201;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 8px 0 32px;
  transition: bottom 0.3s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh;
  overflow-y: auto;
}
.mob-sheet.open { bottom: 0; }

.mob-sheet-handle {
  width: 36px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 4px auto 12px;
}
.mob-sheet-title {
  padding: 4px 20px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mob-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.mob-sheet-item:hover { background: var(--bg-tertiary); }
.mob-sheet-item.active { color: var(--accent); background: rgba(236,72,153,0.07); }
.mob-sheet-emoji { font-size: 18px; width: 24px; text-align: center; }
.mob-sheet-check { margin-left: auto; color: var(--accent); }

/* ══ MOBILE MENU BUTTON (old class, now unused but kept) ════ */
.mobile-menu-btn { display: none; }

/* ══ MOBILE MENU OVERLAY ══════════════════════════════════════ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.open { display: block; }

/* ══ MOBILE MENU DRAWER ══════════════════════════════════════ */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 340px);
  height: 100dvh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.mobile-menu-drawer.open { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-title {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.mobile-menu-close {
  width: 32px; height: 32px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 24px;
}
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-item:hover { background: var(--bg-tertiary); color: var(--accent); }
.mobile-menu-item.active { color: var(--accent); background: rgba(236,72,153,0.08); }
.mobile-menu-item i { width: 18px; text-align: center; color: var(--text-muted); flex-shrink: 0; }
.mobile-menu-item.active i, .mobile-menu-item:hover i { color: var(--accent); }
.mobile-menu-item--muted { color: var(--text-secondary); font-size: 13px; }

.mobile-menu-section-title {
  padding: 14px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-menu-section-title i { color: var(--accent); }
.mobile-menu-divider { height: 1px; background: var(--border); margin: 8px 0; }

.mobile-menu-theme {
  display: flex;
  gap: 8px;
  padding: 8px 20px 12px;
  border-bottom: 1px solid var(--border);
}
.mobile-theme-btn {
  flex: 1;
  padding: 9px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.mobile-theme-btn.active {
  background: rgba(236,72,153,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.mobile-theme-btn:hover:not(.active) { border-color: var(--accent); color: var(--text-primary); }

/* ══ FOOTER ══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 48px 0;
}

/* Deskripsi */
.footer-desc-block {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 28px;
  /* TIDAK ada border-bottom — sesuai referensi */
}
.footer-desc-block strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ── Desktop: link horizontal, spasi saja, tengah ─────────── */
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-links-row a {
  display: inline-block;
  padding: 6px 22px;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
  /* tanpa border kanan — separator hanya spasi */
}
.footer-links-row a:hover { color: var(--text-primary); }

/* Footer bottom copyright */
.footer-bottom {
  padding: 18px 0 22px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}
.footer-bottom strong { color: var(--text-secondary); }

/* ── Mobile: grid 2 kolom, tanpa border antar item ────────── */
@media (max-width: 768px) {
  .footer-inner {
    padding: 28px 20px 0;
  }
  .footer-desc-block {
    font-size: 13.5px;
    padding-bottom: 20px;
  }
  .footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: unset;
    padding: 16px 0;
    gap: 0;
    /* hanya border top/bottom container, tidak per-item */
  }
  .footer-links-row a {
    padding: 11px 4px 11px 0;
    font-size: 13px;
    white-space: normal;
    /* tidak ada border sama sekali per link */
  }
  .footer-links-row a:hover { color: var(--text-primary); }
  .footer-bottom {
    font-size: 12px;
    text-align: left;
    padding: 16px 0 20px;
  }
  .main-wrap { padding-bottom: 60px; }
}