:root {
  --sakura-50: #fff5f8;
  --sakura-100: #ffe4ed;
  --sakura-200: #ffc9db;
  --sakura-300: #f7b6c9;
  --sakura-400: #ef8fb0;
  --sakura-500: #e8628a;
  --sakura-600: #d14472;
  --sakura-700: #a82f57;
  --ink-900: #1c1520;
  --ink-800: #2a2130;
  --ink-700: #3c3142;
  --ink-600: #5a4d61;
  --ink-500: #7d6f85;
  --ink-400: #a094a6;
  --ink-300: #c9c0cd;
  --ink-200: #e4dfe8;
  --ink-100: #f2eff5;
  --ink-50: #faf8fb;
  --bg: #fdf9fb;
  --bg-elevated: #ffffff;
  --bg-soft: #fff5f8;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --border: rgba(232, 98, 138, 0.14);
  --border-soft: rgba(28, 21, 32, 0.08);
  --text: #2a2130;
  --text-muted: #6b5e72;
  --text-soft: #8b7e92;
  --brand: #e8628a;
  --brand-strong: #d14472;
  --brand-soft: #ffe4ed;
  --accent: #7c6cff;
  --accent-soft: #ece9ff;
  --mint: #3fbf8f;
  --shadow-sm: 0 1px 2px rgba(28, 21, 32, 0.05), 0 2px 8px rgba(232, 98, 138, 0.06);
  --shadow-md: 0 4px 12px rgba(28, 21, 32, 0.06), 0 12px 32px rgba(232, 98, 138, 0.10);
  --shadow-lg: 0 8px 24px rgba(28, 21, 32, 0.08), 0 24px 64px rgba(232, 98, 138, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gradient-banner: linear-gradient(135deg, #ffe4ed 0%, #f7b6c9 34%, #c9b6f7 68%, #b6d9f7 100%);
  --gradient-brand: linear-gradient(135deg, #e8628a 0%, #d14472 60%, #a82f57 100%);
  --gradient-soft: linear-gradient(135deg, #fff5f8 0%, #ffe4ed 50%, #ece9ff 100%);
}

[data-theme="dark"] {
  --bg: #14101a;
  --bg-elevated: #1d1726;
  --bg-soft: #221a2e;
  --surface-glass: rgba(29, 23, 38, 0.72);
  --surface-glass-strong: rgba(29, 23, 38, 0.9);
  --border: rgba(247, 182, 201, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f3eef6;
  --text-muted: #c2b6cc;
  --text-soft: #9b8fab;
  --brand: #f78fb0;
  --brand-strong: #f7b6c9;
  --brand-soft: rgba(247, 143, 176, 0.14);
  --accent: #a99cff;
  --accent-soft: rgba(169, 156, 255, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.45), 0 24px 64px rgba(0, 0, 0, 0.4);
  --gradient-banner: linear-gradient(135deg, #2a1f38 0%, #3a2445 34%, #2c2a55 68%, #1f3247 100%);
  --gradient-soft: linear-gradient(135deg, #221a2e 0%, #2a1f38 50%, #242244 100%);
}

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

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

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

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(1200px 600px at 8% -10%, rgba(247, 182, 201, 0.28), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(201, 182, 247, 0.22), transparent 55%),
    radial-gradient(900px 600px at 50% 110%, rgba(182, 217, 247, 0.18), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(1200px 600px at 8% -10%, rgba(247, 143, 176, 0.12), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(169, 156, 255, 0.10), transparent 55%),
    radial-gradient(900px 600px at 50% 110%, rgba(63, 191, 143, 0.06), transparent 60%);
}

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

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

a:hover {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

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

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

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--brand);
}

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

blockquote {
  margin: 0 0 1.2em;
  padding: 1.1em 1.3em;
  border-left: 4px solid var(--brand);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
}

blockquote p {
  margin: 0;
  font-style: italic;
}

time {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

:target {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 0.7em 1.2em;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

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

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: var(--surface-glass-strong);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(232, 98, 138, 0.35);
  transition: transform 0.5s var(--ease);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-strong);
}

.brand-slogan {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.main-nav li {
  margin: 0;
}

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

.main-nav a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

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

.site-search {
  position: relative;
  display: flex;
  align-items: center;
}

.site-search input {
  width: 200px;
  padding: 9px 40px 9px 16px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  transition: width 0.35s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.35s var(--ease);
}

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

.site-search input:focus {
  width: 240px;
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.site-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-search button:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.4s var(--ease), border-color 0.25s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--brand-strong);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.theme-toggle:active {
  transform: rotate(-25deg) scale(0.94);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: menuDrop 0.35s var(--ease-out);
}

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

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 24px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

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

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px 0;
}

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

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--ink-300);
}

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

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

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

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

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section > h2 {
  position: relative;
  padding-bottom: 0.5em;
  margin-bottom: 1.2em;
}

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

.section > h3 {
  margin-top: 1.8em;
}

/* ============ HERO ============ */
.hero {
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 24px;
}

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

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 15%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(255, 255, 255, 0.22), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.slide {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 56px;
  min-height: 420px;
  animation: slideIn 0.6s var(--ease-out);
}

.slide[hidden] {
  display: none;
}

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

.slide-text h1,
.slide-text h2 {
  margin-bottom: 0.5em;
  color: var(--text);
}

[data-theme="dark"] .slide-text h1,
[data-theme="dark"] .slide-text h2 {
  color: var(--text);
}

.slide-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 56ch;
}

[data-theme="dark"] .slide-text p {
  color: var(--text-muted);
}

.slide-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-media svg {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease);
}

.slide:hover .slide-media svg {
  transform: translateY(-6px) rotate(-1deg) scale(1.02);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(232, 98, 138, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 98, 138, 0.45);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.slider-controls {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-controls > button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text);
  background: var(--surface-glass-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

.slider-controls > button:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin-left: 6px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--surface-glass-strong);
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.3s var(--ease);
}

.slider-dots .dot.is-active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--brand);
}

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

.stat {
  padding: 22px 20px;
  text-align: center;
  background: var(--surface-glass);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* ============ CONTENT CARDS / LISTS ============ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 2px;
  opacity: 0.5;
}

.timeline li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 1em;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.timeline li:hover::before {
  transform: scale(1.15);
  background: var(--brand);
}

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

.feature-list li {
  position: relative;
  margin: 0;
  padding: 18px 20px 18px 48px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 50%;
}

.feature-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* ============ NEWS ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.news-list > li {
  margin: 0;
  padding: 24px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.news-list > li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.news-list h3 {
  margin-bottom: 0.35em;
  font-size: 1.1rem;
}

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

.news-list h3 a:hover {
  color: var(--brand-strong);
}

.news-list .meta {
  margin: 0 0 0.6em;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.news-list p:last-child {
  margin-bottom: 0;
}

/* ============ ARTICLES ============ */
.article-card {
  margin-bottom: 20px;
  padding: 26px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.article-card h3 {
  margin-bottom: 0.4em;
  font-size: 1.18rem;
}

.article-card .meta {
  margin: 0 0 0.8em;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.article-card p {
  margin-bottom: 0.9em;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-strong);
  padding: 6px 14px;
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  transition: gap 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

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

.read-more:hover {
  gap: 10px;
  color: #fff;
  background: var(--gradient-brand);
}

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

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

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

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

.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  position: relative;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  background: var(--gradient-brand);
}

.faq-item summary:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.faq-answer {
  padding: 0 22px 20px;
  animation: faqOpen 0.35s var(--ease-out);
}

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

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

/* ============ HOWTO / NOTICE ============ */
#howto ol,
#howto ul {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px 22px 46px;
  box-shadow: var(--shadow-sm);
}

#howto ol li,
#howto ul li {
  margin-bottom: 0.65em;
}

#notice h3 {
  padding-left: 14px;
  border-left: 4px solid var(--brand);
}

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

.contact-list li {
  margin: 0;
  padding: 16px 20px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* ============ SITEMAP ============ */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.sitemap-list li {
  margin: 0;
}

.sitemap-list a {
  display: block;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.sitemap-list a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-color: var(--brand);
  transform: translateX(3px);
}

/* ============ LEGAL ============ */
#legal h3 {
  margin-top: 1.6em;
  color: var(--brand-strong);
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 40px;
  background: var(--gradient-soft);
  border-top: 1px solid var(--border-soft);
}

[data-theme="dark"] .site-footer {
  background: linear-gradient(135deg, #1a1424 0%, #221a2e 50%, #1c1a33 100%);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-name {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 0.4em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-strong);
}

.footer-links h3,
.footer-meta h3 {
  font-size: 0.95rem;
  margin-bottom: 0.9em;
  color: var(--text);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55em;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-strong);
}

.footer-meta p {
  font-size: 0.85rem;
  margin-bottom: 0.5em;
  color: var(--text-muted);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(232, 98, 138, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
}

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

.back-to-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 30px rgba(232, 98, 138, 0.5);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  .slide {
    padding: 44px 36px;
    gap: 28px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .site-search input {
    width: 160px;
  }
  .site-search input:focus {
    width: 190px;
  }
  .slide {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 40px 32px 72px;
    min-height: 0;
  }
  .slide-media {
    order: -1;
  }
  .slide-media svg {
    max-width: 300px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-controls {
    right: 20px;
    bottom: 18px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }
  .brand-slogan {
    display: none;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .site-search {
    display: none;
  }
  .breadcrumb {
    padding: 14px 16px 0;
  }
  .hero {
    margin-top: 20px;
    padding: 0 16px;
  }
  .slide {
    padding: 32px 22px 68px;
  }
  .slide-text p {
    font-size: 0.95rem;
  }
  .btn-primary {
    padding: 11px 22px;
    font-size: 0.9rem;
  }
  .section {
    padding: 40px 16px;
  }
  .hero-stats {
    gap: 10px;
    margin-top: 16px;
  }
  .stat {
    padding: 16px 12px;
    border-radius: var(--radius-md);
  }
  .stat-label {
    font-size: 0.74rem;
  }
  .news-list > li,
  .article-card {
    padding: 20px;
  }
  .faq-item summary {
    padding: 16px 48px 16px 18px;
    font-size: 0.92rem;
  }
  .faq-answer {
    padding: 0 18px 18px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 32px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
  .mobile-menu ul {
    padding: 12px 16px 18px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .slider-controls > button {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }
  .slider-dots .dot {
    width: 8px;
    height: 8px;
  }
  .slider-dots .dot.is-active {
    width: 20px;
  }
  .contact-list {
    grid-template-columns: 1fr;
  }
  .sitemap-list {
    grid-template-columns: 1fr 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ============ PRINT ============ */
@media print {
  .site-header,
  .mobile-menu,
  .slider-controls,
  .back-to-top,
  .hero-stats,
  .site-footer {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .section {
    padding: 12px 0;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}
</html>