/* ========== Footer 美化样式 ========== */

.text-green { color: #3EE68D !important; }
.hover\:text-green:hover { color: #3EE68D !important; }

/* Footer 容器 */
.footer-wrapper {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

/* 装饰性背景渐变 */
.footer-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(62, 230, 141, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* 主要内容区域 */
.footer-content {
  position: relative;
  z-index: 1;
}

/* ========== Logo 区域美化 ========== */
.footer-brand {
  position: relative;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo-text {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 20px rgba(62, 230, 141, 0.3);
  transition: all 0.3s ease;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(62, 230, 141, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.footer-brand:hover .logo-glow {
  opacity: 1;
}

.footer-brand:hover .logo-text {
  transform: scale(1.02);
  text-shadow: 0 0 30px rgba(62, 230, 141, 0.5);
}

.tagline {
  position: relative;
  padding-left: 8px;
}

.tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, #3EE68D 0%, transparent 100%);
  border-radius: 2px;
}

.description {
  line-height: 1.8;
  letter-spacing: 0.3px;
}

/* ========== 导航链接美化 ========== */
.section-title {
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #3EE68D 0%, transparent 100%);
  border-radius: 2px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

.nav-link i {
  opacity: 0.7;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 3px;
  height: 0;
  background: #3EE68D;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #3EE68D !important;
  padding-left: 8px;
  transform: translateX(4px);
}

.nav-link:hover::before {
  transform: translateY(-50%) scaleX(1);
  height: 60%;
}

.nav-link:hover i {
  opacity: 1;
  color: #3EE68D;
  transform: scale(1.1);
}

/* ========== 联系信息美化 ========== */
.contact-item {
  padding: 8px 0;
  transition: all 0.3s ease;
}

.contact-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(62, 230, 141, 0.1);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.contact-item:hover .contact-icon-wrapper {
  background: rgba(62, 230, 141, 0.2);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(62, 230, 141, 0.2);
}

.contact-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.3s ease;
}

.contact-item:hover a {
  color: #3EE68D !important;
  transform: translateX(4px);
}

/* ========== 社交图标美化 ========== */
.social-icons {
  display: flex;
  flex-wrap: wrap;
}

.social-icon {
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(62, 230, 141, 0.1);
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(62, 230, 141, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.social-icon i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.social-icon:hover {
  background-color: #3EE68D !important;
  border-color: #3EE68D;
  transform: translateY(-4px) scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(62, 230, 141, 0.4),
              0 0 30px rgba(62, 230, 141, 0.2);
}

.social-icon:hover::before {
  width: 200%;
  height: 200%;
}

.social-icon:hover i {
  color: #0a0a0a !important;
  transform: scale(1.15) rotate(-5deg);
}

/* ========== 分隔线美化 ========== */
.footer-divider {
  position: relative;
  padding: 20px 0;
}

.divider-line {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(62, 230, 141, 0.2) 20%, 
    rgba(62, 230, 141, 0.3) 50%, 
    rgba(62, 230, 141, 0.2) 80%, 
    transparent 100%);
  position: relative;
}

.divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 1px;
  background: #3EE68D;
  box-shadow: 0 0 10px rgba(62, 230, 141, 0.5);
}

/* ========== 版权信息美化 ========== */
.footer-copyright {
  position: relative;
  z-index: 1;
}

.copyright-link {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.copyright-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #3EE68D;
  transition: width 0.3s ease;
}

.copyright-link:hover {
  color: #3EE68D !important;
  background: rgba(62, 230, 141, 0.1);
}

.copyright-link:hover::after {
  width: 80%;
}

/* ========== 响应式优化 ========== */
@media (max-width: 1024px) {
  .footer-content {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  
  .logo-text {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-wrapper {
    padding-top: 2rem;
  }
  
  .footer-content {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .footer-content .grid {
    gap: 2.5rem;
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .section-title {
    margin-top: 1.5rem;
  }
  
  .social-icons {
    justify-content: flex-start;
  }
  
  .footer-copyright {
    text-align: center;
  }
  
  .footer-copyright > div {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .logo-text {
    font-size: 1.75rem;
  }
  
  .tagline {
    font-size: 1.125rem;
  }
  
  .contact-icon-wrapper {
    width: 32px;
    height: 32px;
  }
  
  .social-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ========== 动画增强 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand,
.footer-nav,
.footer-contact {
  animation: fadeInUp 0.6s ease-out;
}

.footer-nav:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-nav:nth-child(3) {
  animation-delay: 0.2s;
}

.footer-contact {
  animation-delay: 0.3s;
}

