/* Static, crawlable pages (movie, genre and hub pages from tools/build-pages.js).
   They reuse style.css for the header, tags, buttons and footer. */

.static-page .tagline { display: none; }

a.lang-btn { display: inline-block; color: inherit; text-decoration: none; }
a.lang-btn.active { color: #fff; }

.page { max-width: 62rem; margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; }

.page h1 { margin: 0 0 0.6rem; font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; }
.page h1 .year { color: var(--muted); font-weight: 700; }
.page h2 { margin: 0 0 0.7rem; font-family: var(--font-display); font-size: 1.35rem; }

.page a { color: var(--accent-ink, var(--accent)); }
.page .modal-links a { color: #fff; }
.page .modal-links a + a { color: var(--ink-fixed); }

.crumbs { margin-bottom: 1.1rem; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.movie-page { display: grid; grid-template-columns: 15rem 1fr; gap: 1.6rem; align-items: start; }

.page-poster {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  border: 3px solid var(--border);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--shadow-color);
  font-size: 5rem;
}

.alt-title { margin: -0.2rem 0 0.8rem; color: var(--muted); font-weight: 700; }

.page .tags { margin-bottom: 1rem; }
.page .tag { text-decoration: none; color: inherit; }
a.tag:hover { background: var(--sun); color: var(--ink-fixed); }

.lead { margin: 0 0 1.1rem; font-size: 1.12rem; line-height: 1.55; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.6rem; margin: 0 0 1rem; }
.facts div { padding: 0.55rem 0.8rem; border: 2px solid var(--border); border-radius: 14px; background: var(--surface); }
.facts dt { color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.facts dd { margin: 0.1rem 0 0; font-weight: 800; }

.page-section { margin-top: 2.2rem; }

.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li { padding: 0.35rem 0; border-bottom: 1px dashed var(--line-soft); }
.link-list .meta { color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.link-list.columns { columns: 2 18rem; column-gap: 2rem; }
.link-list.columns li { break-inside: avoid; }

.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }

.genre-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 3px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--ink-fixed) !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.genre-link small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; }
.genre-link:hover { transform: translate(-2px, -2px); }

@media (max-width: 700px) {
  .movie-page { grid-template-columns: 1fr; }
  .page-poster { aspect-ratio: 16 / 9; font-size: 3.5rem; }
  .page { padding: 1.1rem 1rem 2rem; }
}
