/* 网飞猫：暗夜影视索引界面 */
:root {
    color-scheme: dark;
    --bg: #0E1117;
    --deep: #080A0E;
    --panel: #161B24;
    --panel-soft: #1B2230;
    --line: #293241;
    --line-soft: rgba(148, 163, 184, .13);
    --text: #F1F5F9;
    --muted: #94A3B8;
    --orange: #F25C36;
    --cyan: #38BDF8;
    --radius: 10px;
    --content: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(var(--content), calc(100% - 48px)); 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: 12px; padding: 10px 14px;
    z-index: 1000; background: var(--orange); color: white; border-radius: 6px;
}
.site-header {
    height: 76px; background: rgba(8, 10, 14, .96); border-bottom: 1px solid var(--line-soft);
    position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px);
}
.header-inner {
    width: min(var(--content), calc(100% - 48px)); height: 100%; margin: auto;
    display: flex; align-items: center; gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.brand-copy { display: grid; line-height: 1.35; }
.brand-copy strong { font-size: 19px; letter-spacing: .04em; font-weight: 800; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .08em; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.main-nav a { height: 100%; display: inline-flex; align-items: center; color: #AAB5C5; font-size: 14px; position: relative; transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--orange);
}
.header-download {
    margin-left: auto; padding: 8px 14px; border: 1px solid rgba(56,189,248,.38);
    border-radius: 6px; color: var(--cyan); font-size: 13px; font-weight: 650;
    background: rgba(56,189,248,.07); transition: background .2s, border-color .2s;
}
.header-download:hover { background: rgba(56,189,248,.14); border-color: var(--cyan); }
.header-download span { font-size: 17px; margin-right: 5px; }
.search-hub {
    padding: 34px 0 22px; border-bottom: 1px solid var(--line-soft);
}
.hub-copy { max-width: 760px; }
.eyebrow, .section-kicker {
    display: inline-flex; align-items: center; gap: 8px; color: var(--orange);
    font-size: 12px; font-weight: 750; letter-spacing: .08em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px rgba(242,92,54,.65); }
h1, h2, h3, p { margin-top: 0; }
.search-hub h1 { font-size: clamp(26px, 3.3vw, 38px); line-height: 1.28; letter-spacing: -.035em; margin: 12px 0 10px; }
.hub-copy > p { color: var(--muted); font-size: 14px; margin: 0; max-width: 690px; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.button {
    min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: 12px;
    padding: 9px 16px; border-radius: 7px; font-size: 13px; font-weight: 700;
    transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--orange); border: 1px solid var(--orange); }
.button-primary:hover { background: #ff704c; border-color: #ff704c; }
.button-outline { color: #D6DFEA; border: 1px solid #3A4658; background: rgba(255,255,255,.02); }
.button-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.button-cyan { color: #07121A; background: var(--cyan); border: 1px solid var(--cyan); }
.button-cyan:hover { background: #70d2fb; }
.search-form {
    margin-top: 26px; height: 54px; display: flex; align-items: center; gap: 12px;
    padding: 5px 6px 5px 17px; max-width: 820px; border: 1px solid #344052;
    border-radius: 8px; background: #161B24; transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.09); }
.search-symbol { color: var(--cyan); font-size: 25px; line-height: 1; }
.search-form input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px;
}
.search-form input::placeholder { color: #718096; }
.search-form button {
    align-self: stretch; border: 0; border-radius: 6px; padding: 0 22px; color: #fff;
    background: var(--orange); font-size: 13px; font-weight: 750; cursor: pointer;
}
.search-form button:hover { background: #ff704c; }
.hub-bottom {
    display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 16px;
    color: #7F8DA1; font-size: 11px;
}
.hub-bottom > span:first-child { color: #A8B4C5; }
.signal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #48C78E; margin-right: 7px; }
.hub-bottom a { margin-left: auto; color: var(--cyan); }
.hub-bottom a b { font-size: 15px; margin-left: 4px; }
.catalog-section { padding-top: 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 17px; }
.section-heading h2, .about-heading h2, .device-copy h2, .install-heading h2, .return-banner h2 {
    margin: 5px 0 4px; font-size: 23px; line-height: 1.35; letter-spacing: -.025em;
}
.section-kicker { color: var(--cyan); font-size: 10px; letter-spacing: .12em; }
.section-description { color: var(--muted); font-size: 12px; margin: 0; }
.result-count { color: var(--muted); font-size: 12px; white-space: nowrap; padding-bottom: 5px; }
.result-count strong { color: var(--text); font-size: 18px; margin-right: 3px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.category-tab {
    padding: 6px 15px; border: 1px solid #303A4A; border-radius: 5px; color: #AAB6C6;
    background: #171E29; font-size: 12px; transition: .2s;
}
.category-tab:hover { border-color: #64748B; color: var(--text); }
.category-tab.is-active { color: #fff; border-color: var(--orange); background: rgba(242,92,54,.15); }
.movie-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px 14px; }
.movie-card {
    min-width: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 9px;
    background: var(--panel); transition: border-color .2s, transform .2s;
}
.movie-card:hover { border-color: rgba(56,189,248,.42); transform: translateY(-3px); }
.poster-wrap { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #222B38; }
.poster { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.movie-card:hover .poster { transform: scale(1.035); }
.poster-wrap::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(5,8,13,.72)); pointer-events: none; }
.poster-quality, .poster-status {
    position: absolute; z-index: 1; top: 8px; padding: 2px 6px; border-radius: 3px;
    font-size: 9px; line-height: 1.5; color: #fff; background: rgba(8,10,14,.72); backdrop-filter: blur(5px);
}
.poster-quality { left: 8px; color: var(--cyan); }
.poster-status { right: 8px; }
.movie-info { padding: 10px 10px 9px; }
.movie-meta { display: flex; justify-content: space-between; gap: 6px; color: #8493A8; font-size: 10px; }
.movie-info h3 { margin: 5px 0 5px; font-size: 14px; line-height: 1.4; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.movie-info p { color: #9AA7B8; font-size: 11px; line-height: 1.65; margin: 0; min-height: 54px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.movie-foot { display: flex; justify-content: space-between; align-items: center; gap: 4px; border-top: 1px solid var(--line-soft); margin-top: 9px; padding-top: 7px; color: #8290A3; font-size: 9px; }
.platform-tag { color: var(--cyan); }
.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed #394456; border-radius: 10px; background: rgba(22,27,36,.55); }
.empty-icon { color: var(--cyan); font-size: 38px; }
.empty-state h3 { font-size: 18px; margin: 5px 0; }
.empty-state p { color: var(--muted); font-size: 13px; }
.text-link { color: var(--cyan); font-size: 13px; }
.device-strip {
    margin-top: 36px; padding: 21px 24px; display: flex; align-items: center; gap: 18px;
    border: 1px solid rgba(56,189,248,.25); border-radius: 10px;
    background: linear-gradient(110deg, rgba(56,189,248,.09), rgba(22,27,36,.92) 58%);
}
.device-icon {
    width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center;
    border-radius: 9px; color: var(--cyan); background: rgba(56,189,248,.12); font-size: 27px;
}
.device-copy { flex: 1; min-width: 0; }
.device-copy h2 { font-size: 18px; margin: 2px 0 3px; }
.device-copy p { color: var(--muted); font-size: 12px; margin: 0; }
.about-section {
    display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; padding: 39px 0 44px;
    border-bottom: 1px solid var(--line-soft);
}
.about-heading h2 { max-width: 260px; }
.about-content > p { color: #A2AFBF; font-size: 13px; margin-bottom: 10px; }
.about-links { display: flex; flex-wrap: wrap; gap: 9px 22px; margin-top: 17px; }
.about-links a { color: var(--cyan); font-size: 12px; }
.about-links a span { margin-left: 5px; }
.site-footer { margin-top: 0; background: var(--deep); border-top: 1px solid var(--line-soft); }
.footer-inner {
    width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 31px 0 25px;
    display: grid; grid-template-columns: 1.2fr .7fr 1.1fr; gap: 48px;
}
.footer-logo img { width: 38px; height: 38px; }
.footer-logo .brand-copy strong { font-size: 17px; }
.footer-brand > p, .footer-note p { color: #78869A; font-size: 11px; line-height: 1.8; margin: 13px 0 0; max-width: 380px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-links strong, .footer-note strong { color: #DCE4EE; font-size: 12px; margin-bottom: 4px; }
.footer-links a { color: #8391A4; font-size: 11px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--cyan); }
.footer-note p { margin-top: 6px; }
.footer-bottom {
    width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 13px 0 17px;
    display: flex; justify-content: space-between; border-top: 1px solid rgba(148,163,184,.1);
    color: #657286; font-size: 10px;
}
.footer-bottom a { color: #8B98AA; }
.download-hero {
    min-height: 300px; margin-top: 28px; padding: 35px 48px; overflow: hidden; position: relative;
    display: flex; align-items: center; border: 1px solid var(--line-soft); border-radius: 12px;
    background: radial-gradient(ellipse at 80% 55%, rgba(56,189,248,.12), transparent 38%), linear-gradient(115deg, #171D28, #10151D 70%);
}
.download-hero-copy { position: relative; z-index: 2; max-width: 600px; }
.download-hero h1 { font-size: clamp(27px, 3.4vw, 39px); line-height: 1.3; margin: 12px 0; }
.download-hero p { max-width: 530px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.download-art { position: absolute; right: 9%; top: 0; bottom: 0; width: 330px; }
.art-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(56,189,248,.13); filter: blur(45px); top: 45px; left: 40px; }
.art-screen {
    position: absolute; border: 7px solid #303A49; border-radius: 10px; background: linear-gradient(145deg, #222D3D, #111821);
    box-shadow: 0 22px 45px rgba(0,0,0,.35);
}
.screen-back { width: 205px; height: 130px; top: 75px; left: 15px; transform: rotate(-7deg); }
.screen-front { width: 210px; height: 140px; top: 106px; left: 76px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; transform: rotate(4deg); }
.screen-front span { color: var(--orange); font-size: 35px; font-weight: 900; line-height: 1; }
.screen-front i { width: 90px; height: 4px; background: #536175; border-radius: 3px; }
.screen-front i:nth-of-type(2) { width: 65px; }
.screen-front i:nth-of-type(3) { width: 42px; }
.art-phone {
    position: absolute; z-index: 3; width: 63px; height: 120px; top: 125px; right: 0;
    border: 5px solid #3C4859; border-radius: 13px; background: #131A24; display: grid; place-items: center;
}
.art-phone span { position: absolute; top: 5px; width: 17px; height: 3px; border-radius: 5px; background: #566477; }
.art-phone b { color: var(--cyan); font-size: 24px; }
.download-content { padding-top: 36px; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.device-card {
    display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line-soft);
    border-radius: 10px; background: var(--panel);
}
.device-card-icon {
    flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center;
    border-radius: 9px; background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.2);
}
.phone-icon span { width: 21px; height: 34px; border: 2px solid var(--cyan); border-radius: 5px; position: relative; }
.phone-icon span::after { content: ""; position: absolute; bottom: 3px; left: 8px; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); }
.tv-icon span { width: 34px; height: 24px; border: 2px solid var(--cyan); border-radius: 4px; position: relative; }
.tv-icon span::before { content: ""; position: absolute; width: 13px; height: 2px; background: var(--cyan); bottom: -7px; left: 9px; }
.tv-icon span::after { content: ""; position: absolute; width: 25px; height: 2px; background: var(--cyan); bottom: -10px; left: 4px; }
.device-card-body { flex: 1; min-width: 0; }
.device-label { color: var(--cyan); font-size: 10px; letter-spacing: .08em; }
.device-card h3 { font-size: 17px; margin: 4px 0 8px; }
.device-card p { color: #A0ADBD; font-size: 12px; line-height: 1.8; margin-bottom: 10px; }
.device-card ul { padding-left: 17px; margin: 0 0 14px; color: #8795A8; font-size: 11px; line-height: 2; }
.download-status {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 4px;
    background: rgba(242,92,54,.09); color: #F39A82; font-size: 10px;
}
.status-indicator { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.install-notes { padding-top: 42px; }
.install-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
.install-list article { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(22,27,36,.6); }
.install-list article > b { color: var(--orange); font-size: 18px; font-weight: 800; }
.install-list h3 { margin: 0 0 5px; font-size: 13px; }
.install-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.return-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 34px; margin-bottom: 40px; padding: 22px 25px; border: 1px solid var(--line-soft);
    border-radius: 9px; background: #151B25;
}
.return-banner h2 { font-size: 18px; }
.return-banner p { margin: 0; color: var(--muted); font-size: 12px; }
@media (min-width: 1450px) { :root { --content: 1280px; } }
@media (max-width: 1050px) {
    .movie-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .download-art { right: 3%; opacity: .8; }
}
@media (max-width: 760px) {
    .container, .header-inner, .footer-inner, .footer-bottom { width: min(100% - 32px, var(--content)); }
    .site-header { height: 66px; }
    .header-inner { gap: 16px; }
    .brand img { width: 37px; height: 37px; }
    .brand-copy strong { font-size: 17px; }
    .brand-copy small { font-size: 9px; }
    .main-nav { gap: 15px; margin-left: auto; }
    .main-nav a { font-size: 12px; }
    .header-download { display: none; }
    .search-hub { padding-top: 27px; }
    .search-hub h1 { font-size: 27px; }
    .hub-copy > p { font-size: 13px; }
    .search-form { height: 50px; }
    .search-form button { padding: 0 14px; }
    .hub-bottom { gap: 10px 16px; }
    .hub-bottom a { margin-left: 0; }
    .movie-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 10px; }
    .movie-info { padding: 8px; }
    .movie-info h3 { font-size: 12px; }
    .movie-info p { font-size: 10px; min-height: 49px; }
    .movie-foot { font-size: 8px; }
    .section-heading h2 { font-size: 21px; }
    .device-strip { padding: 17px; gap: 12px; flex-wrap: wrap; }
    .device-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .device-copy { flex-basis: calc(100% - 60px); }
    .device-copy h2 { font-size: 16px; }
    .device-strip .button { margin-left: 54px; }
    .about-section { grid-template-columns: 1fr; gap: 13px; padding: 30px 0; }
    .about-heading h2 { max-width: none; font-size: 21px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .download-hero { min-height: 270px; padding: 28px 23px; margin-top: 16px; }
    .download-hero-copy { max-width: 100%; }
    .download-hero h1 { max-width: 440px; font-size: 29px; }
    .download-hero p { max-width: 410px; font-size: 12px; }
    .download-art { right: -100px; opacity: .25; }
    .device-grid { grid-template-columns: 1fr; }
    .install-list { grid-template-columns: 1fr; }
    .return-banner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
    .container, .header-inner, .footer-inner, .footer-bottom { width: calc(100% - 26px); }
    .header-inner { gap: 10px; }
    .main-nav { gap: 11px; }
    .main-nav a { font-size: 11px; }
    .brand { gap: 7px; }
    .brand img { width: 33px; height: 33px; }
    .brand-copy strong { font-size: 15px; }
    .brand-copy small { font-size: 8px; letter-spacing: 0; }
    .search-hub h1 { font-size: 24px; }
    .hub-actions .button { padding-inline: 11px; font-size: 11px; }
    .movie-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .movie-info h3 { font-size: 13px; }
    .movie-info p { font-size: 10px; min-height: 48px; }
    .category-tabs { gap: 6px; }
    .category-tab { padding: 5px 11px; font-size: 11px; }
    .footer-inner { grid-template-columns: 1fr; gap: 19px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { gap: 10px; font-size: 9px; }
    .device-card { padding: 16px; gap: 12px; }
    .device-card-icon { width: 43px; height: 43px; flex-basis: 43px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
