/* ============================================
   每日大赛 · 每日赛场 — 暖色几何编辑风设计系统
   Design Language: Warm Editorial Play
   ============================================ */

/* 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --cream: #FBF7F0;
  --peach: #FFF0E0;
  --coral: #FF6B35;
  --teal: #0FA3A3;
  --teal-dark: #147D7D;
  --yellow: #FFD166;
  --dark-teal: #174D4C;
  --border-color: #E8DDCE;
  --shadow-soft: 0 4px 24px rgba(23, 77, 76, 0.08);
  --shadow-hover: 0 8px 32px rgba(255, 107, 53, 0.14);
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--dark-teal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section:nth-child(even) { background: var(--peach); }

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(23, 77, 76, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--coral), var(--coral) 80px, var(--yellow) 80px, var(--yellow) 160px, var(--teal) 160px, var(--teal) 240px);
  opacity: 0.35;
}

.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.15rem;
  text-decoration: none;
  color: inherit;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, #FF8E5E 60%, var(--yellow) 100%);
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.35);
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon { transform: rotate(6deg) scale(1.05); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-teal);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.25s ease;
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover::after { width: 60%; }
.main-nav a:not(.nav-cta):hover { color: var(--coral); }

.nav-cta {
  padding: 8px 20px !important;
  border-radius: 24px !important;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, var(--coral), #FF8E5E);
  box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255, 107, 53, 0.4);
  color: #fff !important;
}

.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark-teal);
  position: relative;
  transition: 0.3s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--dark-teal);
  transition: 0.3s;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* 首页Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, #FFF8F0 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.35) 0%, rgba(255, 209, 102, 0) 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 3px dashed rgba(15, 163, 163, 0.3);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: var(--teal);
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgba(15, 163, 163, 0.25);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--dark-teal);
}

.hero h1 .text-accent {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 209, 102, 0.55);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
  border: 4px solid #fff;
  transform: rotate(1.5deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, #FF8E5E 100%);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal-dark);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 163, 163, 0.3);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--coral);
  background: rgba(255, 107, 53, 0.08);
  padding: 6px 16px;
  border-radius: 4px;
  border-left: 4px solid var(--coral);
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--dark-teal);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  font-size: 1rem;
  line-height: 1.8;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 30px 28px;
  border: 2px solid var(--border-color);
  background: #fff;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 53, 0.3);
}

.category-card:hover::before { transform: scaleX(1); }

.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: #FFF0E0;
  transition: transform 0.3s ease;
}

.category-card:nth-child(2n) .card-icon { background: #E8F7F6; }
.category-card:nth-child(3n) .card-icon { background: #FFF8E0; }
.category-card:hover .card-icon { transform: scale(1.1) rotate(-5deg); }

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s ease;
}

.card-link:hover { gap: 10px; color: var(--teal); }

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.feature-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.3;
  z-index: -1;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text { position: relative; }

.feature-list { list-style: none; margin-top: 20px; }

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--dark-teal);
  border-bottom: 1px dashed var(--border-color);
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M6.7 11.4L3.6 8.3l1-1 2.1 2.1 5-4.9 1 1z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 6px rgba(15, 163, 163, 0.3);
}

.feature-list li:nth-child(2)::before { background-color: var(--coral); box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3); }
.feature-list li:nth-child(3)::before { background-color: var(--yellow); box-shadow: 0 2px 6px rgba(255, 209, 102, 0.4); }

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  background: #fff;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.5;
}

.stat-item:nth-child(2)::after { background: var(--teal); }
.stat-item:nth-child(3)::after { background: var(--yellow); }
.stat-item:nth-child(4)::after { background: var(--teal); }

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dark-teal);
  background: linear-gradient(135deg, var(--coral), #FF8E5E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.stat-item:nth-child(2n) .stat-number {
  background: linear-gradient(135deg, var(--teal), #40C4B4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 500;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: #fff;
  transition: all 0.3s ease;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 163, 163, 0.35);
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img { transform: scale(1.03); }

.content-wall-body { padding: 24px; }

.content-wall-body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--dark-teal);
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.65;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(255, 107, 53, 0.4); }

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--dark-teal);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.08);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  background: var(--coral);
  color: #fff;
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: 1px dashed var(--border-color);
  margin-top: 4px;
  padding-top: 14px;
}

.faq-item.open .faq-answer { display: block; }

/* CTA横幅 */
.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #147D7D 50%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.2);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.15);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 420px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: var(--yellow);
  color: var(--dark-teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 页脚 */
.site-footer {
  padding: 72px 0 28px;
  background: #EAF5F3;
  border-top: 4px solid var(--coral);
  color: var(--dark-teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.65;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(23, 77, 76, 0.1);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: var(--dark-teal);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0;
  transition: 0.2s;
}

.footer-col ul a:hover {
  opacity: 1;
  color: var(--coral);
  padding-left: 4px;
}

.footer-col ul a:hover::before { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(23, 77, 76, 0.12);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* 工具类 */
.text-accent { color: var(--coral); }

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  line-height: 1.8;
  font-size: 0.95rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 额外装饰：网格覆盖层 */
.cards-grid::before,
.content-wall::before {
  content: '';
  display: block;
  grid-column: 1 / -1;
  height: 0;
}

/* 装饰性圆点背景 */
.section-feature {
  position: relative;
}

.section-feature::before {
  content: '';
  position: absolute;
  top: 60px;
  right: 40px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--coral) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.25;
  pointer-events: none;
}

/* 卡片内的日期标签 */
.card-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(15, 163, 163, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* 响应式 */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.6rem; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .feature-block { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@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;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid var(--border-color);
  }

  .main-nav.open { display: flex; }

  .menu-toggle { display: flex; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .hero::before { width: 200px; height: 200px; }
  .hero::after { display: none; }

  .section { padding: 64px 0; }
  .section-title { font-size: 1.8rem; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 1.6rem; }

  .content-wall-item img { height: 170px; }

  .site-footer { padding: 48px 0 20px; }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 2.2rem; }

  .hero-eyebrow { font-size: 0.72rem; }

  .section-title { font-size: 1.5rem; }

  .stat-number { font-size: 1.8rem; }

  .logo { font-size: 1rem; }
  .logo-icon { width: 32px; height: 32px; font-size: 0.8rem; }

  .nav-cta {
    display: none;
  }

  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }

  .hero-content p { font-size: 1rem; }

  .btn { width: 100%; justify-content: center; }

  .feature-list li { font-size: 0.9rem; }

  .cta-banner { border-radius: 14px; }
  .cta-banner .btn-primary { width: auto; }

  .footer-col { margin-bottom: 16px; }
}

/* 动效 — 平滑滚动 */
html { scroll-behavior: smooth; }

/* 焦点可见性 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.5);
  outline-offset: 2px;
}

/* 选择文本颜色 */
::selection {
  background: var(--yellow);
  color: var(--dark-teal);
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }