```css
/* ===== 妖精视频 - 高级影视主题CSS ===== */
/* 设计理念：影院级沉浸体验 · 暗色奢华 · 光影美学 */
/* 核心色调：深空黑 + 香槟金 + 霓虹紫渐变 */

:root {
  /* 主题色板 */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(18, 18, 26, 0.7);
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-gradient-hot: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --bg-gradient-gold: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);

  /* 文字颜色 */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-accent: #ffd700;
  --text-accent-alt: #ff6b6b;

  /* 边框与阴影 */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 215, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.2);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;

  /* 字体 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 28px;
  --font-size-2xl: 36px;

  /* 动画 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* 毛玻璃 */
  --glass-blur: blur(20px);
  --glass-saturate: saturate(180%);
}

/* ===== 暗色模式支持（自动） ===== */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
  }
}

/* ===== 基础重置 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.06) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-2xl);
  background: var(--bg-gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(255, 215, 0, 0.1);
}

h2 {
  font-size: var(--font-size-xl);
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-xl);
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--bg-gradient);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(102, 126, 234, 0.5);
}

h3 {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--bg-gradient);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bg-gradient-hot);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
  }
}

/* 滚动进入动画 */
.film-section, .featured-section, .detail-section, .cast-section, 
.platform-section, .app-section, .reviews-section {
  animation: fadeInUp 0.8s ease both;
}

.film-section:nth-child(2), .featured-section:nth-child(3) {
  animation-delay: 0.1s;
}

.detail-section:nth-child(4), .cast-section:nth-child(5) {
  animation-delay: 0.2s;
}

/* ===== Header 区域 ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
  backdrop-filter: var(--glass-blur) var(--glass-saturate);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.topbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.logo {
  flex-shrink: 0;
}

.logo h1 {
  font-size: 28px;
  margin: 0;
  background: linear-gradient(135deg, #ffd700, #ff8c00, #ff6347);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowPulse 3s infinite;
}

.main-nav ul {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.main-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  opacity: 0.2;
  transition: left 0.3s ease;
  z-index: -1;
}

.main-nav a:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.main-nav a:hover::before {
  left: 0;
}

/* ===== Main 区域 ===== */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
}

/* ===== 影视分区通用样式 ===== */
.film-section,
.featured-section,
.detail-section,
.cast-section,
.platform-section,
.app-section,
.reviews-section {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.film-section:hover,
.featured-section:hover,
.detail-section:hover,
.cast-section:hover,
.platform-section:hover,
.app-section:hover,
.reviews-section:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

/* ===== 影视网格 ===== */
.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.film-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  animation: scaleIn 0.5s ease both;
  cursor: pointer;
}

.film-card:nth-child(odd) {
  animation-delay: 0.05s;
}

.film-card:nth-child(even) {
  animation-delay: 0.1s;
}

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

.film-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.film-card:hover img {
  transform: scale(1.05);
}

.film-card h3 {
  font-size: var(--font-size-md);
  padding: var(--space-sm) var(--space-sm) 0;
  margin: 0;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.film-card p {
  font-size: var(--font-size-xs);
  padding: 0 var(--space-sm);
  margin: 2px 0;
  color: var(--text-muted);
  line-height: 1.4;
}

.film-card p:last-child {
  padding-bottom: var(--space-sm);
}

/* 评分标签 */
.film-card p:nth-last-child(2) {
  color: var(--text-accent);
  font-weight: 600;
}

/* ===== 精品推荐 ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.featured-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  animation: fadeInUp 0.6s ease both;
}

.featured-card:nth-child(2n) {
  animation-delay: 0.1s;
}

.featured-card:nth-child(3n) {
  animation-delay: 0.2s;
}

.featured-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.featured-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
}

.featured-card h3 {
  padding: var(--space-md) var(--space-md) 0;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
}

.featured-card p {
  padding: 0 var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.featured-card p:last-child {
  padding-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  line-height: 1.8;
}

/* ===== 详情区域 ===== */
.detail-content {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.detail-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bg-gradient-hot);
  border-radius: var(--radius-full);
}

.detail-content img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.detail-content h3 {
  color: var(--text-accent);
  font-size: var(--font-size-lg);
  margin-top: var(--space-lg);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--bg-gradient-hot);
}

.detail-content p {
  line-height: 2;
  text-align: justify;
  color: var(--text-secondary);
}

.detail-content p:last-of-type {
  background: var(--bg-card);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 500;
  color: var(--text-accent);
}

/* ===== 演员区域 ===== */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.cast-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  animation: fadeInUp 0.6s ease both;
}

.cast-card:nth-child(2n) {
  animation-delay: 0.1s;
}

.cast-card:nth-child(3n) {
  animation-delay: 0.2s;
}

.cast-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.cast-card img {
  width: 150px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-sm);
}

.cast-card h3 {
  font-size: var(--font-size-md);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.cast-card p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.cast-card p:last-child {
  text-align: left;
  line-height: 1.8;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}

/* ===== 平台介绍 ===== */
.platform-section article {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border-color);
}

.platform-section h3 {
  color: var(--text-accent);
  margin-top: var(--space-lg);
  font-size: var(--font-size-md);
  position: relative;
  padding-left: var(--space-sm);
}

.platform-section h3::before {
  content: '◆';
  position: absolute;
  left: -10px;
  color: var(--text-accent);
  font-size: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.platform-section p {
  line-height: 2;
  margin-bottom: var(--space-md);
}

.platform-section p:first-child {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-md);
}

/* ===== APP下载 ===== */
.app-section article {
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.app-section article::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 215, 0, 0.05) 50%, transparent 60%);
  animation: shimmer 3s infinite;
}

.app-section img {
  max-width: 200px;
  margin: 0 auto var(--space-lg);
  animation: float 3s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}

.app-section h3 {
  color: var(--text-accent);
  font-size: var(--font-size-lg);
}

.app-section p {
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.download-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.btn {
  padding: var(--space-sm) var(--space-xl);
  background: var(--bg-gradient);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.1);
}

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

.btn:nth-child(2) {
  background: var(--bg-gradient-hot);
}

.btn:nth-child(3) {
  background: var(--bg-gradient-gold);
  color: #1a1a2e;
}

/* ===== 用户评论 ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  animation: fadeInUp 0.5s ease both;
  position: relative;
}

.review-card::after {
  content: '"';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  font-size: 48px;
  color: var(--text-accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card:nth-child(3n) {
  animation-delay: 0.1s;
}

.review-card:nth-child(4n) {
  animation-delay: 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.review-card p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-xs);
}

.review-card p:first-child {
  font-weight: 600;
  color: var(--text-accent);
}

.review-card p:nth-child(2) {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

.review-card p:last-child {
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}

/* ===== 侧边栏 ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.widget {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.widget:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.widget h2 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
}

.widget h2::before {
  height: 16px;
  background: var(--bg-gradient-gold);
}

.widget ul li {
  padding: var(--space-xs) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border-color);
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li:hover {
  color: var(--text-accent);
  padding-left: var(--space-xs);
}

.widget ul li::before {
  content: '▸';
  margin-right: var(--space-xs);
  color: var(--text-accent);
  opacity: 0.6;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  margin-top: var(--space-2xl);
}

.footer-links {
  max-width: 1400px;
  margin: 0 auto var(--space-xl);
}

.footer-links h2 {
  font-size: var(--font-size-md);
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links a {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-accent);
  border-color: var(--border-hover);
}

.footer-info {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.footer-info p {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.footer-info a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-info a:hover {
  color: var(--text-accent);
}

/* ===== 响应式布局 ===== */
@media (max-width: 1200px) {
  main {
    grid-template-columns: 1fr 260px;
    padding: var(--space-lg);
  }

  .film-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 992px) {
  main {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--space-xs);
  }

  .main-nav a {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-2xl: 28px;
    --font-size-xl: 24px;
    --font-size-lg: 18px;
    --font-size-md: 15px;
  }

  main {
    padding: var(--space-md);
  }

  .film-section,
  .featured-section,
  .detail-section,
  .cast-section,
  .platform-section,
  .app-section,
  .reviews-section {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .film-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-sm);
  }

  .film-card img {
    height: 180px;
  }

  .featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
  }

  .cast-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .film-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .film-card img {
    height: 160px;
  }

  .film-card h3 {
    font-size: var(--font-size-sm);
  }

  .film-card p {
    font-size: 11px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    height: 250px;
  }

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

  .cast-card img {
    width: 120px;
    height: 150px;
  }

  .cast-card p {
    font-size: 11px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .app-section article {
    padding: var(--space-md);
  }

  .app-section img {
    max-width: 150px;
  }
}

/* ===== 暗色模式强制支持 ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(18, 18, 26, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
  }
}

/* ===== 高性能动画优化 ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ===== 焦点可见性 ===== */
:focus-visible {
  outline: 2px solid var(--text-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ===== 选中文本样式 ===== */
::selection {
  background: var(--bg-gradient-hot);
  color: #fff;
}

/* ===== 打印样式 ===== */
@media print {
  header,
  footer,
  .sidebar,
  .download-buttons {
    display: none;
  }

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

  main {
    display: block;
    padding: 0;
  }

  .film-section,
  .featured-section,
  .detail-section,
  .cast-section,
  .platform-section,
  .app-section,
  .reviews-section {
    break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}
```