/* ---------- 嫩草影院 完整样式表 ---------- */
:root {
  --bg-light: #f5f7fa;
  --bg-card: #ffffff;
  --bg-deep: #0d1b2a;
  --text-primary: #1f2937;
  --text-secondary: #2c3e50;
  --text-accent: #0a3d62;
  --text-link: #0b5e7e;
  --text-title: #0b1f33;
  --brand-green: #1b6b50;
  --brand-green-dark: #0e4b37;
  --border-light: #dce3ea;
  --footer-bg: #0d1b2a;
  --footer-text: #d1d9e6;
  --white: #ffffff;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  --radius: 16px;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.3);
  --gradient-hero: linear-gradient(135deg, #0a2f44 0%, #0d1b2a 50%, #1b6b50 100%);
  --gradient-card: linear-gradient(145deg, rgba(27, 107, 80, 0.05), rgba(10, 61, 98, 0.05));
  --transition-fast: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark {
  --bg-light: #0d1b2a;
  --bg-card: #1b2838;
  --bg-deep: #0a121f;
  --text-primary: #e2e8f0;
  --text-secondary: #cbd5e1;
  --text-accent: #a5c9e0;
  --text-link: #7fc1d9;
  --text-title: #f1f5f9;
  --border-light: #2d3f54;
  --footer-bg: #07111d;
  --footer-text: #cbd5e1;
  --glass-bg: rgba(27, 40, 56, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-card: linear-gradient(145deg, rgba(27, 107, 80, 0.1), rgba(10, 61, 98, 0.1));
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-title);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

p, li, span, div {
  color: inherit;
}

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

a:hover {
  text-decoration: underline;
  color: var(--brand-green);
}

img, svg {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s, border-color 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 0;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-title);
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: scale(1.02);
}

.logo svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 8px rgba(27, 107, 80, 0.3));
  transition: transform var(--transition-slow);
}

.logo:hover svg {
  transform: rotate(-5deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green), var(--text-accent));
  transition: width var(--transition-slow);
}

.nav-links a:hover {
  border-bottom-color: transparent;
  text-decoration: none;
  color: var(--brand-green);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: 30px;
  padding: 4px 12px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.search-box:focus-within {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(27, 107, 80, 0.15);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px;
  width: 150px;
  color: var(--text-primary);
  outline: none;
  font-size: 0.95rem;
}

.search-box input::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.search-box button:hover {
  color: var(--brand-green);
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
  position: relative;
}

.icon-btn:hover {
  background: var(--bg-light);
  transform: scale(1.1);
}

.icon-btn:active {
  transform: scale(0.95);
}

/* ---------- 移动端菜单 ---------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-top: 1px solid var(--glass-border);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  padding: 12px 24px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.mobile-menu a:hover {
  background: var(--bg-light);
  color: var(--brand-green);
  text-decoration: none;
  padding-left: 30px;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ---------- Hero 区域 ---------- */
.hero {
  background: var(--gradient-hero);
  color: white;
  padding: 80px 0;
  border-radius: 0 0 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 107, 80, 0.3), transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(165, 201, 224, 0.2), transparent 70%);
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: white;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #d1e3f0;
  max-width: 700px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .badge {
  background: rgba(27, 107, 80, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-block;
  font-size: 1rem;
  color: #e7f0fa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  animation: fadeInUp 0.8s ease 0.4s both;
  align-self: flex-start;
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 40px;
  border-left: 6px solid var(--brand-green);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), transparent);
  border-radius: 2px;
}

/* ---------- 网格系统 ---------- */
.grid-2col,
.grid-3col {
  display: grid;
  gap: 30px;
}

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

.grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--text-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-green), transparent);
}

.card p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.card .text-secondary {
  color: var(--text-secondary);
  opacity: 0.8;
}

/* ---------- 统计数字 ---------- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- 文章卡片 ---------- */
article.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.article-meta span {
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--border-light);
}

.read-more {
  font-weight: 600;
  color: var(--text-link);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.read-more:hover {
  color: var(--brand-green);
  gap: 10px;
  text-decoration: none;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  transition: all var(--transition-fast);
}

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

.faq-question {
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-title);
  transition: all var(--transition-fast);
  padding: 10px 0;
  user-select: none;
}

.faq-question:hover {
  color: var(--brand-green);
}

.faq-question span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  font-size: 1.2rem;
  transition: all var(--transition-slow);
  color: var(--brand-green);
}

.faq-question:hover span {
  background: var(--brand-green);
  color: white;
  transform: rotate(90deg);
}

.faq-answer {
  margin-top: 12px;
  color: var(--text-primary);
  line-height: 1.8;
  padding: 0 40px 10px 0;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 表格 ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table th {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: white;
  padding: 16px;
  text-align: left;
  font-weight: 600;
}

body.dark .data-table th {
  background: var(--text-accent);
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
}

.data-table tr:hover td {
  background: var(--bg-light);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ---------- 按钮 ---------- */
.btn {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(27, 107, 80, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover {
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27, 107, 80, 0.4);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0);
}

/* ---------- HowTo 样式 ---------- */
#howto .card {
  max-width: 900px;
}

#howto .card h3 {
  color: var(--text-accent);
  margin-top: 24px;
}

#howto .card h3:first-child {
  margin-top: 0;
}

#howto .card ul,
#howto .card ol {
  padding-left: 24px;
  margin: 16px 0;
}

#howto .card li {
  margin-bottom: 10px;
  line-height: 1.8;
  position: relative;
}

#howto .card ol li::marker {
  color: var(--brand-green);
  font-weight: 600;
}

#howto .card ul li::marker {
  color: var(--brand-green);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 20px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--text-accent), var(--brand-green));
  animation: gradientMove 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.footer a {
  color: #bcd0df;
  transition: all var(--transition-fast);
}

.footer a:hover {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer .grid-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.footer h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--brand-green);
}

.footer p {
  color: var(--footer-text);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(27, 107, 80, 0.4);
  z-index: 1000;
  transition: all var(--transition-slow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#backTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(27, 107, 80, 0.6);
}

#backTop:active {
  transform: translateY(0) scale(0.95);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 0.95rem;
  padding: 20px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-link);
  transition: all var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--brand-green);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-secondary);
  opacity: 0.8;
}

/* ---------- 文本工具类 ---------- */
.text-secondary {
  color: var(--text-secondary);
}

.card a {
  color: var(--text-link);
  font-weight: 500;
}

.footer a:hover {
  color: white;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 800px) {
  .container {
    padding: 0 16px;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-actions .search-box {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr;
  }
  
  .hero {
    border-radius: 0 0 40px 40px;
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .card {
    padding: 24px;
  }
  
  .footer .grid-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  #backTop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .breadcrumb {
    font-size: 0.85rem;
  }

  .faq-question {
    font-size: 1.05rem;
  }

  .faq-answer {
    padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .nav-inner {
    padding: 10px 0;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo svg {
    width: 36px;
    height: 36px;
  }
  
  .hero {
    padding: 40px 0;
    border-radius: 0 0 30px 30px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero .badge {
    font-size: 0.85rem;
    padding: 6px 16px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .card h3 {
    font-size: 1.1rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  
  .article-meta span {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  .footer {
    padding: 40px 0 15px;
  }
  
  #backTop {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    bottom: 15px;
    right: 15px;
  }
}

/* ---------- 打印样式优化 ---------- */
@media print {
  .navbar,
  .mobile-menu,
  #backTop,
  .search-box,
  .icon-btn,
  .menu-toggle {
    display: none !important;
  }
  
  .hero {
    background: none;
    color: var(--text-primary);
    padding: 20px 0;
    border-radius: 0;
  }
  
  .hero h1,
  .hero p,
  .hero .badge {
    color: var(--text-primary);
    text-shadow: none;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .footer {
    background: none;
    color: var(--text-primary);
    margin-top: 20px;
    padding: 20px 0;
  }
  
  .footer-bottom {
    border-top-color: #ccc;
  }
}

/* ---------- 无障碍与可访问性 ---------- */
:focus-visible {
  outline: 3px solid var(--brand-green);
  outline-offset: 2px;
}

::selection {
  background: var(--brand-green);
  color: white;
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-green), var(--text-accent));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-green-dark);
}

/* ---------- 暗色模式细节优化 ---------- */
body.dark .card {
  background: var(--glass-bg);
}

body.dark .search-box {
  background: var(--bg-deep);
}

body.dark .article-meta span {
  background: var(--bg-deep);
}

body.dark .faq-question span {
  background: var(--bg-deep);
}

body.dark .hero {
  background: linear-gradient(135deg, #0a121f, #0d1b2a, #0a2f44);
}

/* ---------- 动画性能优化 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 卡片悬停微交互 ---------- */
.grid-2col > .card:nth-child(even),
.grid-3col > .card:nth-child(even) {
  animation-delay: 0.1s;
}

/* ---------- 链接下划线动画优化 ---------- */
.card a:not(.read-more) {
  position: relative;
}

.card a:not(.read-more)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-green);
  transition: width var(--transition-fast);
}

.card a:not(.read-more):hover::after {
  width: 100%;
}

/* ---------- 极简加载动画 ---------- */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ---------- 页面进入动效 ---------- */
@keyframes pageEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  animation: pageEnter 0.5s ease;
}