:root {
  --bg-primary: #0a0a14;
  --bg-secondary: #12121f;
  --bg-tertiary: #1a1a2e;
  --bg-card: rgba(26, 26, 46, 0.72);
  --bg-card-hover: rgba(34, 34, 58, 0.85);
  --bg-glass: rgba(22, 33, 62, 0.55);
  --bg-glass-strong: rgba(26, 26, 46, 0.82);
  --text-primary: #f0f0f5;
  --text-secondary: #b8b8cc;
  --text-muted: #7a7a95;
  --accent-primary: #e94560;
  --accent-secondary: #0f3460;
  --accent-tertiary: #16213e;
  --accent-glow: rgba(233, 69, 96, 0.35);
  --accent-gradient: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
  --accent-gradient-2: linear-gradient(135deg, #0f3460 0%, #533483 50%, #e94560 100%);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(233, 69, 96, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(233, 69, 96, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(15, 52, 96, 0.5), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(233, 69, 96, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 10% 60%, rgba(83, 52, 131, 0.15), transparent);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: #ff6b81;
}

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

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

ul,
ol {
  list-style: none;
}

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

blockquote {
  border-left: 3px solid var(--accent-primary);
  padding: 16px 20px;
  margin: 16px 0;
  background: var(--bg-glass);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-secondary);
  font-style: italic;
}

blockquote p {
  margin: 0;
}

/* ========== HEADER ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

header nav > a {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  position: relative;
  transition: transform var(--transition-fast);
}

header nav > a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

header nav > a:hover {
  transform: scale(1.04);
}

header nav > a:hover::after {
  transform: scaleX(1);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}

header nav ul li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

header nav ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

header nav ul li a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

header nav ul li a:hover::before {
  opacity: 0.18;
}

/* ========== MAIN ========== */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* ========== BREADCRUMB ========== */
main > nav[aria-label="面包屑导航"] {
  padding: 20px 0 8px;
  animation: fadeInUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  gap: 8px;
}

main > nav[aria-label="面包屑导航"] ol li + li::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.5;
}

main > nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

main > nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--accent-primary);
}

main > nav[aria-label="面包屑导航"] ol li[aria-current="page"] {
  color: var(--accent-primary);
  font-weight: 600;
}

/* ========== SECTIONS ========== */
main > section {
  margin-top: 48px;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

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

@supports not (animation-timeline: view()) {
  main > section {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

main > section > h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 28px;
  padding-left: 18px;
  position: relative;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #b8b8cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

main > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 80%;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* ========== HERO ========== */
#hero {
  margin-top: 24px;
  padding: 48px 36px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(233, 69, 96, 0.12) 0%, rgba(15, 52, 96, 0.25) 50%, rgba(83, 52, 131, 0.15) 100%),
    var(--bg-glass-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 52, 96, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(20px, -20px) scale(1.1);
    opacity: 1;
  }
}

#hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, #e94560 50%, #533483 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

#hero > p {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  margin-bottom: 18px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

#hero figure {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(233, 69, 96, 0.25);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

#hero figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0 4px;
  font-style: italic;
}

/* ========== ARTICLES ========== */
main > section > article {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
  position: relative;
  overflow: hidden;
}

main > section > article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

main > section > article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--border-color-hover);
  background: var(--bg-card-hover);
}

main > section > article:hover::before {
  transform: scaleX(1);
}

article h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 14px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

article h3 a {
  color: inherit;
  transition: color var(--transition-fast);
  background-image: linear-gradient(var(--accent-primary), var(--accent-primary));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--transition-base), color var(--transition-fast);
}

article h3 a:hover {
  color: var(--accent-primary);
  background-size: 100% 2px;
}

article h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 18px 0 10px;
  color: var(--accent-primary);
  letter-spacing: 0.02em;
}

article p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
}

article p:last-child {
  margin-bottom: 0;
}

article ul,
article ol {
  margin: 14px 0;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

article ul li,
article ol li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  padding-left: 26px;
  position: relative;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: transform var(--transition-fast);
}

article ul li:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

article ul li:hover::before {
  transform: scale(1.4);
}

article ol {
  counter-reset: item;
}

article ol li {
  counter-increment: item;
  padding-left: 38px;
}

article ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: 0 2px 8px var(--accent-glow);
  transition: transform var(--transition-fast);
}

article ol li:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

article ol li:hover::before {
  transform: scale(1.15);
}

article a {
  color: var(--accent-primary);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

article a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

article a:hover {
  color: #ff6b81;
}

article a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ========== FAQ ========== */
#faq > article {
  padding: 22px 26px;
}

#faq > article h3 {
  font-size: 1.05rem;
  color: var(--accent-primary);
  margin-bottom: 10px;
  font-weight: 700;
}

#faq > article h3::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  font-size: 0.8rem;
  font-weight: 900;
  color: #ffffff;
  background: var(--accent-gradient);
  border-radius: 50%;
  vertical-align: middle;
  box-shadow: 0 2px 10px var(--accent-glow);
}

/* ========== REVIEWS ========== */
#reviews blockquote {
  margin: 14px 0;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#reviews blockquote:hover {
  transform: translateX(6px);
  border-left-color: #ff6b81;
  background: rgba(233, 69, 96, 0.08);
}

/* ========== NEWS ========== */
#news > article {
  padding: 22px 26px;
}

#news > article > p:first-of-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(15, 52, 96, 0.4);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

#news > article > p:first-of-type::before {
  content: "📅";
  font-size: 0.85rem;
}

/* ========== HOWTO ========== */
#howto > article {
  padding: 30px 32px;
}

#howto > article h3 {
  color: var(--accent-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 16px;
  margin-top: 24px;
}

#howto > article h3:first-child {
  margin-top: 0;
}

/* ========== CONTACT ========== */
#contact > article ul li {
  padding: 10px 14px 10px 38px;
  background: rgba(15, 52, 96, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

#contact > article ul li::before {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
}

#contact > article ul li:hover {
  background: rgba(233, 69, 96, 0.1);
  border-color: var(--border-color-hover);
  transform: translateX(4px);
}

#contact > article ul li:hover::before {
  transform: translateY(-50%) scale(1.4);
}

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

#sitemap ul li,
#links ul li {
  padding: 0;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #ffffff;
  background: var(--accent-gradient);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* ========== LEGAL ========== */
#legal h2 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
  padding-left: 14px;
}

#legal h2::before {
  width: 4px;
  height: 70%;
}

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

#legal p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
  padding: 16px 20px;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

#legal p:hover {
  border-color: var(--border-color-hover);
  background: rgba(26, 26, 46, 0.85);
}

/* ========== EDITORIAL ========== */
#editorial ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

#editorial ul li {
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.875rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

#editorial ul li::before {
  display: none;
}

#editorial ul li:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ========== FOOTER ========== */
footer {
  margin-top: 60px;
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.6) 0%, rgba(15, 52, 96, 0.25) 100%);
  border-top: 1px solid var(--border-color);
  padding: 40px 24px 30px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

footer nav {
  max-width: var(--max-width);
  margin: 0 auto 24px;
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

footer nav ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background var(--transition-fast);
}

footer nav ul li a:hover {
  color: var(--accent-primary);
  background: rgba(233, 69, 96, 0.1);
}

footer > p {
  max-width: var(--max-width);
  margin: 0 auto 8px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  :root {
    --max-width: 100%;
  }

  header nav {
    padding: 12px 18px;
    gap: 16px;
  }

  header nav ul {
    gap: 2px;
  }

  header nav ul li a {
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 18px 48px;
  }

  #hero {
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }

  header nav > a {
    font-size: 1.2rem;
  }

  header nav ul {
    margin-left: 0;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  header nav ul::-webkit-scrollbar {
    display: none;
  }

  header nav ul li a {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  main {
    padding: 0 14px 40px;
  }

  main > section {
    margin-top: 36px;
  }

  main > section > h2 {
    margin-bottom: 20px;
    padding-left: 14px;
  }

  main > section > h2::before {
    width: 4px;
  }

  #hero {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  #hero h1 {
    margin-bottom: 18px;
  }

  #hero figure {
    margin-top: 24px;
  }

  main > section > article {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  article h3 {
    font-size: 1.05rem;
  }

  article p,
  article ul li,
  article ol li {
    font-size: 0.9rem;
  }

  #faq > article {
    padding: 18px 16px;
  }

  #faq > article h3 {
    font-size: 0.95rem;
  }

  #howto > article {
    padding: 22px 18px;
  }

  #editorial ul {
    grid-template-columns: 1fr;
  }

  #sitemap ul,
  #links ul {
    gap: 8px;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  footer {
    padding: 28px 16px 24px;
  }

  footer nav ul {
    gap: 4px 8px;
  }

  footer nav ul li a {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  footer > p {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  main {
    padding: 0 12px 32px;
  }

  #hero {
    padding: 22px 14px;
  }

  #hero h1 {
    font-size: 1.35rem;
  }

  main > section > article {
    padding: 16px 14px;
  }

  article h3 {
    font-size: 1rem;
  }

  article ul li,
  article ol li {
    padding-left: 22px;
    font-size: 0.85rem;
  }

  article ol li {
    padding-left: 34px;
  }

  article ol li::before {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }

  blockquote {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}

/* ========== LIGHT MODE ========== */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f5f5fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef0f6;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-strong: rgba(255, 255, 255, 0.88);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8888a8;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(233, 69, 96, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 24px rgba(233, 69, 96, 0.15);
  }

  body {
    background-image:
      radial-gradient(ellipse 80% 50% at 50% -20%, rgba(15, 52, 96, 0.08), transparent),
      radial-gradient(ellipse 60% 40% at 80% 100%, rgba(233, 69, 96, 0.06), transparent),
      radial-gradient(ellipse 50% 30% at 10% 60%, rgba(83, 52, 131, 0.06), transparent);
  }

  header {
    background: rgba(255, 255, 255, 0.82);
  }

  header nav ul li a:hover {
    color: var(--accent-primary);
  }

  header nav ul li a:hover::before {
    opacity: 0.1;
  }

  main > section > h2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  #hero h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #e94560 50%, #533483 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
  }

  #hero {
    background:
      linear-gradient(135deg, rgba(233, 69, 96, 0.06) 0%, rgba(15, 52, 96, 0.08) 50%, rgba(83, 52, 131, 0.06) 100%),
      var(--bg-glass-strong);
  }

  #hero::before {
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1), transparent 70%);
  }

  #hero::after {
    background: radial-gradient(circle, rgba(15, 52, 96, 0.1), transparent 70%);
  }

  #news > article > p:first-of-type {
    background: rgba(15, 52, 96, 0.08);
  }

  #contact > article ul li {
    background: rgba(15, 52, 96, 0.04);
  }

  #contact > article ul li:hover {
    background: rgba(233, 69, 96, 0.06);
  }

  footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(15, 52, 96, 0.05) 100%);
  }

  ::-webkit-scrollbar-track {
    background: #f0f0f5;
  }

  ::-webkit-scrollbar-thumb {
    border-color: #f0f0f5;
  }

  blockquote {
    background: rgba(0, 0, 0, 0.03);
  }

  #reviews blockquote:hover {
    background: rgba(233, 69, 96, 0.05);
  }

  #sitemap ul li a:hover,
  #links ul li a:hover {
    color: #ffffff;
  }

  #legal p:hover {
    background: rgba(255, 255, 255, 0.95);
  }
}

/* ========== REDUCED MOTION ========== */
@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;
  }
}

/* ========== PRINT ========== */
@media print {
  header,
  footer,
  #sitemap,
  #links {
    display: none;
  }

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

  main > section > article {
    box-shadow: none;
    border: 1px solid #cccccc;
    page-break-inside: avoid;
  }
}