/* ============================================================
   星星月团 - 展示网站共享样式
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #07c160;
  --primary-dark: #06ad56;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --text: #1a1a1a;
  --text-soft: #666;
  --text-muted: #999;
  --border: #e8e8e8;
  --radius: 12px;
  --max-width: 1100px;
}
body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ===== 导航栏 ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: var(--text);
}
.logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #2d8cf0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 700;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-soft); font-size: 15px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); opacity: 1; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--primary); border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0d3520 100%);
  color: #fff; text-align: center;
  padding: 80px 24px 70px;
}
.hero h1 {
  font-size: 36px; font-weight: 800; margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero p {
  font-size: 17px; color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto;
}
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--primary); }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* ===== 通用区块 ===== */
.section {
  max-width: var(--max-width); margin: 0 auto;
  padding: 60px 24px;
}
.section-title {
  font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--text-muted); font-size: 15px; margin-bottom: 40px;
}

/* ===== 短剧卡片 ===== */
.drama-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.drama-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.drama-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.drama-cover {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  background: var(--bg-soft);
}
.drama-cover-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px;
}
.drama-info { padding: 12px 14px; }
.drama-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.drama-meta { font-size: 12px; color: var(--text-muted); }

/* ===== 特色卡片 ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* ===== 文章页 ===== */
.article {
  max-width: 800px; margin: 0 auto; padding: 60px 24px;
}
.article h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.article .update-date { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.article h2 { font-size: 19px; font-weight: 600; margin: 28px 0 12px; }
.article p { margin-bottom: 14px; color: var(--text-soft); }
.article ul, .article ol { margin: 0 0 14px 20px; color: var(--text-soft); }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }

/* ===== 联系页 ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 800px; margin: 0 auto;
}
.contact-item {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.contact-item .icon { font-size: 28px; margin-bottom: 12px; }
.contact-item h3 { font-size: 16px; margin-bottom: 6px; }
.contact-item p { font-size: 14px; color: var(--text-soft); }

/* ===== 底部 ===== */
.footer {
  background: #1a1a2e; color: rgba(255,255,255,.6);
  padding: 40px 24px 24px; text-align: center;
}
.footer-links {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-info { font-size: 13px; line-height: 2; }
.footer-info a { color: rgba(255,255,255,.6); }
.footer-copyright { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.4); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
  .section { padding: 40px 16px; }
  .drama-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .article { padding: 40px 16px; }
}
