```css
/* ===== 天堂资源 全站样式 ===== */
:root {
  --bg-main: #f5f7fa;
  --bg-card: #ffffff;
  --bg-footer: #0d1f3c;
  --text-primary: #1f2a44;
  --text-secondary: #2c3e5c;
  --text-heading: #0b1b33;
  --text-accent: #b22222;
  --text-link: #1e4b7a;
  --border-soft: #d0d9e6;
  --btn-bg: #1e4b7a;
  --btn-text: #ffffff;
  --nav-bg: rgba(13, 31, 60, 0.95);
  --nav-text: #ffffff;
  --footer-text: #dfe7f5;
  --footer-heading: #ffffff;
  --card-title: #0b1b33;
  --card-text: #1f2a44;
  --tag-bg: #e9eef5;
  --tag-text: #0b1b33;
  --code-bg: #f0f4fa;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

[data-theme="dark"] {
  --bg-main: #121a29;
  --bg-card: #1e293b;
  --bg-footer: #0a111f;
  --text-primary: #e2e8f0;
  --text-secondary: #cbd5e1;
  --text-heading: #ffffff;
  --text-accent: #f87171;
  --text-link: #7aa5d9;
  --border-soft: #334155;
  --btn-bg: #3b5f8a;
  --btn-text: #ffffff;
  --nav-bg: rgba(10, 17, 31, 0.95);
  --nav-text: #f1f5f9;
  --footer-text: #cbd5e1;
  --footer-heading: #ffffff;
  --card-title: #f8fafc;
  --card-text: #e2e8f0;
  --tag-bg: #2d3b4f;
  --tag-text: #e2e8f0;
  --code-bg: #1a2536;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  padding-left: 1.5rem;
}

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

/* ===== 导航栏 ===== */
.site-header {
  background: var(--nav-bg);
  color: var(--nav-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  gap: 1rem;
}

.logo a {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ffd966, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.logo span {
  color: #ffd966;
  -webkit-text-fill-color: #ffd966;
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-links a {
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd966, #ffb347);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.95;
  color: #ffd966;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.4rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(255, 217, 102, 0.3);
}

.search-box input {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.4rem 0.6rem;
  outline: none;
  width: 140px;
  font-size: 0.9rem;
  transition: width 0.3s ease;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
  width: 180px;
}

.search-box button {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.search-box button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.theme-toggle,
.menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--nav-text);
  font-size: 1.2rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  font-size: 1.4rem;
}

/* ===== Banner 区域 ===== */
.banner-section {
  background: linear-gradient(145deg, #0a1f3a 0%, #1e3a5f 40%, #2a4d7a 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.banner-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 217, 102, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-grid {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.banner-text {
  flex: 1.5;
  min-width: 300px;
}

.banner-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0.3rem 0;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.25;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 60%, #ffd966);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 1rem 0;
  max-width: 600px;
  line-height: 1.8;
}

.banner-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffb347, #ffd966);
  color: #0b1b33;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 1rem;
  box-shadow: 0 8px 24px rgba(255, 179, 71, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 179, 71, 0.4);
  color: #0b1b33;
}

.banner-art {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.banner-art svg {
  background: linear-gradient(145deg, #1e3a5f, #2a4d7a);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.banner-art svg:hover {
  transform: scale(1.03) rotate(1deg);
}

/* ===== 通用标题 ===== */
h2 {
  color: var(--text-heading);
  font-size: 2rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  position: relative;
  padding-left: 1rem;
  line-height: 1.3;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: linear-gradient(180deg, var(--text-accent), #ffb347);
  border-radius: var(--radius-full);
}

h3 {
  color: var(--text-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.5rem 0 0.8rem;
}

h4 {
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--text-accent), #ffb347);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.card h3 {
  color: var(--card-title);
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.card p {
  color: var(--card-text);
  margin: 0.8rem 0;
  font-size: 0.95rem;
}

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

.card .tag {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  display: inline-block;
}

/* ===== 标签 ===== */
.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  border-radius: var(--radius-full);
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
}

.tag:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 75, 122, 0.3);
  color: var(--btn-text);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--btn-bg);
  color: var(--btn-bg);
}

.btn-outline:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
}

/* ===== 表格 ===== */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

th,
td {
  padding: 14px 18px;
  border: 1px solid var(--border-soft);
  text-align: left;
  font-size: 0.95rem;
}

th {
  background-color: #e6edf6;
  color: #0b1b33;
  font-weight: 600;
  white-space: nowrap;
}

[data-theme="dark"] th {
  background-color: #2d3b4f;
  color: #f1f5f9;
}

tr:hover td {
  background-color: rgba(30, 75, 122, 0.04);
}

/* ===== 品牌介绍区块 ===== */
#brand > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

#brand > div > div {
  flex: 1;
  min-width: 280px;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease;
}

#brand > div > div:hover {
  box-shadow: var(--shadow-md);
}

/* ===== 解决方案 ===== */
#solutions > div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

#solutions > div > div {
  flex: 1;
  min-width: 280px;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#solutions > div > div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ===== 新闻中心 ===== */
#news > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

#news article {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

#news article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

#news article h4 {
  margin-top: 0;
  font-size: 1.05rem;
  transition: color 0.2s;
}

#news article:hover h4 {
  color: var(--text-accent);
}

#news article time {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0.4rem 0;
}

#news article p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0.5rem 0;
}

#news article a {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--text-link);
}

.faq-question {
  font-weight: 600;
  color: var(--card-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  user-select: none;
}

.faq-question span {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  color: var(--text-accent);
}

.faq-question:hover span {
  transform: rotate(90deg);
}

.faq-answer {
  margin-top: 0.8rem;
  color: var(--card-text);
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== HowTo 区域 ===== */
#howto > div {
  background: var(--code-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

#howto h3 {
  color: var(--text-heading);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-left: 0.8rem;
}

#howto h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--text-accent);
  border-radius: var(--radius-full);
}

#howto p,
#howto li {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

#howto ol {
  padding-left: 1.8rem;
}

#howto li {
  margin: 0.4rem 0;
}

/* ===== 联系区域 ===== */
#contact > div {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--bg-card);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}

#contact > div > div {
  flex: 1;
  min-width: 200px;
}

#contact strong {
  color: var(--text-heading);
  display: block;
  margin-bottom: 0.3rem;
}

/* ===== 面包屑 ===== */
nav[aria-label="面包屑"] ol {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

nav[aria-label="面包屑"] a {
  color: var(--text-link);
  text-decoration: none;
}

nav[aria-label="面包屑"] a:hover {
  text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-footer);
  color: var(--footer-text);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd966, #ffb347, #ffd966);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.site-footer a {
  color: #aac7e0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffd966;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.3rem 0;
  color: #b7c9dd;
}

/* ===== 返回顶部 ===== */
#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--btn-bg), #2a5f8f);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

#backTop.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
}

#backTop:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== 统计数字 ===== */
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  background: linear-gradient(135deg, var(--text-accent), #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== SVG 占位 ===== */
.svg-placeholder {
  background: #d9e2ef;
  border-radius: var(--radius-sm);
}

/* ===== 高对比度 ===== */
.card a,
.content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.card a:hover,
.content a:hover {
  text-decoration-color: var(--text-accent);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .banner-text h1 {
    font-size: 2.4rem;
  }

  #news > div {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-wrap {
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
  }

  .logo a {
    font-size: 1.4rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--nav-bg);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .nav-links a {
    padding: 0.9rem 2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }

  .search-box input {
    width: 100%;
    flex: 1;
  }

  .search-box input:focus {
    width: 100%;
  }

  .banner-grid {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .banner-text h1 {
    font-size: 2rem;
  }

  .banner-text p {
    font-size: 1rem;
    margin: 0.8rem auto;
  }

  .banner-art {
    order: -1;
  }

  .banner-art svg {
    max-width: 200px;
    margin: 0 auto;
  }

  h2 {
    font-size: 1.6rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #news > div {
    grid-template-columns: 1fr;
  }

  #brand > div,
  #solutions > div {
    flex-direction: column;
  }

  #brand > div > div,
  #solutions > div > div {
    min-width: auto;
  }

  #contact > div {
    flex-direction: column;
    gap: 1rem;
  }

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

  .footer-bottom {
    font-size: 0.8rem;
  }

  #backTop {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .banner-section {
    padding: 2.5rem 0;
  }

  .banner-text h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .banner-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1.3rem;
  }

  #howto > div {
    padding: 1.2rem;
  }

  .faq-item {
    padding: 1rem;
  }
}

/* ===== 动画 ===== */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 179, 71, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 179, 71, 0.4);
  }
}

/* ===== 无障碍与可访问性 ===== */
:focus-visible {
  outline: 3px solid #ffd966;
  outline-offset: 2px;
}

::selection {
  background: rgba(255, 217, 102, 0.3);
  color: var(--text-heading);
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border-soft);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-link);
}

/* ===== 暗色模式下额外优化 ===== */
[data-theme="dark"] .logo a {
  background: linear-gradient(135deg, #ffffff, #ffd966);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .logo span {
  -webkit-text-fill-color: #ffd966;
}

[data-theme="dark"] .banner-section {
  background: linear-gradient(145deg, #0a111f 0%, #16233a 40%, #1e3a5f 100%);
}

[data-theme="dark"] .banner-btn {
  background: linear-gradient(135deg, #ffb347, #ffd966);
  color: #0b1b33;
}

[data-theme="dark"] .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .site-footer::before {
  background: linear-gradient(90deg, #3b5f8a, #ffd966, #3b5f8a);
}

/* ===== 打印样式 ===== */
@media print {
  .site-header,
  .site-footer,
  #backTop,
  .banner-btn,
  .theme-toggle,
  .menu-toggle,
  .search-box {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .container {
    max-width: 100%;
  }
}
```