/* 私密观影指南 - 本地CSS文件，无外部依赖 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.6; color: #1f2937; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* 容器 */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* Flex布局 */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.flex-col { flex-direction: column; }
.block { display: block; }
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* Grid布局 */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.aspect-\[2\/3\] { aspect-ratio: 2/3; }

/* 间距 */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.pl-6 { padding-left: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }
.border-t { border-top: 1px solid #e5e7eb; }

/* 文字 */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-none { max-width: none; }

/* 颜色 - 主题色 */
:root {
  --primary: #8B5CF6;
  --secondary: #EC4899;
  --dark: #1e1b4b;
  --light: #f8fafc;
}
.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-primary { color: var(--primary); }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.bg-white { background-color: #ffffff; }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-700 { background-color: #374151; }
.bg-primary\/5 { background-color: rgba(139, 92, 246, 0.05); }
.bg-primary\/10 { background-color: rgba(139, 92, 246, 0.1); }
.bg-secondary\/90 { background-color: rgba(236, 72, 153, 0.9); }
.bg-dark { background-color: var(--dark); }
.bg-dark\/95 { background-color: rgba(30, 27, 75, 0.95); }

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}
.bg-gradient-to-r {
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

/* 边框圆角 */
.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.border { border: 1px solid #e5e7eb; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-700 { border-color: #374151; }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }

/* 阴影 */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }

/* 过渡动画 */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease; }

/* 悬停效果 */
.hover\:text-secondary:hover { color: var(--secondary); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary\/80:hover { color: rgba(139, 92, 246, 0.8); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-secondary\/90:hover { background-color: rgba(236, 72, 153, 0.9); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.2); }
.hover\:bg-primary\/5:hover { background-color: rgba(139, 92, 246, 0.05); }
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }

/* 毛玻璃 */
.backdrop-blur { backdrop-filter: blur(8px); }

/* 宽度 */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-auto { height: auto; }

/* 定位 */
.top-2 { top: 0.5rem; }
.right-2 { right: 0.5rem; }

/* 列表 */
.list-disc { list-style-type: disc; }

/* Prose 排版 */
.prose p { margin-bottom: 1rem; }
.prose h2, .prose h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 700; }

/* 宽度类 - md断点以上 */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:w-2\/3 { width: 66.666667%; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:p-8 { padding: 2rem; }
}

/* lg断点以上 */
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:w-1\/4 { width: 25%; }
  .lg\:w-3\/4 { width: 75%; }
}

/* xl断点以上 */
@media (min-width: 1280px) {
  .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Font Awesome 图标基础样式（本地字体图标，无需外部CDN） */
.fa { display: inline-block; font-style: normal; font-weight: normal; line-height: 1; }
.fa-film::before { content: "🎬"; }
.fa-bars::before { content: "☰"; }
.fa-star::before { content: "⭐"; }
.fa-play-circle::before { content: "▶"; }
.fa-heart::before { content: "♥"; }
.fa-angle-right::before { content: "›"; }
.fa-home::before { content: "🏠"; }
.fa-fire::before { content: "🔥"; }
.fa-moon::before { content: "🌙"; }
.fa-user::before { content: "👤"; }
.fa-palette::before { content: "🎨"; }
.fa-couch::before { content: "🛋"; }

/* 面包屑导航 */
.breadcrumb { padding: 1rem 0; font-size: 0.875rem; color: #6b7280; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { margin: 0 0.5rem; }

/* 移动端菜单显示 */
#mobile-menu.show { display: block !important; }
