:root {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #1a1a2e;
  --text-soft: #4a4a63;
  --text-muted: #767691;
  --border: rgba(26, 26, 46, 0.1);
  --primary: #e94560;
  --primary-dark: #c9304a;
  --accent: #f5b301;
  --accent-soft: rgba(245, 179, 1, 0.14);
  --navy: #1a1a2e;
  --navy-2: #16213e;
  --violet: #533483;
  --shadow-sm: 0 2px 10px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 24px 60px rgba(26, 26, 46, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grad-hero: linear-gradient(135deg, #1a1a2e 0%, #3b2660 48%, #e94560 100%);
  --grad-accent: linear-gradient(135deg, #e94560 0%, #f5b301 100%);
  --grad-soft: linear-gradient(135deg, rgba(233, 69, 96, 0.12), rgba(245, 179, 1, 0.12));
}

html[data-theme="dark"],
body.dark-mode {
  --bg: #0e0e1a;
  --bg-alt: #15152a;
  --surface: rgba(30, 30, 54, 0.72);
  --surface-solid: #1c1c34;
  --text: #f2f2f8;
  --text-soft: #c3c3d6;
  --text-muted: #9494ad;
  --border: rgba(255, 255, 255, 0.12);
  --primary: #ff5c78;
  --primary-dark: #e94560;
  --accent: #ffc93c;
  --accent-soft: rgba(255, 201, 60, 0.16);
  --navy: #1a1a2e;
  --navy-2: #16213e;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #0f0f22 0%, #2a1a4d 48%, #a3243c 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 92, 120, 0.16), rgba(255, 201, 60, 0.16));
}

*,
*::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: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(233, 69, 96, 0.08), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(245, 179, 1, 0.1), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(83, 52, 131, 0.08), transparent 50%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

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

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

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

h1 { font-size: clamp(1.85rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.5em;
}

strong {
  color: var(--text);
  font-weight: 700;
}

blockquote {
  margin: 0 0 1.2em;
  padding: 1.1em 1.4em;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-soft);
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

blockquote p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.05);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(233, 69, 96, 0.3);
  transition: transform 0.4s var(--ease);
}

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

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-slogan {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding-left: 10px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 14px;
  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(233, 69, 96, 0.14);
}

.site-search input {
  width: 150px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
}

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

.site-search button {
  border: 0;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.site-search button:hover {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  border-color: var(--primary);
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--surface-solid);
  padding: 12px 20px 20px;
  animation: slideDown 0.32s var(--ease);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mobile-menu li { margin: 0; }

.mobile-menu a {
  display: block;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.mobile-menu a:hover {
  background: var(--accent-soft);
  color: var(--primary);
}

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

/* ============ Layout ============ */
main {
  display: block;
}

.section {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: clamp(26px, 4.5vw, 52px) clamp(20px, 4vw, 48px);
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.22);
}

.section > h2 {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
}

.section h3 {
  margin-top: 1.8em;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.section h3:first-of-type {
  margin-top: 1.2em;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  max-width: 1240px;
  margin: 20px auto 28px;
  padding: 0 16px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  isolation: isolate;
}

.slide {
  position: relative;
  display: none;
  min-height: 460px;
  align-items: center;
}

.slide.active {
  display: flex;
  animation: fadeSlide 0.7s var(--ease);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide-bg::after {
  content: "";
}

.slide-content {
  position: relative;
  padding: clamp(32px, 6vw, 72px);
  max-width: 660px;
  color: #fff;
}

.slide-content h1,
.slide-content h2 {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.5em;
}

.slide-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.94rem, 1.5vw, 1.05rem);
  line-height: 1.85;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  color: #fff;
  background: var(--grad-accent);
  box-shadow: 0 10px 26px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(233, 69, 96, 0.5);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-3px);
}

.slider-controls {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px) 22px;
  pointer-events: none;
}

.slider-prev,
.slider-next {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary);
  transform: scale(1.08);
}

.slider-dots {
  pointer-events: auto;
  display: flex;
  gap: 8px;
  margin: 0 auto;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: var(--radius-pill);
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.dot.active {
  width: 28px;
  background: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.3);
}

.stat-num {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  max-width: 1120px;
  margin: 0 auto 20px;
  padding: 0 clamp(16px, 4vw, 48px);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

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

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

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

/* ============ Timeline ============ */
.timeline {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0 0 0 26px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline li {
  position: relative;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.timeline strong {
  color: var(--primary);
}

/* ============ FAQ ============ */
.faq-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.faq-question[aria-expanded="true"] {
  color: var(--primary);
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}

.faq-question:hover {
  background: var(--accent-soft);
}

.faq-answer {
  margin: 0;
  padding: 0 20px 18px;
  animation: fadeIn 0.35s var(--ease);
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

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

/* ============ Article cards ============ */
.article-card {
  position: relative;
  padding: 22px 24px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(233, 69, 96, 0.25);
}

.article-card:hover::before {
  opacity: 1;
}

.article-card h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 1.12rem;
}

.article-card h3 a {
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.article-card h3 a:hover {
  color: var(--primary);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-meta time {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 600;
}

.article-card > p:not(.article-meta) {
  margin-bottom: 12px;
  font-size: 0.93rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ============ News ============ */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
  font-size: 0.94rem;
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list li:hover {
  color: var(--text);
  padding-left: 10px;
}

.news-list time {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ============ Contact ============ */
.contact-info {
  font-style: normal;
}

.contact-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.contact-info li {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-info li:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: var(--shadow-sm);
}

.contact-info strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--primary);
}

/* ============ Sitemap & Links ============ */
.sitemap-list,
.friend-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-list li,
.friend-links li {
  margin: 0;
}

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--grad-accent);
  border-color: transparent;
}

/* ============ Legal ============ */
.update-info {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============ Footer ============ */
.site-footer {
  margin-top: 40px;
  padding: 40px 24px 32px;
  background: var(--navy);
  background-image: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #2a1a4d 100%);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--accent);
}

.site-footer a:hover {
  color: #fff;
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--grad-accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(233, 69, 96, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.back-to-top.visible,
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 40px rgba(233, 69, 96, 0.5);
}

/* ============ Scroll reveal ============ */
.reveal,
.section,
.article-card,
.stat {
  will-change: transform, opacity;
}

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

.reveal.visible,
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .main-nav a {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  .brand-slogan {
    display: none;
  }
  .site-search input {
    width: 110px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header-inner {
    gap: 12px;
  }
  .header-tools {
    margin-left: auto;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide {
    min-height: 420px;
  }
  .slide-content {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  .header-inner {
    padding: 0 16px;
  }
  .site-search {
    display: none;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 1.08rem;
  }
  .hero {
    padding: 0 12px;
    margin-top: 12px;
  }
  .slide {
    min-height: 0;
  }
  .slide-content {
    padding: 34px 22px 84px;
  }
  .hero-actions {
    gap: 10px;
  }
  .btn-primary,
  .btn-secondary {
    padding: 11px 22px;
    font-size: 0.88rem;
    flex: 1 1 auto;
  }
  .slider-controls {
    padding: 0 16px 16px;
  }
  .slider-prev,
  .slider-next {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .hero-stats {
    gap: 10px;
  }
  .stat {
    padding: 16px 10px;
  }
  .stat-label {
    font-size: 0.74rem;
  }
  .section {
    margin: 0 12px 18px;
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }
  .breadcrumb {
    padding: 0 16px;
  }
  .contact-info ul {
    grid-template-columns: 1fr;
  }
  .article-card {
    padding: 18px 18px;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .faq-answer {
    padding: 0 16px 16px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
  .site-footer {
    padding: 30px 18px 26px;
  }
}

@media (max-width: 420px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-num {
    font-size: 1.35rem;
  }
  .sitemap-list a,
  .friend-links a {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}
</｜｜DSML｜｜ parameter>
</invoke>