:root {
  --primary: #E63946;
  --primary-dark: #C1121F;
  --primary-light: #FF6B7A;
  --accent: #FFD166;
  --accent-2: #2A9D8F;
  --accent-3: #457B9D;
  --bg: #F7F9FC;
  --bg-alt: #FFFFFF;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --text: #1D2433;
  --text-soft: #4A5568;
  --text-muted: #718096;
  --border: rgba(29, 36, 51, 0.09);
  --border-strong: rgba(29, 36, 51, 0.16);
  --shadow-sm: 0 2px 8px rgba(29, 36, 51, 0.06);
  --shadow-md: 0 8px 28px rgba(29, 36, 51, 0.10);
  --shadow-lg: 0 18px 48px rgba(29, 36, 51, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gradient-hero: linear-gradient(135deg, #E63946 0%, #C1121F 42%, #6A040F 100%);
  --gradient-accent: linear-gradient(135deg, #FFD166 0%, #FF9F1C 100%);
  --gradient-soft: linear-gradient(160deg, rgba(230, 57, 70, 0.10) 0%, rgba(69, 123, 157, 0.08) 50%, rgba(42, 157, 143, 0.10) 100%);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-blur: 18px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "SF Mono", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --maxw: 1200px;
}

html[data-theme="dark"] {
  --primary: #FF4D5E;
  --primary-dark: #E63946;
  --primary-light: #FF8A96;
  --accent: #FFD166;
  --accent-2: #4ECDC4;
  --accent-3: #6CA6D9;
  --bg: #0E1118;
  --bg-alt: #161B26;
  --bg-elevated: rgba(22, 27, 38, 0.72);
  --text: #E8ECF4;
  --text-soft: #B4BECD;
  --text-muted: #8592A6;
  --border: rgba(232, 236, 244, 0.10);
  --border-strong: rgba(232, 236, 244, 0.20);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.62);
  --gradient-hero: linear-gradient(135deg, #7A0C14 0%, #4A080D 55%, #1A0508 100%);
  --gradient-soft: linear-gradient(160deg, rgba(255, 77, 94, 0.12) 0%, rgba(108, 166, 217, 0.08) 50%, rgba(78, 205, 196, 0.10) 100%);
  --glass-bg: rgba(22, 27, 38, 0.58);
  --glass-border: rgba(232, 236, 244, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(230, 57, 70, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(69, 123, 157, 0.07), transparent 60%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  line-height: 1.35;
  margin: 0 0 0.6em;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.85rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  padding-bottom: 0.5em;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-accent);
}

h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  margin-top: 1.4em;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.4em;
  color: var(--text-soft);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.brand svg {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
  transition: transform 0.35s var(--ease);
}

.brand a:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

.brand-name {
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main-nav {
  flex: 1 1 auto;
}

#main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-nav li {
  margin: 0;
}

#main-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

#main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-accent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

#main-nav a:hover {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.07);
}

#main-nav a:hover::after {
  width: 60%;
}

#menu-toggle {
  display: none;
  order: 3;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

#menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

#site-search {
  display: flex;
  align-items: center;
  gap: 0;
  order: 4;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#site-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.14);
}

#search-input {
  width: 170px;
  padding: 8px 6px 8px 16px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
}

#search-input::placeholder {
  color: var(--text-muted);
}

#site-search button {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  cursor: pointer;
  transition: filter 0.25s var(--ease);
}

#site-search button:hover {
  filter: brightness(1.1);
}

#theme-toggle {
  order: 5;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

#theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ============ LAYOUT ============ */
#main-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 60px;
}

section {
  margin-bottom: 28px;
  padding: clamp(20px, 4vw, 40px);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

section:hover::before {
  opacity: 1;
}

section > * {
  position: relative;
  z-index: 1;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  margin: 0;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--text-muted);
  font-weight: 700;
}

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

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

.breadcrumb li[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* ============ HERO ============ */
#hero {
  background: var(--gradient-hero);
  border: none;
  color: #fff;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.30), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBlob 12s ease-in-out infinite;
}

#hero::before {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatBlob 16s ease-in-out infinite reverse;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.5em;
}

#hero .hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  max-width: 900px;
  line-height: 1.85;
}

#hero .hero-svg {
  margin: 26px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s var(--ease);
}

#hero .hero-svg:hover {
  transform: translateY(-4px) scale(1.01);
}

#hero .hero-svg svg {
  width: 100%;
  display: block;
}

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat {
  padding: 18px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

.stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}

/* ============ ARTICLES ============ */
#articles article {
  padding: 22px 24px;
  margin-bottom: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#articles article:last-child {
  margin-bottom: 0;
}

#articles article:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

#articles article h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

#articles .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.7em;
  font-family: var(--font-num);
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 0;
}

#articles article a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

#articles article a:hover::after {
  transform: translateX(4px);
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

#faq details:hover {
  border-color: var(--border-strong);
}

#faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  transition: transform 0.35s var(--ease);
}

#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

#faq summary:hover {
  background: rgba(230, 57, 70, 0.06);
  color: var(--primary);
}

#faq details p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 0.94rem;
  animation: fadeSlideIn 0.4s var(--ease);
}

/* ============ CONTACT ============ */
#contact ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 1.4em;
}

#contact li {
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#contact li:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ============ SITEMAP & LINKS ============ */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.30);
}

/* ============ FOOTER ============ */
#site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 20px 36px;
  margin-top: 20px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
  color: var(--text-soft);
}

.footer-brand p:first-child {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.8em;
}

.footer-legal h2 {
  font-size: 0.98rem;
  margin: 1.2em 0 0.5em;
  padding-bottom: 0;
}

.footer-legal h2::after {
  display: none;
}

.footer-legal h2:first-child {
  margin-top: 0;
}

.footer-legal p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-legal p:last-child {
  margin-top: 1.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--border);
  font-family: var(--font-num);
}

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 52px;
  height: 52px;
  padding: 0;
  font-size: 0;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.4s var(--ease);
}

#back-to-top::after {
  content: "↑";
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 32px rgba(230, 57, 70, 0.55);
}

/* ============ ANIMATIONS ============ */
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 20px) scale(1.08); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  #search-input {
    width: 130px;
  }
  #main-nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 10px;
  }
  #menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
  #main-nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
  }
  #main-nav.is-open {
    max-height: 640px;
  }
  #main-nav ul {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 12px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }
  #main-nav a {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
  }
  #main-nav a::after {
    display: none;
  }
  #site-search {
    order: 5;
    flex: 1 1 140px;
  }
  #search-input {
    width: 100%;
    min-width: 0;
  }
  #theme-toggle {
    order: 6;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  #main-content {
    padding: 16px 12px 44px;
  }
  section {
    padding: 20px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
  }
  #hero {
    border-radius: var(--radius-lg);
    padding: 24px 18px;
  }
  .header-inner {
    padding: 0 12px;
    min-height: 60px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  #site-search {
    flex-basis: 100%;
    order: 7;
  }
  #theme-toggle {
    order: 8;
  }
  #menu-toggle {
    order: 4;
  }
  .stats {
    gap: 10px;
    margin-top: 20px;
  }
  .stat {
    padding: 14px 8px;
  }
  #articles article {
    padding: 16px 16px;
    border-left-width: 3px;
  }
  #articles article:hover {
    transform: translateY(-2px);
  }
  #contact ul {
    grid-template-columns: 1fr;
  }
  #back-to-top {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 14px;
  }
  #site-footer {
    padding: 32px 14px 28px;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</tool_call>