/* 网飞猫：暗夜影视索引界面 */
:root {
    color-scheme: dark;
    --accent: #F25C36;
    --steel: #232B3A;
    --black: #080A0E;
    --background: #0E1117;
    --surface: #161B24;
    --surface-raised: #1B2230;
    --text: #F1F5F9;
    --muted: #94A3B8;
    --cyan: #38BDF8;
    --line: rgba(148, 163, 184, .16);
    --line-strong: rgba(148, 163, 184, .25);
    --radius-card: 10px;
    --radius-control: 7px;
    --content-width: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(ellipse at 82% 0%, rgba(35, 43, 58, .30), transparent 32rem),
        var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: rgba(242, 92, 54, .55); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.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 {
    z-index: 1000; top: 12px; left: 12px; width: auto; height: auto; margin: 0;
    padding: 9px 14px; clip: auto; background: var(--surface); border: 1px solid var(--cyan);
}
.site-header {
    position: sticky; z-index: 50; top: 0;
    background: rgba(8, 10, 14, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.header-inner {
    width: min(var(--content-width), calc(100% - 48px));
    min-height: 72px; margin: 0 auto; display: flex; align-items: center; gap: 38px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.main-nav a { position: relative; color: var(--muted); font-size: 14px; transition: color .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
    position: absolute; content: ""; height: 2px; left: 0; right: 0; bottom: -25px;
    background: var(--accent); border-radius: 3px;
}
.header-download {
    margin-left: auto; padding: 8px 14px; border: 1px solid rgba(56, 189, 248, .35);
    border-radius: var(--radius-control); color: var(--cyan); font-size: 13px; font-weight: 700;
}
.header-download:hover { background: rgba(56, 189, 248, .09); color: #7dd3fc; }
.page-shell { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto; }
.intro-panel {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    align-items: center; gap: 42px; padding: 40px 0 32px;
    border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 9px; color: var(--cyan); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 13px; font-size: clamp(27px, 3.2vw, 39px); line-height: 1.28; letter-spacing: -.045em; }
h2 { margin-bottom: 8px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.35; letter-spacing: -.035em; }
h3 { margin-bottom: 5px; font-size: 15px; line-height: 1.45; }
.intro-text { max-width: 720px; margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
    min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: 10px;
    padding: 9px 16px; border: 1px solid transparent; border-radius: var(--radius-control);
    font-size: 13px; font-weight: 750; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: #ff704b; color: #fff; }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.025); color: var(--text); }
.button-secondary:hover { border-color: rgba(56,189,248,.55); color: var(--cyan); }
.button-device { border-color: rgba(56,189,248,.35); background: rgba(56,189,248,.08); color: var(--cyan); white-space: nowrap; }
.intro-side { display: grid; gap: 15px; }
.search-box {
    display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 7px 8px 7px 15px;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 9px;
}
.search-icon { color: var(--cyan); font-size: 26px; line-height: 1; }
.search-box form { display: flex; flex: 1; min-width: 0; gap: 8px; }
.search-box input {
    min-width: 0; flex: 1; padding: 7px 3px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px;
}
.search-box input::placeholder { color: #718096; }
.search-box input:focus-visible { outline: 0; }
.search-box:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.08); }
.search-box button {
    padding: 7px 14px; border: 0; border-radius: 6px; background: var(--steel); color: var(--text);
    font-size: 12px; font-weight: 700; cursor: pointer;
}
.search-box button:hover { background: #344258; }
.quick-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-facts div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(22,27,36,.55); }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts strong { margin-bottom: 2px; font-size: 13px; }
.quick-facts span { color: var(--muted); font-size: 11px; }
.catalog-section { padding: 32px 0 38px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 17px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-description { margin: 0; color: var(--muted); font-size: 13px; }
.result-count { padding: 5px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 19px; }
.category-chip {
    padding: 6px 13px; border: 1px solid var(--line); border-radius: 5px;
    background: var(--steel); color: #cbd5e1; font-size: 12px; transition: .18s ease;
}
.category-chip:hover { border-color: rgba(56,189,248,.55); color: var(--cyan); }
.category-chip.is-active { border-color: rgba(242,92,54,.5); background: rgba(242,92,54,.16); color: #ff9a7e; }
.search-feedback { margin: -4px 0 16px; color: var(--muted); font-size: 13px; }
.media-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 15px; }
.media-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.media-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.35); }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: #202938; }
.poster { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-card:hover .poster { transform: scale(1.035); }
.poster-badge {
    position: absolute; top: 9px; left: 9px; padding: 3px 7px; border-radius: 4px;
    background: rgba(8,10,14,.78); color: #f8fafc; font-size: 10px; backdrop-filter: blur(6px);
}
.media-info { padding: 10px 11px 12px; }
.media-info h3 { overflow: hidden; margin-bottom: 3px; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.media-meta { margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.media-meta span { padding: 0 3px; color: #566274; }
.media-summary {
    display: -webkit-box; min-height: 42px; margin-bottom: 8px; overflow: hidden;
    color: #aab6c6; font-size: 11px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.media-status { display: inline-block; padding: 2px 6px; border-radius: 4px; background: rgba(56,189,248,.09); color: var(--cyan); font-size: 10px; }
.empty-state { padding: 56px 20px; border: 1px dashed var(--line-strong); border-radius: 10px; text-align: center; }
.empty-symbol { color: var(--cyan); font-size: 36px; }
.empty-state h3 { margin: 5px 0; font-size: 18px; }
.empty-state p { margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.device-strip {
    display: flex; align-items: center; gap: 20px; margin: 4px 0 36px; padding: 22px 25px;
    border: 1px solid rgba(56,189,248,.2); border-radius: 10px;
    background: linear-gradient(105deg, rgba(56,189,248,.09), rgba(22,27,36,.88) 52%, rgba(242,92,54,.06));
}
.device-mark { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: rgba(56,189,248,.13); color: var(--cyan); font-size: 26px; }
.device-copy { flex: 1; }
.device-copy .eyebrow { margin-bottom: 3px; }
.device-copy h2 { margin-bottom: 4px; font-size: 19px; }
.device-copy p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 0 0 48px; }
.about-section h2 { max-width: 330px; }
.about-content { padding-left: 25px; border-left: 1px solid var(--line-strong); }
.about-content p { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 5px; color: var(--cyan); font-size: 13px; font-weight: 700; }
.site-footer { border-top: 1px solid var(--line); background: var(--black); }
.footer-inner { width: min(var(--content-width), calc(100% - 48px)); margin: 0 auto; padding: 28px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 20px; }
.footer-brand p { max-width: 440px; margin: 10px 0 0; color: #7f8da0; font-size: 12px; }
.footer-brand .brand { font-size: 17px; }
.footer-brand .brand img { width: 34px; height: 34px; }
.footer-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--cyan); }
.copyright { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: #667386; font-size: 11px; }
.breadcrumbs { display: flex; gap: 9px; padding: 20px 0; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--cyan); }
.download-hero {
    display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
    min-height: 300px; padding: 27px 34px; overflow: hidden; border: 1px solid var(--line);
    border-radius: 12px; background: radial-gradient(ellipse at 80% 50%, rgba(56,189,248,.13), transparent 34%), var(--surface);
}
.download-hero h1 { max-width: 620px; }
.download-hero p:not(.eyebrow) { max-width: 620px; margin-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.device-illustration { position: relative; min-height: 220px; display: flex; justify-content: center; align-items: center; }
.screen { position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(56,189,248,.5); background: linear-gradient(145deg, #1c2a3c, #10151f); box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.screen span { color: #f8fafc; font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.screen i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.screen-tv { width: 235px; height: 145px; right: 15%; top: 27px; border-radius: 8px; }
.screen-tv::after { position: absolute; content: ""; width: 60px; height: 5px; bottom: -12px; border-radius: 5px; background: #536176; }
.screen-tv i { top: 13px; right: 13px; }
.screen-phone { z-index: 2; width: 82px; height: 153px; bottom: 4px; left: 15%; border-radius: 15px; border-width: 3px; }
.screen-phone span { font-size: 12px; writing-mode: vertical-rl; }
.screen-phone i { top: 8px; left: 50%; width: 4px; height: 4px; }
.glow-dot { position: absolute; right: 12%; bottom: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 28px 10px rgba(56,189,248,.22); }
.client-section, .install-section { padding: 38px 0 10px; }
.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.client-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.client-icon { display: grid; width: 42px; height: 42px; margin-bottom: 16px; place-items: center; border-radius: 8px; background: rgba(56,189,248,.1); color: var(--cyan); font-size: 24px; }
.client-label { margin-bottom: 3px; color: var(--cyan); font-size: 11px; }
.client-card h3 { margin-bottom: 8px; font-size: 19px; }
.client-card > p:not(.client-label) { min-height: 48px; margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.availability { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); color: #ffb18f; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.notice-box { margin: 17px 0 0; padding: 13px 16px; border-left: 3px solid var(--accent); border-radius: 0 7px 7px 0; background: rgba(242,92,54,.08); color: #cbd5e1; font-size: 12px; }
.notice-box strong { color: #ff9a7e; }
.install-section { padding-bottom: 38px; }
.check-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check-list article { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: rgba(22,27,36,.55); }
.check-list article > span { color: var(--cyan); font-size: 12px; font-weight: 800; }
.check-list h3 { margin-bottom: 5px; }
.check-list p { margin: 0; color: var(--muted); font-size: 12px; }
.back-to-catalog { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 42px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.back-to-catalog h2 { margin-bottom: 4px; font-size: 19px; }
.back-to-catalog p { margin: 0; color: var(--muted); font-size: 12px; }
.error-page { min-height: 58vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.error-code { color: var(--accent); font-size: clamp(72px, 15vw, 140px); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.error-page h1 { margin: 16px 0 6px; font-size: 26px; }
.error-page p { margin-bottom: 20px; color: var(--muted); }
@media (max-width: 1050px) {
    .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .intro-panel { gap: 25px; }
    .header-inner, .page-shell, .footer-inner { width: min(var(--content-width), calc(100% - 36px)); }
}
@media (max-width: 760px) {
    .header-inner { min-height: 62px; gap: 18px; }
    .brand { font-size: 18px; }
    .brand img { width: 35px; height: 35px; }
    .main-nav { height: 62px; gap: 15px; }
    .main-nav a { font-size: 12px; }
    .main-nav a[aria-current="page"]::after { bottom: -22px; }
    .header-download { padding: 7px 9px; font-size: 11px; }
    .intro-panel { grid-template-columns: 1fr; gap: 20px; padding: 29px 0 25px; }
    .intro-side { max-width: 100%; }
    .media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
    .media-info { padding: 8px; }
    .media-info h3 { font-size: 13px; }
    .media-summary { font-size: 10px; }
    .device-strip { gap: 13px; padding: 17px; }
    .device-mark { width: 40px; height: 40px; }
    .device-copy h2 { font-size: 16px; }
    .device-copy p:last-child { font-size: 11px; }
    .button-device { padding: 8px 10px; font-size: 11px; }
    .about-section { grid-template-columns: 1fr; gap: 12px; padding-bottom: 32px; }
    .about-content { padding-left: 15px; }
    .footer-inner { grid-template-columns: 1fr; gap: 14px; }
    .footer-links { flex-wrap: wrap; }
    .download-hero { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
    .device-illustration { min-height: 185px; }
    .screen-tv { right: 18%; width: 210px; height: 128px; }
    .screen-phone { left: 18%; height: 137px; }
    .check-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .header-inner, .page-shell, .footer-inner { width: calc(100% - 28px); }
    .header-inner { gap: 12px; }
    .brand { gap: 7px; font-size: 16px; }
    .brand img { width: 31px; height: 31px; }
    .main-nav { gap: 11px; }
    .main-nav a { font-size: 11px; }
    .header-download { margin-left: auto; padding: 6px 7px; font-size: 10px; }
    .intro-panel { padding-top: 24px; }
    h1 { font-size: 26px; }
    .intro-text { font-size: 13px; }
    .quick-facts { gap: 7px; }
    .quick-facts div { padding: 10px; }
    .quick-facts span { font-size: 10px; }
    .section-heading { align-items: center; }
    .section-description { font-size: 11px; }
    .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; }
    .media-info { padding: 9px; }
    .media-info h3 { font-size: 14px; }
    .media-summary { min-height: 38px; font-size: 11px; }
    .device-strip { flex-wrap: wrap; }
    .device-copy { min-width: calc(100% - 58px); }
    .button-device { margin-left: 53px; }
    .footer-links { gap: 13px; }
    .breadcrumbs { padding: 15px 0; }
    .download-hero { padding: 20px 17px; }
    .download-hero h1 { font-size: 25px; }
    .client-grid { grid-template-columns: 1fr; }
    .client-card > p:not(.client-label) { min-height: 0; }
    .back-to-catalog { align-items: flex-start; flex-direction: column; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
