/* SCOPED MENU STYLES - Won't affect other elements */

/* Only apply text styles to menu elements, not globally */
.menu-overlay-nav a,
.menu-overlay-footer a,
.menu-overlay-footer p,
.menu-overlay-items a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "IBM Plex Mono";
  font-size: 11px;
}

.menu-toggle-btn {
  position: fixed;
  right: -13%;
  top: 2%;
  transform: translateX(-50%);
  width: 16rem;
  height: 2rem;
  padding-top: 1rem;
  border-radius: 50% 50% 0 0 / 90% 90% 0 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  z-index: 5;
  pointer-events: none;

}







.hamburger-bar {
  width: 2rem;
  height: 0.125rem;
  background-color: rgb(255, 255, 255);
}


.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
}

/* Add this to change all SVG icon colors */
        .faq-icon svg path,
        .cat-icon svg path {
            stroke: #c649e6 !important;
        }

.center-image {
  width: 70px; /* Adjust this value to make your image bigger/smaller */
  height: 70px;
  object-fit: contain;
  position: absolute;
  pointer-events: none; /* Prevents the browser from trying to "drag" the image itself */
  user-select: none;
}

.menu-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('../images/background-12.png'); 
  background-size: cover;      /* This ensures it fills the screen */
  background-position: center;  /* This centers the image */
  background-repeat: no-repeat;
   z-index: -1
}

.menu-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-overlay-nav,
.menu-overlay-footer {
  position: absolute;
  width: 94vw;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-overlay-nav {
  top: 0;
}

.menu-overlay-footer {
  bottom: 0;
}

.close-btn {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}

.close-btn-bar {
  position: absolute;
  top: 50%;
  width: 1.5rem;
  height: 0.125rem;
  background-color: #fff;
}

.close-btn .close-btn-bar:nth-child(1) {
  transform: rotate(45deg);
}

.close-btn .close-btn-bar:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-overlay-items {
  display: flex;
  gap: 1rem;
}

.menu-overlay-nav .menu-overlay-items a {
  font-size: 18px;
}

.circular-menu {
  position: relative;
  width: 600px;
  height: 600px;
  z-index: 10;
}

.joystick {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background-color: #ffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: grab;
  z-index: 100;
}

.center-icon {
  position: absolute;
  color: #2e003a;
  font-size: 12px;
}

.center-main {
  font-size: 30px;
}

.center-up {
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.center-down {
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.center-left {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.center-right {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.menu-segment {
  position: absolute;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  cursor: pointer;
}

.segment-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.segment-content ion-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.label {
  text-transform: none;
  font-family: "Host Grotesk";
  font-size: 15px;
  font-weight: 500;
}

.menu-segment:hover {
  animation: flickerHover 350ms ease-in-out forwards;
  z-index: 10;
}

.menu-segment:hover .segment-content {
  animation: contentFlickerHover 350ms ease-in-out forwards;
}

@media (max-width: 1024px) {
  .segment-content ion-icon {
    font-size: 20px;
  }
}

@media (max-width : 800px) {
  .menu-toggle-btn {
        position: fixed;
        top: unset;
        right: unset;
        bottom: 1%;
        left: 50%;
        transform: translateX(-50%);
        height: 1rem;
        width: 10rem;
  }
}

@keyframes flickerHover {
  0% {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
  }

  12% {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
  }

  24% {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
  }

  36% {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
  }

  48% {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
  }

  60% {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
  }

  72% {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
  }

  84% {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
  }

  100% {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(0px);
  }
}

@keyframes contentFlickerHover {
  0% {
    color: white;
    opacity: 1;
  }

  12% {
    color: #333;
    opacity: 0.4;
  }

  24% {
    color: white;
    opacity: 0.9;
  }

  36% {
    color: #333;
    opacity: 0.3;
  }

  48% {
    color: white;
    opacity: 0.8;
  }

  60% {
    color: #333;
    opacity: 0.2;
  }

  72% {
    color: white;
    opacity: 0.7;
  }

  84% {
    color: #333;
    opacity: 0.1;
  }

  100% {
    color: #000;
    opacity: 1;
  }
}