/* === 一竞技平台 - 竞无止境，一决高下 === */
/* 设计风格：暖白极简 × 珊瑚橙薄荷绿双色碰撞 × 新自然主义 */
/* Awwwards-inspired: Bold typography, organic curves, dual-accent system */

/* --- 基础重置 --- */
*, *::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: #faf8f5;
  color: #2d3561;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 自定义滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #faf8f5; }
::-webkit-scrollbar-thumb { background: #e8e0d8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #d5cbc0; }

::selection { background: #ff6b4a; color: #fff; }

/* --- 核心布局 --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; position: relative; }
.section:nth-child(even) { background: #f7f4f0; }

/* 装饰性点缀 - 偶数区块微妙纹理 */
.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at center, rgba(61,214,168,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(30%, -30%);
}

/* --- 导航 --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e8e0d8;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 24px rgba(45,53,97,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #2d3561;
  letter-spacing: -0.5px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #ff6b4a 0%, #ff8f6e 100%);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(255,107,74,0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5a6180;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}
.main-nav a:hover {
  color: #ff6b4a;
  transform: translateY(-1px);
}

/* 导航下划线动效 */
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b4a;
  border-radius: 1px;
  transition: width 0.3s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 9px 22px;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #ff6b4a 0%, #ff8f6e 100%);
  box-shadow: 0 4px 16px rgba(255,107,74,0.2);
  transition: box-shadow 0.3s, transform 0.2s !important;
}
.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(255,107,74,0.35);
  transform: translateY(-2px) !important;
}
.nav-cta::after { display: none !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #2d3561; font-size: 1.4rem; }

/* --- Hero --- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Hero背景装饰 */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61,214,168,0.08) 0%, rgba(255,107,74,0.04) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  flex: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 18px;
  background: rgba(61,214,168,0.12);
  color: #2cc494;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  color: #2d3561;
  letter-spacing: -1px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #ff6b4a 0%, #ff8f6e 60%, #3dd6a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: #5a6180;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  flex: 1;
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(45,53,97,0.08), 0 8px 20px rgba(255,107,74,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-image:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 32px 72px rgba(45,53,97,0.12), 0 12px 28px rgba(255,107,74,0.1);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff6b4a 0%, #e85d3f 100%);
  box-shadow: 0 6px 20px rgba(255,107,74,0.25);
}
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(255,107,74,0.4);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(255,107,74,0.2); }

.btn-outline {
  background: transparent;
  border: 2px solid #2d3561;
  color: #2d3561;
}
.btn-outline:hover {
  background: #2d3561;
  color: #fff;
  border-color: #2d3561;
  transform: translateY(-2px);
}

/* 按钮波纹效果 */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:active::after { width: 300px; height: 300px; }

/* --- 标签/标题 --- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 14px;
  color: #ff6b4a;
  text-transform: uppercase;
  position: relative;
  padding-left: 16px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b4a;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  color: #2d3561;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.65;
  margin-bottom: 44px;
  color: #5a6180;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* --- 卡片网格 --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #e8e0d8;
  transition: all 0.35s ease;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b4a 0%, #3dd6a8 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(45,53,97,0.08), 0 6px 16px rgba(255,107,74,0.06);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(255,107,74,0.1) 0%, rgba(255,143,110,0.06) 100%);
  color: #ff6b4a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover .card-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(255,107,74,0.15);
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2d3561;
  margin-bottom: 8px;
}
.category-card p {
  font-size: 0.9rem;
  color: #5a6180;
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 14px;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #ff6b4a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; transition: transform 0.3s; }
.card-link:hover::after { transform: translateX(3px); }

/* --- 特性块 --- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(45,53,97,0.07);
  transition: transform 0.4s ease;
}
.feature-image:hover { transform: scale(1.03); }
.feature-image img { width: 100%; height: auto; display: block; }

.feature-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #2d3561;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.feature-text p {
  color: #5a6180;
  opacity: 0.75;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list { list-style: none; }
.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #2d3561;
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #3dd6a8;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(61,214,168,0.1);
  flex-shrink: 0;
}

/* --- 数据条 --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid #e8e0d8;
  background: #fff;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(45,53,97,0.07);
  border-color: transparent;
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b4a, #3dd6a8);
  border-radius: 2px;
  transition: transform 0.4s ease;
}
.stat-item:hover::after { transform: translateX(-50%) scaleX(1); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b4a 0%, #e85d3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #5a6180;
  font-weight: 500;
}

/* --- 内容墙 --- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e0d8;
  transition: all 0.35s ease;
  background: #fff;
}
.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(45,53,97,0.08), 0 6px 16px rgba(61,214,168,0.05);
  border-color: transparent;
}
.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.content-wall-item:hover img { transform: scale(1.06); }

.content-wall-body { padding: 22px 20px; }
.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d3561;
  margin-bottom: 6px;
}
.content-wall-body p {
  font-size: 0.88rem;
  color: #5a6180;
  opacity: 0.7;
  line-height: 1.6;
}
.content-wall-body .card-link { margin-top: 8px; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #d5cbc0;
  box-shadow: 0 4px 16px rgba(45,53,97,0.04);
}
.faq-item.open {
  border-color: #ff6b4a;
  box-shadow: 0 6px 20px rgba(255,107,74,0.08);
  background: #fffaf8;
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d3561;
  font-size: 0.98rem;
  user-select: none;
}
.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: #ff6b4a;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  color: #5a6180;
  line-height: 1.7;
  font-size: 0.92rem;
}
.faq-item.open .faq-answer { display: block; animation: fadeSlideIn 0.35s ease; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.7; transform: translateY(0); }
}

/* --- CTA横幅 --- */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b4a 0%, #e85d3f 30%, #d94f35 60%, #3dd6a8 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 10%;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin: 12px 0 28px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.cta-banner .btn-primary {
  background: #fff;
  color: #ff6b4a;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}
.cta-banner .btn-primary:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  transform: translateY(-2px);
  color: #e85d3f;
}

/* --- 页脚 --- */
.site-footer {
  padding: 56px 0 28px;
  background: #f0ebe3;
  color: #5a6180;
}
.site-footer a {
  color: #5a6180;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: #ff6b4a; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2d3561;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; opacity: 0.7; transition: opacity 0.2s, color 0.2s; }
.footer-col ul li a:hover { opacity: 1; color: #ff6b4a; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 44px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
  color: #5a6180;
}

/* --- 工具类 --- */
.text-accent { color: #ff6b4a; font-weight: 600; }
.text-center { text-align: center; }
.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.65;
  color: #5a6180;
  text-align: center;
  line-height: 1.7;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-content { max-width: 100%; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-image { max-width: 400px; margin: 0 auto; }
  .hero h1 { font-size: 2.6rem; }
  .hero::before { right: -250px; width: 400px; height: 400px; }
}

@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; gap: 36px; }
  .feature-block.reverse-mobile .feature-image { order: -1; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.7rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero { min-height: 55vh; }

  /* 移动导航 */
  .main-nav { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; }
  .menu-toggle:hover { background: rgba(255,107,74,0.06); }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #faf8f5;
    padding: 20px 24px;
    border-bottom: 2px solid #e8e0d8;
    box-shadow: 0 12px 32px rgba(45,53,97,0.08);
    gap: 4px;
  }
  .main-nav.open a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
  }
  .main-nav.open a:hover { background: rgba(255,107,74,0.04); }
  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
    padding: 13px 22px;
  }

  .cta-banner h2 { font-size: 1.5rem; }
  .faq-item .faq-question { padding: 15px 18px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .cards-grid, .content-wall, .stats-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 1.4rem; }
  .category-card { padding: 24px 20px; }
  .stat-number { font-size: 2rem; }
  .cta-banner { padding: 40px 16px; border-radius: 14px; }
  .feature-block { gap: 24px; }
  .content-wall-body { padding: 16px 14px; }
  .faq-item .faq-question { padding: 14px 16px; }
  .faq-item .faq-answer { padding: 0 16px 14px; }
}