/* ============================================
   17c一起草 品牌主题网站 - 原创样式表
   影视传媒 + 动漫社区
   域名: 858393.cn
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --primary: #1A0B2E;
  --secondary: #FF6B35;
  --accent: #00D4AA;
  --bg-dark: #0D0D1A;
  --text-light: #E8E6F0;
  --card-bg: #1E1433;
  --gradient-start: #FF6B35;
  --gradient-end: #FF3CAC;
  --border-glow: rgba(0, 212, 170, 0.3);
  --shadow-purple: rgba(26, 11, 46, 0.8);
  --font-main: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.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(13, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  transition: background 0.3s ease;
}

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

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

.logo-img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 107, 53, 0.15);
  color: var(--secondary);
}

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

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === 搜索框 === */
.search-bar-wrap {
  background: var(--primary);
  padding: 12px 0;
  margin-top: 62px;
  border-bottom: 1px solid rgba(0, 212, 170, 0.15);
}

.search-bar {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar input {
  flex: 1;
  padding: 10px 18px;
  border: 1px solid var(--border-glow);
  border-radius: 24px 0 0 24px;
  background: rgba(30, 20, 51, 0.8);
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-bar input:focus {
  border-color: var(--accent);
}

.search-bar input::placeholder {
  color: rgba(232, 230, 240, 0.4);
}

.search-bar button {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  color: #fff;
  border: none;
  border-radius: 0 24px 24px 0;
  cursor: pointer;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.search-bar button:hover {
  opacity: 0.85;
}

/* === Hero Banner === */
.hero-section {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.20yum3 {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.20yum3 h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.20yum3 h1 .9vw6v {
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.20yum3 p {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 24px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* === 通用区块标题 === */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  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, var(--secondary), var(--accent));
  border-radius: 2px;
}

.section-title p {
  color: rgba(232, 230, 240, 0.65);
  font-size: 1rem;
  margin-top: 16px;
}

/* === 区块通用 === */
.section-block {
  padding: 72px 0;
}

.section-block:nth-child(even) {
  background: rgba(26, 11, 46, 0.3);
}

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

.video-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.video-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.play-btn-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 26, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

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

.video-info {
  padding: 16px;
}

.video-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(232, 230, 240, 0.5);
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.video-tags span {
  padding: 2px 10px;
  background: rgba(0, 212, 170, 0.12);
  color: var(--accent);
  border-radius: 12px;
  font-size: 0.75rem;
}

/* === 特色模块网格 === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(0, 212, 170, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(232, 230, 240, 0.6);
  line-height: 1.6;
}

/* === AI赋能区块 === */
.4s8kbj48 {
  position: relative;
  overflow: hidden;
}

.4s8kbj48 .1tf306 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.emfueqr {
  position: relative;
  z-index: 2;
}

.yqjxv5v8 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.2vntj {
  background: rgba(30, 20, 51, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.2vntj:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.2vntj h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.2vntj p {
  font-size: 0.9rem;
  color: rgba(232, 230, 240, 0.65);
}

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

.expert-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.expert-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--border-glow);
}

.expert-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.expert-card .role {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.expert-card p {
  font-size: 0.82rem;
  color: rgba(232, 230, 240, 0.55);
  margin-bottom: 14px;
}

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

.expert-btns a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid var(--border-glow);
  color: var(--text-light);
  transition: all 0.3s ease;
}

.expert-btns a:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

/* === 合作品牌 === */
.hm610 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.hm610 .d2rnx9r {
  padding: 16px 28px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 170, 0.08);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(232, 230, 240, 0.5);
  transition: all 0.3s ease;
}

.hm610 .d2rnx9r:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

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

.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 107, 53, 0.08);
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--secondary);
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: rgba(232, 230, 240, 0.65);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}

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

.review-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
}

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

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

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-stars {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-left: auto;
}

.review-card p {
  font-size: 0.9rem;
  color: rgba(232, 230, 240, 0.65);
  line-height: 1.7;
}

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

.howto-step {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--secondary), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  line-height: 32px;
}

.howto-step h3 {
  font-size: 1.05rem;
  margin: 8px 0;
}

.howto-step p {
  font-size: 0.85rem;
  color: rgba(232, 230, 240, 0.55);
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 170, 0.1);
  border-radius: 14px;
  padding: 32px;
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.contact-item .label {
  font-weight: 600;
  min-width: 80px;
  color: var(--accent);
}

/* === 社交分享 === */
.ia7kq6 {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.b9226lj {
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--text-light);
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.b9226lj:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* === 页脚 === */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--border-glow);
  padding: 48px 0 24px;
}

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

.footer-brand .footer-logo {
  height: 36px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(232, 230, 240, 0.5);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

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

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

.footer-col ul li a {
  color: rgba(232, 230, 240, 0.55);
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-qr {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 212, 170, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(232, 230, 240, 0.4);
}

.footer-bottom a {
  color: rgba(232, 230, 240, 0.5);
}

/* === 面包屑 === */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: rgba(232, 230, 240, 0.5);
}

.breadcrumb a {
  color: rgba(232, 230, 240, 0.6);
}

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

.breadcrumb span {
  margin: 0 8px;
  color: rgba(232, 230, 240, 0.3);
}

/* === 内页Banner === */
.page-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 62px;
}

.page-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-banner .banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.page-banner p {
  font-size: 1.05rem;
  opacity: 0.8;
}

/* === 内容文章 === */
.content-section {
  padding: 48px 0;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
  color: var(--secondary);
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
  color: rgba(232, 230, 240, 0.75);
  line-height: 1.8;
}

/* === 响应式 === */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-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) {
  .main-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 26, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-glow);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    height: 380px;
  }

  .20yum3 h1 {
    font-size: 1.8rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .yqjxv5v8 {
    grid-template-columns: 1fr;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .howto-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .page-banner {
    height: 220px;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .20yum3 h1 {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
}

/* === 懒加载占位 === */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* === 动画 === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ua0rx8l {
  animation: fadeInUp 0.6s ease forwards;
}

/* === MCP服务前端占位 === */
.jbb4i {
  background: var(--card-bg);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

.jbb4i h4 {
  color: var(--accent);
  margin-bottom: 8px;
}

.jbb4i p {
  font-size: 0.85rem;
  color: rgba(232, 230, 240, 0.5);
}
