@charset "utf-8";
/* ============================================
   ggejc.com - 赛博朋克 Cyberpunk
   风格: C(赛博朋克) + H(全屏网格)
   色彩: 10(霓虹渐变 #667eea/#764ba2/#f093fb)
   ============================================ */

:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --accent: #f093fb;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-light: #16213e;
  --bg-white: #ffffff;
  --text-dark: #e0e0e0;
  --text-light: #a0a0a0;
  --text-muted: #6c6c8a;
  --border: #2d2d44;
  --shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  --glow: 0 0 20px rgba(102, 126, 234, 0.5);
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   头部 - 霓虹灯效果
   ============================================ */
.header { background: rgba(15, 15, 26, 0.95); border-bottom: 1px solid var(--primary); box-shadow: var(--glow); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); }
.top_header { max-width: 1400px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.top_header a#logo img { height: 44px; max-width: 160px; }
.header-contact { font-size: 13px; color: var(--text-light); }
.header-contact i { margin-right: 6px; color: var(--accent); }

.nav-warp { background: var(--bg-card); border-bottom: 2px solid var(--border); }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; padding: 0 24px; }
.nav-item { padding: 14px 24px; font-size: 14px; font-weight: 500; color: var(--text-light); letter-spacing: 1px; transition: all 0.3s ease; position: relative; }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--gradient); transition: all 0.3s ease; }
.nav-item:hover::after, .nav-item.active::after { width: 100%; left: 0; }
.nav-item:hover, .nav-item.active { color: var(--accent); }

/* ============================================
   全宽Banner - 故障艺术风格
   ============================================ */
.banner-section { position: relative; height: 480px; overflow: hidden; }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,15,26,0.9) 0%, rgba(102,126,234,0.4) 100%); }
.banner-content { position: absolute; bottom: 60px; left: 0; right: 0; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.banner-card { background: rgba(26, 26, 46, 0.8); border: 1px solid var(--primary); padding: 32px; border-radius: var(--radius-lg); backdrop-filter: blur(10px); max-width: 600px; position: relative; overflow: hidden; }
.banner-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
.banner-badge { display: inline-block; padding: 4px 16px; background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; border-radius: 20px; }
.banner-title { font-size: 32px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 12px; text-shadow: 0 0 20px var(--primary); }
.banner-title:hover { color: var(--accent); }
.banner-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.banner-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); }
.banner-meta i { margin-right: 6px; color: var(--accent); }

/* ============================================
   全屏网格模块
   ============================================ */
.grid-section { padding: 80px 24px; background: var(--bg-dark); }
.grid-container { max-width: 1400px; margin: 0 auto; }
.grid-header { text-align: center; margin-bottom: 48px; }
.grid-header h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; display: inline-block; }
.grid-header h2::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--gradient); }
.grid-header p { font-size: 14px; color: var(--text-muted); margin-top: 16px; }

.grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.grid-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.4s ease; position: relative; }
.grid-item:hover { border-color: var(--primary); transform: translateY(-8px); box-shadow: var(--shadow); }
.grid-item-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.grid-item-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,0.8) 0%, transparent 50%); }
.grid-item-overlay { position: absolute; top: 16px; left: 16px; z-index: 1; }
.grid-item-cat { padding: 4px 12px; background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; border-radius: 20px; }
.grid-item-content { padding: 20px; }
.grid-item-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.grid-item-title:hover { color: var(--accent); }
.grid-item-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.grid-item-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }
.grid-item-meta i { margin-right: 4px; color: var(--accent); }

/* Large featured item - spans 2 columns, normal height */
.grid-item-large { grid-column: span 2; }
.grid-item-large .grid-item-img { height: 240px; }

/* ============================================
   轮播卡片模块
   ============================================ */
.carousel-section { padding: 80px 24px; background: var(--bg-card); }
.carousel-container { max-width: 1400px; margin: 0 auto; }
.carousel-header { text-align: center; margin-bottom: 40px; }
.carousel-header h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.carousel-header h2 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.carousel-wrapper { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 20px; }
.carousel-wrapper::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 320px; scroll-snap-align: start; background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s ease; }
.carousel-item:hover { border-color: var(--primary); transform: scale(1.02); }
.carousel-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.carousel-cat { position: absolute; top: 12px; left: 12px; padding: 4px 12px; background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; border-radius: 20px; }
.carousel-content { padding: 20px; }
.carousel-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.carousel-title:hover { color: var(--accent); }
.carousel-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); }
.carousel-meta i { margin-right: 4px; color: var(--accent); }

/* 轮播导航按钮 */
.carousel-nav { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel-btn { width: 48px; height: 48px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; color: var(--text-light); font-size: 18px; }
.carousel-btn:hover { background: var(--gradient); border-color: transparent; color: #fff; transform: scale(1.1); }

/* ============================================
   数字排名模块
   ============================================ */
.rank-section { padding: 80px 24px; background: var(--bg-dark); }
.rank-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rank-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.rank-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.rank-title { font-size: 20px; font-weight: 700; color: #fff; }
.rank-title i { margin-right: 8px; color: var(--accent); }
.rank-more { font-size: 13px; color: var(--text-muted); }
.rank-more:hover { color: var(--accent); }
.rank-list { }
.rank-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border); transition: all 0.3s ease; }
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: rgba(102, 126, 234, 0.1); padding-left: 12px; }
.rank-num { width: 32px; height: 32px; background: var(--gradient); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.rank-num.top { background: linear-gradient(135deg, #ffd700, #ff6b6b); }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.rank-info h4:hover { color: var(--accent); }
.rank-info span { font-size: 12px; color: var(--text-muted); }
.rank-info span i { margin-right: 4px; }
.rank-thumb { width: 80px; height: 60px; background-size: cover; background-position: center; border-radius: var(--radius-sm); flex-shrink: 0; }

/* ============================================
   标签墙
   ============================================ */
.tagwall-section { padding: 60px 24px; background: var(--bg-card); }
.tagwall-container { max-width: 1400px; margin: 0 auto; text-align: center; }
.tagwall-header { margin-bottom: 30px; }
.tagwall-header h2 { font-size: 24px; font-weight: 700; color: #fff; }
.tagwall-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tagwall-tag { padding: 8px 20px; background: var(--bg-dark); color: var(--text-light); font-size: 13px; border: 1px solid var(--border); border-radius: 20px; transition: all 0.3s ease; }
.tagwall-tag:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: scale(1.05); }

/* ============================================
   页脚
   ============================================ */
.footer { background: var(--bg-card); padding: 40px 24px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { font-size: 14px; color: var(--text-light); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-copy a { color: var(--accent); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .grid-full { grid-template-columns: repeat(2, 1fr); }
  .grid-item-large { grid-column: span 2; grid-row: span 1; }
  .grid-item-large .grid-item-img { height: 300px; min-height: auto; }
  .rank-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .banner-title { font-size: 24px; }
  .banner-card { padding: 24px; }
  .grid-full { grid-template-columns: 1fr; }
  .grid-item-large { grid-column: span 1; }
  .carousel-item { flex: 0 0 280px; }
  .rank-container { gap: 24px; }
}

/* ============================================
   列表页样式
   ============================================ */
.list-page-wrapper { max-width: 1200px; margin: 0 auto; padding: 60px 24px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.list-main { min-width: 0; }
.list-articles { display: flex; flex-direction: column; gap: 24px; }
.list-article-item { display: flex; gap: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s ease; }
.list-article-item:hover { border-color: var(--primary); transform: translateY(-4px); }
.list-article-img { width: 280px; height: 180px; background-size: cover; background-position: center; flex-shrink: 0; }
.list-article-info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.list-article-info h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.list-article-info h3:hover { color: var(--accent); }
.list-article-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-article-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); }
.list-article-meta i { margin-right: 4px; color: var(--accent); }
.list-sidebar { position: sticky; top: 80px; height: fit-content; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 8px; }
.sidebar-card h4 i { color: var(--accent); }
.sidebar-nav-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.sidebar-nav-list li:last-child { border-bottom: none; }
.sidebar-nav-list a { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-light); }
.sidebar-nav-list a:hover { color: var(--accent); }
.sidebar-nav-list .count { background: var(--bg-dark); padding: 2px 8px; font-size: 12px; border-radius: 20px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 10px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-light); transition: all 0.3s ease; }
.pagination a:hover, .pagination .active { background: var(--gradient); color: #fff; border-color: transparent; }

.page-header { background: var(--bg-card); padding: 40px 0; border-bottom: 2px solid var(--primary); }
.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-breadcrumb { font-size: 14px; color: var(--text-muted); }
.page-breadcrumb a { color: var(--text-light); }
.page-breadcrumb a:hover { color: var(--accent); }
.content-wrapper { background: var(--bg-dark); padding: 60px 0; }
.content-wrapper .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.article-detail { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; margin-bottom: 40px; }
.detail-header { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.detail-category { display: inline-block; padding: 4px 16px; background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700; border-radius: 20px; margin-bottom: 16px; }
.detail-title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.4; }
.detail-meta { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); }
.detail-meta i { margin-right: 4px; color: var(--accent); }
.detail-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); }
.detail-content p { margin-bottom: 16px; }
.detail-content img { max-width: 100%; height: auto; margin: 16px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.detail-content h2, .detail-content h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 24px 0 16px; }
.detail-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.detail-tags i { color: var(--accent); }
.detail-tags a { padding: 4px 16px; background: var(--bg-dark); color: var(--text-light); font-size: 13px; border-radius: 20px; }
.detail-tags a:hover { background: var(--gradient); color: #fff; }
.related-articles { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.related-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: flex; align-items: center; gap: 8px; }
.related-title i { color: var(--accent); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s ease; }
.related-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.related-img { height: 140px; background-size: cover; background-position: center; }
.related-info { padding: 16px; background: var(--bg-dark); }
.related-info h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info h4:hover { color: var(--accent); }
.related-info span { font-size: 12px; color: var(--text-muted); }
.related-info span i { margin-right: 4px; color: var(--accent); }

@media (max-width: 1024px) {
  .list-page-wrapper { grid-template-columns: 1fr; }
  .list-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .list-article-item { flex-direction: column; }
  .list-article-img { width: 100%; height: 200px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 24px; }
  .detail-title { font-size: 24px; }
}
