/* roulang page: index */
:root {
  --ink: #202925;
  --muted: #68736d;
  --paper: #f6f7f3;
  --white: #fff;
  --line: #e1e6df;
  --green: #315e4d;
  --green-dark: #234638;
  --green-pale: #e8f0e9;
  --coral: #c7654b;
  --gold: #bc8a3b;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(29, 48, 39, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 15px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.navbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 16px; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 5px; background: var(--green); color: white; font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: #46534c; font-size: 14px; transition: color .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-toggle { display: none; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); cursor: pointer; }
.hero { position: relative; overflow: hidden; color: white; background: #182b27; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,34,29,.91) 0%, rgba(20,42,35,.75) 54%, rgba(20,42,35,.25) 100%), url("<?= htmlspecialchars($cover, ENT_QUOTES, 'UTF-8') ?>") center 43% / cover; opacity: .95; }
.hero-inner { position: relative; min-height: 480px; display: flex; align-items: center; padding-block: 70px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 17px; color: #d9e5d8; font-size: 13px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: #d88b63; }
.hero h1 { margin: 0 0 16px; max-width: 700px; font-size: 44px; line-height: 1.2; font-weight: 800; }
.hero h1 span { color: #e5a27c; }
.hero-subtitle { margin: 0 0 12px; color: #edf2ec; font-size: 19px; font-weight: 600; }
.hero-description { max-width: 700px; margin: 0; color: #d0dbd3; }
.hero-actions { display: flex; gap: 12px; margin-top: 25px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; transition: background .18s, border-color .18s, color .18s; }
.button-primary { color: white; background: var(--coral); }
.button-primary:hover { background: #ad513b; }
.button-outline { color: white; border-color: rgba(255,255,255,.62); }
.button-outline:hover { background: rgba(255,255,255,.12); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #e5a27c; outline-offset: 3px; }
main section { padding: 58px 0; border-bottom: 1px solid var(--line); }
main section:nth-of-type(even) { background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-heading h2 { margin: 0; font-size: 26px; line-height: 1.3; }
.section-heading p { max-width: 690px; margin: 7px 0 0; color: var(--muted); }
.section-kicker { display: block; margin-bottom: 5px; color: var(--coral); font-size: 12px; font-weight: 800; }
.text-link { color: var(--green); font-weight: 700; white-space: nowrap; }
.text-link:hover { color: var(--coral); }
.need-band { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.need-band h2 { margin: 0 0 12px; font-size: 27px; }
.need-band p { margin: 0; color: var(--muted); }
.need-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.need-point { padding: 13px 15px; border-left: 3px solid var(--green); background: var(--green-pale); font-weight: 700; }
.entry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.entry-item { min-height: 120px; padding: 19px; border: 1px solid var(--line); background: white; }
.entry-item strong { display: block; margin-bottom: 7px; font-size: 17px; }
.entry-item p { margin: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step { position: relative; padding: 5px 22px 5px 0; }
.step-number { display: block; margin-bottom: 10px; color: var(--coral); font-size: 13px; font-weight: 800; }
.step h3 { margin: 0 0 5px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.preview-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.preview-panel { min-height: 230px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: #eaf0e9; }
.preview-panel.dark { color: white; background: #263d35; }
.preview-panel h3 { margin: 0; font-size: 21px; }
.preview-panel p { max-width: 480px; margin: 8px 0 0; color: var(--muted); }
.preview-panel.dark p { color: #d2ddd5; }
.preview-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill, .badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 3px; color: var(--green-dark); background: #dce9dd; font-size: 12px; font-weight: 700; }
.badge.warm { color: #8d4b37; background: #f6e5dc; }
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 19px 14px; }
.movie-card { min-width: 0; }
.poster { position: relative; overflow: hidden; aspect-ratio: 5/7; background: #dce2db; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.movie-card:hover .poster img { transform: scale(1.035); }
.poster .badge { position: absolute; top: 9px; left: 9px; }
.movie-info { padding-top: 9px; }
.movie-title { display: block; overflow-wrap: anywhere; font-weight: 700; line-height: 1.45; }
.movie-meta { display: flex; justify-content: space-between; gap: 6px; margin-top: 5px; color: var(--muted); font-size: 12px; }
.score { color: #946b29; font-weight: 800; }
.update-list { border-top: 1px solid var(--line); }
.update-row { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.update-date { color: var(--muted); font-size: 13px; }
.update-row strong { font-size: 15px; }
.update-row span:last-child { color: var(--green); font-size: 13px; font-weight: 700; }
.featured-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.featured-main { position: relative; min-height: 330px; overflow: hidden; color: white; background: #243c34; }
.featured-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.featured-main::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(15,28,23,.9)); }
.featured-copy { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; }
.featured-copy h3 { margin: 0 0 5px; font-size: 25px; }
.featured-copy p { margin: 0; color: #e3e9e3; }
.featured-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.featured-small { display: flex; min-height: 155px; align-items: end; padding: 18px; color: white; background: #355449; }
.featured-small:nth-child(2) { background: #744d3e; }
.featured-small h3 { margin: 0; font-size: 19px; }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-link { min-height: 150px; padding: 21px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: background .18s; }
.category-link:hover { background: var(--green-pale); }
.category-link h3 { margin: 0 0 6px; color: var(--green-dark); font-size: 18px; }
.category-link p { margin: 0; color: var(--muted); font-size: 14px; }
.rank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.rank-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; min-height: 66px; border-bottom: 1px solid var(--line); }
.rank-number { color: #8a918b; font-size: 18px; font-weight: 800; text-align: center; }
.rank-row:nth-child(-n+3) .rank-number { color: var(--gold); }
.rank-title { font-weight: 700; }
.rank-detail { color: var(--muted); font-size: 12px; }
.rank-score { text-align: right; color: #946b29; font-weight: 800; }
.topic-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.topic { padding: 19px 0; border-top: 3px solid var(--green); }
.topic:nth-child(2) { border-color: var(--coral); }
.topic:nth-child(3) { border-color: var(--gold); }
.topic h3 { margin: 0 0 7px; font-size: 17px; }
.topic p { margin: 0; color: var(--muted); }
.info-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 34px; }
.info-item { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-item strong { font-size: 14px; }
.info-item span { color: var(--muted); font-size: 13px; text-align: right; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; padding: 27px 0; border-block: 1px solid var(--line); }
.metric strong { display: block; color: var(--green); font-size: 22px; }
.metric span { color: var(--muted); font-size: 14px; }
.quote-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote { padding: 16px 18px; border-left: 3px solid #d88b63; background: #fff; }
.quote p { margin: 0; color: #46534c; }
.quote span { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; }
.scene-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px 26px; }
.scene-item { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.scene-item small { display: block; color: var(--muted); font-weight: 400; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.news-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.news-thumb { width: 96px; aspect-ratio: 4/3; object-fit: cover; background: #dce2db; }
.news-item h3 { margin: 0 0 5px; font-size: 15px; line-height: 1.45; }
.news-item time { color: var(--muted); font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 17px 34px 17px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 5px; color: var(--green); font-size: 21px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 850px; margin: 0 0 17px; color: var(--muted); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; color: white; background: var(--green-dark); }
.cta-band h2 { margin: 0 0 5px; font-size: 23px; }
.cta-band p { margin: 0; color: #d4dfd6; }
.site-footer { padding: 42px 0 18px; color: #e1e9e2; background: #172a27; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 31px; }
.footer-brand { color: white; }
.footer-grid h3 { margin: 0 0 11px; color: white; font-size: 14px; }
.footer-grid p { max-width: 310px; margin: 12px 0 0; color: #b9c8be; font-size: 13px; }
.footer-links { display: grid; gap: 7px; color: #c3d0c6; font-size: 13px; }
.footer-links a:hover { color: white; }
.copyright { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); color: #afbeb3; font-size: 12px; }
@media (max-width: 1024px) {
  .poster-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .entry-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .container { width: min(100% - 36px, 680px); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 71px; right: 0; left: 0; padding: 12px 20px 18px; border-bottom: 1px solid var(--line); background: white; }
  .nav-links.is-open { display: grid; gap: 0; }
  .nav-links a { display: block; padding: 11px 4px; }
  .hero-inner { min-height: 440px; padding-block: 54px; }
  .hero h1 { font-size: 36px; }
  main section { padding: 45px 0; }
  .need-band, .preview-row, .featured-grid { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 22px 12px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .section-heading { align-items: start; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .container { width: calc(100% - 30px); }
  .navbar { min-height: 64px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .nav-links { top: 63px; }
  .hero-inner { min-height: 460px; }
  .hero h1 { font-size: 31px; }
  .hero-subtitle { font-size: 17px; }
  .hero-actions { flex-wrap: wrap; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 23px; }
  .section-heading .text-link { display: inline-block; margin-top: 9px; }
  .poster-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px 12px; }
  .entry-grid, .category-grid, .rank-list, .info-list, .topic-strip, .quote-list, .scene-list, .news-grid { grid-template-columns: 1fr; }
  .category-link { min-height: 0; }
  .update-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .update-date { grid-column: 1 / -1; }
  .update-row strong { grid-column: 1; }
  .update-row span:last-child { grid-column: 2; grid-row: 2; }
  .metrics { grid-template-columns: 1fr; gap: 15px; }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 15px; }
}

/* roulang page: category1 */
:root {
 --ink:#202925; --muted:#68736d; --paper:#f6f7f3; --white:#fff;
 --line:#e1e6df; --green:#315e4d; --green-dark:#234638; --green-pale:#e8f0e9;
 --coral:#c7654b; --gold:#bc8a3b; --radius:6px; --shadow:0 8px 24px rgba(29,48,39,.08);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:84px; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; font-size:15px; line-height:1.75; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
button,input,select { font:inherit; }
button,a,select { -webkit-tap-highlight-color:transparent; }
.container { width:min(1160px,calc(100% - 48px)); margin-inline:auto; }
.site-header { position:sticky; z-index:10; top:0; background:rgba(255,255,255,.97); border-bottom:1px solid var(--line); }
.navbar { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { display:inline-flex; align-items:center; gap:11px; flex-shrink:0; font-size:16px; font-weight:800; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; border-radius:5px; background:var(--green); color:#fff; font-size:17px; }
.nav-links { display:flex; align-items:center; gap:26px; margin:0; padding:0; list-style:none; }
.nav-links a { color:#46534c; font-size:14px; transition:color .18s ease; }
.nav-links a:hover,.nav-links a[aria-current="page"] { color:var(--green); }
.nav-toggle { display:none; width:42px; height:40px; border:1px solid var(--line); border-radius:5px; background:white; color:var(--ink); cursor:pointer; }
main section { padding:48px 0; border-bottom:1px solid var(--line); }
main section:nth-of-type(even) { background:#fff; }
.breadcrumb { padding:22px 0 0; color:var(--muted); font-size:13px; }
.breadcrumb a { color:var(--green); }
.page-intro { padding:24px 0 30px; }
.page-intro h1 { margin:0 0 9px; font-size:34px; line-height:1.3; }
.page-intro p { max-width:790px; margin:0; color:var(--muted); }
.intro-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:17px; }
.pill,.badge { display:inline-flex; align-items:center; padding:3px 9px; border-radius:3px; color:var(--green-dark); background:#dce9dd; font-size:12px; font-weight:700; }
.badge.warm { color:#8d4b37; background:#f6e5dc; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:22px; }
.section-heading h2 { margin:0; font-size:25px; line-height:1.35; }
.section-heading p { margin:6px 0 0; color:var(--muted); }
.section-kicker { display:block; margin-bottom:4px; color:var(--coral); font-size:12px; font-weight:800; }
.filter-bar { display:flex; flex-wrap:wrap; align-items:center; gap:9px; padding:15px 0 20px; }
.filter-label { margin-right:4px; color:var(--muted); font-size:13px; font-weight:700; }
.filter-chip { min-height:36px; padding:6px 13px; border:1px solid var(--line); border-radius:4px; color:#46534c; background:#fff; cursor:pointer; transition:background .18s,border-color .18s,color .18s; }
.filter-chip:hover { border-color:var(--green); color:var(--green); }
.filter-chip[aria-pressed="true"] { border-color:var(--green); color:#fff; background:var(--green); }
.sort-select { min-height:36px; margin-left:auto; padding:5px 30px 5px 10px; border:1px solid var(--line); border-radius:4px; color:var(--ink); background:#fff; }
.movie-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:22px 15px; }
.movie-card { min-width:0; }
.poster { position:relative; overflow:hidden; aspect-ratio:2/3; margin-bottom:10px; border:1px solid var(--line); border-radius:4px; background:#e6ebe5; }
.poster::before { content:""; position:absolute; inset:0; background:linear-gradient(145deg,#dce7dd,#c9d6ce 52%,#e9ddd5); }
.poster::after { content:"影"; position:absolute; inset:0; display:grid; place-items:center; color:rgba(49,94,77,.38); font-size:46px; font-weight:800; }
.poster img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; }
.poster .badge { position:absolute; z-index:2; top:8px; left:8px; }
.movie-title { display:block; overflow-wrap:anywhere; font-weight:700; line-height:1.45; }
.movie-meta { display:flex; justify-content:space-between; gap:6px; margin-top:5px; color:var(--muted); font-size:12px; }
.rating { color:#956a20; font-weight:800; white-space:nowrap; }
.pagination { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:30px; }
.page-number { min-width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--line); border-radius:4px; background:#fff; color:#46534c; }
.page-number.current { border-color:var(--green); color:#fff; background:var(--green); }
.page-number.disabled { color:#a2aaa4; background:#f1f3ef; cursor:not-allowed; }
.featured-layout { display:grid; grid-template-columns:1.05fr 1fr; gap:34px; align-items:center; }
.featured-art { position:relative; min-height:270px; overflow:hidden; display:flex; align-items:end; padding:24px; color:#fff; background:#315e4d; }
.featured-art::before { content:""; position:absolute; inset:0; background:linear-gradient(135deg,rgba(35,70,56,.1),rgba(21,43,34,.75)); }
.featured-art strong,.featured-art span { position:relative; z-index:1; }
.featured-art strong { display:block; font-size:28px; }
.featured-art span { display:block; color:#e1e9e1; }
.featured-copy h3 { margin:0 0 9px; font-size:22px; }
.featured-copy p { margin:0 0 15px; color:var(--muted); }
.featured-copy ul { margin:0; padding-left:19px; color:#46534c; }
.update-list { border-top:1px solid var(--line); }
.update-row { display:grid; grid-template-columns:110px 1fr auto; align-items:center; gap:16px; padding:14px 0; border-bottom:1px solid var(--line); }
.update-date { color:var(--muted); font-size:13px; }
.update-row strong { font-size:15px; }
.update-row .badge { white-space:nowrap; }
.genre-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-left:1px solid var(--line); }
.genre-item { min-height:130px; padding:18px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.5); transition:background .18s; }
.genre-item:hover { background:#fff; }
.genre-item strong { display:block; margin-bottom:6px; font-size:17px; }
.genre-item p { margin:0; color:var(--muted); font-size:14px; }
.article-list { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.article-item { display:grid; grid-template-columns:88px 1fr; gap:14px; align-items:center; padding:14px; border:1px solid var(--line); background:#fff; }
.article-thumb { aspect-ratio:1.2/1; display:grid; place-items:center; color:var(--green); background:var(--green-pale); font-size:22px; font-weight:800; }
.article-item h3 { margin:0 0 5px; font-size:15px; line-height:1.5; }
.article-item p { margin:0; color:var(--muted); font-size:12px; }
.faq-list { border-top:1px solid var(--line); }
.faq-list details { padding:15px 0; border-bottom:1px solid var(--line); }
.faq-list summary { position:relative; padding-right:30px; cursor:pointer; font-weight:700; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"＋"; position:absolute; right:4px; color:var(--green); }
.faq-list details[open] summary::after { content:"−"; }
.faq-list details p { margin:9px 30px 0 0; color:var(--muted); }
.cta-band { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:27px 30px; color:#fff; background:var(--green-dark); }
.cta-band h2 { margin:0 0 4px; font-size:22px; }
.cta-band p { margin:0; color:#d5e0d7; }
.button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:9px 18px; border:1px solid transparent; border-radius:4px; font-weight:700; transition:background .18s,border-color .18s,color .18s; }
.button-primary { color:#fff; background:var(--coral); }
.button-primary:hover { background:#ad513b; }
.button-outline { color:#fff; border-color:rgba(255,255,255,.62); }
.button-outline:hover { background:rgba(255,255,255,.12); }
.button:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible { outline:3px solid #e5a27c; outline-offset:3px; }
.site-footer { padding:42px 0 18px; color:#d5ddd7; background:#202925; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:30px; padding-bottom:30px; }
.footer-brand { color:#fff; }
.footer-grid p { max-width:330px; margin:13px 0 0; color:#b7c1ba; font-size:13px; }
.footer-grid h3 { margin:0 0 12px; color:#fff; font-size:14px; }
.footer-links { display:grid; gap:7px; color:#b7c1ba; font-size:13px; }
.footer-links a:hover { color:#fff; }
.copyright { padding-top:16px; border-top:1px solid rgba(255,255,255,.15); color:#aeb9b1; font-size:12px; }
@media (max-width:1024px) {
 .movie-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .nav-links { gap:16px; }
 .article-list { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
 .container { width:min(100% - 36px,620px); }
 .navbar { min-height:64px; }
 .nav-toggle { display:block; }
 .nav-links { position:absolute; top:64px; right:18px; left:18px; display:none; align-items:stretch; gap:0; padding:8px 14px; border:1px solid var(--line); background:#fff; box-shadow:var(--shadow); }
 .nav-links.is-open { display:flex; flex-direction:column; }
 .nav-links a { display:block; padding:10px 4px; border-bottom:1px solid #edf0eb; }
 .nav-links li:last-child a { border-bottom:0; }
 main section { padding:38px 0; }
 .page-intro { padding:22px 0 25px; }
 .page-intro h1 { font-size:29px; }
 .section-heading { align-items:start; flex-direction:column; gap:5px; }
 .movie-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px 12px; }
 .genre-grid { grid-template-columns:repeat(2,1fr); }
 .featured-layout { grid-template-columns:1fr; gap:20px; }
 .featured-art { min-height:220px; }
 .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:520px) {
 .container { width:calc(100% - 30px); }
 .brand { font-size:14px; gap:8px; }
 .brand-mark { width:31px; height:31px; }
 .page-intro h1 { font-size:26px; }
 .movie-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 12px; }
 .filter-bar { gap:7px; }
 .filter-label { width:100%; }
 .sort-select { margin-left:0; }
 .update-row { grid-template-columns:72px 1fr; gap:8px 12px; }
 .update-row .badge { grid-column:2; justify-self:start; }
 .genre-grid { grid-template-columns:1fr; }
 .article-list { grid-template-columns:1fr; }
 .cta-band { align-items:flex-start; flex-direction:column; padding:22px; }
 .footer-grid { grid-template-columns:1fr 1fr; gap:24px 16px; }
 .footer-grid > div:first-child { grid-column:1/-1; }
}
