:root { --bg:#141414; --surface:#1f1f1f; --surface-2:#2a2a2a; --border:#3a3a3a; --text:#fff; --text-2:#b3b3b3; --text-3:#8c8c8c; --red:#e50914; --red-hover:#b20710; --radius:6px; }
* { box-sizing:border-box; }
html { color-scheme:dark; scroll-behavior:smooth; scroll-padding-top:80px; }
body { margin:0; font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; font-size:16px; line-height:1.7; background:var(--bg); color:var(--text); }
a { color:var(--text); }
.container { width:100%; max-width:1200px; margin:0 auto; padding-inline:16px; }
.site-header { position:sticky; top:0; z-index:10; height:64px; background:rgba(20,20,20,.95); border-bottom:1px solid var(--border); }
.header-inner,.footer-inner { min-height:64px; display:flex; align-items:center; gap:24px; }
.logo { color:var(--red); font-size:24px; font-weight:800; letter-spacing:1px; text-decoration:none; }
.site-header nav,.site-footer nav { display:flex; gap:16px; margin-left:auto; }
.site-header nav a,.site-footer nav a { display:inline-flex; align-items:center; min-height:48px; color:var(--text-2); text-decoration:none; touch-action:manipulation; }
.header-search { margin-left:auto; }
.hero { min-height:480px; padding:96px 0 64px; background:radial-gradient(ellipse at top,rgba(229,9,20,.35),transparent 60%),linear-gradient(180deg,#000 0%,#141414 100%); }
.hero-inner { display:flex; flex-direction:column; align-items:center; text-align:center; }
h1 { max-width:800px; margin:0; font-size:30px; font-weight:800; line-height:1.1; }
h2 { margin:64px 0 16px; font-size:24px; line-height:1.25; }
h3 { font-size:20px; line-height:1.25; }
h1,h2,h3 { scroll-margin-top:80px; text-wrap:balance; }
.hero-lead { max-width:640px; margin:24px auto 32px; color:var(--text-2); }
.search-form { display:flex; width:100%; max-width:640px; gap:12px; }
input { min-width:0; flex:1; min-height:56px; padding:12px 16px; border:1px solid var(--border); border-radius:var(--radius); font:inherit; font-size:16px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 24px; border:0; border-radius:var(--radius); font-weight:700; text-decoration:none; cursor:pointer; touch-action:manipulation; }
.btn-primary { background:var(--red); color:#fff; }
.btn-primary:hover { background:var(--red-hover); }
:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.hero-points { display:flex; gap:24px; margin:32px 0 0; padding:0; color:var(--text-2); list-style:none; }
.section { padding-bottom:32px; }
.section-intro { color:var(--text-2); }
.movie-grid { display:grid; grid-template-columns:1fr; gap:16px; margin:32px 0 0; padding:0; list-style:none; }
.movie-card { display:flex; flex-direction:column; overflow:hidden; height:100%; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.movie-card:hover { box-shadow:0 4px 6px hsla(0,0%,0%,.2); }
.movie-rank { display:block; margin-bottom:8px; color:var(--text-2); font-size:14px; font-weight:700; line-height:1; }
.movie-poster { display:block; width:100%; height:320px; object-fit:contain; background:#111; }
.movie-body { display:flex; flex:1; flex-direction:column; min-width:0; padding:24px; }
.movie-title { margin:0 0 8px; }
.movie-meta,.movie-rating { margin:0; color:var(--text-3); font-size:14px; }
.movie-rating strong { color:var(--text); }
.movie-synopsis { color:var(--text-2); }
.movie-body .btn { width:100%; margin-top:auto; }
.prose { max-width:760px; }
.prose strong { color:var(--text); font-weight:700; }
.prose u { text-decoration-color:var(--red); text-decoration-thickness:2px; text-underline-offset:3px; }
.prose ul,.prose ol { padding-left:24px; }
.prose li { margin:8px 0; }
.table-wrap { overflow-x:auto; }
table { width:100%; min-width:560px; border-collapse:collapse; }
th { background:var(--surface-2); text-align:left; }
th,td { padding:12px 16px; border-bottom:1px solid var(--border); }
.faq-item { margin:12px 0; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.faq-item summary { display:flex; justify-content:space-between; padding:16px; font-weight:700; cursor:pointer; }
.faq-item summary::after { content:'+'; }
.faq-item[open] summary::after { content:'−'; }
.faq-answer { padding:0 16px 16px; }
.site-footer { margin-top:64px; padding:48px 0; border-top:1px solid var(--border); }
.site-footer p { color:var(--text-2); }
.copyright { font-size:14px; }
.modal { width:min(960px,92vw); max-height:92vh; overflow:auto; overscroll-behavior:contain; padding:0; background:#000; color:var(--text); border:1px solid var(--border); box-shadow:0 15px 35px hsla(0,0%,0%,.4); }
.modal::backdrop { background:rgba(0,0,0,.8); }
.modal-head { display:flex; align-items:center; justify-content:space-between; padding:12px 16px; }
.modal-title { margin:0; font-weight:700; }
.modal-close { min-width:44px; min-height:44px; border:0; background:transparent; color:#fff; font-size:30px; cursor:pointer; }
.modal-frame { aspect-ratio:16/9; }
.modal-frame iframe { width:100%; height:100%; border:0; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:16px; top:-48px; padding:8px 12px; background:#fff; color:#000; z-index:20; }
.skip-link:focus { top:16px; }
@media (min-width:600px) { .movie-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:768px) { body { font-size:18px; } .container { padding-inline:24px; } h1 { font-size:48px; } h2 { font-size:30px; } .hero { min-height:560px; } }
@media (min-width:900px) { .movie-grid { grid-template-columns:repeat(3,1fr); } h2 { font-size:36px; } }
@media (min-width:1200px) { h3 { font-size:24px; } h1 { font-size:60px; } }
@media (max-width:767px) { .site-header nav { display:none; } .footer-inner { align-items:flex-start; flex-direction:column; } .site-footer nav { flex-wrap:wrap; margin-left:0; } }
@media (max-width:599px) { .search-form { flex-direction:column; } .search-form .btn { width:100%; } .hero-points { flex-direction:column; gap:8px; } .header-search { margin-left:auto; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }
