/* ================================================
   右上角汉堡菜单导航 - Apple风格
   ================================================ */

/* 汉堡菜单按钮 */
.hamburger-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: all 0.3s;
}

.hamburger-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.hamburger-btn .line {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
  transition: all 0.3s;
}

/* 关闭按钮状态 */
.hamburger-btn.close .line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.close .line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.close .line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 菜单遮罩 */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* 菜单面板 */
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 80vw;
  background: rgba(20,20,30,0.95);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 80px 30px 40px;
  overflow-y: auto;
}

.menu-panel.show {
  transform: translateX(0);
}

/* 菜单品牌 */
.menu-brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.menu-slogan {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  line-height: 1.4;
}

/* 菜单分隔线 */
.menu-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}

/* 菜单项 */
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
  letter-spacing: -0.2px;
}

.menu-item:hover {
  color: #fff;
  padding-left: 6px;
}

.menu-item .mi-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
}

.menu-item.active {
  color: #4facfe;
  font-weight: 600;
}

/* 菜单子标题 */
.menu-section-title {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 8px;
}

/* 底部 */
.menu-footer {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
