:root {
    --header-height: 64px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body { 
    padding-top: calc(var(--header-height) + var(--safe-top));
    padding-bottom: calc(65px + var(--safe-bottom));
    min-height: 100svh;
    background: #000;
}

#mainHeader {
    height: calc(var(--header-height) + var(--safe-top)) !important;
    z-index: 10000 !important; /* En üst */
}

#sideMenu {
    z-index: 9999 !important; /* Header'ın hemen altı */
}

#menuOverlay {
    z-index: 9998 !important;
}

/* Bottom bar başka dosyadaysa bile burası korur */
.mobile-nav, #bottomBar {
    position: fixed !important;
    bottom: 0 !important;
    z-index: 10001 !important; /* Mobilde parmak ucu erişimi için en üstte */
    height: calc(65px + var(--safe-bottom)) !important;
    padding-bottom: var(--safe-bottom) !important;
}
/* =========================
   PUSH NOTIFICATION PROMPT
========================= */
.push-prompt {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.push-prompt.hidden {
  display: none;
}

.push-box {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
  width: min(90%, 340px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: pushPop 0.3s ease;
}

.push-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.push-box p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.push-box button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.push-box #enablePushBtn {
  background: #dc2626;
  color: #fff;
  margin-bottom: 10px;
}

.push-box .later {
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

@keyframes pushPop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
