/* ============================================
   导航栏 CTA 按钮组
   ============================================ */

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  color: #5a4a6b !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow:
    0 2px 8px rgba(155, 135, 175, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-cta-btn i {
  font-size: 0.95em;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 4px 14px rgba(155, 135, 175, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

/* 首页：樱花粉渐变 */
.nav-cta-btn-home {
  background: linear-gradient(135deg, #ffd1dc 0%, #ffb8c9 100%);
}

/* 网盘：奶油橙渐变 */
.nav-cta-btn-drive {
  background: linear-gradient(135deg, #ffe4c4 0%, #ffd2a8 100%);
}

/* 课程表：薄荷蓝渐变 */
.nav-cta-btn-class {
  background: linear-gradient(135deg, #c7f0f0 0%, #a8e0e6 100%);
}

/* 深色模式下马卡龙微调，保持柔和但可读 */
[data-theme='dark'] .nav-cta-btn {
  color: #f3e6ff !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

[data-theme='dark'] .nav-cta-btn:hover {
  filter: brightness(1.15);
}

/* 移动端隐藏，避免拥挤 */
@media screen and (max-width: 768px) {
  .nav-cta-group {
    display: none;
  }
}

/* ============================================
   页脚备案号美化
   ============================================ */

.footer_custom_text {
  margin-top: 8px;
}

.footer-beian {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  color: var(--light-grey, #999) !important;
  text-decoration: none !important;
  border: 1px solid rgba(153, 153, 153, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}

.beian-link:hover {
  color: var(--white, #fff) !important;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.beian-icon {
  font-size: 0.95em;
  opacity: 0.85;
}

.beian-gongan-icon {
  height: 1em !important;
  width: auto !important;
  max-height: 1em !important;
  flex-shrink: 0 !important;
  vertical-align: -0.125em;
  object-fit: contain;
  object-position: center;
}

.beian-sep {
  color: var(--light-grey, #999);
  opacity: 0.5;
}

/* 深色模式下的适配 */
[data-theme='dark'] .beian-link {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='dark'] .beian-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

/* 移动端字号缩小一点 */
@media screen and (max-width: 600px) {
  .footer-beian {
    font-size: 12px;
  }
  .beian-link {
    padding: 3px 10px;
  }
}
