/* public/css/bottom-nav.css — TikTok-style bottom navigation bar.
   NovaReel dark theme: cyan #00F2EA, coral #FF4D6D, bg #0a0a0a */

:root {
  --cyan: #00F2EA;
  --coral: #FF4D6D;
  --bg: #0a0a0a;
  --surface: #161616;
  --text: #f0f0f0;
  --text-muted: #888;
  --font: 'DM Sans', sans-serif;
  --font-heading: 'Syne', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Bottom Nav ───────────────────────────────────────────────────────────── */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 56px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0 8px;
  /* Safe area on iOS */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Nav Items ────────────────────────────────────────────────────────────── */

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 6px 12px;
  border-radius: 12px;
  min-width: 52px;
  flex: 1;
}

.bnav-item:hover { color: var(--text); }

.bnav-item.active {
  color: var(--cyan);
}

.bnav-item.active .bnav-icon {
  filter: drop-shadow(0 0 6px rgba(0,242,234,0.5));
}

/* ── Icons ────────────────────────────────────────────────────────────────── */

.bnav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ── Center Post Button ──────────────────────────────────────────────────── */

.bnav-center-btn {
  position: relative;
  top: -10px;
}

.bnav-center-btn .bnav-icon {
  width: 44px;
  height: 44px;
  background: var(--coral);
  border-radius: 50%;
  padding: 10px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,77,109,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bnav-center-btn:hover .bnav-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(255,77,109,0.5);
}

.bnav-center-btn.active .bnav-icon {
  background: var(--coral);
  filter: none;
}

/* ── Avatar / Profile item ───────────────────────────────────────────────── */

.bnav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.bnav-avatar-initials {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid rgba(0,242,234,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

/* ── Labels ───────────────────────────────────────────────────────────────── */

.bnav-label {
  font-size: 0.65rem;
  font-weight: 500;
  font-family: var(--font);
}

/* Hide labels on very small screens (optional) */
@media (max-width: 360px) {
  .bnav-label { display: none; }
  .bnav-item { min-width: 44px; padding: 6px; }
}

/* On vertical feed page, keep a little top padding so content isn't
   hidden behind bottom nav */
.vfeed-app .vfeed-swiper {
  padding-bottom: 56px;
}