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

body.dark {
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
  height: 100vh;
  overflow: hidden;
}

/* ================= TOP BAR ================= */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  z-index: 10;
  background: linear-gradient(#000, transparent);
}

.logo {
  font-weight: 700;
}

.top-icons span {
  font-size: 20px;
  margin-left: 14px;
}

/* ================= REELS ================= */
.reels {
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

.reel {
  position: relative;
  height: 100vh;
  scroll-snap-align: start;
}

.reel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= ACTION BAR ================= */
.action-bar {
  position: fixed;
  right: 10px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 20;
}

.action-bar button {
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.action-bar span {
  display: block;
  font-size: 12px;
  opacity: .8;
}

/* ================= BOTTOM NAV (FINAL) ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #222;
  z-index: 999;
}

.nav-item {
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
}

.nav-item.active {
  color: #fff;
}

/* 🔥 CENTER UPLOAD BUTTON */
.upload-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(45deg, #ff0050, #00f2ea);
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* ================= LOADER ================= */
.loader {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .6;
  font-size: 14px;
}
