/* ========================================
   XPrivFi - Mobile Navigation (<= 900px)
   Fullscreen slide-in menu + scrolling
   ======================================== */

/* Hide mobile nav on true desktop */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .mobile-nav-panel,
  .mobile-nav-links {
    display: none !important;
  }
}

/* Hide mobile menu + its links on desktop/tablet */
.mobile-nav-panel {
  display: none;
}

.mobile-nav-links {
  display: none;
}

@media (max-width: 1100px) {

  /* Hide desktop links - mobile uses its own panel */
  .nav-links {
    display: none !important;
  }

/* Show hamburger on mobile */
.nav-toggle {
  background: none;
  border: none;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle .burger-icon {
  width: 26px;   /* size of the icon */
  height: 26px;
  object-fit: contain;
  filter: brightness(2);  /* make it bright on dark bg */
}

  /* ========================================
     Fullscreen slide-in panel
     ======================================== */

  .mobile-nav-panel {
    position: fixed;
    inset: 0;
    z-index: 6000;
    background: radial-gradient(circle at top, #141b3b 0%, #050711 70%);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    padding: 28px 22px 32px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    overflow-y: auto;
  }

  .mobile-nav-panel.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Header row */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }

  .mobile-nav-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
  }

  /* Links stack */
  .mobile-nav-links {
    display: block;
    width: 100%;
  }

  .mobile-nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 20px;
    color: #e5ecff;
    text-decoration: none;
  }

  .mobile-nav-links a + a {
    border-top: 1px solid rgba(148, 163, 255, 0.18);
  }
}

/* Tiny screens tweaks */
@media (max-width: 480px) {
  .mobile-nav-title {
    font-size: 20px;
  }

  .mobile-nav-links a {
    font-size: 18px;
  }
}
