/* ============================================
   黑料网 - 主样式文件
   static/css/style.css
============================================ */

/* --- 基础重置 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  background: #0f0f14;
  color: #e0e0e0;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: #e74c3c;
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: #ff6b6b;
}

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

ul, ol {
  list-style: none;
}

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

/* ============================================
   轮播背景
============================================ */
.slideshow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.slideshow-bg .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow-bg .slide.active {
  opacity: 1;
}

.overlay-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(10, 10, 16, 0.88);
}

/* ============================================
   导航栏
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 20, 0.96);
  border-bottom: 2px solid #c0392b;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(192, 57, 43, 0.25);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-area {
  flex-shrink: 0;
}

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

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(192, 57, 43, 0.8);
}

.logo-text span {
  color: #e74c3c;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.25s;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #e74c3c;
  transition: width 0.25s;
  border-radius: 2px;
}

.nav-list li a:hover {
  color: #fff;
  background: rgba(231, 76, 60, 0.12);
}

.nav-list li a:hover::after {
  width: 60%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e74c3c;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   Hero 区域
============================================ */
.hero-section {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(231, 76, 60, 0.5);
  letter-spacing: 1px;
}

.hero-title span {
  color: #e74c3c;
}

.hero-desc {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e74c3c, #ff6b6b);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(231, 76, 60, 0.5);
}

.btn-outline {
  border: 2px solid #e74c3c;
  color: #e74c3c;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(231, 76, 60, 0.1);
  color: #ff6b6b;
  transform: translateY(-2px);
}

/* ============================================
   通用 Section 样式
============================================ */
.section {
  padding: 70px 0;
  position: relative;
}

.bg-dark-section {
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(4px);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.title-badge {
  margin-right: 8px;
}

.section-sub {
  color: #888;
  font-size: 1rem;
}

/* ============================================
   模块一：最新黑料速递
============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.news-card {
  background: rgba(20, 20, 28, 0.9);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(192, 57, 43, 0.15);
  transition: all 0.3s;
  grid-column: span 3;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 76, 60, 0.5);
  box-shadow: 0 12px 40px rgba(192, 57, 43, 0.2);
}

.card-large {
  grid-column: span 6;
  grid-row: span 2;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-large .card-img-wrap img {
  height: 300px;
}

.news-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.card-tag.hot { background: #e74c3c; }
.card-tag.new { background: #27ae60; }

.card-body {
  padding: 18px;
}

.card-cat {
  display: inline-block;
  font-size: 0.75rem;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.card-title a {
  color: #eee;
}

.card-title a:hover {
  color: #e74c3c;
}

.card-large .card-title {
  font-size: 1.2rem;
}

.card-desc {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #666;
}

/* ============================================
   模块二：明星八卦专区
============================================ */
.gossip-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}

.gossip-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
}

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

.gossip-banner-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}

.badge-hot {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.gossip-banner-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.5;
}

.gossip-banner-text p {
  font-size: 0.88rem;
  color: #bbb;
  line-height: 1.7;
}

.gossip-side {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gossip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.gossip-item:last-child {
  border-bottom: none;
}

.gossip-item:hover {
  background: rgba(231, 76, 60, 0.05);
  border-radius: 8px;
  padding-left: 8px;
  padding-right: 8px;
}

.gossip-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.gossip-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.gossip-item h4 a {
  color: #ddd;
}

.gossip-item h4 a:hover {
  color: #e74c3c;
}

.gossip-item span {
  font-size: 0.75rem;
  color: #666;
}

/* ============================================
   模块三：热门话题排行
============================================ */
.rank-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.rank-sub-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(231, 76, 60, 0.3);
}

.rank-ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(20, 20, 28, 0.8);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s;
}

.rank-item:hover {
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.06);
  transform: translateX(4px);
}

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #888;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-top3 .rank-num {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info a {
  color: #ddd;
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-info a:hover {
  color: #e74c3c;
}

.rank-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.rank-fill {
  height: 100%;
  background: linear-gradient(90deg, #c0392b, #e74c3c);
  border-radius: 2px;
}

.rank-heat {
  font-size: 0.75rem;
  color: #e74c3c;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

.rank-card-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rank-card {
  display: flex;
  gap: 16px;
  background: rgba(20, 20, 28, 0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}

.rank-card:hover {
  border-color: rgba(231, 76, 60, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.15);
}

.rank-card img {
  width: 130px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.rank-card-body {
  padding: 14px 14px 14px 0;
}

.rank-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.rank-card-body h4 a {
  color: #eee;
}

.rank-card-body h4 a:hover {
  color: #e74c3c;
}

.rank-card-body p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   模块四：内幕深度报道
============================================ */
.deep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.deep-card {
  background: rgba(20, 20, 28, 0.9);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(192, 57, 43, 0.12);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.deep-card:hover {
  transform: translateY(-6px);
  border-color: rgba(231, 76, 60, 0.45);
  box-shadow: 0 16px 48px rgba(192, 57, 43, 0.2);
}

.deep-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.deep-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.deep-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.deep-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #eee;
  margin-bottom: 12px;
  line-height: 1.6;
}

.deep-body h3 a {
  color: #eee;
}

.deep-body h3 a:hover {
  color: #e74c3c;
}

.deep-body p {
  font-size: 0.87rem;
  color: #777;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #e74c3c;
  font-weight: 600;
  transition: all 0.2s;
}

.read-more:hover {
  color: #ff6b6b;
  letter-spacing: 1px;
}

/* ============================================
   模块五：文章列表
============================================ */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background: rgba(18, 18, 26, 0.9);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(192, 57, 43, 0.1);
  transition: all 0.3s;
}

.article-item:hover {
  border-color: rgba(231, 76, 60, 0.35);
  box-shadow: 0 10px 36px rgba(192, 57, 43, 0.15);
  transform: translateY(-3px);
}

.article-img img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-item:hover .article-img img {
  transform: scale(1.04);
}

.article-content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.art-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.art-date {
  font-size: 0.8rem;
  color: #666;
}

.article-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #eee;
  margin-bottom: 16px;
  line-height: 1.6;
}

.article-text p {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.85;
  margin-bottom: 12px;
}

.article-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   模块六：APP下载
============================================ */
.section-app {
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.12) 0%, rgba(10, 10, 16, 0.95) 60%);
  border-top: 1px solid rgba(192, 57, 43, 0.2);
  border-bottom: 1px solid rgba(192, 57, 43, 0.2);
}

.app-download-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}

.app-info {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.app-icon-wrap {
  flex-shrink: 0;
}

.app-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}

.app-desc {
  color: #999;
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.app-features li {
  font-size: 0.88rem;
  color: #bbb;
}

.app-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s;
  text-decoration: none;
}

.app-btn.android {
  background: #27ae60;
  color: #fff;
}

.app-btn.android:hover {
  background: #2ecc71;
  color: #fff;
  transform: translateY(-2px);
}

.app-btn.ios {
  background: #2c3e50;
  color: #fff;
}

.app-btn.ios:hover {
  background: #34495e;
  color: #fff;
  transform: translateY(-2px);
}

.app-btn.pc {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.app-btn.pc:hover {
  background: rgba(231, 76, 60, 0.25);
  color: #ff6b6b;
  transform: translateY(-2px);
}

.app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.app-preview img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

.app-qr {
  text-align: center;
}

.qr-placeholder {
  display: inline-block;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
}

.app-qr p {
  font-size: 0.8rem;
  color: #666;
}

/* ============================================
   模块七：图片画廊
============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gi-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gi-large img {
  height: 100%;
  min-height: 372px;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================
   页脚
============================================ */
.site-footer {
  background: #07070a;
  border-top: 2px solid rgba(192, 57, 43, 0.3);
  margin-top: 0;
}

.footer-top {
  padding: 56px 0 40px;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(192, 57, 43, 0.25);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: #e74c3c;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: #777;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.footer-col ul li a:hover {
  color: #e74c3c;
  padding-left: 6px;
}

.footer-about p {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #888;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: rgba(231, 76, 60, 0.15);
  border-color: rgba(231, 76, 60, 0.4);
  color: #e74c3c;
}

.footer-news li a {
  color: #777;
  font-size: 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 友情链接 */
.footer-links-wrap {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-flink-title {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-flink-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  flex-direction: row;
}

.footer-flink-list ul li a,
.footer-flink-list ul a {
  color: #666;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-flink-list ul li a:hover,
.footer-flink-list ul a:hover {
  color: #e74c3c;
}

/* 页脚底部 */
.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  text-align: center;
}

.footer-copyright {
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-copyright a {
  color: #666;
}

.footer-icp {
  font-size: 0.82rem;
  color: #444;
  margin-bottom: 8px;
}

.footer-icp a {
  color: #555;
}

.footer-icp a:hover {
  color: #e74c3c;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #3a3a3a;
}

/* ============================================
   响应式布局
============================================ */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .card-large {
    grid-column: span 6;
    grid-row: span 1;
  }
  .news-card {
    grid-column: span 3;
  }
  .footer-top-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-about {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .gossip-layout {
    grid-template-columns: 1fr;
  }
  .rank-layout {
    grid-template-columns: 1fr;
  }
  .deep-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-download-wrap {
    grid-template-columns: 1fr;
  }
  .app-preview {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gi-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gi-large img {
    min-height: 220px;
  }
  .footer-top-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 16, 0.98);
    padding: 20px;
    border-bottom: 2px solid #c0392b;
    z-index: 999;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list li a {
    display: block;
    padding: 12px 16px;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card,
  .card-large {
    grid-column: span 1;
    grid-row: span 1;
  }
  .article-item {
    grid-template-columns: 1fr;
  }
  .article-img img {
    min-height: 200px;
    height: 200px;
  }
  .article-content {
    padding: 16px;
  }
  .deep-grid {
    grid-template-columns: 1fr;
  }
  .app-info {
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: span 2;
  }
  .rank-card {
    flex-direction: column;
  }
  .rank-card img {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.4rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gi-large {
    grid-column: span 1;
  }
  .footer-top-inner {
    grid-template-columns: 1fr;
  }
  .footer-about {
    grid-column: span 1;
  }
  .app-btns {
    flex-direction: column;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   滚动条美化
============================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0f0f14;
}
::-webkit-scrollbar-thumb {
  background: #c0392b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e74c3c;
}

/* ============================================
   选中文字颜色
============================================ */
::selection {
  background: rgba(231, 76, 60, 0.35);
  color: #fff;
}
