/* ===== 宝威体育bvty style.css ===== */
:root {
  --primary: #1a1a2e;
  --secondary: #ffd700;
  --accent: #e94560;
  --bg: #0f0f1a;
  --text: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
[data-theme="dark"] {
  --primary: #0a0a1a;
  --secondary: #ffd700;
  --accent: #e94560;
  --bg: #05050f;
  --text: #e0e0e0;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: var(--secondary);
  text-decoration: none;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
header {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}
.logo svg {
  width: 40px;
  height: 40px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
nav a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
nav a:hover, nav a.active {
  color: var(--secondary);
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}
nav a:hover::after, nav a.active::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}
.dark-toggle {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.dark-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
}
.hero {
  padding: 140px 0 80px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--secondary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary);
}
.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 40px 0;
  min-height: 400px;
  background: var(--glass);
}
.banner-slide {
  display: none;
  padding: 60px 40px;
  text-align: center;
  animation: fadeIn 0.6s ease;
}
.banner-slide.active {
  display: block;
}
.banner-slide svg {
  margin: 0 auto 20px;
  width: 120px;
  height: 120px;
}
.banner-slide h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.banner-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--glass);
  cursor: pointer;
  transition: all 0.3s;
}
.banner-dots span.active {
  background: var(--secondary);
  transform: scale(1.2);
}
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-title p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.4s;
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border-color: var(--secondary);
}
.card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.card p {
  opacity: 0.85;
  font-size: 0.95rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 30px 20px;
  border: 1px solid var(--glass-border);
}
.stat-item .number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
}
.stat-item .label {
  margin-top: 8px;
  font-size: 1rem;
  opacity: 0.8;
}
.article-list article {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
}
.article-list article:hover {
  border-color: var(--secondary);
  transform: translateX(6px);
}
.article-list h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.article-list .meta {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 10px;
}
.article-list p {
  opacity: 0.85;
}
.faq-item {
  background: var(--glass);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.faq-question:hover {
  background: rgba(255, 215, 0, 0.05);
}
.faq-question .icon {
  font-size: 1.4rem;
  transition: transform 0.3s;
}
.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
  opacity: 0.85;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 18px;
}
.howto-steps {
  counter-reset: step;
}
.howto-step {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--glass-border);
  position: relative;
  padding-left: 70px;
}
.howto-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.footer {
  background: var(--primary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--secondary);
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer ul {
  list-style: none;
}
.footer li {
  margin-bottom: 8px;
}
.footer a {
  opacity: 0.8;
  transition: opacity 0.3s;
}
.footer a:hover {
  opacity: 1;
  color: var(--secondary);
}
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer-qr {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}
.footer-qr svg {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: white;
  padding: 8px;
}
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 999;
}
.back-to-top.show {
  display: flex;
}
.back-to-top:hover {
  transform: scale(1.1);
}
.search-box {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 40px;
}
.search-box input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
  font-size: 1rem;
}
.search-box input::placeholder {
  color: rgba(255,255,255,0.5);
}
.search-box button {
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.search-box button:hover {
  opacity: 0.9;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
  nav ul { display: none; flex-direction: column; background: var(--primary); position: absolute; top: 70px; left: 0; width: 100%; padding: 20px; gap: 16px; border-bottom: 1px solid var(--glass-border); }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-slide { padding: 40px 20px; }
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.2rem; }
}