@charset "UTF-8";
:root {
    color-scheme: dark;
    --brand: #F25C36;
    --panel: #161B24;
    --panel-soft: #1B2230;
    --line: #283140;
    --blue-gray: #232B3A;
    --bg: #0E1117;
    --deep: #080A0E;
    --text: #F1F5F9;
    --muted: #94A3B8;
    --cyan: #38BDF8;
    --radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.65; font-size: 15px; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.page-container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.skip-link, .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:focus { width: auto; height: auto; clip: auto; margin: 10px; padding: 10px 14px; z-index: 99; background: var(--brand); }
.site-header { background: var(--deep); border-bottom: 1px solid #202633; }
.header-inner { min-height: 72px; width: min(1240px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.main-nav { display: flex; align-items: center; gap: 26px; height: 72px; }
.main-nav a { height: 100%; display: inline-flex; align-items: center; color: var(--muted); border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--text); border-color: var(--brand); }
.header-download { margin-left: auto; padding: 9px 14px; color: var(--cyan); border: 1px solid #23516a; border-radius: 7px; font-weight: 650; }
.discovery-bar { padding-top: 34px; padding-bottom: 25px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 440px); gap: 14px 30px; align-items: end; }
.eyebrow { margin: 0 0 7px; color: var(--cyan); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 9px; font-size: clamp(25px, 3vw, 34px); line-height: 1.3; letter-spacing: -.035em; }
h2 { margin-bottom: 7px; font-size: 22px; line-height: 1.35; letter-spacing: -.02em; }
h3 { margin-bottom: 5px; }
.intro { max-width: 760px; margin: 0; color: var(--muted); }
.search-form { display: flex; gap: 8px; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.search-form:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 2px #38bdf822; }
.search-form input { min-width: 0; flex: 1; padding: 9px 10px; color: var(--text); background: transparent; border: 0; outline: 0; }
.search-form input::placeholder { color: #738095; }
.search-form button, .watch-link, .device-button, .download-button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; padding: 10px 16px; font-weight: 750; cursor: pointer; }
.search-form button, .watch-link { color: white; background: var(--brand); }
.search-form button:hover, .watch-link:hover { background: #df4d2b; }
.quick-links { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.quick-links a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.quick-links .device-link { color: var(--cyan); border-color: #24516a; }
.catalog-section { padding-top: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-description { margin: 0; color: var(--muted); font-size: 13px; }
.result-count { color: var(--muted); font-size: 13px; padding-bottom: 4px; white-space: nowrap; }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 17px 0 18px; }
.category-tab { padding: 6px 13px; color: #c1cad7; background: var(--blue-gray); border: 1px solid #303a4c; border-radius: 5px; font-size: 13px; }
.category-tab:hover, .category-tab.is-active { color: #fff; border-color: var(--brand); background: #4a2a27; }
.movie-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 15px; }
.movie-card { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s ease, transform .18s ease; }
.movie-card:hover { border-color: #536176; transform: translateY(-2px); }
.poster-wrap { position: relative; overflow: hidden; background: #202735; aspect-ratio: 2 / 3; }
.poster { display: block; width: 100%; height: 100%; object-fit: cover; color: var(--muted); }
.poster-badge { position: absolute; top: 9px; left: 9px; padding: 3px 7px; color: #fff; background: #080a0ecc; border: 1px solid #ffffff24; border-radius: 4px; font-size: 11px; }
.movie-info { padding: 11px 11px 12px; }
.movie-info h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.movie-meta { margin: 0 0 7px; color: var(--cyan); font-size: 11px; }
.movie-summary { min-height: 4.5em; margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.content-note { color: #748197; font-size: 10px; }
.empty-state { padding: 48px 20px; text-align: center; background: var(--panel); border: 1px dashed #3b4658; border-radius: var(--radius); }
.empty-state p { color: var(--muted); }
.text-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.device-strip { margin-top: 34px; padding: 23px 25px; display: flex; justify-content: space-between; align-items: center; gap: 25px; background: linear-gradient(110deg, #182330, #151b25); border: 1px solid #294052; border-radius: var(--radius); }
.device-strip p:not(.eyebrow) { max-width: 700px; margin: 0; color: var(--muted); }
.device-button { flex: 0 0 auto; color: #07131b; background: var(--cyan); }
.about-section { padding-top: 34px; padding-bottom: 38px; }
.about-section p { max-width: 980px; margin-bottom: 10px; color: var(--muted); }
.about-section a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { background: var(--deep); border-top: 1px solid #202633; }
.footer-inner { width: min(1240px, calc(100% - 40px)); margin: auto; padding: 26px 0 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; }
.footer-logo { font-size: 19px; font-weight: 800; }
.footer-brand p { max-width: 520px; margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-items: start; gap: 20px; color: var(--muted); font-size: 13px; }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 13px; border-top: 1px solid #202633; color: #718096; font-size: 12px; }
.download-hero { padding-top: 48px; padding-bottom: 30px; }
.download-hero h1 { max-width: 800px; }
.download-hero .intro { margin-bottom: 18px; }
.back-to-web { color: var(--cyan); font-size: 13px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-card { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.download-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; color: var(--cyan); background: #123044; border: 1px solid #23516a; border-radius: 9px; font-size: 18px; font-weight: 800; }
.download-card h2 { margin-bottom: 10px; }
.download-card > p:not(.eyebrow) { min-height: 3.2em; color: var(--muted); }
.device-requirements { margin: 17px 0; padding: 11px 12px; color: #c4cfdd; background: #111720; border-left: 2px solid var(--cyan); font-size: 13px; }
.download-unavailable { display: inline-flex; padding: 9px 12px; color: #f6c4b5; background: #3a211f; border: 1px solid #66372f; border-radius: 6px; font-size: 12px; }
.download-button { color: #07131b; background: var(--cyan); }
.install-notes { padding-top: 38px; padding-bottom: 32px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.notes-grid article { padding: 17px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.notes-grid h3 { font-size: 15px; }
.notes-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.return-panel { margin-bottom: 42px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #171e29; border: 1px solid var(--line); border-radius: var(--radius); }
.return-panel p { margin: 0; color: var(--muted); }
.error-page { min-height: 58vh; padding-top: 70px; padding-bottom: 70px; }
.error-code { margin: 0; color: var(--brand); font-size: clamp(70px, 13vw, 130px); font-weight: 900; line-height: 1; }
.error-page > p:not(.error-code) { color: var(--muted); }
.error-page .watch-link { margin-top: 10px; }
@media (max-width: 1000px) {
    .movie-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .discovery-bar { grid-template-columns: 1fr; }
    .search-form { max-width: 560px; }
}
@media (max-width: 700px) {
    .page-container, .header-inner, .footer-inner { width: min(100% - 28px, 560px); }
    .header-inner { min-height: 62px; gap: 14px; }
    .brand { gap: 7px; font-size: 18px; }
    .brand img { width: 35px; height: 35px; }
    .main-nav { height: 62px; gap: 13px; font-size: 13px; }
    .header-download { padding: 7px 9px; font-size: 11px; }
    .discovery-bar { padding-top: 26px; }
    .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 9px; }
    .movie-info { padding: 8px; }
    .movie-info h3 { font-size: 13px; }
    .movie-summary { font-size: 11px; }
    .section-heading { align-items: start; }
    .device-strip, .return-panel { align-items: flex-start; flex-direction: column; }
    .download-grid, .notes-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
    .copyright { grid-column: auto; }
}
@media (max-width: 390px) {
    .header-inner { flex-wrap: wrap; padding: 10px 0; }
    .main-nav { order: 3; width: 100%; height: 34px; }
    .header-download { margin-left: auto; }
    .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-form button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
