```css
/* ===== 红桃视频 全站样式表 ===== */
/* 主题：暗夜紫罗兰 · 渐变霓虹 · 毛玻璃质感 */

/* ---------- CSS变量与基础重置 ---------- */
:root {
  --bg-primary: #0b0817;
  --bg-secondary: #150f2b;
  --bg-card: #1a1430;
  --bg-card-hover: #221a3e;
  --bg-glass: rgba(30, 20, 60, 0.6);
  --bg-glass-strong: rgba(20, 12, 40, 0.85);
  --text-primary: #f0e9ff;
  --text-secondary: #b9a8e6;
  --text-muted: #8e7cc3;
  --accent-purple: #a44eff;
  --accent-pink: #ff66b2;
  --accent-blue: #4d9eff;
  --accent-gold: #ffd966;
  --accent-green: #8fe388;
  --border-glow: rgba(155, 77, 255, 0.3);
  --shadow-purple: 0 8px 30px rgba(120, 60, 255, 0.3);
  --shadow-pink: 0 8px 30px rgba(255, 102, 178, 0.2);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition-fast: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(164, 78, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 102, 178, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(77, 158, 255, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

/* ---------- 头部导航 ---------- */
.top-header {
  background: linear-gradient(145deg, #0d0b1a 0%, #150f2b 100%) !important;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(13, 11, 26, 0.85) !important;
  border-bottom: 1px solid rgba(164, 78, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.top-header h1 {
  color: #e3b3ff;
  font-size: 2.2em;
  margin: 0;
  text-shadow: 0 0 20px #a44eff, 0 0 40px rgba(164, 78, 255, 0.3);
  letter-spacing: 2px;
  font-weight: 800;
  background: linear-gradient(135deg, #e3b3ff 0%, #a44eff 50%, #ff66b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 12px rgba(164, 78, 255, 0.4));
}

.top-header nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-weight: 500;
}

.top-header nav a {
  color: #f0e9ff;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 40px;
  transition: all var(--transition-fast);
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.top-header nav a:hover {
  color: #fff;
  background: rgba(164, 78, 255, 0.15);
  border-color: rgba(164, 78, 255, 0.3);
  box-shadow: 0 0 20px rgba(164, 78, 255, 0.2);
  transform: translateY(-2px);
}

/* ---------- 主内容区 ---------- */
main {
  background: var(--bg-primary) !important;
  color: var(--text-primary);
  padding: 20px 15px;
  position: relative;
  z-index: 1;
}

section, article, aside {
  max-width: 1300px;
  margin: 0 auto;
}

/* ---------- 通用区块标题 ---------- */
h2 {
  color: #c99bff;
  border-left: 6px solid #9b4dff;
  padding-left: 15px;
  font-size: 2em;
  margin-bottom: 25px;
  position: relative;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 30px rgba(164, 78, 255, 0.2);
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), transparent);
  margin-top: 8px;
  border-radius: 3px;
}

h3 {
  font-size: 1.2em;
  color: #fff;
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

/* ---------- 热门影视卡片网格 ---------- */
.hot-movies {
  max-width: 1300px;
  margin: 0 auto;
}

.hot-movies > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.hot-movies article {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  transition: all var(--transition-slow);
  position: relative;
  border: 1px solid rgba(164, 78, 255, 0.1);
}

.hot-movies article:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(120, 60, 255, 0.5);
  border-color: rgba(164, 78, 255, 0.4);
  background: var(--bg-card-hover);
}

.hot-movies article img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.hot-movies article:hover img {
  transform: scale(1.05);
}

.hot-movies article > div {
  padding: 12px;
  background: linear-gradient(to top, rgba(26, 20, 48, 0.95) 0%, rgba(26, 20, 48, 0.8) 100%);
}

.hot-movies article p {
  margin: 4px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.hot-movies article p:last-child {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hot-movies article p span:first-child {
  color: var(--accent-gold);
  font-weight: 600;
}

.hot-movies article p span:last-child {
  color: var(--accent-green);
  font-size: 0.8rem;
  background: rgba(143, 227, 136, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ---------- 精品推荐区域 ---------- */
section > div:not(.hot-movies) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

section article {
  background: #201a38;
  border-radius: var(--radius-lg);
  padding: 15px;
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

section article:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(164, 78, 255, 0.3);
  border-color: rgba(164, 78, 255, 0.3);
}

section article img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  transition: transform var(--transition-slow);
}

section article:hover img {
  transform: scale(1.03);
}

section article p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

section article p:first-of-type {
  color: var(--text-muted);
}

section article p:last-of-type {
  color: var(--text-primary);
  line-height: 1.5;
}

section article p span {
  color: var(--accent-gold);
  font-weight: 600;
}

section article p span:last-child {
  color: var(--accent-green);
  background: rgba(143, 227, 136, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* ---------- 深度解析文章 ---------- */
article[style*="background"] {
  background: #1a1330 !important;
  border-radius: 28px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(164, 78, 255, 0.15);
}

article[style*="background"]::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(164, 78, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

article[style*="background"] h2 {
  color: #ff8ad8;
  border-left-color: #ff66b2;
}

article[style*="background"] img {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

article[style*="background"] p {
  line-height: 1.8;
  margin-top: 15px;
  color: var(--text-secondary);
}

article[style*="background"] p strong {
  color: var(--text-primary);
  font-weight: 600;
}

article[style*="background"] p:last-of-type {
  color: var(--accent-pink);
  font-weight: 500;
}

/* ---------- 演员介绍区域 ---------- */
section:has(div[style*="flex"]) {
  margin-top: 40px;
}

section:has(div[style*="flex"]) > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

section:has(div[style*="flex"]) > div > div {
  flex: 1;
  min-width: 150px;
  background: #161026;
  padding: 15px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

section:has(div[style*="flex"]) > div > div:hover {
  transform: translateY(-4px);
  background: #1d1535;
  box-shadow: 0 8px 30px rgba(164, 78, 255, 0.2);
}

section:has(div[style*="flex"]) img {
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid rgba(164, 78, 255, 0.3);
  transition: all var(--transition-slow);
}

section:has(div[style*="flex"]) div:hover img {
  border-color: var(--accent-purple);
  transform: scale(1.05);
}

section:has(div[style*="flex"]) h3 {
  color: #fff;
  margin-bottom: 4px;
}

section:has(div[style*="flex"]) p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 2px 0;
}

section:has(div[style*="flex"]) p:last-child {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- 平台介绍 ---------- */
section[style*="linear-gradient"] {
  background: linear-gradient(145deg, #1e1745, #0f0b22) !important;
  padding: 30px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

section[style*="linear-gradient"]::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(164, 78, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

section[style*="linear-gradient"] h2 {
  color: #fff;
  font-size: 2.2em;
  border-left: none;
  padding-left: 0;
  text-shadow: 0 0 30px rgba(164, 78, 255, 0.5);
}

section[style*="linear-gradient"] p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 90%;
}

/* ---------- APP下载区域 ---------- */
section[style*="space-around"] {
  background: #1a1530 !important;
  padding: 30px;
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(164, 78, 255, 0.1);
}

section[style*="space-around"] h2 {
  font-size: 2em;
  background: linear-gradient(135deg, #e3b3ff, #a44eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-left: none;
  padding-left: 0;
}

section[style*="space-around"] p {
  color: var(--text-secondary);
  margin: 8px 0;
}

section[style*="space-around"] button {
  background: var(--accent-purple);
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  color: white;
  font-size: 1.1rem;
  margin-right: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(164, 78, 255, 0.3);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

section[style*="space-around"] button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 35px rgba(164, 78, 255, 0.5);
}

section[style*="space-around"] button:nth-of-type(2) {
  background: var(--accent-pink);
  box-shadow: 0 4px 20px rgba(255, 102, 178, 0.3);
}

section[style*="space-around"] button:nth-of-type(2):hover {
  box-shadow: 0 8px 35px rgba(255, 102, 178, 0.5);
}

section[style*="space-around"] button:nth-of-type(3) {
  background: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(77, 158, 255, 0.3);
}

section[style*="space-around"] button:nth-of-type(3):hover {
  box-shadow: 0 8px 35px rgba(77, 158, 255, 0.5);
}

section[style*="space-around"] img {
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-slow);
}

section[style*="space-around"] img:hover {
  transform: scale(1.05);
}

/* ---------- 用户评论区域 ---------- */
section:has(p[style*="margin"]) {
  margin-top: 40px;
}

section:has(p[style*="margin"]) > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

section:has(p[style*="margin"]) p {
  background: rgba(26, 20, 48, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  border: 1px solid rgba(164, 78, 255, 0.1);
  position: relative;
}

section:has(p[style*="margin"]) p:hover {
  background: rgba(34, 26, 62, 0.9);
  border-color: rgba(164, 78, 255, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(164, 78, 255, 0.1);
}

/* ---------- 侧边栏 ---------- */
aside {
  max-width: 1300px;
  margin: 40px auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  background: rgba(21, 16, 38, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(164, 78, 255, 0.1);
}

aside > div {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  background: rgba(26, 20, 48, 0.4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

aside > div:hover {
  background: rgba(26, 20, 48, 0.7);
  transform: translateY(-2px);
}

aside h3 {
  color: #c99bff;
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(164, 78, 255, 0.2);
}

aside ul li {
  color: var(--text-secondary);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  cursor: default;
}

aside ul li:hover {
  color: var(--text-primary);
  padding-left: 8px;
}

aside p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
}

/* ---------- 底部 ---------- */
footer {
  max-width: 1300px;
  margin: 30px auto;
  border-top: 2px solid rgba(164, 78, 255, 0.2);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  color: #aaa;
}

footer a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--accent-purple);
}

footer p {
  font-size: 0.85rem;
  margin: 4px 0;
}

/* ---------- 滚动动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 应用到主要区块 */
.hot-movies > div article {
  animation: fadeInUp 0.6s ease both;
}

.hot-movies > div article:nth-child(1) { animation-delay: 0.05s; }
.hot-movies > div article:nth-child(2) { animation-delay: 0.1s; }
.hot-movies > div article:nth-child(3) { animation-delay: 0.15s; }
.hot-movies > div article:nth-child(4) { animation-delay: 0.2s; }
.hot-movies > div article:nth-child(5) { animation-delay: 0.25s; }
.hot-movies > div article:nth-child(6) { animation-delay: 0.3s; }
.hot-movies > div article:nth-child(7) { animation-delay: 0.35s; }
.hot-movies > div article:nth-child(8) { animation-delay: 0.4s; }
.hot-movies > div article:nth-child(9) { animation-delay: 0.45s; }
.hot-movies > div article:nth-child(10) { animation-delay: 0.5s; }
.hot-movies > div article:nth-child(11) { animation-delay: 0.55s; }
.hot-movies > div article:nth-child(12) { animation-delay: 0.6s; }
.hot-movies > div article:nth-child(13) { animation-delay: 0.65s; }
.hot-movies > div article:nth-child(14) { animation-delay: 0.7s; }
.hot-movies > div article:nth-child(15) { animation-delay: 0.75s; }
.hot-movies > div article:nth-child(16) { animation-delay: 0.8s; }

section article {
  animation: fadeInUp 0.6s ease both;
}

section:nth-of-type(2) article:nth-child(1) { animation-delay: 0.1s; }
section:nth-of-type(2) article:nth-child(2) { animation-delay: 0.2s; }
section:nth-of-type(2) article:nth-child(3) { animation-delay: 0.3s; }
section:nth-of-type(2) article:nth-child(4) { animation-delay: 0.4s; }

article[style*="background"] {
  animation: scaleIn 0.7s ease both;
  animation-delay: 0.2s;
}

section:has(div[style*="flex"]) > div > div {
  animation: fadeInUp 0.6s ease both;
}

section:has(div[style*="flex"]) > div > div:nth-child(1) { animation-delay: 0.1s; }
section:has(div[style*="flex"]) > div > div:nth-child(2) { animation-delay: 0.2s; }
section:has(div[style*="flex"]) > div > div:nth-child(3) { animation-delay: 0.3s; }
section:has(div[style*="flex"]) > div > div:nth-child(4) { animation-delay: 0.4s; }

section[style*="linear-gradient"] {
  animation: fadeIn 0.8s ease both;
  animation-delay: 0.3s;
}

section[style*="space-around"] {
  animation: fadeInUp 0.8s ease both;
  animation-delay: 0.4s;
}

section:has(p[style*="margin"]) p {
  animation: fadeInUp 0.5s ease both;
}

section:has(p[style*="margin"]) p:nth-child(1) { animation-delay: 0.05s; }
section:has(p[style*="margin"]) p:nth-child(2) { animation-delay: 0.1s; }
section:has(p[style*="margin"]) p:nth-child(3) { animation-delay: 0.15s; }
section:has(p[style*="margin"]) p:nth-child(4) { animation-delay: 0.2s; }
section:has(p[style*="margin"]) p:nth-child(5) { animation-delay: 0.25s; }
section:has(p[style*="margin"]) p:nth-child(6) { animation-delay: 0.3s; }
section:has(p[style*="margin"]) p:nth-child(7) { animation-delay: 0.35s; }
section:has(p[style*="margin"]) p:nth-child(8) { animation-delay: 0.4s; }
section:has(p[style*="margin"]) p:nth-child(9) { animation-delay: 0.45s; }
section:has(p[style*="margin"]) p:nth-child(10) { animation-delay: 0.5s; }
section:has(p[style*="margin"]) p:nth-child(11) { animation-delay: 0.55s; }
section:has(p[style*="margin"]) p:nth-child(12) { animation-delay: 0.6s; }

aside > div {
  animation: fadeInUp 0.6s ease both;
}

aside > div:nth-child(1) { animation-delay: 0.1s; }
aside > div:nth-child(2) { animation-delay: 0.2s; }
aside > div:nth-child(3) { animation-delay: 0.3s; }
aside > div:nth-child(4) { animation-delay: 0.4s; }
aside > div:nth-child(5) { animation-delay: 0.5s; }

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .top-header {
    padding: 12px 15px;
  }
  
  .top-header h1 {
    font-size: 1.8em;
  }
  
  .hot-movies > div {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  h2 {
    font-size: 1.6em;
  }
  
  section[style*="linear-gradient"] p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }
  
  .top-header nav {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  
  .top-header nav a {
    font-size: 0.85rem;
    padding: 6px 12px;
    white-space: nowrap;
  }
  
  .hot-movies > div {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  
  .hot-movies article > div {
    padding: 8px;
  }
  
  .hot-movies article h3 {
    font-size: 1em;
  }
  
  .hot-movies article p {
    font-size: 0.75rem;
  }
  
  h2 {
    font-size: 1.4em;
    padding-left: 10px;
  }
  
  section > div:not(.hot-movies) {
    grid-template-columns: 1fr;
  }
  
  article[style*="background"] {
    padding: 20px;
  }
  
  section[style*="space-around"] {
    flex-direction: column;
    text-align: center;
  }
  
  section[style*="space-around"] button {
    margin: 5px;
    width: 100%;
    max-width: 250px;
  }
  
  aside {
    flex-direction: column;
    gap: 15px;
  }
  
  footer {
    flex-direction: column;
    text-align: center;
  }
  
  section:has(div[style*="flex"]) > div > div {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .top-header h1 {
    font-size: 1.5em;
  }
  
  .hot-movies > div {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .hot-movies article > div {
    padding: 6px;
  }
  
  .hot-movies article h3 {
    font-size: 0.9em;
    margin-bottom: 4px;
  }
  
  .hot-movies article p {
    font-size: 0.7rem;
    margin: 2px 0;
  }
  
  h2 {
    font-size: 1.2em;
  }
  
  section[style*="linear-gradient"] {
    padding: 20px;
  }
  
  section[style*="linear-gradient"] p {
    font-size: 0.9rem;
  }
  
  section[style*="space-around"] h2 {
    font-size: 1.5em;
  }
  
  section[style*="space-around"] button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  
  aside > div {
    min-width: 100%;
  }
}

/* ---------- 暗色模式（默认即暗色，这里做增强） ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0b0817;
    --bg-secondary: #150f2b;
  }
}

/* ---------- 自定义滚动条 ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0817;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a44eff, #ff66b2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b56aff, #ff7abf);
}

/* ---------- 选中文字样式 ---------- */
::selection {
  background: rgba(164, 78, 255, 0.4);
  color: #fff;
}

/* ---------- 毛玻璃效果增强 ---------- */
.top-header,
aside,
section[style*="space-around"],
section:has(p[style*="margin"]) p {
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

/* ---------- 焦点可见性 ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

/* ---------- 性能优化：动画降级 ---------- */
@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;
  }
}
```