/* ============================================================
   Media Portal — 怀旧·欲 主题
   深酒红 + 金色 + 胶片质感 + 衬线字体
   ============================================================ */

/* ----- 字体导入 ----- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Serif+JP:wght@400;600;700&family=Noto+Serif+KR:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ----- CSS 变量 ----- */
:root {
  /* 主色调：深酒红 */
  --wine: #6B1C23;
  --wine-light: #8B2A33;
  --wine-dark: #4A1016;
  --wine-glow: rgba(107, 28, 35, 0.4);

  /* 强调色：金色 */
  --gold: #C9A961;
  --gold-light: #E0C98F;
  --gold-dark: #A88B4A;
  --gold-dim: rgba(201, 169, 97, 0.3);

  /* 背景：深棕黑 */
  --bg: #0D0808;
  --bg-secondary: #1A0F0F;
  --bg-card: #1F1212;
  --bg-card-hover: #2A1818;
  --bg-elevated: #251515;

  /* 文字：米白 */
  --text: #F5E6D3;
  --text-secondary: #C4A882;
  --text-muted: #8B7355;
  --text-dim: #5C4A38;

  /* 状态色 */
  --red: #C0392B;
  --green: #7D8C4E;
  --orange: #D4843A;

  /* 边框 */
  --border: rgba(201, 169, 97, 0.15);
  --border-light: rgba(201, 169, 97, 0.25);
  --border-gold: rgba(201, 169, 97, 0.5);

  /* 字体 */
  --font-serif: 'Playfair Display', 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Cormorant Garamond', 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', Georgia, serif;
  --font-display: 'Playfair Display', 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', Georgia, serif;

  /* 间距 */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(201, 169, 97, 0.15);

  /* 过渡 */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ----- 全局重置 ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at top, rgba(107, 28, 35, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 胶片颗粒质感 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 暗角效果 */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }

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

a:hover {
  color: var(--gold-light);
}

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

/* ----- 容器 ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- 导航栏 ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(13, 8, 8, 0.95) 0%, rgba(13, 8, 8, 0.7) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 8, 8, 0.98);
  padding: 12px 32px;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand::before {
  content: '❦';
  font-size: 1.2rem;
  color: var(--wine-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 语言切换 */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 140px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition-fast);
  z-index: 1001;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 10px 16px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-option:hover {
  background: var(--bg-card-hover);
  color: var(--gold);
}

.lang-option.active {
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
}

/* ----- 按钮 ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 4px 15px var(--wine-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--wine-light) 0%, var(--wine) 100%);
  color: var(--text);
  box-shadow: 0 6px 25px var(--wine-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--gold);
  background: rgba(201, 169, 97, 0.05);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ----- 徽章 ----- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid;
}

.badge-gold {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(201, 169, 97, 0.1);
}

.badge-green {
  color: var(--green);
  border-color: rgba(125, 140, 78, 0.3);
  background: rgba(125, 140, 78, 0.1);
}

.badge-red {
  color: var(--red);
  border-color: rgba(192, 57, 43, 0.3);
  background: rgba(192, 57, 43, 0.1);
}

.badge-accent {
  color: var(--wine-light);
  border-color: var(--wine-glow);
  background: rgba(107, 28, 35, 0.2);
}

/* ----- 首页 Hero 轮播背景 ----- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to right, rgba(13, 8, 8, 0.9) 0%, rgba(13, 8, 8, 0.6) 40%, rgba(13, 8, 8, 0.3) 70%, rgba(13, 8, 8, 0.5) 100%),
    linear-gradient(to top, rgba(13, 8, 8, 1) 0%, transparent 30%),
    linear-gradient(to bottom, rgba(13, 8, 8, 0.5) 0%, transparent 20%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 60px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
  background: rgba(201, 169, 97, 0.05);
}

.hero-badge::before {
  content: '✦';
  color: var(--wine-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 6px;
}

/* 轮播指示器 */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-indicator {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-indicator.active {
  background: var(--gold);
}

.hero-indicator.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold-light);
  animation: indicatorProgress 6s linear forwards;
}

@keyframes indicatorProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* ----- 区块标题 ----- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ----- 影视资讯卡片 ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

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

.news-card-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--wine-dark), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.news-card-image::after {
  content: '📰';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.3;
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.news-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----- 电影海报墙 ----- */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.movie-card {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(107, 28, 35, 0.4);
  z-index: 2;
}

.movie-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  position: relative;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.movie-card:hover .movie-poster img {
  transform: scale(1.08);
}

.movie-poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 8, 8, 0.95) 0%, rgba(13, 8, 8, 0.3) 40%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.movie-card:hover .movie-poster-overlay {
  opacity: 1;
}

.movie-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 169, 97, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-size: 1.2rem;
  transition: var(--transition);
}

.movie-card:hover .movie-play-icon {
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  padding: 12px;
}

.movie-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.movie-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.movie-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 8px;
  color: var(--text-dim);
}

/* ----- 电影详情页 ----- */
.movie-detail-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.movie-detail-backdrop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, var(--bg) 100%);
}

.movie-detail-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  display: flex;
  gap: 48px;
}

.movie-detail-poster {
  flex-shrink: 0;
  width: 300px;
}

.movie-detail-poster img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.movie-detail-info {
  flex: 1;
  padding-top: 20px;
}

/* ===== 站内播放器（试看/完整） ===== */
.player-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}

.player-wrap video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.preview-timer {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold-dim);
  z-index: 2;
  pointer-events: none;
}

.preview-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 16, 0.86);
  z-index: 3;
  padding: 24px;
}

.preview-lock-inner {
  max-width: 420px;
  text-align: center;
}

.preview-lock-inner h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.preview-lock-inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.preview-lock-inner .btn {
  margin: 4px;
}

.movie-detail-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.movie-detail-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 1rem;
}

.movie-detail-genres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.movie-detail-overview {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
  font-style: italic;
}

/* ----- 表单 ----- */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(107, 28, 35, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

.auth-card::before {
  content: '❦';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--gold);
  background: var(--bg-card);
  padding: 0 16px;
}

.auth-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-button {
  width: 100%;
  margin-top: 8px;
}

.form-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-footer a {
  color: var(--gold);
  font-weight: 600;
}

/* ----- 价格页 ----- */
.pricing-wrapper {
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.pricing-card.popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(107, 28, 35, 0.1) 100%);
  box-shadow: 0 8px 40px rgba(201, 169, 97, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  padding: 6px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.pricing-currency {
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--gold-dark);
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ----- 账户页 ----- */
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.account-card h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--gold);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.account-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.account-item .value {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
}

/* ----- 管理后台 ----- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th {
  text-align: left;
  padding: 14px 16px;
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-gold);
  font-weight: 600;
}

.table td {
  padding: 14px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.table tr:hover td {
  background: var(--bg-card-hover);
}

.table code {
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: 2px;
  font-family: 'Courier New', monospace;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* ----- 提示框 ----- */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.95rem;
  border-left: 3px solid;
}

.alert-success {
  background: rgba(125, 140, 78, 0.1);
  border-color: var(--green);
  color: var(--green);
}

.alert-error {
  background: rgba(192, 57, 43, 0.1);
  border-color: var(--red);
  color: var(--red);
}

.alert-info {
  background: rgba(201, 169, 97, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ----- 加载动画 ----- */
.loading-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   新栏目页面样式（文章/影片库/讨论区/关于我们）
   ============================================================ */

/* ----- 通用页面包装 ----- */
.page-wrapper {
  min-height: 100vh;
  padding-top: 70px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* ----- 页面Hero ----- */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a0a0e 0%, #4A1016 50%, #1a0a0c 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(10,5,6,0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.page-hero-brand {
  font-family: 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.75);
  letter-spacing: 0.35em;
  text-transform: none;
  margin-bottom: 10px;
}
.page-hero-title {
  font-family: 'Playfair Display', 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(201,169,97,0.3);
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- 筛选按钮 ----- */
.article-filters, .forum-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
}

/* ----- 文章卡片网格 ----- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,169,97,0.2);
}

.article-card-cover {
  height: 160px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.article-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201,169,97,0.9);
  color: var(--bg-dark);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card-body {
  padding: 20px;
}

.article-card-title {
  font-family: 'Playfair Display', 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card-excerpt {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ----- 文章详情页 ----- */
.article-header {
  padding: 60px 0 50px;
  margin-bottom: 40px;
  position: relative;
}

.article-category-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201,169,97,0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.article-title {
  font-family: 'Playfair Display', 'Noto Serif SC', 'Noto Serif JP', 'Noto Serif KR', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}

.article-original-lang {
  color: var(--gold, #C9A961);
  font-style: italic;
  padding: 2px 8px;
  border: 1px solid rgba(201,169,97,0.4);
  border-radius: 3px;
  font-size: 0.8rem;
}

.article-body {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 40px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-source-note {
  background: rgba(201,169,97,0.08);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 30px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.article-tag {
  padding: 5px 14px;
  background: rgba(201,169,97,0.1);
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--gold);
  border-radius: 20px;
  font-size: 0.8rem;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.article-share span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ----- 影片库筛选 ----- */
.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 150px;
}

.filter-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.filter-group select {
  padding: 10px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--gold);
}

/* 下拉展开列表：强制白底深字，避免浅色文字看不清 */
.filter-group select option {
  background-color: #ffffff;
  color: #1a1a1a;
}

/* ----- 海报墙 ----- */
.poster-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.poster-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.poster-item:hover {
  transform: translateY(-4px);
}

.poster-placeholder {
  aspect-ratio: 2/3;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.poster-item:hover .poster-placeholder {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(201,169,97,0.2);
}

.poster-placeholder-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.3;
}

.poster-placeholder-year {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.poster-info {
  padding: 12px 4px 0;
}

.poster-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.poster-rating {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ----- 讨论区 ----- */
.forum-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.forum-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forum-thread {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.forum-thread:hover {
  border-color: var(--gold);
  background: rgba(201,169,97,0.03);
  transform: translateX(4px);
}

.thread-category {
  flex-shrink: 0;
  padding: 5px 12px;
  background: rgba(107,28,35,0.4);
  border: 1px solid rgba(201,169,97,0.3);
  color: var(--gold);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.thread-main {
  flex: 1;
  min-width: 0;
}

.thread-main .thread-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.thread-main .thread-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.thread-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ----- 帖子详情 ----- */
.thread-detail .thread-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.thread-detail .thread-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 12px;
  line-height: 1.4;
}

.thread-detail .thread-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.thread-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 40px;
}

.thread-body p {
  margin-bottom: 16px;
}

/* ----- 评论区 ----- */
.comments-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 20px;
}

.comment-form {
  margin-bottom: 30px;
}

.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 12px;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-author {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comment-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ----- 关于我们 ----- */
.about-content {
  margin-bottom: 40px;
}

.about-heading {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 30px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

.team-name {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 600;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.contact-info {
  margin-top: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-info p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
}

/* ----- 通用辅助 ----- */
.back-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 24px;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

.form-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 24px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

/* ----- 响应式 ----- */
@media (max-width: 1100px) {
  .navbar {
    padding: 14px 20px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }
  .nav-brand {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .page-hero-title { font-size: 2rem; }
  .article-title { font-size: 1.6rem; }
  .forum-thread { flex-direction: column; align-items: flex-start; }
  .thread-stats { width: 100%; justify-content: flex-start; }
  .library-filters { flex-direction: column; }
  .poster-wall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
}

/* ----- 导航栏下拉菜单 ----- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.nav-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.nav-dropdown-menu li a:hover {
  color: var(--gold);
  background: rgba(201,169,97,0.05);
  border-left-color: var(--gold);
}

/* ----- 首页宗旨区块 ----- */
.mission-section {
  padding: 80px 0;
  text-align: center;
}

.mission-content {
  text-align: center;
}

.mission-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  margin: 16px 0 24px;
  line-height: 1.3;
}

.mission-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.mission-text strong {
  color: var(--gold);
  font-weight: 600;
}

/* ----- 栏目导航卡片 ----- */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.section-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.section-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

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

.section-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-card-title {
  font-family: 'Playfair Display', 'Noto Serif SC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.section-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-view-all {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.section-view-all:hover {
  opacity: 0.8;
}

/* ----- 新闻卡片（首页用） ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 768px) {
  .mission-title { font-size: 1.6rem; }
  .section-grid { grid-template-columns: 1fr; }
}

/* ----- 页脚 ----- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

/* 页脚品牌图标与页眉（导航栏 ❦）同色 */
.footer-brand-mark {
  color: var(--wine-light);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

.footer-column h4 {
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

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

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-adult {
  color: var(--wine-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ----- 账户设置 ----- */
.btn-danger {
  background: rgba(139, 42, 51, 0.15);
  border: 1px solid var(--red);
  color: var(--red);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.settings-block {
  margin-bottom: 28px;
}

.settings-heading {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.settings-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.settings-form .form-input {
  flex: 1 1 220px;
  min-width: 0;
}

.settings-msg {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-height: 1.2em;
}

.settings-warning {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 560px;
}

/* ----- 响应式 ----- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .navbar {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding: 100px 24px 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  .movie-detail-content {
    flex-direction: column;
    padding-top: 100px;
  }

  .movie-detail-poster {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .movie-detail-title {
    font-size: 2rem;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .auth-card {
    padding: 32px 24px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }
}

/* ----- 滚动条 ----- */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--wine-dark);
  border-radius: 4px;
}

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

/* ----- 选中文字 ----- */
::selection {
  background: var(--wine);
  color: var(--gold-light);
}
