/* ============================================
   江南体育 - 江南水墨烟雨风 全站样式
   ============================================ */

/* --- Google Fonts / 思源宋体 --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=ZCOOL+XiaoWei&display=swap');

/* --- CSS Variables --- */
:root {
  --color-primary: #F5F0E8;       /* 米白，宣纸底色 */
  --color-secondary: #2E7D32;     /* 竹青，雨后翠竹 */
  --color-accent: #795548;        /* 棕褐，老木舟楫 */
  --color-text: #3E2723;          /* 墨黑，徽墨 */
  --color-link: #2E7D32;          /* 竹青 */
  --color-light: #EDE8DC;
  --color-dark: #1a1a1a;
  --font-heading: 'ZCOOL XiaoWei', 'STKaiti', 'KaiTi', serif;
  --font-body: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --max-width: 1440px;
  --content-width: 1200px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 水墨动画 Keyframes --- */
@keyframes inkFadeIn {
  from { opacity: 0; filter: blur(8px); transform: translateY(20px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes inkSpread {
  0% { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes scrollReveal {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes floatInk {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes rainDrop {
  0% { opacity: 0; transform: translateY(-20px); }
  50% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(100vh); }
}

/* --- 墨滴加载动画 --- */
.ink-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

.ink-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.ink-loader .drop {
  width: 20px; height: 20px;
  background: var(--color-text);
  border-radius: 50%;
  margin: 0 8px;
  animation: floatInk 1.2s ease-in-out infinite;
}

.ink-loader .drop:nth-child(2) { animation-delay: 0.2s; }
.ink-loader .drop:nth-child(3) { animation-delay: 0.4s; }

/* ============================================
   顶部通栏 (Top Bar)
   ============================================ */
.top-bar {
  background: rgba(62, 39, 35, 0.9);
  color: var(--color-primary);
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--color-light);
  margin: 0 10px;
  font-size: 0.8rem;
}

.top-bar a:hover {
  color: var(--color-secondary);
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   主导航栏 (Main Navigation)
   ============================================ */
.main-nav {
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(62, 39, 35, 0.08);
}

.main-nav.scrolled {
  padding: 4px 0;
  box-shadow: 0 4px 30px rgba(62, 39, 35, 0.15);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-text);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
}

.nav-logo .logo-icon::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.1) 100%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

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

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a.active {
  color: var(--color-accent);
  font-weight: 700;
}

.nav-search {
  position: relative;
}

.nav-search input {
  background: var(--color-light);
  border: 1px solid rgba(62, 39, 35, 0.15);
  border-radius: 20px;
  padding: 8px 36px 8px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text);
  width: 180px;
  transition: var(--transition);
  outline: none;
}

.nav-search input:focus {
  width: 240px;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.nav-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  font-size: 1rem;
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   巨幕 Banner (Hero)
   ============================================ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-banner .hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(245,240,232,0.3) 0%, rgba(62,39,35,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  animation: inkFadeIn 1.2s ease-out;
}

.hero-content .hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-primary);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 16px;
  writing-mode: horizontal-tb;
  letter-spacing: 4px;
}

.hero-content .hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-light);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 2;
}

.hero-vertical-text {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: rgba(245, 240, 232, 0.85);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  letter-spacing: 8px;
  z-index: 3;
}

/* ============================================
   赛事滚动条 (Ticker)
   ============================================ */
.ticker-bar {
  background: linear-gradient(90deg, var(--color-light), var(--color-primary), var(--color-light));
  border-top: 1px solid rgba(121, 85, 72, 0.2);
  border-bottom: 1px solid rgba(121, 85, 72, 0.2);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.ticker-bar::before,
.ticker-bar::after {
  content: '';
  position: absolute;
  top: 0; width: 80px; height: 100%;
  z-index: 2;
}

.ticker-bar::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.ticker-bar::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-primary), transparent);
}

.ticker-content {
  display: flex;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 30px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.ticker-item .score {
  color: var(--color-secondary);
  font-weight: 700;
}

.ticker-item .separator {
  color: var(--color-accent);
  opacity: 0.5;
}

/* ============================================
   核心推荐区 (Featured Content)
   ============================================ */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.featured-section {
  padding: 60px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.featured-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(121, 85, 72, 0.1);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(62, 39, 35, 0.15);
}

.featured-card .card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.featured-card:hover .card-img {
  transform: scale(1.03);
}

.featured-card .card-img-wrap {
  overflow: hidden;
}

.featured-card .card-body {
  padding: 20px;
}

.featured-card .card-tag {
  display: inline-block;
  background: rgba(46, 125, 50, 0.1);
  color: var(--color-secondary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.featured-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.featured-card .card-desc {
  font-size: 0.85rem;
  color: rgba(62, 39, 35, 0.7);
  line-height: 1.6;
}

/* ============================================
   "烟雨球场" 特别入口
   ============================================ */
.special-entry {
  position: relative;
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.special-entry .entry-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.special-entry .entry-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(62,39,35,0.7) 0%, rgba(46,125,50,0.3) 100%);
}

.special-entry .entry-content {
  position: relative;
  z-index: 2;
  padding: 40px 60px;
  max-width: 600px;
}

.special-entry .entry-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.special-entry .entry-desc {
  color: var(--color-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-ink {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-secondary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-ink:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(121, 85, 72, 0.3);
}

.btn-ink::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: width 0.6s, height 0.6s;
  transform: translate(-50%, -50%);
}

.btn-ink:hover::after {
  width: 300px;
  height: 300px;
}

/* ============================================
   足球竞彩分析
   ============================================ */
.analysis-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-light) 100%);
}

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

.analysis-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  transition: var(--transition);
}

.analysis-item:hover {
  border-left-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.12);
  transform: translateX(4px);
}

.analysis-item .item-date {
  text-align: center;
  min-width: 60px;
}

.analysis-item .item-date .day {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
}

.analysis-item .item-date .month {
  font-size: 0.75rem;
  color: var(--color-accent);
}

.analysis-item .item-content .item-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.analysis-item .item-content .item-excerpt {
  font-size: 0.85rem;
  color: rgba(62, 39, 35, 0.65);
}

/* ============================================
   体育平台热点 (Platform Hotspots)
   ============================================ */
.hotspots-section {
  padding: 60px 0;
}

.hotspots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hotspot-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  transition: var(--transition);
  border: 1px solid rgba(121, 85, 72, 0.08);
}

.hotspot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(62, 39, 35, 0.12);
}

.hotspot-card .hotspot-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(46, 125, 50, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.hotspot-card .hotspot-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.hotspot-card .hotspot-desc {
  font-size: 0.8rem;
  color: rgba(62, 39, 35, 0.6);
  line-height: 1.6;
}

/* ============================================
   合作伙伴
   ============================================ */
.partners-section {
  padding: 50px 0;
  background: var(--color-light);
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-accent);
  border: 1px dashed rgba(121, 85, 72, 0.3);
  border-radius: 4px;
  padding: 8px;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  border-color: var(--color-secondary);
}

/* ============================================
   页脚 (Footer)
   ============================================ */
.site-footer {
  background: var(--color-dark);
  background-image: url('../images/footer-bg.webp');
  background-size: cover;
  background-position: center;
  color: var(--color-light);
  padding: 60px 0 30px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 26, 26, 0.88);
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}

.footer-col a {
  color: rgba(245, 240, 232, 0.7);
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: var(--color-secondary);
}

.footer-col p {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.7);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-honor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px;
  background: rgba(245, 240, 232, 0.05);
  border-radius: 6px;
}

.footer-honor img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.footer-honor span {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.4;
}

.footer-icp {
  margin-top: 12px;
}

.footer-icp a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
}

.footer-icp img {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.5);
}

/* ============================================
   内页布局
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-primary) 100%);
  padding: 40px 0;
  border-bottom: 1px solid rgba(121, 85, 72, 0.1);
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(62, 39, 35, 0.6);
  margin-bottom: 12px;
}

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

.breadcrumb .sep {
  margin: 0 8px;
  color: rgba(62, 39, 35, 0.3);
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-text);
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 0;
}

.page-main {
  min-width: 0;
}

.page-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* 侧边栏模块 */
.sidebar-widget {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  border: 1px solid rgba(121, 85, 72, 0.08);
}

.sidebar-widget h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-light);
}

.sidebar-widget .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-widget .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-light);
  color: var(--color-text);
  font-size: 0.8rem;
  border-radius: 14px;
  transition: var(--transition);
}

.sidebar-widget .tag:hover {
  background: var(--color-secondary);
  color: white;
}

.sidebar-widget .related-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-light);
  font-size: 0.9rem;
  color: var(--color-text);
}

.sidebar-widget .related-list a:last-child {
  border-bottom: none;
}

.sidebar-widget .related-list a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

/* 文章内容样式 */
.article-content {
  background: white;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  border: 1px solid rgba(121, 85, 72, 0.08);
}

.article-content p {
  margin-bottom: 20px;
  text-indent: 2em;
}

.article-content blockquote {
  background: var(--color-light);
  border-left: 4px solid var(--color-secondary);
  padding: 16px 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--color-accent);
  border-radius: 0 8px 8px 0;
}

.article-content img {
  border-radius: 8px;
  margin: 20px auto;
}

.article-content figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(62, 39, 35, 0.5);
  margin-top: -12px;
  margin-bottom: 20px;
}

/* 社交分享 */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--color-light);
  margin-top: 30px;
}

.share-bar span {
  font-size: 0.85rem;
  color: var(--color-accent);
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(121, 85, 72, 0.1);
}

.share-btn:hover {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
}

/* ============================================
   烟雨球场 特色页面
   ============================================ */
.misty-rain-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rain-effect {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
}

.rain-drop {
  position: absolute;
  width: 1px;
  height: 20px;
  background: linear-gradient(transparent, rgba(245, 240, 232, 0.4));
  animation: rainDrop 1.5s linear infinite;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(62, 39, 35, 0.08);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(62, 39, 35, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.gallery-item .gallery-info {
  padding: 16px;
}

.gallery-item .gallery-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.gallery-item .gallery-desc {
  font-size: 0.8rem;
  color: rgba(62, 39, 35, 0.6);
  margin-bottom: 12px;
}

.gallery-item .gallery-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stamp-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(183, 28, 28, 0.08);
  color: #B71C1C;
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(183, 28, 28, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.stamp-btn:hover {
  background: rgba(183, 28, 28, 0.15);
}

/* ============================================
   APP下载页面
   ============================================ */
.app-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-primary) 50%, rgba(46, 125, 50, 0.05) 100%);
}

.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-text h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.4;
}

.app-text p {
  font-size: 1.05rem;
  color: rgba(62, 39, 35, 0.7);
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.app-btn.ios {
  background: var(--color-text);
  color: white;
}

.app-btn.android {
  background: var(--color-secondary);
  color: white;
}

.app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  color: white;
}

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

.app-phone img {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(62, 39, 35, 0.2);
}

/* ============================================
   列表页面样式
   ============================================ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  display: flex;
  gap: 20px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(62, 39, 35, 0.06);
  transition: var(--transition);
  border: 1px solid rgba(121, 85, 72, 0.08);
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.12);
  transform: translateX(4px);
}

.article-card .card-thumb {
  width: 260px;
  min-height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.article-card .card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-card .card-meta {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.article-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.article-card .card-excerpt {
  font-size: 0.85rem;
  color: rgba(62, 39, 35, 0.65);
  line-height: 1.6;
}

/* ============================================
   响应式设计 - Mobile First
   ============================================ */

/* 移动端 (< 768px) */
@media (max-width: 767px) {
  .top-bar .container {
    flex-direction: column;
    gap: 4px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    box-shadow: 4px 0 30px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-search {
    display: none;
  }

  .hero-banner {
    min-height: 320px;
  }

  .hero-content .hero-title {
    font-size: 1.8rem;
  }

  .hero-content .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-vertical-text {
    display: none;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

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

  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .app-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .special-entry .entry-content {
    padding: 24px;
  }

  .special-entry .entry-title {
    font-size: 1.4rem;
  }

  .article-card {
    flex-direction: column;
  }

  .article-card .card-thumb {
    width: 100%;
    min-height: 160px;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

/* 平板端 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    box-shadow: 4px 0 30px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

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

  .page-layout {
    grid-template-columns: 1fr 260px;
  }

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

  .app-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

/* 桌面端 (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .container {
    max-width: 1000px;
  }
}

/* 大桌面端 (>= 1440px) */
@media (min-width: 1440px) {
  .container {
    max-width: var(--content-width);
  }

  .hero-banner {
    min-height: 600px;
  }

  .hero-content .hero-title {
    font-size: 3.5rem;
  }
}

/* --- 滚动动画 --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 水墨分隔线 --- */
.ink-divider {
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0,20 Q300,0 600,20 T1200,20' fill='none' stroke='%23795548' stroke-width='1' opacity='0.3'/%3E%3C/svg%3E") center no-repeat;
  background-size: 100% 100%;
  margin: 20px 0;
}
