.menu-toggle-3d {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(160, 240, 255, 0.22);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(0, 190, 255, 0.08);
}

.menu-toggle-3d span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #c8fbff;
  box-shadow: 0 0 10px rgba(0, 220, 255, 0.28);
  display: block;
}

.wheel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 90;
}

.wheel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wheel-menu-panel {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) translateX(110%);
  width: min(92vw, 440px);
  height: min(94dvh, 820px);
  padding: 22px 18px 24px;
  border: 1px solid rgba(145, 235, 255, 0.18);
  background: linear-gradient(180deg, rgba(9, 16, 36, 0.94), rgba(7, 13, 30, 0.96));
  backdrop-filter: blur(16px);
  border-radius: 26px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.45), 0 0 40px rgba(0, 200, 255, 0.08);
  transition: transform 0.42s ease;
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wheel-menu-panel.active {
  transform: translateY(-50%) translateX(0);
}

.wheel-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wheel-menu-title {
  font-size: 0.9rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(210, 250, 255, 0.72);
}

.wheel-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(145, 235, 255, 0.16);
  background: rgba(255,255,255,0.04);
  color: #dffcff;
  font-size: 1.4rem;
  cursor: pointer;
}

.wheel-wrapper {
  position: relative;
  flex: 1;
  min-height: 420px;
  margin-top: 60px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(145, 235, 255, 0.08);
  perspective: 1000px;
  touch-action: pan-y;
}

.wheel-fade-top,
.wheel-fade-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 92px;
  z-index: 4;
  pointer-events: none;
}

.wheel-fade-top {
  top: 0;
  background: linear-gradient(to bottom, rgba(7, 13, 30, 0.98), rgba(7, 13, 30, 0));
}

.wheel-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(7, 13, 30, 0.98), rgba(7, 13, 30, 0));
}

.wheel-center-line {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 82px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.10));
  border: 1px solid rgba(145, 235, 255, 0.15);
  z-index: 1;
  pointer-events: none;
}

.wheel-items {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.wheel-item {
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  text-align: center;
  transform-origin: center center;
  user-select: none;
  cursor: pointer;
  transition: transform 0.32s ease, opacity 0.32s ease, filter 0.32s ease;
  will-change: transform, opacity, filter;
  padding: 10px 14px;
}

.wheel-item span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(222, 247, 255, 0.86);
}

.wheel-item.active span {
  color: #ffffff;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.12);
}

.wheel-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(145, 235, 255, 0.18);
  background: rgba(255,255,255,0.05);
  color: #dffcff;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 12;
}

.wheel-arrow-up {
  top: 72px;
}

.wheel-arrow-down {
  bottom: 108px;
}

.wheel-hover-top,
.wheel-hover-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 34%;
  z-index: 6;
}

.wheel-hover-top {
  top: 0;
}

.wheel-hover-bottom {
  bottom: 0;
}

.wheel-selected {
  text-align: center;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  min-height: 52px;
  padding: 0 12px;
}

.wheel-selected strong {
  color: #ffffff;
}

.wheel-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  color: white;
  background: linear-gradient(90deg, #00cfff, #7c3aed);
  box-shadow: 0 10px 28px rgba(0, 120, 255, 0.22);
}

.wheel-hint {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.58);
}

@media (max-width: 640px) {
  .wheel-menu-panel {
    inset-inline: 10px;
    right: 10px;
    width: auto;
    min-height: 510px;
  }

  .wheel-wrapper {
    height: 350px;
  }

  .wheel-center-line {
    height: 76px;
  }
}

@media (min-width: 900px) {
  .menu-toggle-3d {
    display: none;
  }
}


@media (min-width: 900px) {
  .menu-toggle-3d {
    display: none;
  }
}

.wheel-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.wheel-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}


@media (max-width: 640px) {
  .wheel-menu-panel {
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    height: auto;
    transform: translateX(110%);
    border-radius: 24px;
  }

  .wheel-menu-panel.active {
    transform: translateX(0);
  }

  .wheel-wrapper {
    min-height: 460px;
    margin-top: 58px;
    margin-bottom: 22px;
  }

  .wheel-title {
    font-size: 1.05rem;
  }

  .wheel-desc {
    font-size: 0.96rem;
  }

  .wheel-cta {
    min-height: 56px;
    font-size: 1rem;
  }
}






.wheel-item span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wheel-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: .85;
  filter: drop-shadow(0 0 8px rgba(32, 211, 255, .25));
}

.wheel-item.active .wheel-icon {
  opacity: 1;
  transform: scale(1.12);
}