/* ============================================
   竞技宝 - 竞技宝测速站网址 - 竞技宝，决胜每一刻
   设计风格：柔光纸艺 · 渐变叠加 · 圆润卡片
   色彩：藕粉 + 雾紫 + 奶油白
   ============================================ */

/* 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #faf7f5;  /* 暖白基底 */
  color: #3d2c2e;
}

/* 核心布局 — 必须居中 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; position:relative; }
.section:nth-child(even) { background: #f5f0ed; }  /* 浅藕灰 */

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(180, 150, 140, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: #5a3e40;
  letter-spacing: 1px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #e8b4b0, #d9a7c4);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 167, 196, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: #5a3e40;
  transition: 0.25s;
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e8b4b0, #d9a7c4);
  transition: width 0.3s;
}

.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: #b57b8a; }

.nav-cta {
  padding: 10px 24px;
  border-radius: 40px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #e8b4b0, #d9a7c4);
  box-shadow: 0 4px 14px rgba(217, 167, 196, 0.35);
  transition: 0.3s;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217, 167, 196, 0.4); }
.nav-cta::after { display: none !important; }

.menu-toggle { display: none; }

/* 首页Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(160deg, #faf7f5 0%, #f0e4e0 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 180, 176, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { max-width: 680px; position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
  background: rgba(217, 167, 196, 0.18);
  color: #7a5a62;
  border: 1px solid rgba(217, 167, 196, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #3d2c2e;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, #e8b4b0, #d9a7c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
  color: #5a4547;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(180, 150, 140, 0.2);
  position: relative;
}

.hero-image img { width: 100%; height: auto; display: block; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e8b4b0, #d9a7c4);
  box-shadow: 0 4px 16px rgba(217, 167, 196, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(217, 167, 196, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #d9a7c4;
  color: #7a5a62;
}

.btn-outline:hover {
  background: rgba(217, 167, 196, 0.08);
  border-color: #c894b0;
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #b57b8a;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #3d2c2e;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  line-height: 1.7;
  color: #5a4547;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(180, 150, 140, 0.12);
  transition: 0.35s;
  box-shadow: 0 2px 10px rgba(180, 150, 140, 0.04);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(180, 150, 140, 0.12);
  border-color: rgba(217, 167, 196, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #f0e4e0, #e8d0d0);
  color: #7a5a62;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #b57b8a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.card-link::after { content: '→'; transition: 0.2s; }
.card-link:hover::after { transform: translateX(4px); }

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(180, 150, 140, 0.12);
}

.feature-image img { width: 100%; height: auto; display: block; }

.feature-text h3 { font-size: 1.6rem; margin-bottom: 16px; color: #3d2c2e; }

.feature-list { list-style: none; margin-top: 20px; }

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #5a4547;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #d9a7c4;
  font-size: 1.1rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(180, 150, 140, 0.1);
  box-shadow: 0 2px 12px rgba(180, 150, 140, 0.04);
  transition: 0.3s;
}

.stat-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(180, 150, 140, 0.08); }

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e8b4b0, #d9a7c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5a4547;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(180, 150, 140, 0.1);
  transition: 0.35s;
  box-shadow: 0 2px 10px rgba(180, 150, 140, 0.04);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(180, 150, 140, 0.1);
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.content-wall-body { padding: 22px 24px; }
.content-wall-body h4 { font-size: 1.1rem; margin-bottom: 6px; color: #3d2c2e; }
.content-wall-body p { font-size: 0.85rem; opacity: 0.65; color: #5a4547; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(180, 150, 140, 0.12);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.25s;
}

.faq-item:hover { border-color: rgba(217, 167, 196, 0.25); }

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  color: #3d2c2e;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #d9a7c4;
  transition: 0.3s;
}

.faq-item.open .faq-question::after { content: '−'; }

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
  color: #5a4547;
}

.faq-item.open .faq-answer { display: block; }

/* CTA横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #e8b4b0, #d9a7c4);
  color: #fff;
  box-shadow: 0 12px 40px rgba(217, 167, 196, 0.3);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }

.cta-banner .btn-primary {
  background: #fff;
  color: #7a5a62;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.cta-banner .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

/* 页脚 */
.site-footer {
  padding: 60px 0 28px;
  background: #f0e4e0;
  color: #5a4547;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 { font-size: 1.3rem; margin-bottom: 12px; color: #3d2c2e; }
.footer-brand p { opacity: 0.65; font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: #3d2c2e; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { text-decoration: none; color: #5a4547; opacity: 0.7; font-size: 0.9rem; transition: 0.2s; }
.footer-col ul li a:hover { opacity: 1; color: #b57b8a; }

.footer-bottom {
  border-top: 1px solid rgba(180, 150, 140, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 工具类 */
.text-accent { color: #b57b8a; }
.text-center { text-align: center; }
.seo-description { max-width: 600px; margin: 0 auto 48px; opacity: 0.7; line-height: 1.7; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #5a3e40; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; width: 100%; background: #faf7f5; padding: 24px; gap: 16px; border-bottom: 1px solid rgba(180,150,140,0.1); }
  .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .cards-grid, .content-wall, .stats-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
}