:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #150e09; color: #fff5e3; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main { width: min(1100px, 94%); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid #62472d; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
a { color: #eebe79; text-underline-offset: .2em; }
.brand { font-size: 1.5rem; font-weight: 800; text-decoration: none; }
main { padding-block: 1.5rem 3rem; }
.film-detail { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.poster { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; background: #21150e; border: 1px solid #62472d; border-radius: .6rem; }
h1 { margin-top: 0; font-size: clamp(1.5rem, 4vw, 2.5rem); overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1rem; line-height: 1.5; }
dt { color: #eebe79; font-weight: 600; }
dd { margin: 0; overflow-wrap: anywhere; }
.synopsis { line-height: 1.8; color: #d8c9b3; overflow-wrap: anywhere; }
.button { display: inline-block; border: 1px solid #ad8149; padding: .75rem 1rem; border-radius: .5rem; }
.movie-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1rem 2rem; padding-left: 1.2rem; line-height: 1.6; }
.pagination { padding-top: 2rem; justify-content: space-between; }
@media (max-width: 650px) { .film-detail { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); gap: 1rem; } dl { grid-template-columns: minmax(0, 1fr); gap: .25rem; } dd { margin-bottom: .5rem; } }
