/* ============================================
   17c一起草 - 原创样式表
   品牌色系：糖心粉红 #E8456B / 深夜蓝 #1A1A2E / 暖橙 #FFB347
   125913.cn
   ============================================ */

/* === 基础重置与全局 === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #2D2D3A;
  background: #F5F0EB;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: #E8456B; text-decoration: none; transition: color .3s; }
a:hover { color: #FFB347; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === 顶部导航 === */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26,26,46,.95); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
  transition: background .3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 68px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span {
  font-size: 1.3rem; font-weight: 700; color: #FFB347;
  letter-spacing: 1px;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #ddd; font-size: .92rem; padding: 8px 14px;
  border-radius: 6px; transition: all .3s; position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: #FFB347; background: rgba(255,179,71,.1);
}
.search-box {
  display: flex; align-items: center; background: rgba(255,255,255,.1);
  border-radius: 20px; padding: 4px 12px; margin-left: 12px;
}
.search-box input {
  background: transparent; border: none; outline: none;
  color: #fff; font-size: .88rem; width: 140px; padding: 4px 8px;
}
.search-box input::placeholder { color: rgba(255,255,255,.5); }
.search-box button {
  background: none; border: none; color: #FFB347; cursor: pointer;
  font-size: 1rem; padding: 4px;
}
.mobile-toggle {
  display: none; background: none; border: none; color: #FFB347;
  font-size: 1.5rem; cursor: pointer;
}

/* === Hero Banner === */
.hero-section {
  margin-top: 68px; position: relative; overflow: hidden;
  height: 520px; background: #1A1A2E;
}
.hero-section .hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .6;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,.8) 0%, rgba(232,69,107,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; height: 100%;
  text-align: center; color: #fff; 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,.3);
}
.hero-content h1 em {
  font-style: normal; color: #FFB347;
}
.hero-content p {
  font-size: 1.15rem; max-width: 680px; margin-bottom: 28px;
  opacity: .9; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-block; padding: 12px 32px; background: linear-gradient(135deg, #E8456B, #FFB347);
  color: #fff; border-radius: 30px; font-weight: 600; font-size: 1rem;
  box-shadow: 0 4px 20px rgba(232,69,107,.4); transition: all .3s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 6px 28px rgba(232,69,107,.5);
  color: #fff;
}
.btn-outline {
  display: inline-block; padding: 12px 32px;
  border: 2px solid rgba(255,255,255,.5); color: #fff;
  border-radius: 30px; font-weight: 600; font-size: 1rem;
  transition: all .3s; cursor: pointer; background: transparent;
}
.btn-outline:hover {
  border-color: #FFB347; color: #FFB347;
}

/* === 通用区块标题 === */
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem; font-weight: 700; color: #1A1A2E;
  margin-bottom: 12px; position: relative; display: inline-block;
}
.section-title h2::after {
  content: ''; position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px;
  background: linear-gradient(90deg, #E8456B, #FFB347);
  border-radius: 2px;
}
.section-title p {
  color: #666; font-size: 1rem; margin-top: 16px; max-width: 600px;
  margin-left: auto; margin-right: auto;
}

/* === 视频卡片网格 === */
.video-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.video-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all .3s; cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(232,69,107,.15);
}
.video-thumb {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 56px; height: 56px;
  background: rgba(232,69,107,.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all .3s;
}
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-left: 18px solid #fff; border-top: 11px solid transparent;
  border-bottom: 11px solid transparent; margin-left: 4px;
}
.video-card:hover .play-btn { opacity: 1; }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.7); color: #fff; font-size: .75rem;
  padding: 2px 8px; border-radius: 4px;
}
.video-info { padding: 14px 16px; }
.video-info h3 {
  font-size: .95rem; font-weight: 600; color: #1A1A2E;
  margin-bottom: 8px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .8rem; color: #999;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.video-tags span {
  font-size: .72rem; padding: 2px 8px; border-radius: 10px;
  background: rgba(232,69,107,.08); color: #E8456B;
}

/* === 栏目区块 === */
.section-block {
  padding: 72px 0;
}
.section-block:nth-child(even) {
  background: #fff;
}
.section-block.dark-bg {
  background: #1A1A2E; color: #fff;
}
.section-block.dark-bg .section-title h2 { color: #fff; }
.section-block.dark-bg .section-title p { color: rgba(255,255,255,.7); }

/* === 电竞传媒 === */
.esports-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.esports-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: all .3s;
}
.esports-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,69,107,.12);
}
.esports-card .card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.esports-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.esports-card:hover .card-img img { transform: scale(1.05); }
.esports-card .card-body { padding: 18px; }
.esports-card .card-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: #1A1A2E; }
.esports-card .card-body p { font-size: .88rem; color: #666; line-height: 1.7; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #E8456B, #FFB347);
  color: #fff; font-size: .75rem; padding: 3px 10px;
  border-radius: 12px; font-weight: 600;
}

/* === 娱乐专区 === */
.entertainment-flex {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.ent-main { flex: 2; min-width: 300px; }
.ent-sidebar { flex: 1; min-width: 260px; }
.ent-featured {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.ent-featured .card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.ent-featured .card-img img { width: 100%; height: 100%; object-fit: cover; }
.ent-featured .card-body { padding: 20px; }
.ent-featured .card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.ent-list { display: flex; flex-direction: column; gap: 16px; }
.ent-item {
  display: flex; gap: 14px; background: #fff;
  border-radius: 10px; padding: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: all .3s;
}
.ent-item:hover { box-shadow: 0 4px 16px rgba(232,69,107,.1); }
.ent-item img { width: 100px; height: 70px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.ent-item-info h4 { font-size: .9rem; color: #1A1A2E; margin-bottom: 4px; }
.ent-item-info p { font-size: .78rem; color: #999; }

/* === AI赋能 === */
.ai-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.ai-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  transition: all .3s;
}
.ai-card:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(232,69,107,.2);
}
.ai-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, #E8456B, #FFB347);
  border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem;
}
.ai-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: #fff; }
.ai-card p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.7; }

/* === 社区功能 === */
.community-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.community-card {
  display: flex; gap: 20px; background: #fff; border-radius: 12px;
  padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all .3s;
}
.community-card:hover {
  box-shadow: 0 8px 24px rgba(232,69,107,.12);
  transform: translateY(-3px);
}
.community-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, #E8456B, #FFB347);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; color: #fff;
}
.community-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: #1A1A2E; }
.community-card p { font-size: .88rem; color: #666; line-height: 1.7; }

/* === 专家展示 === */
.experts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.expert-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); text-align: center;
  transition: all .3s;
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,69,107,.12);
}
.expert-avatar {
  width: 100%; aspect-ratio: 1; overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.expert-card:hover .expert-avatar img { transform: scale(1.05); }
.expert-info { padding: 18px; }
.expert-info h3 { font-size: 1.05rem; color: #1A1A2E; margin-bottom: 4px; }
.expert-info .expert-title { font-size: .82rem; color: #E8456B; margin-bottom: 8px; }
.expert-info p { font-size: .82rem; color: #666; line-height: 1.6; }
.expert-btns { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.expert-btns a {
  font-size: .78rem; padding: 5px 14px; border-radius: 16px;
  border: 1px solid #E8456B; color: #E8456B; transition: all .3s;
}
.expert-btns a:hover { background: #E8456B; color: #fff; }

/* === 合作品牌 === */
.partner-wall {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center; align-items: center;
}
.partner-item {
  width: 140px; height: 70px; background: #fff;
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: all .3s; padding: 12px;
  font-weight: 600; color: #999; font-size: .85rem;
}
.partner-item:hover {
  box-shadow: 0 4px 16px rgba(232,69,107,.12);
  color: #E8456B;
}

/* === 用户评价 === */
.reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.review-card {
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all .3s;
}
.review-card:hover { box-shadow: 0 8px 24px rgba(232,69,107,.1); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #E8456B, #FFB347);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.review-name { font-weight: 600; color: #1A1A2E; }
.review-date { font-size: .78rem; color: #999; }
.review-stars { color: #FFB347; font-size: .9rem; margin-bottom: 10px; }
.review-text { font-size: .9rem; color: #555; line-height: 1.8; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 10px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04); overflow: hidden;
}
.faq-question {
  padding: 18px 24px; font-weight: 600; color: #1A1A2E;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; transition: background .3s;
}
.faq-question:hover { background: rgba(232,69,107,.04); }
.faq-question .arrow { transition: transform .3s; color: #E8456B; }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: all .3s ease;
}
.faq-item.active .faq-answer {
  padding: 0 24px 18px; max-height: 300px;
}
.faq-answer p { font-size: .9rem; color: #666; line-height: 1.8; }

/* === 联系我们 === */
.contact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.contact-info-card {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.contact-info-card h3 {
  font-size: 1.15rem; color: #1A1A2E; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid rgba(232,69,107,.2);
}
.contact-item {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: .9rem; color: #555;
}
.contact-item strong { color: #1A1A2E; min-width: 70px; }

/* === How-To指南 === */
.howto-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.howto-step {
  text-align: center; background: #fff; border-radius: 12px;
  padding: 28px 20px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: all .3s;
}
.howto-step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(232,69,107,.12); }
.step-number {
  width: 48px; height: 48px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #E8456B, #FFB347);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700;
  font-size: 1.2rem;
}
.howto-step h4 { font-size: 1rem; color: #1A1A2E; margin-bottom: 8px; }
.howto-step p { font-size: .85rem; color: #666; line-height: 1.6; }

/* === 社交分享 === */
.share-bar {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-top: 24px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 20px; font-size: .85rem;
  color: #fff; transition: all .3s; cursor: pointer; border: none;
}
.share-btn:hover { transform: translateY(-2px); opacity: .9; color: #fff; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer {
  background: #1A1A2E; color: rgba(255,255,255,.7);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col h4 {
  color: #FFB347; font-size: 1rem; margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: .85rem; color: rgba(255,255,255,.6);
  line-height: 2;
}
.footer-col a:hover { color: #FFB347; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 36px; }
.footer-logo span { color: #FFB347; font-weight: 700; font-size: 1.1rem; }
.footer-qr { display: flex; gap: 16px; margin-top: 16px; }
.footer-qr img { width: 100px; height: 100px; border-radius: 8px; }
.footer-qr-label { font-size: .75rem; text-align: center; margin-top: 4px; color: rgba(255,255,255,.5); }
.footer-bottom {
  text-align: center; padding: 20px 0;
  font-size: .82rem; color: rgba(255,255,255,.4);
}

/* === 面包屑 === */
.breadcrumb {
  padding: 14px 0; font-size: .85rem; color: #999;
}
.breadcrumb a { color: #E8456B; }
.breadcrumb span { margin: 0 6px; }

/* === 内页Banner === */
.page-banner {
  margin-top: 68px; height: 280px; position: relative;
  overflow: hidden; background: #1A1A2E;
}
.page-banner img {
  width: 100%; height: 100%; object-fit: cover; opacity: .5;
}
.page-banner-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,.8), rgba(232,69,107,.3));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; color: #fff;
}
.page-banner-overlay h1 { font-size: 2.2rem; font-weight: 700; }
.page-banner-overlay p { font-size: 1rem; opacity: .8; margin-top: 8px; }

/* === 数据统计条 === */
.stats-bar {
  display: flex; justify-content: center; gap: 48px;
  padding: 36px 0; background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, #E8456B, #FFB347);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .85rem; color: #999; margin-top: 4px; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-features { 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) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .main-nav.active {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; width: 100%; background: rgba(26,26,46,.98);
    padding: 16px 0; gap: 0;
  }
  .main-nav.active a { padding: 12px 24px; }
  .search-box { display: none; }
  .hero-section { height: 400px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: .95rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .esports-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-features { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; }
  .entertainment-flex { flex-direction: column; }
  .stats-bar { flex-wrap: wrap; gap: 24px; }
  .section-block { padding: 48px 0; }
  .partner-wall { gap: 12px; }
  .partner-item { width: 110px; height: 55px; font-size: .75rem; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .hero-section { height: 340px; }
  .hero-content h1 { font-size: 1.5rem; }
}

/* === 懒加载 === */
img[data-src] { opacity: 0; transition: opacity .5s; }
img[data-src].loaded { opacity: 1; }

/* === 动画 === */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === 滚动条 === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F0EB; }
::-webkit-scrollbar-thumb { background: #E8456B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d13a5e; }
