/* =========================================================
   影视站模板 V2 - 明亮现代流媒体风
   结构：static/css/style.css
   风格：浅色底 + 电光紫/品红渐变 + 大圆角卡片 + 数据化模块
   ========================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #f4f5f9;            /* 页面底色：浅灰白 */
  --surface: #ffffff;        /* 卡片表面 */
  --ink: #141a2e;            /* 主文字：深墨蓝 */
  --ink-2: #5a6072;          /* 次级文字 */
  --ink-3: #9aa0b0;          /* 弱化文字 */
  --brand: #6c5ce7;          /* 电光紫 */
  --brand-2: #ff4d8d;        /* 品红 */
  --teal: #00c2a8;           /* 青绿点缀 */
  --line: #e7e9f0;           /* 边框 */
  --grad: linear-gradient(135deg, #6c5ce7 0%, #8f6df0 45%, #ff4d8d 100%);
  --grad-soft: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(255, 77, 141, 0.08));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(20, 26, 46, 0.09);
  --shadow-lg: 0 22px 60px rgba(108, 92, 231, 0.16);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* 区块标题 */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.section-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.section-more {
  font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.section-more:hover { color: var(--brand); }
.section-more::after { content: "→"; transition: transform 0.2s; }
.section-more:hover::after { transform: translateX(3px); }

.section { padding: 40px 0; }

/* =========================================================
   顶部导航
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: 62px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; letter-spacing: 0.02em; }
.logo .logo-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  border-radius: 10px; transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand); background: rgba(108, 92, 231, 0.08); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.header-search { display: none; position: relative; }
.header-search input {
  width: 210px; height: 38px; padding: 0 40px 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 14px; outline: none; transition: border-color 0.2s, width 0.3s;
}
.header-search input:focus { border-color: var(--brand); width: 250px; }
.header-search input::placeholder { color: var(--ink-3); }
.header-search button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
  color: var(--ink-3); transition: color 0.2s;
}
.header-search button:hover { color: var(--brand); }

.btn-login {
  height: 38px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: var(--grad); color: #fff; transition: box-shadow 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-login:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.nav-toggle { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); }
.nav-toggle:hover { background: var(--bg); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 16px 14px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 8px; font-size: 16px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--brand); }

/* =========================================================
   Hero 主视觉（单张大图 + 信息卡）
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: 24px 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 320px at 12% 8%, rgba(108, 92, 231, 0.12), transparent 65%),
    radial-gradient(520px 300px at 88% 20%, rgba(255, 77, 141, 0.12), transparent 65%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 20px;
  align-items: center;
}

.hero-copy .hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); background: rgba(108, 92, 231, 0.1);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero-copy h1 { font-size: 30px; font-weight: 900; line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 14px; }
.hero-copy h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.hero-meta .rating { color: var(--brand-2); font-weight: 800; font-size: 16px; }
.hero-desc { font-size: 14.5px; color: var(--ink-2); max-width: 520px; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 26px; border-radius: 14px; font-size: 14.5px; font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(108, 92, 231, 0.3); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.hero-visual { position: relative; }
.hero-poster-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4;
  max-width: 340px; margin: 0 auto; width: 100%;
}
.hero-poster-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-poster-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 26, 46, 0.35));
}

.hero-float {
  position: absolute; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px); border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
}
.hero-float .num { font-size: 20px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-float .lbl { font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.hero-float.tl { top: 14px; left: -6px; }
.hero-float.br { bottom: 14px; right: -6px; }

/* =========================================================
   数据统计条
   ========================================================= */
.stats-bar { padding: 26px 0 6px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.stat-item { text-align: center; }
.stat-num { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* =========================================================
   编辑精选片单
   ========================================================= */
.playlist-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.playlist-row::-webkit-scrollbar { height: 6px; }
.playlist-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.playlist-card {
  flex: 0 0 240px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.playlist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.playlist-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.playlist-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.playlist-card:hover .playlist-cover img { transform: scale(1.05); }
.playlist-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font-size: 12px; font-weight: 700; color: #fff;
  background: rgba(20, 26, 46, 0.55); backdrop-filter: blur(4px);
  padding: 3px 10px; border-radius: 999px;
}
.playlist-body { padding: 14px; }
.playlist-name { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.playlist-desc { font-size: 12.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================================
   影片网格（海报卡片）
   ========================================================= */
.movie-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.movie-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.movie-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.movie-poster { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.movie-card:hover .movie-poster img { transform: scale(1.06); }

.movie-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 11px; font-weight: 700; color: #fff; padding: 3px 11px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.35);
}
.movie-rate {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  display: flex; align-items: center; gap: 4px;
  font-size: 15px; font-weight: 900; color: #fff;
  background: rgba(20, 26, 46, 0.55); backdrop-filter: blur(4px);
  padding: 3px 10px; border-radius: 10px;
}
.movie-rate svg { color: #ffd166; }

.movie-info { padding: 12px 13px 15px; }
.movie-name { font-size: 15px; font-weight: 800; line-height: 1.4; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.movie-tags span { font-size: 11.5px; color: var(--ink-2); padding: 2px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }

/* =========================================================
   口碑榜（环形评分卡片）
   ========================================================= */
.rank-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }

.rank-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; transition: transform 0.25s, box-shadow 0.25s;
  min-width: 0;
}
.rank-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rank-poster { width: 62px; height: 84px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.rank-poster img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.rank-info .movie-tags { margin-top: 7px; }

.ring-wrap { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.ring-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 15px; font-weight: 900; color: var(--ink);
}

/* =========================================================
   影人志
   ========================================================= */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.person-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; border: 1px solid var(--line);
}
.person-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.person-card:hover img { transform: scale(1.05); }
.person-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 26, 46, 0.88) 100%);
}
.person-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px; color: #fff; }
.person-name { font-size: 18px; font-weight: 900; }
.person-role { font-size: 12px; color: rgba(255, 255, 255, 0.75); margin-bottom: 6px; }
.person-works { font-size: 12px; color: rgba(255, 255, 255, 0.6); }

/* =========================================================
   幕后图集（交错大图 + lightbox）
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.gallery-item:not(:first-child) { aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 26, 46, 0.6));
}
.gallery-cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-size: 13px; font-weight: 600; }
.gallery-zoom {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.85); color: var(--ink); transition: transform 0.2s;
}
.gallery-item:hover .gallery-zoom { transform: scale(1.1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(10, 13, 24, 0.9); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff;
  display: grid; place-items: center; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-cap { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.85); font-size: 14px; }

/* =========================================================
   观众热评
   ========================================================= */
.review-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.review-row::-webkit-scrollbar { height: 6px; }
.review-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.review-card {
  flex: 0 0 280px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
}
.review-stars { display: flex; gap: 2px; color: #ffd166; }
.review-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; flex: 1; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
}
.review-author .name { font-size: 13.5px; font-weight: 700; }
.review-author .meta { font-size: 11.5px; color: var(--ink-3); }

/* =========================================================
   影视冷知识（手风琴）
   ========================================================= */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; font-size: 15px; font-weight: 700; text-align: left; color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--brand); }
.faq-q .faq-icon { flex-shrink: 0; color: var(--brand); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 16px 15px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.faq-item.open .faq-a { display: block; }

/* =========================================================
   订阅 CTA
   ========================================================= */
.cta-box {
  position: relative; overflow: hidden;
  background: var(--grad); border-radius: 22px; padding: 30px 24px; color: #fff;
}
.cta-box::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.12);
}
.cta-title { font-size: 24px; font-weight: 900; margin-bottom: 8px; position: relative; z-index: 1; }
.cta-desc { font-size: 14px; opacity: 0.9; margin-bottom: 18px; position: relative; z-index: 1; }
.cta-form { display: flex; gap: 10px; position: relative; z-index: 1; max-width: 440px; flex-wrap: wrap; }
.cta-form input {
  flex: 1; min-width: 200px; height: 46px; padding: 0 16px; border-radius: 13px;
  border: none; font-size: 14px; outline: none; color: var(--ink);
}
.cta-form .btn { background: var(--ink); color: #fff; height: 46px; }
.cta-form .btn:hover { background: #232a42; }

/* =========================================================
   SEO 文本区 + 面包屑
   ========================================================= */
.breadcrumb { font-size: 12.5px; color: var(--ink-3); padding: 16px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a:hover { color: var(--brand); }

.seo-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.seo-block h2 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.seo-block p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; margin-bottom: 10px; }
.seo-block p:last-child { margin-bottom: 0; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seo-tags a { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; transition: color 0.2s, border-color 0.2s; }
.seo-tags a:hover { color: var(--brand); border-color: var(--brand); }

/* =========================================================
   页脚
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 36px 0 26px; margin-top: 24px; }
.footer-grid { display: grid; gap: 24px; }
.footer-col h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-about { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 12.5px; color: var(--ink-3); }
.footer-bottom p + p { margin-top: 4px; }

.back-top {
  position: fixed; right: 18px; bottom: 24px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--brand); }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  z-index: 400; background: var(--ink); color: #fff; font-size: 14px; padding: 11px 22px;
  border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   响应式
   ========================================================= */
@media (min-width: 768px) {
  .main-nav { display: block; }
  .header-search { display: block; }
  .nav-toggle { display: none; }

  .hero { padding: 40px 0 0; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-poster-wrap { max-width: 400px; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); padding: 22px; }
  .stat-num { font-size: 32px; }

  .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .rank-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .people-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery-item:not(:first-child) { aspect-ratio: auto; }

  .section { padding: 56px 0; }
  .section-title { font-size: 30px; }

  .cta-box { padding: 44px 48px; }
  .cta-title { font-size: 30px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .movie-grid { grid-template-columns: repeat(4, 1fr); }
  .playlist-card { flex-basis: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
