/* 猫番乐园官网 - 无界流动流动式画报 Theme 样式系统 */

:root {
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --border-color: #efeae4;
  --border-color-hover: #e0d5c8;
  --primary: #e58e73;
  --primary-light: #f7b5a1;
  --accent: #ffd166;
  --accent-secondary: #f07a5d;
  --text: #332522;
  --text-muted: #786864;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 12px 32px rgba(51, 37, 34, 0.04);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-light);
  min-height: 100vh;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color-hover);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.navbar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
  color: var(--text);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-download-btn {
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
}

.nav-download-btn::after {
  display: none !important;
}

.nav-download-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
}

/* 移动端菜单 */
.mobile-nav-download {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--text);
}

/* 主内容 */
main {
  flex: 1;
  margin-top: 73px; /* 导航栏高度 */
}

/* 节（Section）交替排版 */
.section-oatmeal {
  background-color: var(--bg-light);
  padding: 6.5rem 2rem;
}

.section-white {
  background-color: var(--bg-white);
  padding: 6.5rem 2rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.container-width {
  max-width: 1100px;
  margin: 0 auto;
}

/* 节标题 - 扁平大字报排版 */
.section-title {
  text-align: left;
  margin-bottom: 3.5rem;
  max-width: 800px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 850;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

/* 页脚 */
footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem 3rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.7;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a, .footer-links li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.beian-link {
  color: var(--text-muted);
  font-weight: 700;
}

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

/* 按钮样式 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-secondary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color-hover);
  font-size: 1.05rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--text);
  background: rgba(51, 37, 34, 0.02);
}

/* 漫画焦点图 Banner (Borderless Carousel) */
.carousel-banner-section {
  max-width: 1100px;
  margin: 3rem auto 4.5rem;
  padding: 0 2rem;
}

.carousel-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.carousel-text-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.manga-tag-hot {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.carousel-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.carousel-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.carousel-visual-area {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 流式交错排版漫画墙 */
.manga-covers-stack {
  display: flex;
  gap: 2rem;
  position: relative;
}

/* 不对称交错偏移效果 */
.manga-covers-stack .manga-card:nth-child(2) {
  transform: translateY(2rem);
}

/* 3:4 比例漫画海报卡片 (Borderless Floating Manga Cover) */
.manga-card {
  width: 175px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition-smooth);
}

.manga-card:hover {
  transform: translateY(-6px);
}

.manga-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.manga-card:hover .manga-cover {
  box-shadow: 0 18px 40px rgba(51, 37, 34, 0.08);
}

.manga-cover.m1 { background: url("img (1).jpg") no-repeat center/cover; }
.manga-cover.m2 { background: url("img (2).jpg") no-repeat center/cover; }
.manga-cover.m3 { background: linear-gradient(135deg, #cce2cb 0%, #97c1a9 100%); }
.manga-cover.m4 { background: linear-gradient(135deg, #ffc5a1 0%, #ff9a76 100%); }

.manga-chapter-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(51, 37, 34, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.manga-info {
  padding: 0 0.15rem;
}

.manga-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 猫爪评分系统 (Cat Paw Rating 🐾) */
.cat-paw-rating {
  display: flex;
  gap: 0.2rem;
  color: var(--primary);
}

.cat-paw-rating svg {
  width: 14px;
  height: 14px;
}

/* 漫画画廊网格 (Manga Gallery Grid) */
.manga-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

/* 胶片无缝条幅与叠加手机模型区域 (Manga Film Strip with Overlay Phone) */
.manga-strip-section {
  text-align: center;
  padding: 6rem 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.manga-strip-header {
  margin-bottom: 3.5rem;
  padding: 0 2rem;
}

.manga-strip-header h2 {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.manga-strip-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 600;
}

.manga-strip-viewport {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 滚动容器，限制裁剪滚动内容，不裁剪外露的手机框 */
.manga-strip-scroll-container {
  width: 100%;
  height: 360px;
  overflow: hidden;
  position: relative;
}

/* 左右两侧的渐变淡出遮罩，覆盖滚动海报边缘，效果更平滑自然 */
.manga-strip-scroll-container::before,
.manga-strip-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 5;
  pointer-events: none;
}
.manga-strip-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}
.manga-strip-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.manga-strip-wrapper {
  display: flex;
  width: max-content;
  gap: 0; /* 无缝拼接 */
  transform: translate3d(0, 0, 0);
}

/* 5张海报 */
.manga-strip-item {
  width: 240px;
  height: 360px; /* 2:3 比例 (240:360) */
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(51, 37, 34, 0.05);
}

/* 分页器样式 */
.manga-strip-pagination {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.manga-strip-pagination-switch {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.3;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.manga-strip-pagination-switch.active {
  opacity: 1;
  background: var(--primary);
  transform: scale(1.25);
}

/* 海报背景渐变模拟封面图效果 */
.manga-strip-item.poster-1 { background: url("img (3).jpg") no-repeat center/cover; }
.manga-strip-item.poster-2 { background: url("img (4).jpg") no-repeat center/cover; }
.manga-strip-item.poster-3 { background: url("img (5).jpg") no-repeat center/cover; }
.manga-strip-item.poster-4 { background: url("img (6).jpg") no-repeat center/cover; }
.manga-strip-item.poster-5 { background: url("img (7).jpg") no-repeat center/cover; }

.manga-strip-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(51,37,34,0) 60%, rgba(51,37,34,0.3) 100%);
  pointer-events: none;
}

/* 绝对定位重叠的白色手机框 */
.manga-strip-phone-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 264px; /* 240 + 24 border */
  height: 408px; /* 360 + 48 border */
  border: 12px solid #ffffff; /* 纯白厚边框 */
  border-top: 24px solid #ffffff; /* 顶部听筒槽 */
  border-bottom: 24px solid #ffffff; /* 底部Home键 */
  border-radius: 36px;
  box-shadow: 0 24px 64px rgba(51, 37, 34, 0.25);
  pointer-events: none; /* 防止遮挡点击 */
  z-index: 10;
}

/* 手机框听筒 */
.manga-strip-phone-frame::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #efeae4;
  border-radius: 2px;
}

/* 手机框Home圆键 */
.manga-strip-phone-frame::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border: 1px solid #efeae4;
  background: #ffffff;
  border-radius: 50%;
}

/* 手机图片展示包装 */
.cat-phone-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cat-phone-pic {
  width: 100%;
  max-width: 290px;
  height: auto;
  object-fit: contain;
  border-radius: 36px; /* 圆角效果 */
  border: 12px solid var(--text); /* 手机外框描边效果 */
  background-color: var(--text);
}

/* 手机下载排版区布局 */
.phone-download-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.phone-download-text h2 {
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.phone-download-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.download-box-btn {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* “漫迷书柜” FAQ 无边界排版 */
.bookshelf-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.bookshelf-faq-col h3 {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* 猫爪 Bullet 列表符 */
.paw-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.paw-bullet-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 800;
  display: flex;
  align-items: center;
}

.paw-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e58e73'%3E%3Cpath d='M12 14c-1.66 0-3 1.34-3 3 0 2 2 3.5 3 4.5 1-1 3-2.5 3-4.5 0-1.66-1.34-3-3-3zm-4-3c-1.1 0-2 .9-2 2 0 1.5 1.5 2.5 2 3 .5-.5 2-1.5 2-3 0-1.1-.9-2-2-2zm8 0c-1.1 0-2 .9-2 2 0 1.5 1.5 2.5 2 3 .5-.5 2-1.5 2-3 0-1.1-.9-2-2-2zm-6-6c-.83 0-1.5.67-1.5 1.5v2c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-2c0-.83-.67-1.5-1.5-1.5zm4 0c-.83 0-1.5.67-1.5 1.5v2c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-2c0-.83-.67-1.5-1.5-1.5z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* 猫咪胡须分割线装饰 (Cat Whisker Divider) */
.cat-whisker-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 5rem 0 2rem;
}

.whisker-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  max-width: 200px;
}

.whisker-icon {
  width: 36px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 24' fill='none' stroke='%23e58e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 12c4-1 10-1 14 0M8 8c4 1 10 2 14 2M8 16c4-3 10-4 14-2m18-2c-4-1-10-1-14 0m14-4c-4 1-10 2-14 2m14 6c-4-3-10-4-14-2'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .carousel-banner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .carousel-visual-area {
    order: -1;
  }
  
  .manga-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .phone-download-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .bookshelf-faq-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .manga-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .carousel-title {
    font-size: 2.2rem;
  }
  
  .navbar-container {
    padding: 1rem 1.5rem;
  }

  /* 移动端顶栏适配，隐藏多余链接并支持折叠菜单 */
  .mobile-nav-download {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--primary);
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    margin-left: auto;
    margin-right: 0.5rem;
    transition: var(--transition-smooth);
  }
  .mobile-nav-download:hover {
    background: var(--accent-secondary);
  }
  .mobile-nav-download svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
  }
  .menu-toggle {
    display: block !important;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(51, 37, 34, 0.04);
    z-index: 999;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-item {
    width: 100%;
    padding: 0.5rem 0;
  }
  
  .nav-item::after {
    display: none !important; /* 移动端下划线隐藏 */
  }
  
  .nav-download-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  /* 移动端 Hero 区域布局适配 */
  .section-oatmeal, .section-white {
    padding: 3.25rem 1.5rem;
  }

  .carousel-banner-section {
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
  }

  .carousel-text-area {
    align-items: center;
    text-align: center;
  }

  .carousel-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .download-box-btn {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .download-box-btn a {
    width: 100%;
    justify-content: center;
  }

  .manga-covers-stack {
    gap: 1rem;
    justify-content: center;
  }

  .manga-card {
    width: 140px; /* 缩减卡片宽度防止手机端溢出 */
  }

  /* 移动端页脚排版适配 */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-desc {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* 渐入动效 */
@keyframes flatFadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: flatFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* 本周热门追更榜单样式 */
.manga-rank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.manga-rank-card {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  transition: var(--transition-smooth);
}

.manga-rank-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-soft);
}

.rank-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  z-index: 5;
}

.rank-badge.gold { background: linear-gradient(135deg, #ffd166, #f4a261); }
.rank-badge.silver { background: linear-gradient(135deg, #dec0f1, #b9fbc0); color: var(--text); }
.rank-badge.bronze { background: linear-gradient(135deg, #f7b5a1, #e58e73); }
.rank-badge.normal { background: var(--text-muted); opacity: 0.6; }

.rank-cover {
  width: 100px;
  height: 133px; /* 3:4 ratio */
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(51, 37, 34, 0.05);
}
.rank-cover.rank-c1 { background: url("img (1).jpg") no-repeat center/cover; }
.rank-cover.rank-c2 { background: url("img (5).jpg") no-repeat center/cover; }
.rank-cover.rank-c3 { background: url("img (4).jpg") no-repeat center/cover; }
.rank-cover.rank-c4 { background: url("img (7).jpg") no-repeat center/cover; }

.rank-details {
  margin-left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.rank-details h3 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.rank-tags {
  display: flex;
  gap: 0.5rem;
  margin: 0.35rem 0;
}

.rank-tag {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.rank-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 资讯中心首页概览样式 */
.news-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.news-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  transition: var(--transition-smooth);
  text-align: left;
}

.news-summary-card:hover {
  border-color: var(--primary);
}

.news-summary-meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.news-summary-card h3 {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.news-summary-card h3 a:hover {
  color: var(--primary);
}

.news-summary-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more-link {
  font-size: 0.9rem;
  color: var(--accent-secondary);
  font-weight: 800;
}

.read-more-link:hover {
  color: var(--text);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .manga-rank-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .news-summary-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
