```css
/* ============================================================
   菠萝TV - guquandian.com.cn
   Style Sheet v1.0
   ============================================================ */

/* ---------- 1. RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #F5A623;
  --brand-dark: #D98A0B;
  --brand-light: #FFC65C;
  --brand-glow: rgba(245, 166, 35, 0.35);
  --ink: #1E2228;
  --ink-soft: #2C313A;
  --gray: #5A6270;
  --gray-light: #8A919C;
  --bg: #FFFFFF;
  --bg-alt: #FAFBFC;
  --soft: #FFF8EC;
  --soft-2: #FFF3DC;
  --line: #EBEDF0;
  --line-strong: #DDE1E6;
  --card-bg: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-blur: blur(18px) saturate(160%);
  --shadow-sm: 0 2px 8px rgba(30, 34, 40, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 34, 40, 0.08);
  --shadow-lg: 0 16px 48px rgba(30, 34, 40, 0.12);
  --shadow-brand: 0 8px 28px rgba(245, 166, 35, 0.28);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease);
  --gradient-brand: linear-gradient(135deg, #F5A623 0%, #FFC65C 50%, #D98A0B 100%);
  --gradient-hero: linear-gradient(135deg, #FFF8EC 0%, #FFEFD4 40%, #FFE2B0 100%);
  --gradient-soft: linear-gradient(180deg, #FFFCF6 0%, #FFF8EC 100%);
  --gradient-dark: linear-gradient(135deg, #1A1E24 0%, #15181D 100%);
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

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

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

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--soft);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  border-radius: var(--radius-pill);
  border: 2px solid var(--soft);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-dark);
}

/* ---------- 2. LAYOUT ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 3. HEADER / NAV ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

header.site.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  transition: transform 0.3s var(--ease-bounce);
  flex-shrink: 0;
}

.logo:hover {
  transform: scale(1.04);
}

.logo svg {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-brand);
  transition: box-shadow 0.3s var(--ease);
}

.logo:hover svg {
  box-shadow: 0 10px 32px rgba(245, 166, 35, 0.5);
}

.logo span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-dark);
}

.nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 15px;
}

.nav ul a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s var(--ease);
}

.nav ul a:hover {
  color: var(--brand-dark);
}

.nav ul a:hover::after {
  width: 100%;
}

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

/* Search */
.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--card-bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.search input {
  border: 0;
  padding: 8px 12px 8px 16px;
  width: 150px;
  outline: none;
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}

.search input::placeholder {
  color: var(--gray-light);
}

.search button {
  border: 0;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0 16px;
  height: 34px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

.search button:hover {
  filter: brightness(1.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-brand);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease),
    filter 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.45);
  filter: brightness(1.05);
}

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

.menu-toggle {
  display: none;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s var(--ease);
}

.menu-toggle:hover {
  background: var(--soft-2);
}

/* ---------- 4. BANNER / HERO ---------- */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.banner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.35) 0%,
    rgba(245, 166, 35, 0) 70%
  );
  pointer-events: none;
  animation: floatBlob 12s ease-in-out infinite;
}

.banner::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 138, 11, 0.28) 0%,
    rgba(217, 138, 11, 0) 70%
  );
  pointer-events: none;
  animation: floatBlob 14s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

.slides {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.slide {
  min-width: 100%;
  padding: 64px 20px 80px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.slide-txt {
  flex: 1;
  min-width: 280px;
  animation: slideUp 0.8s var(--ease) both;
}

.slide-txt h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1E2228 0%, #4A3A1A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-txt p {
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.85;
}

.slide-art {
  flex: 1;
  min-width: 280px;
  animation: slideUp 0.9s var(--ease) 0.1s both;
}

.slide-art svg {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245, 166, 35, 0.12);
  transition: transform 0.5s var(--ease);
}

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

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

.banner-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.banner-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0C9A0;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.banner-dots span:hover {
  transform: scale(1.2);
}

.banner-dots span.active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  box-shadow: 0 0 12px var(--brand-glow);
}

/* ---------- 5. BREADCRUMB & ANCHOR NAV ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--gray);
  padding: 16px 20px;
}

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

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 4px;
}

.anchor-nav a {
  font-size: 14px;
  background: var(--soft);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  color: var(--brand-dark);
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.anchor-nav a:hover {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* ---------- 6. SECTIONS ---------- */
section {
  padding: 64px 0;
  position: relative;
}

section:nth-of-type(even) {
  background: var(--bg-alt);
}

h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.3px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
}

h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  font-weight: 700;
  color: var(--ink);
}

h4 {
  font-size: 17px;
  margin: 16px 0 8px;
  font-weight: 700;
  color: var(--ink-soft);
}

.lead {
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.9;
}

section p {
  color: var(--gray);
  margin-bottom: 14px;
}

/* ---------- 7. GRID & CARDS ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.g3 {
  grid-template-columns: repeat(3, 1fr);
}

.g2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--card-bg);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
}

.card p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 0;
}

.card .meta {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.card .more {
  display: inline-block;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  transition: gap 0.3s var(--ease), transform 0.3s var(--ease);
}

.card .more:hover {
  transform: translateX(4px);
}

/* ---------- 8. STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(245, 166, 35, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.stats b {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stats span {
  color: var(--gray);
  font-size: 14px;
}

/* ---------- 9. ARTICLES ---------- */
article.post {
  border-bottom: 1px dashed var(--line-strong);
  padding: 22px 0;
  transition: padding-left 0.35s var(--ease), background 0.35s var(--ease);
  border-radius: var(--radius-sm);
}

article.post:hover {
  padding-left: 14px;
  background: linear-gradient(
    90deg,
    var(--soft) 0%,
    transparent 100%
  );
}

article.post:last-child {
  border-bottom: 0;
}

article.post h3 {
  margin: 0 0 6px;
  font-size: 18px;
  transition: color 0.25s var(--ease);
}

article.post:hover h3 {
  color: var(--brand-dark);
}

article.post .meta {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

article.post p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 8px;
}

article.post a.more {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

article.post a.more:hover {
  transform: translateX(4px);
}

/* ---------- 10. FAQ ACCORDION ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--card-bg);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
}

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

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

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

.faq-q span {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 700;
  transition: all 0.35s var(--ease);
}

.faq-item.open .faq-q {
  color: var(--brand-dark);
}

.faq-item.open .faq-q span {
  background: var(--gradient-brand);
  color: #fff;
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.35s var(--ease);
  color: var(--gray);
  font-size: 15px;
}

.faq-a p {
  margin-bottom: 0;
}

.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 20px 20px;
}

/* ---------- 11. HOWTO LISTS ---------- */
.howto {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.howto li {
  position: relative;
  margin: 10px 0;
  padding-left: 30px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}

ol.howto {
  counter-reset: howto;
}

ol.howto li {
  counter-increment: howto;
}

ol.howto li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--brand-glow);
}

ul.howto li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

/* ---------- 12. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info p {
  margin: 10px 0;
  color: var(--gray);
  font-size: 15px;
}

.contact-info h4 {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}

/* ---------- 13. TAGS ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.tags a {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 14px;
  color: var(--gray);
  background: var(--card-bg);
  transition: all 0.3s var(--ease);
}

.tags a:hover {
  border-color: var(--brand);
  color: #fff;
  background: var(--gradient-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand);
}

/* ---------- 14. FOOTER ---------- */
footer.site {
  background: var(--gradient-dark);
  color: #C9CDD4;
  padding: 52px 0 28px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

footer.site::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

footer.site h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

footer.site h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

footer.site .fcols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

footer.site ul {
  list-style: none;
}

footer.site li {
  margin: 8px 0;
  transition: transform 0.25s var(--ease);
}

footer.site li:hover {
  transform: translateX(4px);
}

footer.site a:hover {
  color: var(--brand-light);
}

.copy {
  border-top: 1px solid #333A44;
  margin-top: 36px;
  padding-top: 22px;
  text-align: center;
  color: #8A919C;
  font-size: 13px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.copy a {
  color: var(--brand-light);
}

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

/* ---------- 15. BACK TO TOP ---------- */
#toTop {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  border: 0;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 90;
  box-shadow: var(--shadow-brand);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease);
}

#toTop:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 36px rgba(245, 166, 35, 0.5);
}

#toTop:active {
  transform: scale(0.94);
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal.in .card {
  animation: cardIn 0.6s var(--ease) both;
}

.reveal.in .card:nth-child(1) { animation-delay: 0.05s; }
.reveal.in .card:nth-child(2) { animation-delay: 0.12s; }
.reveal.in .card:nth-child(3) { animation-delay: 0.19s; }
.reveal.in .card:nth-child(4) { animation-delay: 0.26s; }
.reveal.in .card:nth-child(5) { animation-delay: 0.33s; }
.reveal.in .card:nth-child(6) { animation-delay: 0.4s; }

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- 17. DARK MODE ---------- */
body.dark {
  --ink: #E8EAED;
  --ink-soft: #D0D4DA;
  --gray: #A6ADB8;
  --gray-light: #7A828E;
  --bg: #15181D;
  --bg-alt: #191D23;
  --soft: #1C2026;
  --soft-2: #232830;
  --line: #2A2F37;
  --line-strong: #353B44;
  --card-bg: #1C2026;
  --glass-bg: rgba(21, 24, 29, 0.78);
  --glass-border: rgba(255, 255, 255, 0.06);
  --gradient-hero: linear-gradient(135deg, #1A1E24 0%, #221C10 50%, #2A2110 100%);
  --gradient-soft: linear-gradient(180deg, #1A1E24 0%, #1C2026 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

body.dark header.site {
  background: var(--glass-bg);
  border-bottom-color: var(--line);
}

body.dark .card,
body.dark .faq-q {
  background: var(--card-bg);
}

body.dark .faq-q:hover {
  background: var(--soft-2);
}

body.dark .slide-txt h1 {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFC65C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .stats {
  background: var(--gradient-soft);
}

body.dark footer.site {
  background: #0E1115;
}

body.dark .banner::before {
  background: radial-gradient(
    circle,
    rgba(245, 166, 35, 0.18) 0%,
    transparent 70%
  );
}

body.dark .banner::after {
  background: radial-gradient(
    circle,
    rgba(217, 138, 11, 0.15) 0%,
    transparent 70%
  );
}

body.dark article.post:hover {
  background: linear-gradient(90deg, rgba(245, 166, 35, 0.08) 0%, transparent 100%);
}

body.dark .search input {
  color: var(--ink);
}

body.dark ::-webkit-scrollbar-track {
  background: var(--soft);
}

body.dark ::-webkit-scrollbar-thumb {
  border-color: var(--soft);
}

body.dark .banner-dots {
  background: var(--glass-bg);
}

body.dark .menu-toggle {
  background: var(--soft);
  color: var(--ink);
}

/* ---------- 18. RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 900px) {
  .g3,
  .stats,
  .contact-grid,
  footer.site .fcols {
    grid-template-columns: 1fr 1fr;
  }

  .nav ul {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search {
    display: none;
  }

  .slide {
    padding: 48px 20px 72px;
    gap: 32px;
  }

  .slide-txt h1 {
    font-size: 28px;
  }

  section {
    padding: 52px 0;
  }

  h2 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 0 16px;
  }

  .g3,
  .g2,
  .stats,
  .contact-grid,
  footer.site .fcols {
    grid-template-columns: 1fr;
  }

  .nav {
    height: 60px;
  }

  .logo {
    font-size: 18px;
  }

  .logo svg {
    width: 30px;
    height: 30px;
  }

  .slide {
    padding: 40px 16px 68px;
  }

  .slide-txt h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  .slide-txt p {
    font-size: 15px;
  }

  .slide-art {
    display: none;
  }

  .banner-dots {
    bottom: 16px;
  }

  section {
    padding: 44px 0;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .card {
    padding: 20px;
  }

  .stats {
    padding: 28px 16px;
  }

  .stats b {
    font-size: 28px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  #toTop {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }

  .anchor-nav a {
    font-size: 13px;
    padding: 6px 12px;
  }

  footer.site {
    padding: 40px 0 22px;
  }

  footer.site .fcols {
    gap: 24px;
  }

  .faq-q {
    padding: 15px 16px;
    font-size: 15px;
  }

  .faq-a {
    padding: 0 16px;
  }

  .faq-item.open .faq-a {
    padding: 0 16px 16px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .slide-txt h1 {
    font-size: 21px;
  }

  .nav-tools {
    gap: 8px;
  }

  .btn {
    padding: 7px 14px;
  }
}

/* ---------- 19. ACCESSIBILITY & 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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- 20. PRINT ---------- */
@media print {
  header.site,
  footer.site,
  #toTop,
  .banner-dots,
  .anchor-nav,
  .menu-toggle,
  .nav-tools {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
```