/* ============================================================
   糖心vlog — 晨曦竞技场 Dawn Arena 设计系统
   品牌色：日出橙 #f97316 / 竞技金 #eab308 / 靛蓝紫 #6366f1
   背景：深靛蓝 #0f172a
   ============================================================ */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: rgba(30,41,59,0.85);
  --brand-orange: #f97316;
  --brand-gold: #eab308;
  --brand-indigo: #6366f1;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(148,163,184,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-warm: 0 8px 32px rgba(249,115,22,0.15);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.28s cubic-bezier(0.23,1,0.32,1);
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-gold); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:768px) { .container { padding: 0 2rem; } }

/* ── 公告栏 ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gold));
  color: #0f172a;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ── 导航栏 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-img { width: 42px; height: 42px; border-radius: 8px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.main-nav { flex: 1; }
.nav-list {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-link {
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(249,115,22,0.1);
}
.header-search { flex-shrink: 0; }
.search-form {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.search-form:focus-within { border-color: var(--brand-orange); }
.search-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  width: 180px;
  outline: none;
  font-family: var(--font);
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: color var(--transition);
}
.search-btn:hover { color: var(--brand-orange); }
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
}
.mobile-menu.active { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.mobile-menu a:hover { background: rgba(249,115,22,0.1); }
.mobile-search-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.mobile-search-form input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  outline: none;
}
.mobile-search-form button {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}
@media(max-width:900px) {
  .main-nav, .header-search { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ── Hero Banner ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 4rem 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--brand-orange);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  color: #0f172a;
}
.btn-primary:hover { box-shadow: var(--shadow-warm); transform: translateY(-2px); color: #0f172a; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
@media(max-width:640px) {
  .hero h1 { font-size: 1.75rem; }
  .hero { min-height: 400px; }
}

/* ── 通用区块 ── */
.section {
  padding: 4.5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.section-header h2 .accent {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}
.section-alt { background: var(--bg-secondary); }

/* ── 视频卡片 ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-warm);
  border-color: rgba(249,115,22,0.3);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a1a2e;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.video-info { padding: 1rem 1.25rem; }
.video-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.video-meta span { display: flex; align-items: center; gap: 0.25rem; }
.video-tag {
  display: inline-block;
  background: rgba(99,102,241,0.15);
  color: var(--brand-indigo);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ── 特色模块 Z字形 ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.feature-img img { width: 100%; display: block; }
.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.feature-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.feature-tags span {
  background: rgba(249,115,22,0.1);
  color: var(--brand-orange);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
@media(max-width:768px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row.reverse { direction: ltr; }
}

/* ── 专家卡片 ── */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.expert-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.expert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.3);
  box-shadow: var(--shadow-warm);
}
.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-indigo));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}
.expert-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.expert-card .role { color: var(--brand-orange); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }
.expert-card p { color: var(--text-secondary); font-size: 0.85rem; }
.expert-card .btn { margin-top: 1rem; font-size: 0.85rem; padding: 0.5rem 1.25rem; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--brand-orange); }
.faq-question .icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--brand-orange);
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ── 用户评论 ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.review-card:hover { border-color: rgba(234,179,8,0.3); }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0f172a;
  font-size: 1rem;
}
.review-name { font-weight: 700; font-size: 0.95rem; }
.review-stars { color: var(--brand-gold); font-size: 0.85rem; }
.review-text { color: var(--text-secondary); font-size: 0.9rem; }

/* ── 合作品牌墙 ── */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}
.brand-wall-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.brand-wall-item:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* ── How-To 指南 ── */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.howto-step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition);
}
.howto-step:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-4px); }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 auto 1rem;
}
.howto-step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.howto-step p { color: var(--text-secondary); font-size: 0.9rem; }

/* ── 页脚 ── */
.site-footer {
  background: #0a0f1e;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo-img { width: 36px; height: 36px; border-radius: 6px; }
.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link:hover { background: var(--brand-orange); color: #fff; }
.footer-links h4, .footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--brand-orange); }
.footer-contact p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
@media(max-width:768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── 面包屑 ── */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--brand-orange); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── 内页 Hero ── */
.page-hero {
  position: relative;
  padding: 3.5rem 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(249,115,22,0.1));
  border-bottom: 1px solid var(--border-color);
}
.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.page-hero p { color: var(--text-secondary); max-width: 600px; }

/* ── 统计数字 ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }

/* ── 动画 ── */
@media(prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .fade-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── 内容卡片通用 ── */
.content-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}
.content-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.content-card p { color: var(--text-secondary); }

/* ── 联系信息卡片 ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border-color);
  text-align: center;
}
.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(249,115,22,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--brand-orange);
}
.contact-card h4 { font-weight: 700; margin-bottom: 0.5rem; }
.contact-card p { color: var(--text-secondary); font-size: 0.9rem; }
