/* 17c一起草视频 - 影视网站样式 */
:root {
  --primary-color: #e50914;
  --primary-dark: #b20710;
  --bg-dark: #141414;
  --bg-card: #1f1f1f;
  --bg-hover: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #808080;
  --accent: #46d369;
  --border-color: #333333;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* 头部导航 */
.header {
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  transition: background 0.3s;
}

.header.scrolled {
  background: var(--bg-dark);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* 主内容区 */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 60px;
}

/* 首页介绍区 */
.intro-section {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.intro-section p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  text-align: justify;
}

.intro-section p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

/* 平台特色区 */
.feature-section {
  margin-bottom: 50px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.feature-item {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.feature-link {
  color: var(--primary-color);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.feature-link:hover {
  color: var(--primary-dark);
}

/* 快速导航区 */
.quick-links-section {
  margin-top: 50px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.quick-link-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  border: 1px solid var(--border-color);
}

.quick-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.quick-link-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.quick-link-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 页面标题 */
.page-title {
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary-color);
}

/* Hero 区域 */
.hero {
  position: relative;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* 卡片列表 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 内容页 */
.article-header {
  margin-bottom: 30px;
}

.article-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.article-content h2 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--primary-color);
}

.article-content p {
  margin-bottom: 18px;
  color: var(--text-secondary);
  text-align: justify;
}

.article-content .intro {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.article-img {
  margin: 25px 0;
  border-radius: 8px;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  border-radius: 8px;
}

/* 页脚 */
.footer {
  background: var(--bg-card);
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 面包屑 */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
}

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

/* 响应式 - 移动端 */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }
  
  .nav {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .main {
    padding: 100px 15px 40px;
  }
  
  .page-title,
  .section-title {
    font-size: 1.5rem;
  }
  
  .intro-section {
    padding: 25px;
  }
  
  .hero {
    height: 250px;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .hero-overlay {
    padding: 30px 20px 20px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .article-content {
    padding: 20px;
  }
  
  .article-title {
    font-size: 1.4rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }
  
  .quick-links {
    grid-template-columns: 1fr;
  }
  
  .article-content {
    padding: 15px;
  }
}
