/* ============================================
   黑料每日大赛 — 设计系统
   Awwwards 获奖风格：杂志风 + 柔白基调 + 珊瑚粉与薄荷绿撞色
   ============================================ */

/* 基础重置 */
*, *::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: #fcf9f6; /* 暖白基底 */
  color: #2c2c2c;
  line-height: 1.6;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #f5f0eb; /* 浅米色，柔和过渡 */
}

/* 导航 — 固定顶部，杂志风格半透明白+玻璃态 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(252, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e6ddd4;
}

.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: #2c2c2c;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: #f4a3a3; /* 珊瑚粉 */
  color: #fff;
  box-shadow: 0 2px 8px rgba(244, 163, 163, 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: #4a4a4a;
  transition: 0.2s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f4a3a3;
  transition: width 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: #2c2c2c;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 40px;
  background: #8fc7b4; /* 薄荷绿 */
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(143, 199, 180, 0.3);
  transition: 0.2s;
}

.nav-cta:hover {
  background: #7bb7a3;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2c2c2c;
}

/* 首页Hero — 杂志封面感，大标题+装饰元素 */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: #fcf9f6;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 163, 163, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 40px;
  background: #8fc7b4;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #2c2c2c;
}

.hero h1 span {
  color: #f4a3a3;
  text-decoration: underline wavy #8fc7b4 3px;
  text-underline-offset: 8px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: #4a4a4a;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 — 圆润、轻盈 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.25s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: #f4a3a3;
  color: #fff;
  box-shadow: 0 4px 14px rgba(244, 163, 163, 0.35);
}

.btn-primary:hover {
  background: #e88b8b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 163, 163, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #8fc7b4;
  color: #2c2c2c;
}

.btn-outline:hover {
  background: #8fc7b4;
  color: #fff;
  transform: translateY(-2px);
}

/* 标签/标题 — 杂志风 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #8fc7b4;
  background: rgba(143, 199, 180, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #2c2c2c;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  font-size: 1rem;
  color: #4a4a4a;
}

/* 卡片网格 — 柔和卡片，圆角+阴影 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  border: 1px solid #efe8e0;
  transition: 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: #f4a3a3;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
  background: #f4f0eb;
  color: #8fc7b4;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #f4a3a3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
}

.card-link:hover {
  color: #e88b8b;
  gap: 8px;
}

/* 特性块 — 左右布局，杂志风 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding-right: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #4a4a4a;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #8fc7b4;
  font-size: 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 #efe8e0;
  transition: 0.2s;
}

.stat-item:hover {
  border-color: #8fc7b4;
  box-shadow: 0 4px 16px rgba(143, 199, 180, 0.1);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #f4a3a3;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  color: #4a4a4a;
}

/* 内容墙 — 杂志网格 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #efe8e0;
  transition: 0.25s ease;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: #f4a3a3;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* FAQ — 简约折叠 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #efe8e0;
  border-radius: 16px;
  margin-bottom: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: 0.2s;
}

.faq-item:hover {
  border-color: #8fc7b4;
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #2c2c2c;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #8fc7b4;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  font-size: 0.95rem;
  color: #4a4a4a;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 — 珊瑚粉渐变 */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #f4a3a3 0%, #e88b8b 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(244, 163, 163, 0.3);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #2c2c2c;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.cta-banner .btn-primary:hover {
  background: #f8f4f0;
  transform: translateY(-2px);
}

/* 页脚 — 浅色+薄荷绿点缀 */
.site-footer {
  padding: 56px 0 28px;
  background: #f5f0eb;
  border-top: 1px solid #e6ddd4;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 10px;
  color: #4a4a4a;
}

.footer-col h5 {
  font-weight: 600;
  margin-bottom: 16px;
  color: #2c2c2c;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #4a4a4a;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #f4a3a3;
}

.footer-bottom {
  border-top: 1px solid #e6ddd4;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #4a4a4a;
  opacity: 0.7;
}

/* 工具类 */
.text-accent {
  color: #f4a3a3;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  font-size: 1rem;
  color: #4a4a4a;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ⚠️ 响应式 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f0eb;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fcf9f6;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid #e6ddd4;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  }

  .main-nav.open a {
    font-size: 1rem;
  }

  .hero::before {
    width: 300px;
    height: 300px;
  }
}

@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;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}