/* Dark Lens & Orange — Video Site Template */

:root {
    --org:       #f6821f;
    --org2:      #e06010;
    --org3:      #ff9a40;
    --org-pale:  #fff3e8;
    --blk:       #0d0d0d;
    --blk2:      #141414;
    --panel-dk:  #1c1c1c;
    --panel-md:  #252525;
    --panel-lt:  #2e2e2e;
    --glass:     rgba(255,255,255,0.06);
    --glass2:    rgba(255,255,255,0.10);
    --white:     #ffffff;
    --off-wh:    #f5f5f5;
    --border:    rgba(255,255,255,0.10);
    --border2:   rgba(255,255,255,0.16);
    --txt-main:  #ffffff;
    --txt-body:  #d8d8d8;
    --txt-mute:  #a0a0a0;
    --txt-dim:   #606060;
    --grd-org:   linear-gradient(135deg, var(--org2) 0%, var(--org) 60%, var(--org3) 100%);
    --grd-dark:  linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.80) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.50);
    --shadow-md: 0 4px 18px rgba(0,0,0,0.60);
    --shadow-og: 0 4px 18px rgba(246,130,31,0.38);
    --rd:    8px;
    --rd-sm: 5px;
    --rd-lg: 14px;
    --rd-xl: 999px;
    --tr: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: var(--blk);
    color: var(--txt-body);
    line-height: 1.55;
    font-size: 14px;
    overflow-x: hidden;
}

/* ===== SITE HEADER ===== */
/* CF 1.1.1.1: near-transparent dark bar over image */
.site-hd {
    background: var(--blk2);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.site-hd-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-logo-lnk {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* CF style: white bold title, orange first char */
.site-title-txt {
    font-size: 26px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.3px;
    font-style: normal;
    text-decoration: none;
    line-height: 1;
}

.site-title-txt::first-letter {
    color: var(--org);
}

.site-logo-lnk:hover .site-title-txt {
    opacity: 0.85;
}

/* CF orange rounded pill for newest domain */
.newest-addr {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 18px;
    background: var(--grd-org);
    border-radius: var(--rd-xl);
    border: none;
}

.addr-tag {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.addr-val {
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.1px;
    font-style: normal;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 14px;
}

.content {
    padding: 7px 0;
}

/* ===== NAV — dark glass panel ===== */
.nav-wrap {
    background: var(--panel-dk);
    border-radius: var(--rd);
    overflow: hidden;
    margin-bottom: 7px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

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

.nav-zone-lbl {
    font-weight: 800;
    font-size: 13px;
    color: var(--org);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    border-right: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 5px;
    flex-shrink: 0;
    background: rgba(246,130,31,0.08);
    letter-spacing: 0.2px;
}

.nav-zone-links {
    font-size: 13px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 8px;
    align-items: center;
    background: transparent;
}

.nav-zone-links a {
    display: inline-block;
    color: var(--txt-mute);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--rd-sm);
    transition: var(--tr);
    background: var(--glass);
    border: 1px solid var(--border);
    white-space: nowrap;
    text-align: center;
    width: calc((100% - 42px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
    font-weight: 500;
}

.nav-zone-links a:hover {
    background: var(--grd-org);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-og);
}

.nav-zone-links a.active {
    background: var(--grd-org);
    color: var(--white);
    border-color: transparent;
    font-weight: 700;
    box-shadow: var(--shadow-og);
}

/* ===== SEARCH ===== */
.srch-bar {
    background: var(--panel-dk);
    border-radius: var(--rd);
    padding: 10px;
    margin-bottom: 7px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.srch-bar input[type="text"] {
    flex: 1;
    min-width: 160px;
    padding: 9px 16px;
    border: 1px solid var(--border2);
    border-radius: var(--rd-xl);
    background: var(--panel-md);
    color: var(--white);
    font-size: 14px;
    transition: var(--tr);
    outline: none;
}

.srch-bar input[type="text"]:focus {
    border-color: var(--org);
    background: var(--panel-lt);
    box-shadow: 0 0 0 3px rgba(246,130,31,0.18);
}

.srch-bar input[type="text"]::placeholder {
    color: var(--txt-dim);
}

.srch-bar button {
    padding: 9px 18px;
    border: none;
    border-radius: var(--rd-xl);
    background: var(--grd-org);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--tr);
    white-space: nowrap;
    flex-shrink: 0;
}

.srch-bar button:hover {
    filter: brightness(1.08);
    box-shadow: var(--shadow-og);
}

/* ===== HOT TAGS ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 9px 10px;
    background: var(--panel-dk);
    border-radius: var(--rd);
    margin-bottom: 7px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.tag-item {
    padding: 4px 13px;
    background: var(--glass);
    border-radius: var(--rd-xl);
    color: var(--txt-mute);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: var(--tr);
    border: 1px solid var(--border);
}

.tag-item:hover {
    background: var(--grd-org);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-og);
}

/* ===== SECTIONS ===== */
.mhlleset {
    margin-bottom: 12px;
}

.mhlleset-heading {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

/* orange accent underline */
.mhlleset-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--grd-org);
    border-radius: 2px;
}

.mhlleset-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--white);
    letter-spacing: -0.2px;
}

.mhlleset-title a {
    color: var(--white);
    text-decoration: none;
    transition: var(--tr);
}

.mhlleset-title a:hover {
    color: var(--org);
}

/* dark glass card — CF style */
.mhlleset-main {
    background: var(--panel-dk);
    border-radius: var(--rd);
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* ===== FILM GRID ===== */
.thumbnail2-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    list-style: none;
    padding: 0;
}

.thumbnail2-group li {
    animation: fiu 0.40s ease backwards;
}

.thumbnail2-group li:nth-child(1)  { animation-delay: 0.04s; }
.thumbnail2-group li:nth-child(2)  { animation-delay: 0.08s; }
.thumbnail2-group li:nth-child(3)  { animation-delay: 0.12s; }
.thumbnail2-group li:nth-child(4)  { animation-delay: 0.16s; }
.thumbnail2-group li:nth-child(5)  { animation-delay: 0.20s; }
.thumbnail2-group li:nth-child(6)  { animation-delay: 0.24s; }
.thumbnail2-group li:nth-child(7)  { animation-delay: 0.28s; }
.thumbnail2-group li:nth-child(8)  { animation-delay: 0.32s; }
.thumbnail2-group li:nth-child(9)  { animation-delay: 0.36s; }
.thumbnail2-group li:nth-child(10) { animation-delay: 0.40s; }
.thumbnail2-group li:nth-child(11) { animation-delay: 0.44s; }
.thumbnail2-group li:nth-child(12) { animation-delay: 0.48s; }

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

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rd);
    aspect-ratio: 600 / 350;
    background: var(--panel-md);
    border: 1px solid var(--border);
}

.thumbnail2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.36s ease;
    /* CF 1.1.1.1 hero: slight desaturate on idle */
    filter: brightness(0.88) saturate(0.85);
}

.thumbnail2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grd-dark);
    opacity: 0.55;
    transition: opacity 0.24s ease;
    pointer-events: none;
}

/* orange bottom glow bar */
.thumbnail2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grd-org);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.30s ease;
    z-index: 3;
}

.thumbnail2:hover {
    border-color: var(--org);
    box-shadow: 0 6px 22px rgba(246,130,31,0.22);
}

.thumbnail2:hover img {
    transform: scale(1.07);
    filter: brightness(1) saturate(1);
}

.thumbnail2:hover::before {
    transform: scaleX(1);
}

.thumbnail2:hover::after {
    opacity: 0.25;
}

.film-meta {
    padding: 7px 0 2px;
}

.film-meta h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.film-meta h5 a {
    color: var(--txt-mute);
    text-decoration: none;
    transition: var(--tr);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.film-meta h5 a:hover {
    color: var(--org);
}

/* ===== VIDEO PLAYER ===== */
.video-container {
    width: 100%;
    height: 600px;
    max-height: 600px;
    margin-bottom: 13px;
    background: #000;
    border-radius: var(--rd-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border);
}

.video-container iframe,
.video-container video,
.video-container #video-container {
    width: 100%;
    height: 100%;
    border: none;
}

.MacPlayer {
    background: #000;
    border-radius: var(--rd-lg);
    overflow: hidden;
    margin-bottom: 11px;
    box-shadow: var(--shadow-md);
}

/* ===== TORRENT CAPTURE ===== */
.torrent-capture-grid {
    width: 100%;
    margin-top: 10px;
}

.torrent-capture-grid picture {
    display: block;
    width: 100%;
}

.torrent-capture-grid img,
.torrent-capture-grid .img_item img {
    width: 100%;
    height: auto;
    border-radius: var(--rd-sm);
    border: 1px solid var(--border);
    display: block;
}

.torrent-capture-grid .img_item {
    width: 100%;
}

/* ===== DOWNLOAD BTNS ===== */
.download {
    text-align: center;
    padding: 13px;
    background: var(--panel-dk);
    border-radius: var(--rd);
    margin: 11px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

/* CF App Store style black rounded button */
.down_btn {
    display: inline-block;
    padding: 10px 26px;
    background: var(--panel-lt);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--rd-xl);
    font-weight: 700;
    font-size: 14px;
    transition: var(--tr);
    border: 1.5px solid var(--border2);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    letter-spacing: 0.1px;
}

.down_btn:hover {
    background: var(--grd-org);
    border-color: transparent;
    box-shadow: var(--shadow-og);
}

/* ===== SHARE ===== */
.share-section {
    background: var(--panel-dk);
    border-radius: var(--rd);
    padding: 12px 14px;
    margin: 11px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-url-display {
    background: var(--panel-md);
    border: 1px solid var(--border2);
    border-radius: var(--rd-xl);
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 800;
    font-size: 12px;
    color: var(--org);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.share-url {
    font-size: 12px;
    color: var(--txt-dim);
    word-break: break-all;
    flex: 1;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-copy-btn {
    padding: 10px 20px;
    background: var(--grd-org);
    color: var(--white);
    border: none;
    border-radius: var(--rd-xl);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-copy-btn:hover {
    filter: brightness(1.08);
    box-shadow: var(--shadow-og);
}

.share-copy-btn:active {
    transform: scale(0.97);
}

.share-icon {
    font-size: 15px;
}

/* ===== PAGINATION ===== */
.page_info_div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 13px 0;
}

.a_page_info,
.page_info_focus {
    display: inline-block;
    padding: 7px 14px;
    border-radius: var(--rd-xl);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: var(--tr);
    min-width: 36px;
    text-align: center;
}

.a_page_info {
    background: var(--panel-dk);
    color: var(--txt-mute);
    border: 1px solid var(--border2);
}

.a_page_info:hover {
    background: var(--grd-org);
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-og);
}

.page_info_focus {
    background: var(--grd-org);
    color: var(--white);
    border: 1px solid transparent;
    cursor: default;
    box-shadow: var(--shadow-og);
}

/* ===== FOOTER ===== */
.ft-wrap {
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 14px;
    background: var(--blk2);
}

.ft-wrap p {
    margin: 5px 0;
    color: var(--txt-dim);
    font-size: 12px;
}

.ft-wrap a {
    color: var(--txt-dim);
    text-decoration: none;
    transition: var(--tr);
}

.ft-wrap a:hover {
    color: var(--org);
}

/* ===== FRIEND LINKS ===== */
.flink-box {
    padding: 10px 12px;
    background: var(--panel-dk);
    border-radius: var(--rd);
    border: 1px solid var(--border);
}

.flink-box dl { margin: 0; }
.flink-box dd { display: inline-block; margin: 3px; }

.flink-box a {
    color: var(--txt-mute);
    text-decoration: none;
    transition: var(--tr);
    font-size: 13px;
}

.flink-box a:hover { color: var(--org); }

/* ===== MHLLESET H4 ===== */
.mhlleset-main h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 7px;
    letter-spacing: -0.1px;
}

/* ===== UTILITIES ===== */
.clearfix::after { content: ""; display: table; clear: both; }

.hide_mobile { display: block; }
.hide_pc     { display: block; }

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .container { padding: 0 8px; }
    .content   { padding: 5px 0; }

    .site-title-txt { font-size: 20px; }
    .addr-val { font-size: 15px; }
    .addr-tag { font-size: 10px; }

    .nav-strip { display: flex; align-items: stretch; }

    .nav-zone-lbl {
        width: 15%;
        font-size: 10px;
        padding: 7px 3px;
    }

    .nav-zone-links {
        width: 85%;
        gap: 4px;
        padding: 7px 4px;
        font-size: 14px;
    }

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

    .thumbnail2-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .film-meta h5   { font-size: 12px; }
    .mhlleset       { margin-bottom: 9px; }
    .mhlleset-title { font-size: 16px; }
    .mhlleset-main  { padding: 10px; }

    .srch-bar { padding: 9px; }
    .srch-bar input[type="text"] { min-width: 100px; font-size: 13px; }
    .srch-bar button { padding: 8px 12px; font-size: 12px; }

    .video-container { height: 56.25vw; max-height: 380px; border-radius: var(--rd); }

    .down_btn { padding: 9px 18px; font-size: 13px; }
    .download { padding: 10px 8px; gap: 8px; }

    .share-section     { padding: 9px 10px; gap: 7px; }
    .share-url-display { padding: 8px 12px; }
    .share-copy-btn    { padding: 9px 14px; font-size: 12px; }

    .a_page_info,
    .page_info_focus { padding: 6px 12px; font-size: 12px; min-width: 32px; }

    .hide_mobile { display: none !important; }
}

@media (max-width: 480px) {
    .site-title-txt { font-size: 18px; }
    .addr-val { font-size: 14px; }

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

    .nav-zone-links {
        width: 85%;
        gap: 3px;
        padding: 6px 3px;
        font-size: 12px;
    }

    .nav-zone-links a {
        padding: 3px 1px;
        font-size: 12px;
        width: calc((100% - 9px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .thumbnail2-group { gap: 8px; }
    .film-meta h5   { font-size: 11px; }
    .mhlleset-title { font-size: 15px; }
    .mhlleset-main  { padding: 8px; }

    .video-container { height: 56.25vw; max-height: 300px; }

    .srch-bar input[type="text"] { min-width: 80px; padding: 8px 10px; font-size: 12px; }
    .srch-bar button { padding: 8px 10px; font-size: 11px; }

    .down_btn { padding: 8px 14px; font-size: 12px; }
    .download { gap: 6px; padding: 9px 6px; }

    .share-section     { padding: 8px; gap: 6px; }
    .share-url-display { padding: 7px 10px; }
    .share-label       { font-size: 10px; }
    .share-url         { font-size: 10px; }
    .share-copy-btn    { padding: 8px 10px; font-size: 11px; }
    .share-icon        { font-size: 13px; }

    .tag-item { padding: 4px 10px; font-size: 11px; }
}

@media (min-width: 769px) {
    .hide_pc { display: none !important; }
    .thumbnail2-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

img[data-original] {
    background: var(--panel-md);
}
