/* entertainment_b 风格 (gossip 站 - 网红/粉丝)
   主题: 紫黑渐变 / 列表式 / 暗色潮流风
   区别: 整体暗色调 + 紫色高光, 适合"网红揭秘"调性
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: #e2e8f0;
  background: #1a1a2e;
  background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

/* 顶部横幅 */
.banner-top { padding: 14px 0; text-align: center; }
.banner-top .banner-content {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 728px; width: 100%; height: 90px; padding: 0 24px;
  border-radius: 4px;
  color: white; font-size: 18px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s;
  border: 2px solid rgba(255,255,255,0.2);
}
.banner-top .banner-content:hover { transform: scale(1.02); }

/* 通用横幅 */
.banner-wrap { display: block; }
.banner-link { display: block; text-decoration: none; }
.banner-content {
  display: inline-flex; align-items: center; padding: 12px 20px;
  border-radius: 4px; color: white; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.banner-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}
.banner-icon { font-size: 24px; margin-right: 12px; }
.banner-arrow { font-size: 22px; margin-left: 12px; transition: transform 0.2s; }
.banner-content:hover .banner-arrow { transform: translateX(4px); }

.banner-sidebar {
  position: fixed; right: 20px; bottom: 100px; width: 300px; z-index: 100;
}
.banner-sidebar .banner-content {
  display: flex; width: 300px; height: 250px; flex-direction: column;
  justify-content: center; padding: 20px; text-align: center;
  border: 2px solid rgba(255,255,255,0.2);
}
.banner-sidebar .banner-icon { font-size: 40px; margin-bottom: 12px; }
.banner-sidebar .banner-text-block { flex: 1; display: flex; align-items: center; justify-content: center; }

.banner-bottom { margin: 40px 0; text-align: center; }
.banner-bottom .banner-content {
  width: 100%; max-width: 728px; height: 90px; justify-content: center;
}

.banner-inline {
  margin: 30px 0; padding: 16px; background: rgba(124, 58, 237, 0.1);
  border-radius: 4px; text-align: center; border-left: 4px solid var(--primary);
}
.banner-inline .banner-content {
  width: 100%; height: 60px; justify-content: center; font-size: 16px;
}

/* 弹窗 */
.banner-popup {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.banner-popup-mask {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
}
.banner-popup-content {
  position: relative; width: 480px; max-width: 90vw; padding: 32px 40px;
  background: #16213e; border-radius: 4px;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.5);
  text-align: center; z-index: 1; color: #e2e8f0;
}
.popup-cta {
  display: inline-block; padding: 14px 32px;
  background: var(--primary); color: white !important;
  border-radius: 4px; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: background 0.2s;
}
.popup-cta:hover { background: var(--accent); }
.banner-popup-close {
  position: absolute; top: 12px; right: 16px;
  width: 32px; height: 32px; background: transparent; border: none;
  font-size: 24px; color: #a0aec0; cursor: pointer;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(124, 58, 237, 0.3);
  padding: 20px 0; background: rgba(22, 33, 62, 0.95);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-header .logo { display: flex; flex-direction: column; text-decoration: none; }
.site-header .logo .site-name { font-size: 22px; font-weight: 700; color: var(--primary) !important; }
.site-header .logo small { font-size: 11px; color: #718096; letter-spacing: 1px; text-transform: uppercase; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a { text-decoration: none; color: #cbd5e0; font-weight: 500; transition: color 0.2s; }
.site-header nav a:hover { color: var(--primary); }

main { padding: 30px 20px; min-height: 60vh; }

.hero { text-align: center; padding: 40px 0 30px; }
.hero h1 { font-size: 36px; margin-bottom: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .subtitle { font-size: 16px; color: #a0aec0; margin-bottom: 8px; }
.hero .stats { font-size: 13px; color: #718096; }

.section-title {
  font-size: 22px; margin: 30px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 40px;
}
.article-card {
  padding: 20px;
  background: rgba(22, 33, 62, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 4px; text-decoration: none; color: #e2e8f0;
  transition: all 0.2s;
}
.article-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
}
.article-card.popular { border-left: 4px solid var(--primary); }
.article-card h3 { font-size: 16px; margin-bottom: 12px; line-height: 1.5; }
.article-card .meta { font-size: 12px; color: #718096; display: flex; gap: 12px; }

.article-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.article-item {
  padding: 20px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}
.article-item:last-child { border-bottom: none; }
.article-item a { text-decoration: none; color: inherit; display: block; }
.article-item h3 { font-size: 18px; margin-bottom: 8px; color: #f7fafc; }
.article-item:hover h3 { color: var(--primary); }
.article-item .excerpt {
  font-size: 14px; color: #a0aec0; margin-bottom: 8px;
  line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-item .meta { font-size: 12px; color: #718096; display: flex; gap: 16px; align-items: center; }
.article-item .tags { display: flex; gap: 6px; }
.tag-pill {
  display: inline-block; padding: 2px 10px; font-size: 11px;
  border-radius: 12px; color: white !important; background: var(--primary);
}

.article-detail { max-width: 800px; margin: 0 auto; background: rgba(22, 33, 62, 0.4); padding: 20px; border-radius: 4px; }
.article-header { padding: 30px 0 20px; border-bottom: 1px solid rgba(124, 58, 237, 0.3); margin-bottom: 30px; }
.article-header h1 { font-size: 32px; line-height: 1.4; margin-bottom: 16px; color: #f7fafc; }
.article-header .meta { font-size: 13px; color: #718096; display: flex; gap: 16px; }
.article-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.article-content { font-size: 16px; line-height: 1.9; color: #cbd5e0; }
.article-content h1, .article-content h2, .article-content h3 {
  margin: 30px 0 16px; line-height: 1.4; color: #f7fafc;
}
.article-content h2 {
  font-size: 24px; padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.article-content h3 { font-size: 19px; }
.article-content p { margin-bottom: 16px; text-align: justify; }
.article-content ul, .article-content ol { margin: 16px 0 16px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: #f7fafc; }
.article-content blockquote {
  border-left: 4px solid var(--primary); padding: 12px 20px; margin: 20px 0;
  background: rgba(124, 58, 237, 0.1); color: #e2e8f0; font-style: italic;
}

.disclaimer {
  margin: 40px 0; padding: 16px 20px;
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid #f59e0b; border-radius: 4px;
}
.disclaimer p { font-size: 13px; color: #fbbf24; margin: 0; }

.related-articles {
  max-width: 800px; margin: 40px auto 0; padding: 20px;
  background: rgba(124, 58, 237, 0.05); border-radius: 4px;
}
.related-articles h3 { font-size: 18px; margin-bottom: 16px; color: #f7fafc; }
.related-articles ul { list-style: none; }
.related-articles li { padding: 8px 0; border-bottom: 1px solid rgba(124, 58, 237, 0.15); }
.related-articles a { color: #cbd5e0; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.related-articles a:hover { color: var(--primary); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 40px 0; }
.pagination a {
  padding: 8px 20px; border: 1px solid var(--primary);
  border-radius: 4px; text-decoration: none; color: var(--primary);
}
.pagination a:hover { background: var(--primary); color: white; }
.pagination span { color: #718096; font-size: 14px; }

.empty-state, .error-page { text-align: center; padding: 80px 20px; color: #718096; }
.error-page h1 { font-size: 80px; color: var(--primary); margin-bottom: 16px; }
.error-page a { color: var(--primary); text-decoration: none; }

.about-content { max-width: 720px; margin: 0 auto; padding: 20px 0; }
.about-content h1 { font-size: 28px; margin-bottom: 24px; }
.about-content h2 { font-size: 20px; margin: 24px 0 12px; color: var(--primary); }
.about-content p { margin-bottom: 16px; line-height: 1.8; }
.about-content ul { margin-left: 24px; }
.about-content li { margin-bottom: 8px; }

.cta-section {
  text-align: center; padding: 40px 0;
  border-top: 1px solid rgba(124, 58, 237, 0.3); margin-top: 40px;
}
.cta-section a { font-size: 16px; font-weight: 500; text-decoration: none; color: var(--primary); }

.site-footer {
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  padding: 30px 0; background: rgba(0,0,0,0.3); margin-top: 60px;
}
.site-footer p { text-align: center; font-size: 13px; color: #718096; margin-bottom: 4px; }

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .site-header .container { flex-direction: column; gap: 12px; }
  .hero h1 { font-size: 24px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 22px; }
  .article-content { font-size: 15px; }
  .banner-sidebar { display: none; }
}