/* ============================================
   探花郎 (Tanhua Lang) - 古风武侠主题样式系统
   CSS/ID前缀: thl-
   干扰标签前缀: wuxia-
   ============================================ */

/* Google Fonts 引入 */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

/* ============================================
   CSS 变量定义
   ============================================ */
:root {
  --thl-primary: #f5f5dc;
  --thl-secondary: #a0522d;
  --thl-accent: #c00000;
  --thl-text: #333333;
  --thl-link: #4682b4;
  --thl-gold: #b8860b;
  --thl-ink: #1a1a1a;
  --thl-paper: #faf8f0;
  --thl-paper-dark: #ede8d5;
  --thl-shadow: rgba(0, 0, 0, 0.15);
  --thl-border: #d4c5a0;
  --thl-font-title: 'ZCOOL KuaiLe', cursive;
  --thl-font-body: 'Noto Serif SC', serif;
  --thl-radius: 4px;
  --thl-transition: 0.3s ease;
}

/* ============================================
   全局重置与基础样式
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--thl-font-body);
  color: var(--thl-text);
  background-color: var(--thl-paper);
  line-height: 1.8;
  overflow-x: hidden;
  background-image: url('../images/paper-texture.svg');
  background-repeat: repeat;
}

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

a {
  color: var(--thl-link);
  text-decoration: none;
  transition: color var(--thl-transition);
  position: relative;
}

a:hover {
  color: var(--thl-accent);
}

/* 毛笔书写下划线动画 */
a.thl-brush-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--thl-accent);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
}

a.thl-brush-link:hover::after {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--thl-font-title);
  color: var(--thl-ink);
  line-height: 1.4;
}

/* 干扰标签隐藏 */
.wuxia-jammer-block {
  display: none;
}

/* ============================================
   导航栏样式 (非Sticky)
   ============================================ */
#thl-header {
  background-color: var(--thl-paper);
  border-bottom: 2px solid var(--thl-border);
  padding: 0;
  position: relative;
  z-index: 100;
  background-image: linear-gradient(to bottom, var(--thl-paper), var(--thl-paper-dark));
}

.thl-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 20px;
}

.thl-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.thl-logo-wrap img {
  height: 50px;
  width: auto;
}

.thl-logo-text {
  font-family: var(--thl-font-title);
  font-size: 1.6rem;
  color: var(--thl-accent);
  letter-spacing: 2px;
}

.thl-nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.thl-nav-menu li {
  position: relative;
}

.thl-nav-menu li a {
  display: block;
  padding: 14px 24px;
  font-family: var(--thl-font-title);
  font-size: 1.1rem;
  color: var(--thl-text);
  transition: all var(--thl-transition);
  position: relative;
}

.thl-nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--thl-accent);
  transition: width 0.4s ease;
  border-radius: 1px;
}

.thl-nav-menu li a:hover {
  color: var(--thl-accent);
}

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

.thl-nav-menu li a.thl-active {
  color: var(--thl-accent);
}

.thl-nav-menu li a.thl-active::after {
  width: 60%;
}

/* 移动端菜单按钮 */
.thl-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--thl-secondary);
  border-radius: var(--thl-radius);
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--thl-font-title);
  font-size: 1.2rem;
  color: var(--thl-secondary);
}

/* ============================================
   Hero 区域
   ============================================ */
#thl-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.thl-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85);
}

.thl-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(250,248,240,0.3), rgba(250,248,240,0.7));
  z-index: 1;
}

.thl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 20px;
}

.thl-hero-content h1 {
  font-size: 3rem;
  color: var(--thl-ink);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(255,255,255,0.6);
}

.thl-hero-content .thl-hero-subtitle {
  font-size: 1.3rem;
  color: var(--thl-secondary);
  font-family: var(--thl-font-body);
  margin-bottom: 30px;
}

.thl-hero-content .thl-hero-cta {
  display: inline-block;
  padding: 14px 40px;
  background: var(--thl-accent);
  color: #fff;
  font-family: var(--thl-font-title);
  font-size: 1.1rem;
  border-radius: var(--thl-radius);
  border: 2px solid var(--thl-accent);
  transition: all var(--thl-transition);
  box-shadow: 0 4px 12px rgba(192, 0, 0, 0.3);
}

.thl-hero-content .thl-hero-cta:hover {
  background: transparent;
  color: var(--thl-accent);
}

/* ============================================
   通用模块容器
   ============================================ */
.thl-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 20px;
}

.thl-section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.thl-section-title h2 {
  font-size: 2rem;
  color: var(--thl-ink);
  display: inline-block;
  position: relative;
  padding: 0 20px;
}

.thl-section-title h2::before,
.thl-section-title h2::after {
  content: '〇';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--thl-accent);
  font-size: 0.8rem;
  opacity: 0.6;
}

.thl-section-title h2::before {
  left: -10px;
}

.thl-section-title h2::after {
  right: -10px;
}

.thl-section-desc {
  text-align: center;
  color: var(--thl-secondary);
  font-style: italic;
  margin-top: -20px;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* ============================================
   分隔线 - 水墨风格
   ============================================ */
.thl-divider {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--thl-secondary), transparent);
  opacity: 0.4;
}

/* ============================================
   江湖见闻模块 - 横向卷轴
   ============================================ */
.thl-jianwen-module {
  background: var(--thl-paper-dark);
  border-top: 3px solid var(--thl-border);
  border-bottom: 3px solid var(--thl-border);
  overflow: hidden;
}

.thl-scroll-wrap {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--thl-secondary) var(--thl-paper-dark);
}

.thl-scroll-wrap::-webkit-scrollbar {
  height: 6px;
}

.thl-scroll-wrap::-webkit-scrollbar-track {
  background: var(--thl-paper-dark);
}

.thl-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--thl-secondary);
  border-radius: 3px;
}

.thl-scroll-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--thl-paper);
  border-radius: var(--thl-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--thl-shadow);
  transition: transform var(--thl-transition);
  border: 1px solid var(--thl-border);
}

.thl-scroll-card:hover {
  transform: translateY(-4px);
}

.thl-scroll-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.thl-scroll-card .thl-card-body {
  padding: 16px;
}

.thl-scroll-card .thl-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--thl-ink);
}

.thl-scroll-card .thl-card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   红颜榜模块
   ============================================ */
.thl-hongyan-module {
  background: var(--thl-paper);
}

.thl-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.thl-rank-card {
  text-align: center;
  background: var(--thl-paper);
  border: 2px solid var(--thl-border);
  border-radius: 8px;
  padding: 30px 20px;
  position: relative;
  transition: all var(--thl-transition);
  box-shadow: 0 2px 12px var(--thl-shadow);
}

.thl-rank-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px var(--thl-shadow);
}

.thl-rank-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--thl-accent);
  color: #fff;
  padding: 4px 16px;
  font-family: var(--thl-font-title);
  font-size: 0.9rem;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(192, 0, 0, 0.3);
}

.thl-rank-card.thl-rank-first .thl-rank-badge {
  background: var(--thl-gold);
}

.thl-rank-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 10px auto 16px;
  border: 3px solid var(--thl-border);
}

.thl-rank-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.thl-rank-card .thl-rank-score {
  color: var(--thl-accent);
  font-family: var(--thl-font-title);
  font-size: 1rem;
}

/* ============================================
   武功秘籍模块 - 书架样式
   ============================================ */
.thl-miji-module {
  background: linear-gradient(to bottom, var(--thl-paper), var(--thl-paper-dark));
}

.thl-bookshelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.thl-book-card {
  background: var(--thl-paper);
  border: 1px solid var(--thl-border);
  border-left: 5px solid var(--thl-accent);
  border-radius: var(--thl-radius);
  padding: 24px;
  transition: all var(--thl-transition);
  box-shadow: 0 2px 8px var(--thl-shadow);
}

.thl-book-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px var(--thl-shadow);
  border-left-color: var(--thl-gold);
}

.thl-book-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--thl-ink);
}

.thl-book-card .thl-book-tag {
  display: inline-block;
  background: var(--thl-paper-dark);
  color: var(--thl-secondary);
  padding: 2px 10px;
  font-size: 0.8rem;
  border-radius: 12px;
  margin-bottom: 10px;
}

.thl-book-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   江湖快报模块
   ============================================ */
.thl-kuaibao-module {
  background: var(--thl-paper);
}

.thl-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thl-news-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--thl-paper);
  border: 1px solid var(--thl-border);
  border-radius: var(--thl-radius);
  transition: all var(--thl-transition);
  box-shadow: 0 1px 6px var(--thl-shadow);
}

.thl-news-item:hover {
  box-shadow: 0 4px 16px var(--thl-shadow);
}

.thl-news-item img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--thl-radius);
  flex-shrink: 0;
}

.thl-news-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.thl-news-body .thl-news-date {
  font-size: 0.8rem;
  color: var(--thl-secondary);
  margin-bottom: 6px;
}

.thl-news-body p {
  font-size: 0.9rem;
  color: #666;
}

/* ============================================
   拜师学艺模块
   ============================================ */
.thl-baishi-module {
  background: var(--thl-paper-dark);
}

.thl-mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.thl-mentor-card {
  background: var(--thl-paper);
  border: 1px solid var(--thl-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all var(--thl-transition);
  box-shadow: 0 2px 10px var(--thl-shadow);
}

.thl-mentor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--thl-shadow);
}

.thl-mentor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--thl-gold);
}

.thl-mentor-title {
  display: inline-block;
  background: var(--thl-gold);
  color: #fff;
  padding: 2px 12px;
  font-size: 0.8rem;
  border-radius: 12px;
  margin-bottom: 8px;
  font-family: var(--thl-font-title);
}

.thl-mentor-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.thl-mentor-card p {
  font-size: 0.9rem;
  color: #666;
}

/* ============================================
   比武招亲模块
   ============================================ */
.thl-biwu-module {
  background: var(--thl-paper);
}

.thl-hero-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.thl-hero-post {
  background: var(--thl-paper);
  border: 2px solid var(--thl-accent);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: all var(--thl-transition);
  box-shadow: 0 2px 10px var(--thl-shadow);
}

.thl-hero-post:hover {
  box-shadow: 0 6px 20px rgba(192, 0, 0, 0.15);
}

.thl-hero-post::before {
  content: '英雄帖';
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--thl-accent);
  color: #fff;
  padding: 2px 12px;
  font-family: var(--thl-font-title);
  font-size: 0.8rem;
  border-radius: 4px;
}

.thl-hero-post .thl-post-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 2px solid var(--thl-border);
}

.thl-hero-post h3 {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.thl-hero-post .thl-post-info {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.thl-hero-post .thl-post-quote {
  font-style: italic;
  color: var(--thl-secondary);
  border-left: 3px solid var(--thl-accent);
  padding-left: 12px;
  font-size: 0.9rem;
}

/* ============================================
   侠客会员模块
   ============================================ */
.thl-vip-module {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
}

.thl-vip-module .thl-section-title h2 {
  color: var(--thl-gold);
}

.thl-vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thl-vip-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: all var(--thl-transition);
  backdrop-filter: blur(4px);
}

.thl-vip-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.thl-vip-card.thl-vip-featured {
  border-color: var(--thl-gold);
  background: rgba(184, 134, 11, 0.1);
  transform: scale(1.05);
}

.thl-vip-card.thl-vip-featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.thl-vip-card h3 {
  color: var(--thl-gold);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.thl-vip-price {
  font-size: 2rem;
  font-family: var(--thl-font-title);
  color: #fff;
  margin: 16px 0;
}

.thl-vip-price span {
  font-size: 0.9rem;
  color: #aaa;
}

.thl-vip-features {
  list-style: none;
  text-align: left;
  margin: 16px 0;
}

.thl-vip-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #ccc;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.thl-vip-features li::before {
  content: '✦ ';
  color: var(--thl-gold);
}

.thl-vip-btn {
  display: inline-block;
  padding: 10px 30px;
  background: var(--thl-gold);
  color: #fff;
  font-family: var(--thl-font-title);
  border-radius: var(--thl-radius);
  margin-top: 16px;
  transition: all var(--thl-transition);
}

.thl-vip-btn:hover {
  background: #d4a017;
  color: #fff;
}

/* ============================================
   兵器谱(商城)模块
   ============================================ */
.thl-shop-module {
  background: var(--thl-paper-dark);
}

.thl-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.thl-product-card {
  background: var(--thl-paper);
  border: 1px solid var(--thl-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--thl-transition);
  box-shadow: 0 2px 10px var(--thl-shadow);
}

.thl-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--thl-shadow);
}

.thl-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.thl-product-body {
  padding: 16px;
}

.thl-product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.thl-product-body .thl-product-price {
  color: var(--thl-accent);
  font-family: var(--thl-font-title);
  font-size: 1.2rem;
}

.thl-product-body .thl-product-desc {
  font-size: 0.85rem;
  color: #666;
  margin-top: 6px;
}

/* ============================================
   APP下载模块
   ============================================ */
.thl-app-module {
  background: var(--thl-paper);
  text-align: center;
}

.thl-app-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.thl-app-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.thl-app-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--thl-shadow);
}

.thl-app-info {
  flex: 1;
  text-align: left;
}

.thl-app-info h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--thl-ink);
}

.thl-app-info p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.8;
}

.thl-app-buttons {
  display: flex;
  gap: 16px;
}

.thl-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--thl-ink);
  color: #fff;
  border-radius: var(--thl-radius);
  font-family: var(--thl-font-body);
  font-size: 0.95rem;
  transition: all var(--thl-transition);
}

.thl-app-btn:hover {
  background: var(--thl-accent);
  color: #fff;
}

/* ============================================
   江湖规矩模块
   ============================================ */
.thl-rules-module {
  background: var(--thl-paper-dark);
}

.thl-rules-list {
  max-width: 800px;
  margin: 0 auto;
}

.thl-rule-item {
  padding: 20px 24px;
  border-left: 4px solid var(--thl-accent);
  background: var(--thl-paper);
  margin-bottom: 16px;
  border-radius: 0 var(--thl-radius) var(--thl-radius) 0;
  box-shadow: 0 1px 6px var(--thl-shadow);
}

.thl-rule-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--thl-accent);
}

.thl-rule-item p {
  font-size: 0.9rem;
  color: #666;
}

/* ============================================
   页脚样式
   ============================================ */
#thl-footer {
  background: var(--thl-ink);
  color: #ccc;
  padding: 50px 20px 20px;
}

.thl-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.thl-footer-col h4 {
  font-family: var(--thl-font-title);
  color: var(--thl-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.thl-footer-col ul {
  list-style: none;
}

.thl-footer-col ul li {
  margin-bottom: 8px;
}

.thl-footer-col ul li a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color var(--thl-transition);
}

.thl-footer-col ul li a:hover {
  color: var(--thl-gold);
}

.thl-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.thl-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #aaa;
  font-size: 0.9rem;
  transition: all var(--thl-transition);
}

.thl-footer-social a:hover {
  border-color: var(--thl-gold);
  color: var(--thl-gold);
}

.thl-footer-bottom {
  max-width: 1440px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.8;
}

.thl-footer-bottom .thl-cert {
  color: var(--thl-gold);
  margin-bottom: 6px;
}

.thl-footer-bottom .thl-18plus {
  display: inline-block;
  border: 1px solid #c00000;
  color: #c00000;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: bold;
  margin-right: 6px;
}

/* ============================================
   内页通用样式
   ============================================ */
.thl-page-banner {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.thl-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.thl-page-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.thl-page-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--thl-border);
}

.thl-page-content p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.thl-page-content img {
  margin: 20px auto;
  border-radius: var(--thl-radius);
  box-shadow: 0 2px 12px var(--thl-shadow);
}

/* 文章卡片列表 */
.thl-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.thl-article-card {
  background: var(--thl-paper);
  border: 1px solid var(--thl-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--thl-transition);
  box-shadow: 0 2px 10px var(--thl-shadow);
}

.thl-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px var(--thl-shadow);
}

.thl-article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.thl-article-card .thl-article-body {
  padding: 16px;
}

.thl-article-card .thl-article-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.thl-article-card .thl-article-body p {
  font-size: 0.9rem;
  color: #666;
  text-indent: 0;
  margin-bottom: 8px;
}

.thl-article-card .thl-article-meta {
  font-size: 0.8rem;
  color: #999;
}

/* ============================================
   面包屑导航
   ============================================ */
.thl-breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 0.85rem;
  color: #999;
}

.thl-breadcrumb a {
  color: var(--thl-link);
}

.thl-breadcrumb span {
  margin: 0 6px;
  color: #ccc;
}

/* ============================================
   响应式设计
   ============================================ */

/* 1024px 及以下 */
@media (max-width: 1024px) {
  .thl-rank-grid,
  .thl-vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thl-vip-card.thl-vip-featured {
    transform: scale(1);
  }

  .thl-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px 及以下 - 平板 */
@media (max-width: 768px) {
  .thl-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--thl-paper);
    flex-direction: column;
    border-top: 1px solid var(--thl-border);
    box-shadow: 0 4px 12px var(--thl-shadow);
    z-index: 99;
  }

  .thl-nav-menu.thl-menu-open {
    display: flex;
  }

  .thl-nav-menu li a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--thl-border);
  }

  .thl-menu-toggle {
    display: block;
  }

  .thl-hero-content h1 {
    font-size: 2rem;
  }

  .thl-rank-grid {
    grid-template-columns: 1fr;
  }

  .thl-vip-grid {
    grid-template-columns: 1fr;
  }

  .thl-app-wrap {
    flex-direction: column;
  }

  .thl-app-info {
    text-align: center;
  }

  .thl-app-buttons {
    justify-content: center;
  }

  .thl-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .thl-news-item {
    flex-direction: column;
  }

  .thl-news-item img {
    width: 100%;
    height: 180px;
  }
}

/* 360px 及以下 - 手机 */
@media (max-width: 360px) {
  html {
    font-size: 14px;
  }

  .thl-section {
    padding: 40px 12px;
  }

  .thl-hero-content h1 {
    font-size: 1.6rem;
  }

  .thl-bookshelf {
    grid-template-columns: 1fr;
  }

  .thl-hero-post-grid {
    grid-template-columns: 1fr;
  }

  .thl-product-grid {
    grid-template-columns: 1fr;
  }

  .thl-article-grid {
    grid-template-columns: 1fr;
  }

  .thl-app-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   动画效果
   ============================================ */
@keyframes thl-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thl-animate {
  animation: thl-fadeInUp 0.6s ease forwards;
}

/* 水墨散开效果 */
@keyframes thl-ink-spread {
  0% {
    clip-path: circle(0% at 50% 50%);
  }
  100% {
    clip-path: circle(100% at 50% 50%);
  }
}

.thl-ink-enter {
  animation: thl-ink-spread 0.8s ease-out;
}

/* 印章角标 */
.thl-stamp {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--thl-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--thl-font-title);
  font-size: 0.7rem;
  color: var(--thl-accent);
  transform: rotate(-15deg);
  opacity: 0.7;
}
