/* Mobile Menu Overlay (hidden by default) */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* start hidden */
  opacity: 0;
  pointer-events: none;

  /* subtle dark overlay behind panel (optional) */
  background: rgba(0, 0, 0, 0.55);

  transition: opacity 180ms ease;
}

/* The actual menu panel */
#mobile-menu-panel {
  height: 100%;
  width: 100%;
  background: #000;
  border: 2px solid #2aa3ff; /* matches your blue outline vibe */
  box-sizing: border-box;

  transform: translateX(100%);
  transition: transform 220ms ease;

  display: flex;
  flex-direction: column;
}

/* Open state */
#mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu.is-open #mobile-menu-panel {
  transform: translateX(0);
}

/* Top row */
#mobile-menu-top {
  height: 90px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#mobile-menu-logo {
  border-radius: 999px;
}

#mobile-menu-close {
  width: 48px;
  height: 48px;
  font-size: 24px;
  color: #fff;
  background: transparent;
  border: none;
}

#mobile-menu-close:hover {
  cursor: pointer;
}

/* Links */
#mobile-menu-links {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0; /* push bottom button down */
}

#mobile-menu-links li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

#mobile-menu-links li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu-link {
  display: block;
  padding: 16px 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  font-weight: 300;
}

/* Bottom button */
#mobile-menu-bottom {
  padding: 18px 14px 22px;
}

#mobile-menu-portal {
  display: block;
  text-align: center;
  text-decoration: none;

  background: #fff;
  color: #000;

  border-radius: 12px;
  padding: 14px 16px;

  font-size: 16px;
  font-weight: 400;
}