:/* ===== 天天影院 全站样式表 ===== */
/* UI风格：深海影院 + 金色点缀 + 现代毛玻璃 */
/* 自动适配明暗模式，响应式 + 滚动动画 */

:root {
  --bg-primary: #f6f9fc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-header: #0b2b40;
  --bg-footer: #0b2b40;
  --bg-code: #e9eff5;
  --text-strong: #17202a;
  --text-body: #26313c;
  --text-soft: #3d4f5c;
  --text-invert: #f1f5f9;
  --text-invert-soft: #cbd5e1;
  --accent: #2c5f7c;
  --accent-strong: #14455e;
  --accent-gold: #f5b81c;
  --border-light: rgba(44, 95, 124, 0.14);
  --shadow-sm: 0 4px 12px rgba(11, 43, 64, 0.06);
  --shadow-md: 0 12px 28px rgba(11, 43, 64, 0.1);
  --shadow-glow: 0 0 0 1px rgba(245, 184, 28, 0.2), 0 8px 30px rgba(245, 184, 28, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --max-width: 1280px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --nav-bg: rgba(11, 43, 64, 0.85);
  --nav-border: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(135deg, #0a1f2e 0%, #0b2b40 40%, #14455e 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  --gradient-gold: linear-gradient(135deg, #f5b81c, #f7d154);
  --scrollbar-thumb: #b0c4d4;
  --scrollbar-track: transparent;
}

[data-theme="dark"] {
  --bg-primary: #0c1420;
  --bg-card: rgba(30, 41, 59, 0.85);
  --bg-header: #050d16;
  --bg-footer: #050d16;
  --bg-code: #1e293b;
  --text-strong: #f1f5f9;
  --text-body: #cbd5e1;
  --text-soft: #94a3b8;
  --text-invert: #f1f5f9;
  --text-invert-soft: #94a3b8;
  --accent: #7ba3bb;
  --accent-strong: #a7c8de;
  --accent-gold: #f5b81c;
  --border-light: rgba(148, 163, 184, 0.16);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(245, 184, 28, 0.15), 0 8px 30px rgba(245, 184, 28, 0.06);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(5, 13, 22, 0.9);
  --nav-border: rgba(255, 255, 255, 0.06);
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0b2b40 55%, #1d4b63 100%);
  --gradient-card: linear-gradient(145deg, rgba(30,41,59,0.9), rgba(30,41,59,0.6));
  --gradient-gold: linear-gradient(135deg, #f5b81c, #f7d154);
  --scrollbar-thumb: #334155;
  --scrollbar-track: transparent;
}

* {
  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, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 20% 20%, rgba(44, 95, 124, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 184, 28, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* ===== 通用 ===== */
a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  position: relative;
}
a:hover,
a:focus-visible {
  color: var(--accent-gold);
  text-decoration: none;
  text-shadow: 0 0 20px rgba(245, 184, 28, 0.2);
}

a:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

/* ===== 头部导航 ===== */
.header {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--text-invert);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 0;
  gap: 10px;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
}
.logo-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  background: var(--accent-gold);
  filter: blur(12px);
  opacity: 0.15;
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: -1;
}

.logo-icon svg {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 60%, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 auto;
}

.nav-links a {
  color: var(--text-invert-soft);
  font-weight: 500;
  padding: 8px 2px;
  font-size: 1rem;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-links a:hover::after {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 3px 3px 3px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}
.search-box:focus-within {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(245, 184, 28, 0.15);
}
.search-box input {
  background: transparent;
  border: none;
  color: white;
  padding: 8px 0;
  outline: none;
  width: 150px;
  font-size: 0.95rem;
  transition: width 0.3s ease;
}
.search-box input:focus {
  width: 190px;
}
.search-box input::placeholder {
  color: rgba(203, 213, 225, 0.7);
  opacity: 1;
}
.search-box button {
  background: var(--gradient-gold);
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 600;
  color: #0b2b40;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
  line-height: 1;
}
.search-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(245, 184, 28, 0.4);
}

.theme-toggle,
.menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 9px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
}
.theme-toggle:hover,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  width: 100%;
  padding: 10px 0;
  gap: 5px;
  border-top: 1px solid var(--nav-border);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open {
  display: flex;
  animation: fadeInDown 0.3s ease;
}
.mobile-nav a {
  color: var(--text-invert);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.2s ease, padding-left 0.3s ease;
}
.mobile-nav a:hover {
  background: rgba(44, 95, 124, 0.3);
  padding-left: 30px;
  color: var(--accent-gold);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  background: var(--gradient-gold);
  color: #0b2b40;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(245, 184, 28, 0.3);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 184, 28, 0.4);
  color: #0b2b40;
}
.btn:hover::before {
  left: 100%;
}

/* ===== Hero 区域 ===== */
.hero {
  background: var(--gradient-hero);
  color: white;
  padding: 60px 0 70px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245, 184, 28, 0.08) 0%, transparent 60%);
  animation: floatGlow 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  animation: floatGlow 10s ease-in-out infinite reverse;
}

.hero .inner-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-copy {
  flex: 1;
  min-width: 300px;
}

.hero-badge {
  background: rgba(245, 184, 28, 0.15);
  border: 1px solid rgba(245, 184, 28, 0.3);
  border-radius: 60px;
  padding: 6px 18px;
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease both;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.1s both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(226, 232, 240, 0.9);
  max-width: 600px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.8;
}

.hero .btn {
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-visual {
  flex: 0 0 auto;
  max-width: 400px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero svg {
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

/* ===== 区块标题 ===== */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-strong);
  margin: 50px 0 28px;
  padding-left: 20px;
  position: relative;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: var(--gradient-gold);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(245, 184, 28, 0.4);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
  opacity: 0.6;
}

/* ===== 网格 ===== */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 28px;
  margin-bottom: 45px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== 卡片 ===== */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  color: var(--text-body);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 184, 28, 0.2);
}
.card:hover::before {
  transform: scaleX(1);
}

.card h3,
.card h4 {
  color: var(--text-strong);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.card h3 {
  font-size: 1.25rem;
}
.card h4 {
  font-size: 1.1rem;
}
.card p {
  color: var(--text-body);
  margin-bottom: 12px;
  font-size: 0.98rem;
}
.card .meta {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 500;
  opacity: 0.8;
}
.card a {
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
  transition: all 0.3s ease;
}
.card a:hover {
  transform: translateX(4px);
}

.svg-icon {
  width: 60px;
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-sm);
  padding: 20px 26px;
  margin-bottom: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
}
.faq-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-gold);
  transform: translateX(4px);
}

.faq-question {
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  gap: 20px;
  line-height: 1.5;
}
.faq-question span {
  color: var(--accent-gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-weight: 400;
}
.faq-question:hover span {
  transform: rotate(90deg);
}

.faq-answer {
  margin-top: 15px;
  color: var(--text-body);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  animation: fadeIn 0.3s ease;
  line-height: 1.8;
}
.faq-answer[hidden] {
  display: none;
}

/* ===== 表格 ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  background: var(--glass-bg);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
th {
  background: var(--bg-code);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
td {
  color: var(--text-body);
}
tr:last-child td {
  border-bottom: none;
}
tr:hover td {
  background: rgba(44, 95, 124, 0.04);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-footer);
  color: var(--text-invert);
  padding: 60px 0 24px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0.5;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 700;
  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(--gradient-gold);
  border-radius: 2px;
}

.footer a {
  color: var(--text-invert-soft);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 2.2;
}
.footer a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  color: rgba(203, 213, 225, 0.7);
  font-size: 0.9rem;
}
.footer .copyright p {
  margin-bottom: 6px;
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: var(--gradient-gold);
  color: #0b2b40;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  display: none;
  line-height: 1;
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(245, 184, 28, 0.4);
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 16px 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--accent-strong);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent-gold);
}

/* ===== 工具类 ===== */
.text-strong {
  color: var(--text-strong);
}
.text-soft {
  color: var(--text-soft);
}
.bg-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
}
.no-bullet {
  list-style: none;
  padding: 0;
}
.inline-svg {
  display: inline-block;
  vertical-align: middle;
}

/* ===== 列表 ===== */
ol,
ul {
  padding-left: 24px;
}
ol li,
ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== 动画 ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@keyframes floatGlow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.1);
  }
}

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

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .nav-links,
  .search-box {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  .hero {
    padding: 40px 0 50px;
  }
  .hero .inner-hero {
    gap: 30px;
  }
  .hero-visual {
    max-width: 100%;
    text-align: center;
  }
  .hero svg {
    max-width: 300px;
    margin: 0 auto;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 12px 15px;
  }
  .logo-text {
    font-size: 1.4rem;
  }
  .logo-icon svg {
    width: 38px;
    height: 38px;
  }
  .header .inner {
    padding: 10px 0;
  }
}

@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero p {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.6rem;
    margin: 40px 0 20px;
  }
  .card {
    padding: 22px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 20px;
    margin-bottom: 35px;
  }
  .footer {
    padding: 40px 0 20px;
  }
  .footer .grid-3 {
    gap: 25px;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    padding: 10px 12px;
    font-size: 1rem;
  }
  .search-box input {
    width: 110px;
  }
  .search-box input:focus {
    width: 140px;
  }
  .breadcrumb {
    font-size: 0.82rem;
  }
  .faq-item {
    padding: 16px 18px;
  }
  .btn {
    padding: 11px 26px;
    font-size: 0.95rem;
  }
}

/* ===== 暗色模式微调 ===== */
[data-theme="dark"] .card,
[data-theme="dark"] .faq-item {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

[data-theme="dark"] .search-box {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .menu-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .footer a:hover {
  color: var(--accent-gold);
}

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

/* ===== 打印样式 ===== */
@media print {
  .header,
  .footer,
  .back-to-top,
  .hero,
  .search-box,
  .menu-toggle,
  .theme-toggle {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .card,
  .faq-item {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
    opacity: 1;
    transform: none;
  }
}