/* Toggle button */
.menu-toggle{
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}

/* Full-screen menu base */
#fullscreenMenu{
  position: fixed;
  inset: 0;
  background: rgba(31, 30, 30, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 2000;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity .25s ease, transform .25s ease;
}

/* Open state */
#fullscreenMenu.open{
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Menu links */
#fullscreenMenu .menu-link{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(22px, 5vw, 40px);
  letter-spacing: .5px;
  padding: 8px 16px;
  border-radius: 1px;
  cursor: pointer;
  transition: transform .15s ease;
}
#fullscreenMenu .menu-link:hover{
  transform: translateY(-2px);
  text-decoration: none;
}

/* Prevent background scroll while open */
body.menu-open{
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* Close (X) button inside overlay */
#menuClose{
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
#menuClose:hover{ opacity: .8; }

#menuClose:focus{ outline: 2px solid #fff; outline-offset: 2px; }

/* Glass buttons inside the overlay */
#fullscreenMenu .menu-link button{
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
#fullscreenMenu .menu-link button:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 14px 30px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.22);
}
#fullscreenMenu .menu-link a#btn{
  color: #fff;               /* keep links white on glass */
  text-decoration: none;
  display:inline-block;
}
