:/* 乐动体育LDSPORTS官网 - style.css */
:root {
  --primary: #e94560;
  --secondary: #0f3460;
  --accent: #16213e;
  --bg: #1a1a2e;
  --text: #eee;
  --card-bg: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.12);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --radius: 20px;
  --transition: 0.3s ease;
}

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  opacity: 0.8;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary), #c23152);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(233, 69, 96, 0.6);
}

section {
  padding: 80px 0;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  padding: 30px;
  background: var(--card-bg);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 20px;
}

.mb-2 {
  margin-bottom: 20px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.flex-center {
  justify-content: center;
}

.dark-mode {
  --bg: #f5f5f5;
  --text: #111;
  --card-bg: rgba(0, 0, 0, 0.04);
  --glass: rgba(255, 255, 255, 0.7);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dark-mode h1 {
  -webkit-text-fill-color: #111;
  background: none;
  color: #111;
}

.dark-mode .btn {
  color: #fff;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 20px;
}

.dark-mode header {
  background: rgba(245, 245, 245, 0.9);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dark-mode .logo {
  color: #111;
}

.logo svg {
  width: 36px;
  height: 36px;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

nav a.active, nav a:hover {
  color: var(--primary);
}

nav a.active:after, nav a:hover:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  padding: 30px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-mode .mobile-menu {
  background: rgba(245, 245, 245, 0.98);
}

.mobile-menu a {
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
  background: radial-gradient(ellipse at 30% 20%, rgba(233, 69, 96, 0.15), transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(15, 52, 96, 0.25), transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dark-mode .hero p {
  color: rgba(0, 0, 0, 0.7);
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Banner Slider */
.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 40px 0;
}

.banner-track {
  display: flex;
  transition: transform 0.5s ease;
}

.banner-slide {
  min-width: 100%;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: var(--radius);
  text-align: center;
}

.banner-slide h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.banner-slide p {
  max-width: 500px;
  margin: 0 auto;
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.dark-mode .stat-label {
  color: rgba(0, 0, 0, 0.6);
}

/* About */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content img {
  width: 100%;
  border-radius: var(--radius);
}

/* Services */
.services .service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  fill: var(--primary);
}

/* Products */
.products .product-card {
  text-align: center;
}

.products .product-card svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  fill: var(--primary);
}

/* Testimonials */
.testimonials .testimonial-card {
  position: relative;
  padding: 40px 30px;
}

.testimonial-card:before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  top: 10px;
  left: 20px;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  cursor: pointer;
}

.dark-mode .faq-item {
  border-color: rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question span {
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: rgba(255, 255, 255, 0.7);
}

.dark-mode .faq-answer {
  color: rgba(0, 0, 0, 0.7);
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 16px;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

/* HowTo */
.howto-steps {
  list-style: none;
  counter-reset: step;
}

.howto-steps li {
  counter-increment: step;
  padding: 20px 20px 20px 60px;
  position: relative;
  margin-bottom: 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
}

.howto-steps li:before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 20px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* News */
.news-card .date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.dark-mode .news-card .date {
  color: rgba(0, 0, 0, 0.5);
}

.news-card .read-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}

.partners svg {
  width: 120px;
  height: 60px;
  opacity: 0.6;
  transition: var(--transition);
}

.partners svg:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.dark-mode .footer {
  background: rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.footer-grid a, .footer-grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}

.dark-mode .footer-grid a, .dark-mode .footer-grid p {
  color: rgba(0, 0, 0, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.dark-mode .footer-bottom {
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.5);
}

.qr-codes {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.qr-codes svg {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
  transition: var(--transition);
  display: none;
  z-index: 999;
}

.back-to-top.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.search-modal.open {
  display: flex;
}

.search-modal-content {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius);
  max-width: 500px;
  width: 90%;
}

.search-modal input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.dark-mode .search-modal input {
  color: #111;
  background: rgba(0, 0, 0, 0.05);
}

.search-modal .search-results {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.search-modal .search-results div {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.dark-mode .search-modal .search-results div {
  border-color: rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .header-inner nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .stats {
    gap: 30px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .banner-slide {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    padding: 12px 28px;
  }
}