
/* haixin_group_website/frontend/css/style.css */
@charset "UTF-8";
@import url('https://fonts.loli.net/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --primary: #3b82f6;
  --dark: #0f172a;
  --darker: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  color: var(--light);
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.container {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

nav {
  height: 80px !important;
}

.nav-link {
  line-height: 80px;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.footer-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services li {
  margin-bottom: 0.5rem;
}

.social-card {
  transition: all 0.3s ease;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 1.5rem;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.social-qrcode {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

.social-qrcode:hover {
  transform: scale(1.05);
}

.social-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-indicator button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--gray);
}

.social-indicator button.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.social-indicator button:not(.active):hover {
  background-color: var(--light);
}

.logo-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
  transition: all 0.3s ease;
}

.logo-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 抖音账号轮播样式 */
.douyin-carousel {
  position: relative;
  overflow: hidden;
}

.douyin-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.douyin-carousel-item {
  min-width: 100%;
}

.douyin-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.douyin-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #94a3b8;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.douyin-carousel-indicator.active {
  background-color: #3b82f6;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .social-card {
    padding: 1.25rem;
  }
  
  .logo-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
  }
}

@media (max-width: 768px) {
  .social-card {
    padding: 1rem;
  }
  
  .logo-circle {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 640px) {
  .social-card {
    padding: 0.75rem;
  }
  
  .social-qrcode {
    max-width: 120px;
    max-height: 120px;
  }
  
  .social-indicator button {
    width: 10px;
    height: 10px;
  }
}
