/* ============================================
   总站高端大气增强样式
   增加动画、渐变、光影、交互效果
   ============================================ */

/* 全局增强 */
:root {
  --gold: #c9a961;
  --gold-light: #e8d5a3;
  --gold-dark: #a8893f;
  --blue-dark: #1a3a5c;
  --blue-deep: #0d1f33;
  --blue-light: #2a5a8c;
}

/* 页面滚动平滑 */
html {
  scroll-behavior: smooth;
}

/* 背景动态渐变 */
body {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 50%, #f5f0e8 100%);
  background-attachment: fixed;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

/* 文字渐变效果 */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 发光效果 */
.glow-gold {
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.3), 0 0 40px rgba(201, 169, 97, 0.1);
}

.glow-blue {
  box-shadow: 0 0 20px rgba(26, 58, 92, 0.3), 0 0 40px rgba(26, 58, 92, 0.1);
}

/* 卡片悬浮增强 */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(201, 169, 97, 0.3);
}

/* 按钮波纹效果 */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-ripple:hover::after {
  width: 300px;
  height: 300px;
}

/* 滚动渐入动画 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* 浮动动画 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* 脉冲动画 */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(201, 169, 97, 0); }
}
.animate-pulse-gold {
  animation: pulse-gold 2s infinite;
}

/* 渐变边框 */
.gradient-border {
  position: relative;
  background: white;
  border-radius: 12px;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold), var(--blue-dark), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* 玻璃拟态效果 */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(13, 31, 51, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 图片悬停缩放 */
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.img-zoom:hover img {
  transform: scale(1.1);
}

/* 图片灰度到彩色 */
.img-grayscale {
  filter: grayscale(30%);
  transition: filter 0.4s;
}
.img-grayscale:hover {
  filter: grayscale(0%);
}

/* 分隔线装饰 */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider-ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* 标签悬浮效果 */
.tag-float {
  transition: all 0.3s;
}
.tag-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

/* 数字滚动样式 */
.counter-num {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .counter-num {
    font-size: 32px;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    transform: none;
    opacity: 1;
  }
}

/* 减少动画（无障碍） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
