/* ============================================
   AWWWARDS DESIGN SYSTEM: 赏金大对决
   Style: 杂志风 · 暖色调 · 分层透明 · 动态渐变
   ============================================ */

/* 基础重置 */
*, *::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: #fdf7f0; /* 暖米白基底 */
  color: #3d2c1e;
}

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding:80px 0; }
.section:nth-child(even) { 
  background: linear-gradient(135deg, #f8f1e9 0%, #fdf7f0 100%);
}

/* 导航 — 固定顶部，半透明白+暖色光晕 */
.site-header { 
  position:fixed; top:0; left:0; width:100%; z-index:1000; 
  background: rgba(253,247,240,0.92); 
  backdrop-filter:blur(16px); 
  border-bottom: 1px solid rgba(200,170,140,0.25);
  box-shadow: 0 2px 20px rgba(180,130,90,0.06);
}
.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:800; font-size:1.25rem; text-decoration:none; color:#3d2c1e;
  letter-spacing: 0.5px;
}
.logo-icon { 
  width:40px; height:40px; border-radius:12px; 
  background: linear-gradient(145deg, #f5a623, #d4872a);
  display:flex; align-items:center; justify-content:center; 
  font-size:1.2rem; color:#fff;
  box-shadow: 0 4px 12px rgba(245,166,35,0.3);
}
.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:#5a4a3a; transition:0.2s; position:relative;
  letter-spacing: 0.3px;
}
.main-nav a::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background: linear-gradient(90deg, #f5a623, #d4872a);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width:100%; }
.main-nav a:hover { color:#3d2c1e; }
.nav-cta { 
  padding:10px 24px; border-radius:50px; 
  background: linear-gradient(145deg, #f5a623, #d4872a);
  color:#fff!important; font-weight:700; 
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
  transition: all 0.3s ease;
}
.nav-cta:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.45);
}
.nav-cta::after { display: none !important; }
.menu-toggle { display:none; }

/* 首页Hero — 杂志封面感 */
.hero { 
  min-height:75vh; display:flex; align-items:center; 
  background: linear-gradient(160deg, #fdf7f0 0%, #f5e6d6 40%, #fdf7f0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,135,42,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { max-width:720px; position: relative; z-index: 2; }
.hero-eyebrow { 
  display:inline-block; font-size:0.8rem; font-weight:700; 
  padding:6px 18px; border-radius:50px; margin-bottom:20px;
  background: rgba(245,166,35,0.15);
  color: #d4872a;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero h1 { 
  font-size:3.2rem; line-height:1.15; margin-bottom:20px;
  font-weight: 800;
  background: linear-gradient(135deg, #3d2c1e 30%, #d4872a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p { 
  font-size:1.1rem; opacity:0.75; max-width:560px; margin-bottom:36px;
  color: #5a4a3a; line-height: 1.6;
}
.hero-buttons { display:flex; gap:16px; }
.hero-image { border-radius:16px; overflow:hidden; }
.hero-image img { width:100%; height:auto; display: block; }

/* 按钮 — 暖色系 */
.btn { 
  display:inline-flex; align-items:center; gap:10px; 
  padding:14px 32px; border-radius:50px; 
  font-weight:700; cursor:pointer; border:none; 
  text-decoration:none; transition:0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.btn-primary { 
  color:#fff; 
  background: linear-gradient(145deg, #f5a623, #d4872a);
  box-shadow: 0 4px 16px rgba(245,166,35,0.3);
}
.btn-primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
}
.btn-outline { 
  background:transparent; border:1.5px solid #d4872a;
  color: #d4872a;
}
.btn-outline:hover { 
  background: rgba(212,135,42,0.08);
  transform: translateY(-3px);
}

/* 标签/标题 — 杂志风格 */
.section-label { 
  display:inline-block; font-size:0.75rem; font-weight:700; 
  letter-spacing:3px; margin-bottom:14px;
  color: #d4872a;
  text-transform: uppercase;
}
.section-title { 
  font-size:2.2rem; margin-bottom:16px; font-weight:800;
  color: #3d2c1e;
  line-height: 1.2;
}
.section-desc { 
  max-width:600px; opacity:0.7; margin-bottom:44px;
  color: #5a4a3a; font-size: 1.05rem; line-height: 1.6;
}

/* 卡片网格 — 层叠卡片 */
.cards-grid { 
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); 
  gap:28px; 
}
.category-card { 
  border-radius:16px; padding:32px; 
  background: #fff;
  border: 1px solid rgba(200,170,140,0.2);
  transition:0.3s ease;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #f5a623, #d4872a);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover { 
  transform:translateY(-5px); 
  box-shadow: 0 12px 32px rgba(180,130,90,0.12);
  border-color: rgba(212,135,42,0.2);
}
.card-icon { 
  width:52px; height:52px; border-radius:14px; 
  background: linear-gradient(145deg, rgba(245,166,35,0.12), rgba(212,135,42,0.08));
  display:flex; align-items:center; justify-content:center; 
  margin-bottom:18px; font-size:1.4rem; color: #d4872a;
}
.card-link { 
  font-weight:700; font-size:0.85rem; text-decoration:none;
  color: #d4872a;
  display: inline-flex; align-items: center; gap: 4px;
}
.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}
.card-link:hover::after { transform: translateX(4px); }

/* 特性块 — 不对称布局 */
.feature-block { 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:64px; 
  align-items:center; 
}
.feature-image { 
  border-radius:20px; overflow:hidden; 
  box-shadow: 0 8px 32px rgba(180,130,90,0.1);
}
.feature-image img { width:100%; height:auto; display: block; }
.feature-text { }
.feature-list { list-style:none; }
.feature-list li { 
  padding:8px 0; display:flex; align-items:center; gap:10px;
  font-size: 0.95rem; color: #5a4a3a;
}
.feature-list li::before { 
  content:'✦'; font-weight:700; color: #f5a623;
  font-size: 1.1rem;
}

/* 数据条 — 暖色分割线 */
.stats-bar { 
  display:grid; 
  grid-template-columns:repeat(4,1fr); 
  gap:28px; text-align:center; 
}
.stat-item { 
  padding:28px 16px; border-radius:16px; 
  background: #fff;
  border: 1px solid rgba(200,170,140,0.15);
  transition: 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(180,130,90,0.08);
}
.stat-number { 
  font-size:2.4rem; font-weight:800;
  background: linear-gradient(135deg, #f5a623, #d4872a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size:0.9rem; opacity:0.6; margin-top:6px; color: #5a4a3a; }

/* 内容墙 — 杂志网格 */
.content-wall { 
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); 
  gap:28px; 
}
.content-wall-item { 
  border-radius:16px; overflow:hidden; 
  background: #fff;
  border: 1px solid rgba(200,170,140,0.15);
  transition:0.3s ease;
}
.content-wall-item:hover { 
  transform:translateY(-5px); 
  box-shadow: 0 12px 32px rgba(180,130,90,0.1);
  border-color: rgba(212,135,42,0.2);
}
.content-wall-item img { 
  width:100%; height:220px; object-fit:cover; 
  transition: transform 0.4s ease;
}
.content-wall-item:hover img { transform: scale(1.02); }
.content-wall-body { padding:24px; }
.content-wall-body h3 { font-size: 1.15rem; margin-bottom: 8px; color: #3d2c1e; }
.content-wall-body p { font-size: 0.9rem; color: #5a4a3a; opacity: 0.7; line-height: 1.5; }

/* FAQ — 圆角折叠 */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { 
  border: 1px solid rgba(200,170,140,0.2);
  border-radius:14px; margin-bottom:10px; 
  overflow:hidden; cursor:pointer;
  background: #fff;
  transition: 0.2s ease;
}
.faq-item:hover { border-color: rgba(212,135,42,0.3); }
.faq-item .faq-question { 
  padding:18px 24px; font-weight:700; display:flex; 
  justify-content:space-between; align-items: center;
  color: #3d2c1e; font-size: 1rem;
}
.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #d4872a;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item .faq-answer { 
  padding:0 24px 20px; display:none; 
  opacity:0.75; color: #5a4a3a; line-height: 1.6;
}
.faq-item.open .faq-answer { display:block; }

/* CTA横幅 — 渐变暖色 */
.cta-banner { 
  padding:64px 32px; text-align:center; 
  border-radius:20px; 
  background: linear-gradient(145deg, #f5a623, #d4872a, #c0782a);
  color:#fff;
  box-shadow: 0 12px 40px rgba(245,166,35,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: #d4872a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.cta-banner .btn-primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 页脚 — 暖深色 */
.site-footer { 
  padding:56px 0 28px; 
  background: #3d2c1e;
  color: rgba(255,255,255,0.7);
}
.site-footer .container { }
.footer-grid { 
  display:grid; 
  grid-template-columns:2fr 1fr 1fr 1fr; 
  gap:48px; 
}
.footer-brand { }
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.6; opacity: 0.7; }
.footer-col { }
.footer-col h4 { 
  color: #fff; font-weight: 700; margin-bottom: 16px;
  font-size: 0.95rem;
}
.footer-col a { 
  display: block; color: rgba(255,255,255,0.6); 
  text-decoration:none; padding: 4px 0;
  font-size: 0.9rem; transition: 0.2s;
}
.footer-col a:hover { color: #f5a623; }
.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.08); 
  margin-top:40px; padding-top:24px; 
  text-align:center; font-size:0.85rem; 
  opacity: 0.6;
}

/* 工具类 */
.text-accent { color: #d4872a; }
.text-center { text-align:center; }
.seo-description { max-width:600px; margin:0 auto 48px; opacity:0.7; }
.mt-0 { margin-top:0; }
.mb-0 { margin-bottom:0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .feature-block { grid-template-columns:1fr; gap: 40px; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .main-nav { display:none; }
  .menu-toggle { display:flex; }
  .main-nav.open { 
    display:flex; flex-direction:column; 
    position:absolute; top:72px; left:0; width:100%; 
    background: rgba(253,247,240,0.98); 
    padding:24px; gap: 16px;
    border-bottom: 1px solid rgba(200,170,140,0.2);
  }
}
@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; }
  .hero { min-height: 60vh; }
}