/* ========================================================
   STATUS BAR & DYNAMIC ISLAND
======================================================== */
.status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 80;
  pointer-events: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-time {
  letter-spacing: -0.2px;
}

.dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.12);
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dynamic-island.call-active {
  width: 175px;
  background: #0d1117;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.island-camera {
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 3px #051a3d;
}

.island-call-badge {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--accent-green);
  font-weight: 600;
}

.dynamic-island.call-active .island-call-badge {
  display: flex;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ========================================================
   BOTTOM NAVIGATION BAR (BALANCED 4-TAB NATIVE LAYOUT)
======================================================== */
.bottom-nav {
  position: relative;
  height: 62px;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px 8px 6px;
  z-index: 70;
  flex-shrink: 0;
}

.nav-item {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 6px 0;
  border-radius: 12px;
  position: relative;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.nav-item span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.1px;
}

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

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

.nav-item.active svg {
  transform: translateY(-2px);
  color: var(--primary-pink);
  filter: drop-shadow(0 2px 8px rgba(254, 44, 85, 0.6));
}

/* Micro Match Tab Active state */
.nav-item[data-screen="screen-match"].active svg {
  color: var(--primary-purple);
  filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.7));
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: 18%;
  background: var(--primary-pink);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  border: 1px solid #000;
}

/* Dynamic Floating Toast (Only injected on explicit user actions, auto-destructs) */
.dynamic-toast {
  position: absolute;
  top: 50px;
  left: 16px;
  right: 16px;
  background: rgba(20, 24, 38, 0.96);
  border: 1px solid var(--primary-pink);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.dynamic-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.dynamic-toast .toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-tik);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dynamic-toast .toast-icon svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.dynamic-toast .toast-msg h5 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.dynamic-toast .toast-msg p {
  font-size: 0.68rem;
  color: var(--text-secondary);
}
