/* menu.css */

#menu-toggle{
  position: fixed;
  top: 5rem;
  left: 3rem;
  font-size: 7rem;
  /* color: #3473d3;*/
  color: white;
  cursor: pointer;
  z-index: 2000;
  user-select: none;
}

#dropdown-menu{
  display: none;
  position: fixed;
  top: 16rem;     /* below ✚ */
  left: 1rem;


  width: min(600px, 90vw);
  background: rgba(0,0,0,0.85);
  padding: 2rem;
  border-radius: 20px;
  z-index: 1999;

  font-size: 2rem;
  line-height: 3rem;

   max-height: calc(100vh - 18rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  /* hide scrollbar but keep scroll */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#dropdown-menu::-webkit-scrollbar{ display:none; }

#dropdown-menu a{

  display:block;
  margin-bottom: 1rem;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

/* ML submenu */
details.ml > summary,
details.ue > summary{
  list-style: none;
  cursor: pointer;
  color: white;
  margin-bottom: 1rem;     /* ✅ same as #dropdown-menu a */
  line-height: 3rem;       /* ✅ same rhythm as menu */

  user-select: none;
}
details.ml > summary::after,
details.ue > summary::after{
 content:" ▸"; font-weight: 200;
 }

details.ml[open] > summary::after,
details.ue[open] > summary::after{ content:" ▾"; }

.ml-submenu,
.ue-submenu{
  margin: 0.5rem 0 0 1.5rem;
  border-left: 2px solid rgba(255,255,255,0.15);
  padding-left: 1rem;
}
.ml-submenu a,
.ue-submenu a{
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 1.8rem;
}

/* Mobile sheet */
@media (max-width: 640px){
  #dropdown-menu{
    top: env(safe-area-inset-top, 0);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    border-radius: 0;

    /* ✅ add extra top padding so list starts below the big ✚ */
    padding-top: calc(1rem + 9rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* lock page scroll behind menu */
html.menu-open, body.menu-open{ overflow: hidden; }




.intro {
  background: transparent;
}

.intro-video {
  background: transparent;
}


/*disable meun make it not clickable*/
.disabled-link {
  pointer-events: none;   /* prevents clicking */
  opacity: 0.3;           /* visually dim */
  cursor: default;
  text-decoration: none;
}
/*disable meun make it not clickable ned */




/*we use here to fix cross icon postion is too low for menus, so we cant select top menu without touch icon*/
@media (max-width: 768px) {

  /* add breathing room under iPhone notch / Safari bars */
  .menu-panel, .menu, #menu, .menu-content {
    padding-top: calc(env(safe-area-inset-top) + 20px);
  }

  /* make the X easier to tap and move it away from the top */
  .menu-close, .close-btn, #menu-close {
    top: calc(env(safe-area-inset-top) + 12px);
    right: 12px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 10px;
  }

  /* make menu links easier to tap (IMDB etc) */
  .menu a, .menu-item, .dropdown a {
    display: block;
    padding: 16px 18px;
    line-height: 1.2;
  }
}