/* =====================================================
   草莓视频 - 原创主题样式表
   品牌色：深紫 #8A2BE2 / 玫红 #DC3C78 / 金色 #F5A623
   字体：系统中文字体栈
   ===================================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  background: #0d0d14;
  color: #e8e0f0;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: #DC3C78; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- CSS Variables ---- */
:root {
  --purple: #8A2BE2;
  --pink:   #DC3C78;
  --gold:   #F5A623;
  --dark:   #0d0d14;
  --dark2:  #15131f;
  --dark3:  #1e1a2e;
  --card:   #1a1728;
  --border: rgba(138,43,226,.25);
  --text:   #e8e0f0;
  --muted:  #9b8fb0;
  --grad:   linear-gradient(135deg, #8A2BE2 0%, #DC3C78 100%);
  --grad2:  linear-gradient(135deg, #1e1a2e 0%, #2a1f3d 100%);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(138,43,226,.2);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,13,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo img.logo-img { height: 44px; width: auto; }
.site-logo .logo-text { display: none; }

/* ---- Main Nav ---- */
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav a {
  padding: 6px 14px; border-radius: 20px;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: all .25s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--grad); color: #fff;
}

/* ---- Search Bar ---- */
.header-search {
  display: flex; align-items: center;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 24px; overflow: hidden;
  flex: 0 1 280px;
}
.header-search input {
  flex: 1; background: none; border: none; outline: none;
  padding: 8px 16px; color: var(--text); font-size: .9rem;
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  background: var(--grad); border: none; cursor: pointer;
  padding: 8px 16px; color: #fff; font-size: .9rem;
  transition: opacity .2s;
}
.header-search button:hover { opacity: .85; }

/* ---- Header Actions ---- */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login {
  padding: 7px 18px; border-radius: 20px;
  border: 1px solid var(--purple); color: var(--purple);
  font-size: .85rem; cursor: pointer; transition: all .25s;
}
.btn-login:hover { background: var(--purple); color: #fff; }
.btn-join {
  padding: 7px 18px; border-radius: 20px;
  background: var(--grad); color: #fff;
  font-size: .85rem; cursor: pointer; border: none;
  transition: opacity .25s;
}
.btn-join:hover { opacity: .85; }

/* ---- Mobile Toggle ---- */
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}

/* ---- Search Bar Below Nav ---- */
.search-bar-row {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}
.search-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.search-bar-inner .search-label {
  color: var(--muted); font-size: .85rem; white-space: nowrap;
}
.search-bar-main {
  flex: 1; display: flex; align-items: center;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 28px; overflow: hidden;
  max-width: 640px;
}
.search-bar-main input {
  flex: 1; background: none; border: none; outline: none;
  padding: 10px 20px; color: var(--text); font-size: .95rem;
}
.search-bar-main input::placeholder { color: var(--muted); }
.search-bar-main button {
  background: var(--grad); border: none; cursor: pointer;
  padding: 10px 24px; color: #fff; font-size: .9rem;
  display: flex; align-items: center; gap: 6px;
}
.search-hot-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.search-hot-tags span {
  font-size: .78rem; color: var(--muted); cursor: pointer;
  padding: 3px 10px; border-radius: 12px;
  border: 1px solid var(--border);
  transition: all .2s;
}
.search-hot-tags span:hover { color: var(--pink); border-color: var(--pink); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero_banner.jpg');
  background-size: cover; background-position: center top;
  filter: brightness(.45) saturate(1.2);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,20,.85) 0%, rgba(13,13,20,.3) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 80px 20px;
  max-width: 600px; padding-left: 40px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(138,43,226,.2); border: 1px solid var(--purple);
  border-radius: 20px; padding: 4px 14px;
  font-size: .8rem; color: var(--purple); margin-bottom: 18px;
}
.hero-badge::before { content: "▶"; font-size: .7rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 16px;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem; color: #c8b8e0; margin-bottom: 28px;
  line-height: 1.8;
}
.hero-stats {
  display: flex; gap: 28px; margin-bottom: 32px;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-size: 1.6rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: .78rem; color: var(--muted); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 28px;
  background: var(--grad); color: #fff;
  font-size: .95rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .3s;
  box-shadow: 0 4px 20px rgba(220,60,120,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(220,60,120,.5); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 28px;
  background: transparent; color: var(--text);
  font-size: .95rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.3); cursor: pointer;
  transition: all .3s;
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }

/* ===================== SECTION BASE ===================== */
.section { padding: 72px 20px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; padding: 4px 16px; border-radius: 20px;
  background: rgba(138,43,226,.15); border: 1px solid var(--border);
  color: var(--purple); font-size: .8rem; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; margin-bottom: 12px;
}
.section-title span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { color: var(--muted); font-size: .95rem; max-width: 560px; margin: 0 auto; }

/* ===================== VIDEO CARDS ===================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: all .3s; cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.video-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9; background: var(--dark3);
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4);
  opacity: 0; transition: opacity .3s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  box-shadow: 0 4px 20px rgba(220,60,120,.5);
  transform: scale(.8); transition: transform .3s;
}
.video-card:hover .play-icon { transform: scale(1); }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: .75rem; padding: 2px 8px; border-radius: 4px;
}
.video-tag-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--grad); color: #fff;
  font-size: .72rem; padding: 2px 10px; border-radius: 10px;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: .95rem; font-weight: 600; margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--muted);
}
.video-meta-left { display: flex; align-items: center; gap: 12px; }
.video-author { display: flex; align-items: center; gap: 6px; }
.video-author-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-size: .65rem; color: #fff;
}
.video-stats { display: flex; gap: 10px; }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ---- Category Tabs ---- */
.cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.cat-tab {
  padding: 7px 18px; border-radius: 20px;
  background: var(--dark3); border: 1px solid var(--border);
  color: var(--muted); font-size: .88rem; cursor: pointer;
  transition: all .25s;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--grad); border-color: transparent; color: #fff;
}

/* ===================== FEATURE CARDS ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--grad2); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--border);
  transition: all .3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ===================== EXPERT CARDS ===================== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--border);
  text-align: center; transition: all .3s;
}
.expert-card:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: 0 8px 32px rgba(220,60,120,.2); }
.expert-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid transparent;
  background: var(--grad) border-box;
  overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.expert-title { font-size: .82rem; color: var(--pink); margin-bottom: 10px; }
.expert-desc { font-size: .85rem; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.expert-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.expert-tag {
  font-size: .75rem; padding: 3px 10px; border-radius: 10px;
  background: rgba(138,43,226,.15); border: 1px solid var(--border);
  color: var(--purple);
}
.expert-actions { display: flex; gap: 10px; justify-content: center; }
.btn-sm {
  padding: 6px 16px; border-radius: 16px; font-size: .82rem;
  cursor: pointer; transition: all .25s; border: none;
}
.btn-sm-primary { background: var(--grad); color: #fff; }
.btn-sm-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn-sm-outline:hover { border-color: var(--pink); color: var(--pink); }

/* ===================== COMMUNITY / AI SECTION ===================== */
.ai-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
}
.ai-card {
  background: var(--grad2); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--border);
  transition: all .3s;
}
.ai-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(245,166,35,.15); }
.ai-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #F5A623, #e8830a);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.ai-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ai-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ===================== REVIEWS ===================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--card); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--border);
  transition: all .3s;
}
.review-card:hover { border-color: var(--gold); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; color: #fff;
  font-weight: 700; flex-shrink: 0;
}
.review-user-info { flex: 1; }
.review-name { font-size: .95rem; font-weight: 600; }
.review-date { font-size: .78rem; color: var(--muted); }
.review-stars { color: var(--gold); font-size: .9rem; }
.review-text { font-size: .88rem; color: #c8b8e0; line-height: 1.7; }
.review-tag {
  display: inline-block; margin-top: 10px;
  font-size: .75rem; padding: 2px 10px; border-radius: 10px;
  background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.3);
  color: var(--gold);
}

/* ===================== FAQ ===================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 12px;
  overflow: hidden; transition: border-color .25s;
}
.faq-item.open { border-color: var(--purple); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer;
  font-size: .95rem; font-weight: 600;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--dark3); display: flex; align-items: center;
  justify-content: center; color: var(--purple); font-size: 1.1rem;
  transition: transform .3s; flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  font-size: .9rem; color: var(--muted); line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 18px; }

/* ===================== PARTNERS ===================== */
.partners-grid {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.partner-item {
  background: var(--card); border-radius: 10px;
  padding: 16px 28px; border: 1px solid var(--border);
  font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: all .25s; cursor: pointer;
}
.partner-item:hover { border-color: var(--purple); color: var(--text); }

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.contact-card {
  background: var(--card); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
}
.contact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; }
.ci-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(138,43,226,.15); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.ci-label { font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.ci-value { font-size: .9rem; font-weight: 500; }
.qr-row { display: flex; gap: 20px; margin-top: 20px; }
.qr-item { text-align: center; }
.qr-item img { width: 100px; height: 100px; border-radius: 8px; border: 1px solid var(--border); }
.qr-item p { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ===================== HOW TO JOIN ===================== */
.howto-steps {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px; counter-reset: step;
}
.howto-step {
  background: var(--card); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--border);
  position: relative; text-align: center;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800;
  font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 14px;
}
.howto-step h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.howto-step p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ===================== SHARE BAR ===================== */
.share-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--border);
  margin-top: 40px;
}
.share-label { font-size: .88rem; color: var(--muted); }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--muted);
  font-size: .82rem; cursor: pointer; transition: all .25s;
  background: var(--card);
}
.share-btn:hover { border-color: var(--pink); color: var(--pink); }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 56px 20px 24px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-wrap img { height: 40px; }
.footer-brand p { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--dark3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; cursor: pointer; transition: all .25s;
}
.social-btn:hover { background: var(--grad); border-color: transparent; }
.footer-col h4 { font-size: .95rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--pink); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: var(--muted);
}
.footer-cert { display: flex; align-items: center; gap: 16px; }
.cert-item { display: flex; align-items: center; gap: 6px; }
.cert-icon { font-size: .9rem; }
.footer-qr-row { display: flex; gap: 20px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 6px; border: 1px solid var(--border); }
.footer-qr-item p { font-size: .72rem; color: var(--muted); margin-top: 4px; }

/* ===================== EEAT BAR ===================== */
.eeat-bar {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 20px;
}
.eeat-bar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.eeat-item { display: flex; align-items: center; gap: 10px; }
.eeat-icon { font-size: 1.3rem; }
.eeat-title { font-size: .88rem; font-weight: 700; }
.eeat-desc { font-size: .78rem; color: var(--muted); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { padding: 14px 20px; background: var(--dark2); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; font-size: .82rem; color: var(--muted); }
.breadcrumb-inner a { color: var(--muted); }
.breadcrumb-inner a:hover { color: var(--pink); }
.breadcrumb-inner span { color: var(--text); }

/* ===================== BACK TO TOP ===================== */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(138,43,226,.4);
  opacity: 0; transform: translateY(20px);
  transition: all .3s; border: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); }

/* ===================== LIVE BADGE ===================== */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(220,60,120,.15); border: 1px solid var(--pink);
  border-radius: 12px; padding: 3px 10px;
  font-size: .75rem; color: var(--pink);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink); animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

/* ===================== SECTION BG VARIANTS ===================== */
.bg-alt { background: var(--dark2); }
.bg-dark { background: var(--dark); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: rgba(13,13,20,.98);
    padding: 16px; border-bottom: 1px solid var(--border); gap: 4px; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-search { display: none; }
  .hero-content { padding-left: 20px; }
  .hero-stats { gap: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .search-hot-tags { display: none; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr 1fr; }
}

/* ===================== UTILITY ===================== */
.text-grad { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); vertical-align: middle; margin: 0 6px; }

/* ===================== VIDEO SECTION SPECIAL ===================== */
.section-video-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; color: var(--pink); font-weight: 600;
  margin-bottom: 6px;
}
.section-video-label::before { content: "▶"; }

/* ---- Lazy load placeholder ---- */
img[data-src] { background: var(--dark3); min-height: 80px; }

/* ---- Community cards ---- */
.community-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.community-card {
  background: var(--card); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
  transition: all .3s; text-align: center;
}
.community-card:hover { border-color: var(--pink); transform: translateY(-3px); }
.community-card .icon { font-size: 2rem; margin-bottom: 10px; }
.community-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.community-card p { font-size: .82rem; color: var(--muted); }
.count { font-size: 1.2rem; font-weight: 800; color: var(--pink); }

/* ---- Editorial steps ---- */
.editorial-steps { display: flex; flex-direction: column; gap: 16px; }
.editorial-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border-radius: var(--radius);
  padding: 20px; border: 1px solid var(--border);
}
.editorial-box { flex: 1; }
.editorial-box h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.editorial-box p { font-size: .85rem; color: var(--muted); }
