/* Reset dasar & padding bawah untuk bottom nav */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-bottom: 84px;
  background: #0b0f19;
  color: #f8fafc;
  font-family: system-ui, -apple-system, sans-serif;
}

/* Header Atas (Tombol Garis 3 + Logo/Judul + Tag) */
.hv-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
}

.hv-header-inner {
  max-width: 960px;
  height: 56px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hv-hamburger {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #131c2e;
  color: #f8fafc;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hv-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f8fafc;
}

.hv-brand-title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.hv-header-logo-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.hv-header-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
    }


/* Sidebar Drawer (Tersembunyi di luar layar sampai .open ditambahkan) */
.hv-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 6, 23, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hv-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hv-drawer {
  width: min(82vw, 300px);
  height: 100%;
  background: #0f172a;
  border-right: 1px solid #24344d;
  padding: 16px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
}

.hv-drawer-backdrop.open .hv-drawer {
  transform: translateX(0);
}

.hv-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #24344d;
  color: #f8fafc;
}

.hv-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #f8fafc;
  cursor: pointer;
}

.hv-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hv-drawer-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.hv-drawer-title {
  font-size: 0.88rem;
  line-height: 1.25;
}

.hv-drawer-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.25;
}

.hv-drawer-link.active .hv-drawer-sub,
.hv-drawer-link:hover .hv-drawer-sub {
  color: #7dd3fc;
}


/* Bottom Navbar */
.hv-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  height: 64px;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.hv-bottom-item {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.7rem;
  font-weight: 600;
}

.hv-bottom-item.active {
  color: #38bdf8;
}

.hv-bottom-item.is-center .hv-bottom-icon {
  width: 42px;
  height: 42px;
  margin-top: -18px;
  border-radius: 999px;
  background: #0284c7;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.hv-bottom-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Placeholder Maskot di Hero */
.hv-hero-placeholder {
  margin-top: 12px;
  min-height: 130px;
  border: 1px dashed #334155;
  border-radius: 14px;
  background: #111827;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}
