/* ============================================================
   Memphis Play — 孟菲斯几何美学设计系统
   企业：每日大赛yandex官网入口
   ============================================================ */

/* 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #FFFBF4;
  color: #2D3436;
  line-height: 1.6;
}

/* 核心布局 — 必须居中 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section {
  padding: 80px 0;
  position: relative;
}
.section:nth-child(even) { background: #F2FAF8; }

/* ---- 导航 — 固定顶部 ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid #2D3436;
}

.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: 900;
  font-size: 1.28rem;
  text-decoration: none;
  color: #2D3436;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: #FF6B6B;
  color: #fff;
  border: 2px solid #2D3436;
  box-shadow: 3px 3px 0 #2D3436;
  transform: rotate(-6deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2D3436;
  padding: 7px 14px;
  border-radius: 30px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.main-nav a:hover {
  color: #2D3436;
  background: #FFC93C;
  border-color: #2D3436;
  transform: rotate(-2deg) translateY(-1px);
}

.nav-cta {
  background: #FF6B6B;
  border: 2px solid #2D3436;
  box-shadow: 3px 3px 0 #2D3436;
  color: #fff !important;
  font-weight: 700;
  margin-left: 8px;
}
.nav-cta:hover {
  background: #4ECDC4;
  color: #2D3436 !important;
  box-shadow: 1px 1px 0 #2D3436;
  transform: translate(2px, 2px) rotate(0deg);
}

.menu-toggle {
  display: none;
  background: #FFC93C;
  border: 2px solid #2D3436;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: #2D3436;
  box-shadow: 2px 2px 0 #2D3436;
}

/* ---- 首页 Hero ---- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* 孟菲斯装饰圆点 */
.hero::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #4ECDC4 3px, transparent 3px);
  background-size: 18px 18px;
  border-radius: 50%;
  top: 12%;
  right: 4%;
  z-index: 0;
  border: 3px solid #2D3436;
  box-shadow: 8px 8px 0 rgba(45, 52, 54, 0.08);
}

.hero::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border: 3px solid #FF6B6B;
  border-radius: 50%;
  bottom: 18%;
  right: 28%;
  z-index: 0;
  background: rgba(255, 201, 60, 0.3);
}

.hero-content {
  max-width: 720px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  background: #FFC93C;
  color: #2D3436;
  border: 2px solid #2D3436;
  box-shadow: 3px 3px 0 #2D3436;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -1.5px;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0;
  width: 48%;
  height: 0.32em;
  background: #FFC93C;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.7;
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #2D3436;
  box-shadow: 12px 12px 0 #4ECDC4;
  background: linear-gradient(135deg, #FFE8D6, #F0FBFA);
  position: relative;
  z-index: 1;
  transform: rotate(2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: rotate(0deg);
  box-shadow: 8px 8px 0 #FF6B6B;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  object-fit: cover;
}

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0px;
}

.btn-primary {
  background: #FF6B6B;
  color: #fff;
  border: 2px solid #2D3436;
  box-shadow: 4px 4px 0 #2D3436;
}
.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2D3436;
  background: #4ECDC4;
  color: #2D3436;
}

.btn-outline {
  background: transparent;
  border: 2px solid #2D3436;
  color: #2D3436;
  box-shadow: 4px 4px 0 #FFC93C;
}
.btn-outline:hover {
  background: #FFC93C;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2D3436;
}

/* ---- 标签 / 标题 ---- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
  background: #4ECDC4;
  color: #2D3436;
  padding: 5px 16px;
  border-radius: 30px;
  border: 2px solid #2D3436;
  box-shadow: 2px 2px 0 #2D3436;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: #FFC93C;
  border-radius: 10px;
  z-index: -1;
  opacity: 0.6;
}

.section-desc {
  max-width: 600px;
  opacity: 0.72;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* ---- 卡片网格 ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #fff;
  border: 3px solid #2D3436 !important;
  border-radius: 24px;
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.3, 1);
  position: relative;
  box-shadow: 6px 6px 0 rgba(45, 52, 54, 0.18);
}

.category-card:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 10px 10px 0 rgba(45, 52, 54, 0.2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: #4ECDC4;
  color: #fff;
  border: 2px solid #2D3436;
  box-shadow: 3px 3px 0 #2D3436;
}

.category-card:nth-child(2) .card-icon { background: #FF6B6B; }
.category-card:nth-child(3) .card-icon { background: #FFC93C; color: #2D3436; }
.category-card:nth-child(4) .card-icon { background: #5C7CFA; }

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: #2D3436;
  border-bottom: 2px solid #FF6B6B;
  padding-bottom: 2px;
  transition: all 0.2s;
}

.card-link::after { content: ' →'; }

.card-link:hover {
  color: #FF6B6B;
  border-bottom-color: #2D3436;
}

/* ---- 特性块 ---- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid #2D3436;
  position: relative;
  box-shadow: 10px 10px 0 #FF6B6B;
  background: linear-gradient(135deg, #E8F8F6, #FFE8D6);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  object-fit: cover;
}

.feature-text { position: relative; z-index: 1; }

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #4ECDC4;
  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: 24px;
  border: 3px solid #2D3436;
  background: #fff;
  box-shadow: 5px 5px 0 rgba(45, 52, 54, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item:hover {
  transform: rotate(-2deg) scale(1.02);
  box-shadow: 8px 8px 0 rgba(45, 52, 54, 0.2);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #FF6B6B;
  line-height: 1;
}

.stat-item:nth-child(2) .stat-number { color: #4ECDC4; }
.stat-item:nth-child(3) .stat-number { color: #5C7CFA; }
.stat-item:nth-child(4) .stat-number { color: #FF9F1C; }

.stat-label {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- 内容墙 ---- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #2D3436;
  transition: all 0.25s ease;
  background: #fff;
  box-shadow: 5px 5px 0 #FFC93C;
}

.content-wall-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #FF6B6B;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #2D3436;
  background: linear-gradient(135deg, #4ECDC4, #5C7CFA);
}

.content-wall-item:nth-child(2) img { background: linear-gradient(135deg, #FFC93C, #FF6B6B); }
.content-wall-item:nth-child(3) img { background: linear-gradient(135deg, #5C7CFA, #4ECDC4); }
.content-wall-item:nth-child(4) img { background: linear-gradient(135deg, #FF6B6B, #FFC93C); }

.content-wall-body {
  padding: 20px;
}

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 3px solid #2D3436;
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 4px 4px 0 rgba(45, 52, 54, 0.12);
}

.faq-item.open {
  background: #E8F8F6;
  box-shadow: 4px 4px 0 #4ECDC4;
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
  transition: background 0.2s;
  border-bottom: 2px solid transparent;
}

.faq-item.open .faq-question {
  border-bottom-color: #2D3436;
}

.faq-item .faq-question::after {
  content: '＋';
  font-size: 1.4rem;
  font-weight: 800;
  color: #FF6B6B;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
  color: #2D3436;
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.75;
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { display: block; }

/* ---- CTA 横幅 ---- */
.cta-banner {
  background-color: #FF6B6B;
  background-image: radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.15) 3px, transparent 3px);
  background-size: 24px 24px;
  padding: 64px 24px;
  text-align: center;
  border-radius: 28px;
  color: #fff;
  border: 3px solid #2D3436;
  box-shadow: 10px 10px 0 #4ECDC4;
  position: relative;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #2D3436;
  border: 2px solid #2D3436;
  box-shadow: 4px 4px 0 #2D3436;
}

.cta-banner .btn-primary:hover {
  background: #FFC93C;
  color: #2D3436;
}

/* ---- 页脚 ---- */
.site-footer {
  padding: 56px 0 24px;
  background-color: #4ECDC4;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.08) 10px,
    rgba(255, 255, 255, 0.08) 20px
  );
  color: #2D3436;
  border-top: 3px solid #2D3436;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  max-width: 280px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: #2D3436;
  opacity: 0.75;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  padding-left: 6px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 2px solid rgba(45, 52, 54, 0.25);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ---- 工具类 ---- */
.text-accent { color: #FF6B6B; font-weight: 700; }

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.75;
  line-height: 1.8;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 0 50px;
    gap: 40px;
  }

  .hero h1 { font-size: 2.4rem; }

  .hero-image {
    max-width: 100%;
    width: 100%;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .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: #FFFBF4;
    padding: 24px 24px;
    gap: 12px;
    border-bottom: 3px solid #2D3436;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .main-nav.open a {
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid transparent;
  }

  .main-nav.open a:hover {
    border-color: #2D3436;
    transform: rotate(0deg);
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner h2 { font-size: 1.8rem; }

  .section-title { font-size: 1.8rem; }
}

@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.9rem; }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-bar { gap: 16px; }

  .stat-number { font-size: 2rem; }
}