* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

.inCalText {
  font-weight: 600;
  background: linear-gradient(90deg, #E676EB 0%, #8851FF 100%);
  /* 将背景裁剪到文字区域 */
  -webkit-background-clip: text;
  background-clip: text;
  /* 使文字透明，从而显示背景渐变 */
  -webkit-text-fill-color: transparent;
}

.custom {
  a {
    color: #1E1E1E;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }

  a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007BFF;
    transform-origin: bottom right;
    transition: transform 0.3s ease;
  }

  a:hover {
    color: #0056b3;
  }

  a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
}

/*隐藏滚动条*/
::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}


.button {
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
  box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
  opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  will-change: transform, box-shadow, opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.button.primary {
  background-color: #007BFF;
  color: white;
}

.button.secondary {
  background-color: #6C757D;
  color: white;
}

.button:active {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

html {
  -moz-user-select: none; /* Firefox私有属性 */
  -webkit-user-select: none; /* WebKit内核私有属性 */
  -ms-user-select: none; /* IE私有属性(IE10及以后) */
  -khtml-user-select: none; /* KHTML内核私有属性 */
  -o-user-select: none; /* Opera私有属性 */
  user-select: none; /* CSS3属性 */
}

.fast_alert {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 999;
  text-align: right;
  display: none;
}


/*导航栏、菜单样式*/

/* 透明导航栏样式 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 17px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo-section {
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

.logo {
  width: 50px;
  height: 50px;
  border: #c8c2f8 3px solid;
  border-radius: 15px;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.app-name {
  font-size: 1.7rem;
  font-weight: 600;
}

/* PC端导航链接 - 横向排列 */
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: white;
  mix-blend-mode: exclusion;

  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
  border-radius: 25px;
}

.nav-link:hover::before {
  left: 0;
}

.nav-link:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* 移动端下拉菜单 */
.mobile-menu {
  display: none;
  position: relative;
}

.mobile-dropdown-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.mobile-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.mobile-dropdown-btn::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.mobile-dropdown-btn.active::after {
  transform: rotate(180deg);
}

.mobile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(136, 81, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 10px;
  min-width: 180px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1001;
  margin-top: 8px;
}

.mobile-dropdown-menu.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-dropdown-link {
  display: block;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: left;
}

.mobile-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-dropdown-link.active {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media screen and (min-width: 769px) {
  .mobile-menu {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}
