/* ========== 校花传媒 - 原创样式表 ========== */
/* 配色方案：玫瑰粉#E91E8C 深紫#2D1B4E 暖金#D4A853 浅粉#FFF0F5 深灰#1A1A2E */

:root {
  --primary: #E91E8C;
  --primary-dark: #C4167A;
  --secondary: #2D1B4E;
  --accent: #D4A853;
  --bg-light: #FFF0F5;
  --bg-dark: #1A1A2E;
  --text-dark: #2C2C3A;
  --text-light: #6B6B80;
  --text-white: #FFFFFF;
  --card-bg: #FFFFFF;
  --border: #F0D4E8;
  --gradient-pink: linear-gradient(135deg, #E91E8C 0%, #FF6B9D 100%);
  --gradient-purple: linear-gradient(135deg, #2D1B4E 0%, #4A2D7A 100%);
  --gradient-warm: linear-gradient(135deg, #D4A853 0%, #F0C878 100%);
  --shadow-sm: 0 2px 8px rgba(233,30,140,0.08);
  --shadow-md: 0 4px 20px rgba(233,30,140,0.12);
  --shadow-lg: 0 8px 40px rgba(233,30,140,0.16);
  --radius: 12px;
  --radius-lg: 20px;
}

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

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

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

a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }

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

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

/* ===== 头部导航 ===== */
.site-header {
  background: var(--text-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area .favicon { width: 32px; height: 32px; border-radius: 6px; }
.logo-area .logo-img { height: 38px; width: auto; }
.logo-area .brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-main { display: flex; gap: 6px; list-style: none; }
.nav-main a {
  display: block;
  padding: 8px 16px;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
}
.nav-main a:hover, .nav-main a.active {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* ===== 搜索栏 ===== */
.search-bar {
  background: var(--secondary);
  padding: 14px 0;
}

.search-form {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.12);
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.search-form input {
  flex: 1;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.search-form input::placeholder { color: rgba(255,255,255,0.5); }

.search-form button {
  padding: 12px 28px;
  background: var(--gradient-pink);
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}
.search-form button:hover { opacity: 0.9; }

/* ===== Banner ===== */
.hero-banner {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-banner .banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.3;
}

.hero-content h1 span { color: var(--accent); }

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gradient-pink);
  color: #fff;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233,30,140,0.35);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ===== 通用模块 ===== */
.section { padding: 70px 0; }
.section-alt { background: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-dark);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.3s;
}
.video-card:hover .play-btn { opacity: 1; }

.play-btn::after {
  content: "";
  width: 56px;
  height: 56px;
  background: var(--gradient-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(233,30,140,0.4);
}

.play-btn::after {
  content: "\25B6";
  color: #fff;
  font-size: 1.2rem;
  line-height: 56px;
  text-align: center;
}

.duration-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.video-info { padding: 16px; }
.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-stats {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.video-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.video-tags span {
  padding: 3px 10px;
  background: var(--bg-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ===== 服务卡片 ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--bg-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== 娱乐专区 ===== */
.ent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ent-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.ent-card:hover { transform: translateY(-4px); }

.ent-card .ent-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.ent-card .ent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.ent-card:hover .ent-img img { transform: scale(1.05); }

.ent-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-pink);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.ent-card .ent-info { padding: 14px; }
.ent-card .ent-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.ent-card .ent-info p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== AI赋能 ===== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-card {
  background: var(--gradient-purple);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(233,30,140,0.15);
  border-radius: 50%;
}

.ai-card .ai-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.ai-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.ai-card p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ===== 社区 ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.comm-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.comm-card:hover { transform: translateY(-3px); }

.comm-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--bg-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.comm-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.comm-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.expert-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s;
}
.expert-card:hover { transform: translateY(-4px); }

.expert-card .expert-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.expert-card .expert-info { padding: 18px 14px; }
.expert-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}
.expert-card .expert-title {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}
.expert-card .expert-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.expert-btns { display: flex; gap: 8px; justify-content: center; padding: 0 14px 18px; }
.expert-btns a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}
.expert-btns .btn-sm-primary {
  background: var(--gradient-pink);
  color: #fff;
}
.expert-btns .btn-sm-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* ===== HowTo指南 ===== */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.howto-step {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--gradient-pink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.howto-step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}

.howto-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== 合作品牌 ===== */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.partner-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 18px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.partner-item:hover {
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== 用户评价 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-name {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.review-stars {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
}

/* ===== 分享按钮 ===== */
.share-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 24px 0;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.3s;
}
.share-btn:hover { transform: scale(1.1); }
.share-btn[data-platform="wechat"] { background: #07C160; }
.share-btn[data-platform="weibo"] { background: #E6162D; }
.share-btn[data-platform="douyin"] { background: #1A1A2E; }
.share-btn[data-platform="bilibili"] { background: #00A1D6; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand .footer-logo { height: 36px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.footer-qr img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  text-align: center;
  font-size: 0.82rem;
  margin-top: 40px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}
.footer-links a:hover { color: var(--primary); }

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ===== 文章元信息 ===== */
.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 10px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== 干扰标签隐藏 ===== */
.noise-wrap {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ===== 内页通用 ===== */
.page-hero {
  background: var(--gradient-purple);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.content-section { padding: 50px 0; }
.content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}
.content-section p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-main {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-main.show { display: flex; }
  .mobile-toggle { display: block; }

  .hero-banner { height: 400px; }
  .hero-content h1 { font-size: 1.8rem; }

  .video-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 40px 0; }
  .section-header h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .ent-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
