/* 困困兔 - 现代直播视频风格 CSS (e034wk.cn) */
:root {
  --primary: #9333ea;
  --primary-light: #c084fc;
  --primary-dark: #6b21a8;
  --secondary: #06b6d4;
  --accent: #f43f5e;
  --accent-soft: #ffe4e6;
  --bg-page: #faf8ff;
  --bg-card: #ffffff;
  --bg-section: #f3effe;
  --bg-gradient: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 50%, #f0fdfa 100%);
  --text-primary: #1e1b4b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #c084fc;
  --shadow-sm: 0 2px 10px rgba(147, 51, 234, 0.05);
  --shadow-md: 0 10px 25px rgba(147, 51, 234, 0.08);
  --shadow-hover: 0 14px 30px rgba(147, 51, 234, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.25s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部通知条 */
.top-bar {
  background: linear-gradient(90deg, #9333ea, #ec4899, #06b6d4);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: #fff;
  margin-left: 14px;
  opacity: 0.9;
}

.top-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 顶部导航 */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.35);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span:last-child {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  transition: var(--transition);
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: #7c3aed;
  background: #f3e8ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-login {
  background: #fff;
  border: 1px solid #d8b4fe;
  color: #7c3aed;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-login:hover {
  background: #f5f3ff;
  border-color: #a855f7;
}

.btn-join {
  background: linear-gradient(135deg, #9333ea, #ec4899);
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
  transition: var(--transition);
}

.btn-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #334155;
  border-radius: 2px;
}

/* 头部假搜索框 */
.search-bar {
  background: #ffffff;
  border-bottom: 1px solid #ede9fe;
  padding: 10px 0;
}

.search-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  overflow: hidden;
  transition: var(--transition);
}

.search-inner:focus-within {
  border-color: #c084fc;
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.2);
  background: #fff;
}

.search-inner input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--text-primary);
}

.search-inner button {
  background: linear-gradient(90deg, #9333ea, #ec4899);
  border: none;
  color: #fff;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* 面包屑 */
.breadcrumb {
  background: #f5f3ff;
  border-bottom: 1px solid #ede9fe;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: #6b21a8;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
  color: #cbd5e1;
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.12), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.12), transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  padding: 60px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #be185d;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #1e1b4b;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 16px;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 26px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #ec4899 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.4);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 12px 26px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: #a855f7;
  color: #7c3aed;
  background: #faf5ff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid #ede9fe;
}

.hero-stat .num {
  font-size: 24px;
  font-weight: 900;
  color: #7c3aed;
}

.hero-stat .label {
  font-size: 12px;
  color: #64748b;
}

.hero-visual {
  position: relative;
}

.hero-media-box {
  background: #fff;
  border: 2px solid #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 45px rgba(147, 51, 234, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-media-box img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
}

.floating-chip {
  position: absolute;
  bottom: 26px;
  left: 26px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #fbcfe8;
  padding: 8px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #be185d;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulseAnim 1.4s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* 区域通用 */
.section {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(180deg, #fbfaff 0%, #f7f3ff 100%);
  border-top: 1px solid #ede9fe;
  border-bottom: 1px solid #ede9fe;
}

.section-title {
  text-align: center;
  margin-bottom: 38px;
}

.section-title h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: #1e1b4b;
  margin-bottom: 8px;
}

.section-title h2 span {
  color: #9333ea;
}

.section-title p {
  color: #64748b;
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
}

.section-title-line {
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  margin: 14px auto 0;
  border-radius: 4px;
}

/* 视频卡片 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #ede9fe;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #d8b4fe;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}

.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;
  background: rgba(15, 23, 42, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .video-play-btn {
  opacity: 1;
}

.play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.video-card:hover .play-icon {
  transform: scale(1);
}

.play-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 2px;
}

.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
}

.video-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

.video-meta .views {
  color: #64748b;
}

.video-meta .likes {
  color: #e11d48;
  font-weight: 600;
}

/* 核心功能网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid #ede9fe;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #c084fc;
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1px solid #fce7f3;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1e1b4b;
}

.feature-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
}

/* 专家团队 */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.expert-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #ede9fe;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.expert-card:hover {
  border-color: #d8b4fe;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.expert-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 3px solid #fbcfe8;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.2);
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.expert-card .role {
  color: #9333ea;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.expert-card p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.6;
}

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 14px;
}

.expert-tag {
  background: #f5f3ff;
  border: 1px solid #e9d5ff;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
}

.expert-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.btn-sm {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-sm-primary {
  background: linear-gradient(135deg, #9333ea, #ec4899);
  color: #fff;
}

.btn-sm-outline {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
}

.btn-sm-outline:hover {
  border-color: #a855f7;
  color: #7c3aed;
}

/* 新闻与列表 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #ede9fe;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #d8b4fe;
  box-shadow: var(--shadow-hover);
}

.news-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f1f5f9;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-img img {
  transform: scale(1.04);
}

.news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-cat {
  display: inline-block;
  align-self: flex-start;
  background: #fdf2f8;
  color: #be185d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #fbcfe8;
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #1e293b;
}

.news-body p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #94a3b8;
}

.news-footer a {
  font-weight: 700;
  color: #9333ea;
}

/* 问答列表 */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.qa-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #ede9fe;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.qa-card:hover {
  border-color: #c084fc;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.qa-badge {
  display: inline-block;
  align-self: flex-start;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  color: #0e7490;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.qa-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.5;
}

.qa-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}

/* FAQ 折叠条 */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid #ede9fe;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e1b4b;
}

.faq-q:hover {
  background: #faf5ff;
  color: #7c3aed;
}

.faq-q.open {
  background: #faf5ff;
  color: #7c3aed;
}

.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  border-top: 1px solid #f1f5f9;
}

.faq-a.open {
  display: block;
}

/* 用户口碑 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: #fff;
  border: 1px solid #ede9fe;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 10px;
}

.review-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 14px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.review-user-info .name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.review-user-info .date {
  font-size: 11px;
  color: #94a3b8;
}

/* 合作墙 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.partner-item {
  background: #fff;
  border: 1px solid #ede9fe;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.partner-item:hover {
  border-color: #c084fc;
  color: #7c3aed;
  transform: translateY(-2px);
}

/* 联系与社群入口 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-info {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid #ede9fe;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item .label {
  font-size: 12px;
  color: #94a3b8;
}

.contact-item .value {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.qr-codes {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.qr-item {
  text-align: center;
}

.qr-box {
  width: 104px;
  height: 104px;
  border: 1px solid #ede9fe;
  border-radius: 12px;
  padding: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box svg {
  width: 86px;
  height: 86px;
}

.qr-item p {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
}

.share-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: var(--transition);
}

.share-wechat { background: #07c160; }
.share-weibo { background: #e6162d; }
.share-douyin { background: #111827; }
.share-bilibili { background: #00a1d6; }

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 页面通用布局 */
.page-hero {
  background: linear-gradient(180deg, #fdf4ff 0%, #faf5ff 100%);
  border-bottom: 1px solid #ede9fe;
  padding: 42px 0;
}

.page-hero h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 8px;
  color: #1e1b4b;
}

.page-hero p {
  color: #64748b;
  font-size: 14px;
  max-width: 700px;
}

.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 30px;
  align-items: start;
}

.sidebar-widget {
  background: #fff;
  border: 1px solid #ede9fe;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e1b4b;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 9px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 13px;
}

.sidebar-list li a {
  color: #475569;
  display: flex;
  justify-content: space-between;
}

.sidebar-list li a:hover {
  color: #9333ea;
}

.article-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid #ede9fe;
  box-shadow: var(--shadow-sm);
}

.article-content h1 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: #334155;
}

.article-body h2 {
  font-size: 20px;
  color: #1e1b4b;
  margin: 24px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body img {
  border-radius: 12px;
  margin: 20px 0;
  width: 100%;
}

/* 评论区 */
.comments-section {
  background: #fff;
  border: 1px solid #ede9fe;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.comments-section h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1e1b4b;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f8fafc;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.comment-body .user {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.comment-body .text {
  font-size: 13px;
  color: #475569;
  margin-top: 4px;
}

.comment-body .date {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

/* 页脚 */
footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 48px 0 24px;
  color: #475569;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 13px;
  color: #64748b;
  margin-top: 12px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #64748b;
}

.footer-col ul li a:hover {
  color: #9333ea;
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #94a3b8;
}

/* 响应式 */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #ede9fe;
    flex-direction: column;
    padding: 14px;
    gap: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-login { display: none; }
}
