/* ViewLift-Inspired Dark OTT Template — Black · Teal-Green · White · Minimal Tech */

:root {
    /* Teal-green accent */
    --teal:           #00c896;
    --teal-deep:      #009e78;
    --teal-mid:       #00e0aa;
    --teal-light:     rgba(0, 200, 150, 0.12);
    --teal-border:    rgba(0, 200, 150, 0.35);

    /* Dark surfaces */
    --bg:             #0a0a0a;
    --bg-2:           #111111;
    --bg-3:           #161616;
    --bg-card:        #1a1a1a;
    --bg-hover:       #222222;

    /* Text */
    --ink:            #f0f0f0;
    --ink-mid:        #b8b8b8;
    --ink-soft:       #787878;
    --ink-faint:      #484848;

    /* Borders */
    --rule:           #282828;
    --rule-bright:    #383838;
    --rule-white:     rgba(255,255,255,0.12);

    /* Radii */
    --r-xs:           2px;
    --r-sm:           4px;
    --r-md:           8px;
    --r-lg:           12px;
    --r-pill:         999px;

    /* Motion */
    --ease:           cubic-bezier(0.22, 1, 0.36, 1);
    --trans:          all 0.18s var(--ease);

    /* Shadows */
    --sh-xs:          0 1px 6px rgba(0,0,0,0.4);
    --sh-sm:          0 3px 14px rgba(0,0,0,0.55);
    --sh-md:          0 6px 28px rgba(0,0,0,0.7);
    --sh-teal:        0 4px 20px rgba(0,200,150,0.25);
    --sh-teal-lg:     0 6px 32px rgba(0,200,150,0.32);

    --maxw:           1080px;
    --gap:            7px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Microsoft YaHei', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════
   TOPBAR  (ViewLift 纯黑顶栏)
   ══════════════════════════════ */
.vl-topbar {
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 10px 0;
    position: relative;
    box-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* 顶部细色条 */
.vl-topbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-mid) 60%, transparent 100%);
}

.vl-topbar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
}

.vl-brand-lnk {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

/* ViewLift 风格：方框包裹品牌名 */
.vl-brand-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,255,255,0.55);
    padding: 4px 10px;
    border-radius: var(--r-xs);
}

.vl-brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
    border-bottom: none;
}

.vl-sep {
    width: 1px;
    height: 22px;
    background: var(--rule-bright);
    flex-shrink: 0;
}

.vl-domain-cluster {
    display: flex;
    align-items: center;
    gap: 9px;
}

.vl-domain-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--bg);
    background: var(--teal);
    padding: 2px 8px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

.vl-domain-val {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.05px;
    white-space: nowrap;
}

/* ══════════════════════════════
   CONTAINER
   ══════════════════════════════ */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 16px;
}

.content { padding: 6px 0; }

/* ══════════════════════════════
   BANNER / HERO
   ══════════════════════════════ */
.hero-reel {
    width: 100%;
    overflow: hidden;
    border-radius: var(--r-md);
    margin: 4px 0;
    border: 1px solid var(--rule-bright);
    box-shadow: var(--sh-md);
}
.hero-reel img { display:block; width:100%; }

/* ══════════════════════════════
   NAV MODULE  (暗色导航条)
   ══════════════════════════════ */
.vl-nav {
    background: var(--bg-2);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--teal);
    border-radius: 0 0 var(--r-md) var(--r-md);
    overflow: hidden;
    margin-bottom: var(--gap);
    box-shadow: var(--sh-sm);
}

.vl-nav-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--rule);
}

.vl-nav-row:last-child { border-bottom: none; }

.vl-nav-zone {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    width: 10%;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 5px;
    flex-shrink: 0;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.vl-nav-links {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px 10px;
    align-items: center;
    background: var(--bg-2);
}

.vl-nav-links a {
    display: inline-block;
    color: var(--ink-mid);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--r-xs);
    transition: var(--trans);
    background: var(--bg-3);
    border: 1px solid var(--rule-bright);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.vl-nav-links a:hover {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
    box-shadow: var(--sh-teal);
}

.vl-nav-links a.active {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
    font-weight: 700;
}

/* ══════════════════════════════
   SEARCH BAR  (ViewLift 暗色边框)
   ══════════════════════════════ */
.vl-search {
    background: var(--bg-2);
    border: 1px solid var(--rule-bright);
    border-radius: var(--r-md);
    padding: 10px 14px;
    margin-bottom: var(--gap);
    box-shadow: var(--sh-xs);
}

.vl-search form {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: nowrap;
}

.vl-search input[type="text"] {
    flex: 1;
    min-width: 150px;
    padding: 9px 14px;
    border: 1.5px solid var(--rule-bright);
    border-radius: var(--r-sm);
    background: var(--bg-3);
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: var(--trans);
}

.vl-search input[type="text"]:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-light);
}

.vl-search input[type="text"]::placeholder { color: var(--ink-soft); }

.vl-search button {
    padding: 9px 16px;
    border: 1.5px solid var(--teal);
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--teal);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.vl-search button:hover {
    background: var(--teal);
    color: var(--bg);
    box-shadow: var(--sh-teal);
}

/* ══════════════════════════════
   HOT TAGS
   ══════════════════════════════ */
.vl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 9px 12px;
    background: var(--bg-2);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    margin-bottom: var(--gap);
    box-shadow: var(--sh-xs);
}

.vl-tag {
    padding: 4px 12px;
    background: var(--teal-light);
    border-radius: var(--r-pill);
    color: var(--teal);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: var(--trans);
    border: 1px solid var(--teal-border);
}

.vl-tag:hover {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
    box-shadow: var(--sh-teal);
}

/* ══════════════════════════════
   SECTION BLOCK
   ══════════════════════════════ */
.vl-section { margin-bottom: var(--gap); }

.vl-section-hd {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--rule-bright);
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.vl-section-hd::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--teal);
    border-radius: var(--r-pill);
}

.vl-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.vl-section-title a {
    color: var(--ink);
    text-decoration: none;
    transition: var(--trans);
}

.vl-section-title a:hover { color: var(--teal); }

/* ══════════════════════════════
   FILM GRID  (ratio 600:350)
   ══════════════════════════════ */
.vl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.vl-grid li { animation: vlrise 0.38s var(--ease) backwards; }
.vl-grid li:nth-child(1){animation-delay:.04s}
.vl-grid li:nth-child(2){animation-delay:.08s}
.vl-grid li:nth-child(3){animation-delay:.12s}
.vl-grid li:nth-child(4){animation-delay:.16s}
.vl-grid li:nth-child(5){animation-delay:.20s}
.vl-grid li:nth-child(6){animation-delay:.24s}
.vl-grid li:nth-child(7){animation-delay:.28s}
.vl-grid li:nth-child(8){animation-delay:.32s}

@keyframes vlrise {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:translateY(0); }
}

/* 封面宽高比 600:350 */
.vl-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    aspect-ratio: 600 / 350;
    background: var(--bg-card);
    border: 1px solid var(--rule-bright);
    transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease),
                border-color 0.2s;
}

.vl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
    display: block;
}

.vl-thumb:hover {
    box-shadow: var(--sh-teal-lg);
    transform: translateY(-2px);
    border-color: var(--teal-border);
}

.vl-thumb:hover img { transform: scale(1.07); }

.vl-thumb::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: rgba(255,255,255,0.95);
    background: rgba(0,200,150,0.22);
    opacity: 0;
    transition: opacity 0.18s;
}

.vl-thumb:hover::after { opacity: 1; }

/* teal 渐变底部遮罩 */
.vl-thumb::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    z-index: 1;
    pointer-events: none;
}

.vl-item-cap { padding: 7px 2px 0; }

.vl-item-cap h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vl-item-cap h5 a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans);
}

.vl-item-cap h5 a:hover { color: var(--teal); }

/* ══════════════════════════════
   ENTRY TITLE BAND
   ══════════════════════════════ */
.vl-entry-hed {
    line-height: 1.7;
    text-align: left;
    padding: 13px 18px;
    font-size: 15px;
    margin: 6px 0;
    word-break: break-all;
    background: var(--bg-card);
    border-left: 3px solid var(--teal);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    box-shadow: var(--sh-xs);
}

.vl-entry-hed a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-right: 10px;
    background: var(--teal-light);
    padding: 2px 8px;
    border-radius: var(--r-pill);
    border: 1px solid var(--teal-border);
}

/* ══════════════════════════════
   DETAIL SPEC PANEL
   ══════════════════════════════ */
.vl-specs {
    font-size: 14px;
    line-height: 1.9;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--teal);
    border-radius: 0 0 var(--r-md) var(--r-md);
    margin: 6px 0;
    box-shadow: var(--sh-xs);
}

/* ══════════════════════════════
   CAPTURE PREVIEW
   ══════════════════════════════ */
.vl-shots { margin-top: 10px; }

.vl-shots picture,
.vl-shots img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-xs);
}

/* ══════════════════════════════
   DOWNLOAD BUTTONS
   ══════════════════════════════ */
.vl-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px;
    margin: 6px 0;
    flex-wrap: wrap;
}

/* ViewLift 风格：白色描边按钮 */
.vl-btn {
    display: inline-block;
    padding: 11px 24px;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.55);
    transition: var(--trans);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.vl-btn:hover {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
    box-shadow: var(--sh-teal);
    transform: translateY(-1px);
}

/* ══════════════════════════════
   SHARE STRIP
   ══════════════════════════════ */
.vl-share {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    margin: 6px 0;
    box-shadow: var(--sh-xs);
    flex-wrap: nowrap;
}

.vl-share-url-box {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
    background: var(--bg-3);
    border: 1px solid var(--rule-bright);
    border-radius: var(--r-sm);
    padding: 7px 12px;
    overflow: hidden;
}

.vl-share-lbl {
    font-size: 10px;
    font-weight: 700;
    color: var(--teal);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.vl-share-url {
    font-size: 11px;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.vl-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: var(--r-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.vl-share-btn:hover {
    background: var(--teal);
    color: var(--bg);
    border-color: var(--teal);
    box-shadow: var(--sh-teal);
}

.vl-share-ico { font-size: 13px; line-height: 1; }

/* ══════════════════════════════
   BT CLIENT HINTS
   ══════════════════════════════ */
.vl-btd, .vl-btm {
    text-align: center;
    padding: 9px;
}

.vl-btd a, .vl-btm a {
    color: var(--teal);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--trans);
}

.vl-btd a:hover, .vl-btm a:hover {
    color: var(--teal-mid);
    text-decoration: underline;
}

/* ══════════════════════════════
   PAGINATION
   ══════════════════════════════ */
.vl-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    padding: 14px 0;
    align-items: center;
}

.vl-page-a, .vl-page-c {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    min-width: 36px;
    text-align: center;
    transition: var(--trans);
}

.vl-page-a {
    background: var(--bg-card);
    color: var(--ink-mid);
    border: 1.5px solid var(--rule-bright);
    text-decoration: none;
}

.vl-page-a:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--bg);
    box-shadow: var(--sh-teal);
}

.vl-page-c {
    background: var(--teal);
    color: var(--bg);
    border: 1.5px solid var(--teal);
    cursor: default;
    box-shadow: var(--sh-teal);
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.vl-footer {
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid var(--rule-bright);
    margin-top: 12px;
    background: var(--bg);
    position: relative;
}

.vl-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal) 0%, transparent 80%);
}

.vl-footer p { margin: 4px 0; color: var(--ink-soft); font-size: 12px; }
.vl-footer a { color: var(--ink-soft); text-decoration: none; transition: var(--trans); }
.vl-footer a:hover { color: var(--teal); }

/* ══════════════════════════════
   FRIENDLY LINKS
   ══════════════════════════════ */
.vl-flinks {
    padding: 9px 12px;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
}

.vl-flinks dl  { margin:0; }
.vl-flinks dd  { display:inline-block; margin:2px 4px; }

.vl-flinks a {
    color: var(--teal);
    text-decoration: none;
    font-size: 12px;
    transition: var(--trans);
}

.vl-flinks a:hover { color: var(--teal-mid); text-decoration: underline; }
.vl-flinks a.pd5  { padding: 2px 4px; }

/* ══════════════════════════════
   VISIBILITY
   ══════════════════════════════ */
.only-pc  { display:block; }
.only-mob { display:block; }

@media (max-width: 768px) { .only-pc  { display:none !important; } }
@media (min-width: 769px) { .only-mob { display:none !important; } }

/* clearfix / lazy */
.clearfix::after { content:""; display:table; clear:both; }
img[data-original] { background: var(--bg-card); }

/* ══════════════════════════════════
   TABLET  ≤768px
   ══════════════════════════════════ */
@media (max-width: 768px) {
    .container { padding: 0 10px; }
    .content   { padding: 4px 0; }

    .vl-topbar-inner  { gap: 10px; }
    .vl-brand-name    { font-size: 16px; }
    .vl-sep           { height: 20px; }
    .vl-domain-val    { font-size: 15px; }
    .vl-domain-pill   { font-size: 9px; }

    /* Nav: 15% label / 85% links, 4-per-row, 14px */
    .vl-nav-zone {
        width: 15%;
        min-width: 0;
        font-size: 10px;
        padding: 8px 3px;
        letter-spacing: 0;
        word-break: break-all;
        line-height: 1.25;
    }

    .vl-nav-links {
        width: 85%;
        gap: 4px;
        padding: 7px 5px;
    }

    .vl-nav-links a {
        font-size: 14px;
        padding: 5px 2px;
        width: calc((100% - 12px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .vl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .vl-section-title { font-size: 13px; }

    .vl-search { padding: 9px 10px; }
    .vl-search input[type="text"] { font-size: 13px; padding: 7px 10px; }
    .vl-search button { padding: 7px 11px; font-size: 11px; }

    .vl-entry-hed { font-size: 13px; padding: 10px 13px; }
    .vl-specs     { padding: 12px 14px; font-size: 13px; }

    .vl-actions { gap: 8px; padding: 10px 6px; flex-wrap: nowrap; }
    .vl-btn     { padding: 9px 14px; font-size: 12px; }

    .vl-share     { padding: 8px 10px; gap: 6px; }
    .vl-share-btn { padding: 7px 10px; font-size: 11px; }

    .vl-tags { gap: 5px; padding: 8px 10px; }
    .vl-tag  { font-size: 11px; padding: 3px 9px; }

    .vl-pager { padding: 10px 0; gap: 4px; }
    .vl-page-a, .vl-page-c { padding: 5px 9px; font-size: 12px; min-width: 30px; }

    .vl-section { margin-bottom: 5px; }
}

/* ══════════════════════════════════
   PHONE  ≤480px
   ══════════════════════════════════ */
@media (max-width: 480px) {
    .vl-brand-name { font-size: 14px; }
    .vl-domain-val { font-size: 14px; }

    .vl-nav-zone {
        width: 15%;
        font-size: 10px;
        padding: 6px 2px;
    }

    .vl-nav-links {
        width: 85%;
        gap: 3px;
        padding: 6px 3px;
    }

    .vl-nav-links a {
        font-size: 12px;
        padding: 4px 1px;
        width: calc((100% - 9px) / 4);
    }

    .vl-grid { gap: 7px; }
    .vl-item-cap h5 { font-size: 12px; }

    .vl-actions { gap: 5px; padding: 8px 3px; flex-wrap: nowrap; }
    .vl-btn     { padding: 8px 11px; font-size: 11px; }

    .vl-share         { padding: 6px 8px; gap: 5px; }
    .vl-share-url-box { padding: 6px 9px; }
    .vl-share-lbl     { font-size: 9px; }
    .vl-share-url     { font-size: 10px; }
    .vl-share-btn     { padding: 6px 9px; font-size: 11px; }
    .vl-share-ico     { font-size: 12px; }
}

/* ══════════════════════════════════
   PC  ≥769px
   ══════════════════════════════════ */
@media (min-width: 769px) {
    .vl-nav-zone  { width: 10%; font-size: 13px; }
    .vl-nav-links { width: 90%; }
    .vl-nav-links a { width: calc((100% - 35px) / 8); font-size: 13px; }
    .vl-grid { grid-template-columns: repeat(4, 1fr); }
}
