/* 每日吃瓜大赛 - 独特视觉系统 */
/* 风格：夏日多巴胺 · 荧光渐变 · 圆润糖果风 */

*, *::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: linear-gradient(135deg, #fff5e6 0%, #e8f5e9 50%, #e3f2fd 100%);
  color: #2c3e50;
}

/* 核心布局 */
.container { max-width:1200px; margin:0 auto; padding:0 24px; }

.section { padding:80px 0; position:relative; }
.section:nth-child(even) { 
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e8eaf6 100%);
}

/* 导航 — 固定顶部 糖果透明效果 */
.site-header { 
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background: rgba(255,245,230,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255,183,77,0.3);
  box-shadow: 0 4px 20px rgba(255,152,0,0.1);
}

.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.3rem; text-decoration:none; 
  color: #e65100;
  text-shadow: 2px 2px 0 rgba(255,152,0,0.2);
}

.logo-icon { 
  width:40px; height:40px; border-radius:50%; 
  display:flex; align-items:center; justify-content:center; 
  font-size:1.2rem;
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
  color:#fff;
  box-shadow: 0 4px 12px rgba(255,111,0,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:600; 
  transition:0.3s;
  color: #5d4037;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover { 
  color: #e65100;
  border-bottom-color: #ff8f00;
}

.nav-cta { 
  padding:10px 24px; border-radius:50px; 
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
  color:#fff!important; font-weight:700;
  box-shadow: 0 4px 14px rgba(255,111,0,0.3);
  border-bottom: none!important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,111,0,0.4);
}

.menu-toggle { display:none; }

/* 首页Hero — 西瓜主题 */
.hero { 
  min-height:80vh; display:flex; align-items:center; 
  position:relative;
  background: linear-gradient(135deg, #e8f5e9 0%, #fff3e0 50%, #fce4ec 100%);
  overflow: hidden;
}

.hero::before {
  content: '🍉';
  position: absolute;
  right: -60px;
  top: 20%;
  font-size: 300px;
  opacity: 0.08;
  transform: rotate(15deg);
}

.hero-content { max-width:720px; position:relative; z-index:2; }

.hero-eyebrow { 
  display:inline-block; font-size:0.85rem; font-weight:700; 
  padding:6px 18px; border-radius:50px; margin-bottom:16px;
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
  color: #fff;
  letter-spacing: 1px;
}

.hero h1 { 
  font-size:3.2rem; line-height:1.1; margin-bottom:20px;
  color: #2e7d32;
  font-weight: 900;
  text-shadow: 3px 3px 0 rgba(46,125,50,0.1);
}

.hero p { 
  font-size:1.15rem; opacity:0.8; max-width:560px; margin-bottom:32px;
  color: #4a4a4a;
}

.hero-buttons { display:flex; gap:14px; }

.hero-image { 
  border-radius:24px; overflow:hidden; 
  box-shadow: 0 20px 60px rgba(255,152,0,0.15);
  border: 4px solid rgba(255,183,77,0.3);
}

.hero-image img { width:100%; height:auto; }

/* 按钮 — 糖果风格 */
.btn { 
  display:inline-flex; align-items:center; gap:8px; 
  padding:14px 32px; border-radius:50px; 
  font-weight:700; cursor:pointer; border:none; 
  text-decoration:none; transition:0.3s;
  font-size: 0.95rem;
}

.btn-primary { 
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
  color:#fff; 
  box-shadow: 0 6px 20px rgba(255,111,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,111,0,0.4);
}

.btn-outline { 
  background:transparent; border:2px solid #ff8f00; 
  color: #e65100;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-color: #ff6f00;
}

/* 标签/标题 — 水果色 */
.section-label { 
  display:inline-block; font-size:0.8rem; font-weight:700; 
  letter-spacing:3px; margin-bottom:12px;
  color: #ff8f00;
  background: rgba(255,143,0,0.1);
  padding: 4px 16px;
  border-radius: 50px;
}

.section-title { 
  font-size:2.2rem; margin-bottom:14px; 
  color: #2e7d32;
  font-weight: 800;
}

.section-desc { 
  max-width:600px; opacity:0.7; margin-bottom:40px;
  font-size: 1.05rem;
}

/* 卡片网格 — 西瓜卡片 */
.cards-grid { 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:28px; 
}

.category-card { 
  border-radius:20px; padding:32px; 
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,183,77,0.2);
  transition:0.4s;
  box-shadow: 0 8px 32px rgba(255,152,0,0.06);
}

.category-card:hover { 
  transform:translateY(-6px); 
  box-shadow: 0 12px 40px rgba(255,152,0,0.15);
  border-color: #ff8f00;
  background: rgba(255,255,255,0.9);
}

.card-icon { 
  width:56px; height:56px; border-radius:16px; 
  display:flex; align-items:center; justify-content:center; 
  margin-bottom:18px; font-size:1.6rem;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
}

.card-link { 
  font-weight:700; font-size:0.85rem; text-decoration:none;
  color: #ff6f00;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after {
  content: '→';
  transition: 0.3s;
}

.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 16px 48px rgba(46,125,50,0.1);
  border: 3px solid rgba(129,199,132,0.3);
}

.feature-image img { width:100%; height:auto; }

.feature-text { }

.feature-list { list-style:none; }

.feature-list li { 
  padding:8px 0; display:flex; align-items:center; gap:10px;
  font-size: 1rem;
}

.feature-list li::before { 
  content:'🍉'; font-weight:700; 
  font-size: 1.2rem;
}

/* 数据条 — 果汁色 */
.stats-bar { 
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; 
}

.stat-item { 
  padding:28px 16px; border-radius:20px; 
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,183,77,0.15);
  transition: 0.3s;
}

.stat-item:hover {
  background: rgba(255,255,255,0.85);
  border-color: #ff8f00;
  transform: scale(1.02);
}

.stat-number { 
  font-size:2.4rem; font-weight:900; 
  background: linear-gradient(135deg, #ff6f00, #ff8f00);
  -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: #5d4037;
}

/* 内容墙 — 瓜田 */
.content-wall { 
  display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:28px; 
}

.content-wall-item { 
  border-radius:20px; overflow:hidden; 
  background: rgba(255,255,255,0.7);
  border: 2px solid rgba(255,183,77,0.15);
  transition:0.4s;
}

.content-wall-item:hover { 
  transform:translateY(-6px); 
  box-shadow: 0 12px 40px rgba(255,152,0,0.12);
  border-color: #ff8f00;
}

.content-wall-item img { 
  width:100%; height:200px; object-fit:cover; 
}

.content-wall-body { padding:24px; }

.content-wall-body h3 {
  color: #2e7d32;
  margin-bottom: 8px;
}

/* FAQ — 西瓜折叠 */
.faq-list { max-width:800px; margin:0 auto; }

.faq-item { 
  border:2px solid rgba(255,183,77,0.2); 
  border-radius:16px; margin-bottom:10px; overflow:hidden; cursor:pointer;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  transition: 0.3s;
}

.faq-item:hover {
  border-color: #ff8f00;
  background: rgba(255,255,255,0.8);
}

.faq-item .faq-question { 
  padding:18px 24px; font-weight:700; 
  display:flex; justify-content:space-between;
  color: #2e7d32;
  font-size: 1.05rem;
}

.faq-item .faq-question::after {
  content: '🍉';
  font-size: 1.2rem;
  transition: 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer { 
  padding:0 24px 20px; display:none; opacity:0.8;
  color: #4a4a4a;
  line-height: 1.6;
}

.faq-item.open .faq-answer { display:block; }

/* CTA横幅 — 渐变果汁 */
.cta-banner { 
  padding:64px 24px; text-align:center; border-radius:24px; 
  background: linear-gradient(135deg, #ff6f00, #ff8f00, #ffa000);
  color:#fff;
  box-shadow: 0 16px 48px rgba(255,111,0,0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '🍉';
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 120px;
  opacity: 0.1;
}

.cta-banner h2 { color:#fff; font-size: 2rem; margin-bottom: 16px; }

.cta-banner .btn-primary { 
  background:#fff; 
  color: #ff6f00;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* 页脚 — 瓜田底部 */
.site-footer { 
  padding:56px 0 28px; 
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: rgba(255,255,255,0.85);
}

.site-footer .container { }

.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }

.footer-brand { }

.footer-brand .logo {
  color: #fff;
  text-shadow: none;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #ff8f00;
  padding-left: 4px;
}

.footer-bottom { 
  border-top:1px solid rgba(255,255,255,0.15); 
  margin-top:40px; padding-top:20px; text-align:center; 
  font-size:0.85rem;
  color: rgba(255,255,255,0.5);
}

/* 工具类 */
.text-accent { color: #ff6f00; }

.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; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .main-nav { display:none; }
  .menu-toggle { display:flex; }
  .main-nav.open { 
    display:flex; flex-direction:column; 
    position:absolute; top:68px; left:0; width:100%; 
    background: rgba(255,245,230,0.98);
    backdrop-filter: blur(12px);
    padding:20px;
    border-bottom: 2px solid rgba(255,183,77,0.3);
  }
  .main-nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,183,77,0.1);
  }
  .hero h1 { font-size: 2.4rem; }
  .hero::before { font-size: 200px; right: -40px; }
}

@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: 2rem; }
  .section-title { font-size: 1.6rem; }
}