/* Video Site Template - Decider Style: Orange-Red Gradient + White + Black Bold */

:root {
    --org:        #f04e1a;
    --org2:       #e8380a;
    --org3:       #ff6b35;
    --org-light:  #fff4f0;
    --org-mid:    #ffd4c0;
    --red:        #d42b00;
    --bg:         #ffffff;
    --bg-page:    #f8f8f8;
    --bg-muted:   #f0f0f0;
    --bg-dark:    #1a1a1a;
    --border:     #e5e5e5;
    --border-lt:  #f0f0f0;
    --txt:        #1a1a1a;
    --txt-sub:    #444444;
    --txt-dim:    #888888;
    --txt-white:  #ffffff;
    --shadow-xs:  0 1px 4px rgba(0,0,0,0.08);
    --shadow-sm:  0 2px 10px rgba(0,0,0,0.1);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.14);
    --shadow-org: 0 4px 16px rgba(240,78,26,0.3);
    --r-xs:       3px;
    --r-sm:       6px;
    --r-md:       10px;
    --r-lg:       16px;
    --r-pill:     999px;
    --ease:       all 0.2s ease;
    --max-w:      1080px;
}

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

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

/* ===================== HEADER ===================== */
.dc-hd {
    background: linear-gradient(135deg, var(--org2) 0%, var(--org) 45%, var(--org3) 75%, #ff8c42 100%);
    padding: 0.55rem 0;
    position: relative;
    overflow: hidden;
}

/* decorative angular shapes like Decider */
.dc-hd::before {
    content: '';
    position: absolute;
    top: -30px; right: 0;
    width: 260px; height: 130px;
    background: rgba(255,255,255,0.08);
    transform: skewX(-20deg);
    pointer-events: none;
}

.dc-hd::after {
    content: '';
    position: absolute;
    bottom: -20px; right: 80px;
    width: 180px; height: 100px;
    background: rgba(0,0,0,0.06);
    transform: skewX(-25deg);
    pointer-events: none;
}

.dc-hd-in {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.dc-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.dc-sitename {
    font-size: 28px;
    font-weight: 900;
    color: var(--txt-white);
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
}

.dc-domain {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: var(--r-pill);
    backdrop-filter: blur(4px);
}

.dc-domain-lbl {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.dc-domain-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--txt-white);
    font-family: 'Courier New', monospace;
}

/* ===================== LAYOUT ===================== */
.dc-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 12px;
}

.dc-row {
    padding: 7px 0;
}

/* ===================== NAV BLOCK ===================== */
.dc-navbox {
    background: var(--bg-dark);
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-bottom: 7px;
    box-shadow: var(--shadow-sm);
}

.dc-navstrip {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dc-navstrip:last-child {
    border-bottom: none;
}

.dc-navlabel {
    font-size: 13px;
    font-weight: 900;
    color: var(--org3);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 4px;
    flex-shrink: 0;
    background: rgba(240,78,26,0.15);
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.dc-navlinks {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px 8px;
    align-items: center;
}

.dc-navlinks a {
    display: inline-block;
    color: #cccccc;
    text-decoration: none;
    padding: 4px 4px;
    border-radius: var(--r-xs);
    transition: var(--ease);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    text-align: center;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
    font-size: 13px;
}

.dc-navlinks a:hover {
    background: var(--org);
    color: var(--txt-white);
    border-color: var(--org);
    box-shadow: 0 2px 8px rgba(240,78,26,0.4);
}

.dc-navlinks a.active {
    background: var(--org);
    color: var(--txt-white);
    border-color: var(--org2);
    font-weight: 700;
}

/* ===================== SEARCH ===================== */
.dc-sbox {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    padding: 10px 12px;
    margin-bottom: 7px;
    box-shadow: var(--shadow-xs);
    border-top: 3px solid var(--org);
}

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

.dc-sbox input[type="text"] {
    flex: 1;
    min-width: 100px;
    padding: 8px 14px;
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--bg-page);
    color: var(--txt);
    font-size: 13px;
    transition: var(--ease);
    outline: none;
    font-family: inherit;
}

.dc-sbox input[type="text"]:focus {
    border-color: var(--org);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(240,78,26,0.12);
}

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

.dc-sbox button {
    padding: 9px 16px;
    border: none;
    border-radius: var(--r-sm);
    background: var(--org);
    color: var(--txt-white);
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dc-sbox button:hover {
    background: var(--org2);
    box-shadow: var(--shadow-org);
    transform: translateY(-1px);
}

/* ===================== TAG CLOUD ===================== */
.dc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 9px 10px;
    background: var(--bg);
    border-radius: var(--r-md);
    margin-bottom: 7px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--org);
    box-shadow: var(--shadow-xs);
}

.dc-tag {
    padding: 4px 12px;
    background: var(--org-light);
    border-radius: var(--r-pill);
    color: var(--org2);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: var(--ease);
    border: 1px solid var(--org-mid);
}

.dc-tag:hover {
    background: var(--org);
    color: var(--txt-white);
    border-color: var(--org);
}

/* ===================== SECTION BLOCKS ===================== */
.dc-section {
    margin-bottom: 14px;
}

.dc-sec-hd {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.dc-sec-hd::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 52px;
    height: 2px;
    background: var(--org);
}

.dc-sec-ttl {
    font-size: 17px;
    font-weight: 900;
    margin: 0;
    color: var(--txt);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.dc-sec-ttl a {
    color: var(--txt);
    text-decoration: none;
    transition: var(--ease);
}

.dc-sec-ttl a:hover {
    color: var(--org);
}

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

.dc-grid li {
    animation: dcFade 0.35s ease backwards;
}

.dc-grid li:nth-child(1) { animation-delay: 0.03s; }
.dc-grid li:nth-child(2) { animation-delay: 0.06s; }
.dc-grid li:nth-child(3) { animation-delay: 0.09s; }
.dc-grid li:nth-child(4) { animation-delay: 0.12s; }
.dc-grid li:nth-child(5) { animation-delay: 0.15s; }
.dc-grid li:nth-child(6) { animation-delay: 0.18s; }
.dc-grid li:nth-child(7) { animation-delay: 0.21s; }
.dc-grid li:nth-child(8) { animation-delay: 0.24s; }

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

.dc-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-sm);
    aspect-ratio: 600 / 350;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
}

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

.dc-thumb:hover {
    border-color: var(--org);
    box-shadow: var(--shadow-md);
}

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

/* Decider-style orange overlay on hover */
.dc-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(240,78,26,0.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

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

.dc-cap {
    padding: 6px 0 2px;
}

.dc-cap h5 {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dc-cap h5 a {
    color: var(--txt-sub);
    text-decoration: none;
    transition: var(--ease);
}

.dc-cap h5 a:hover {
    color: var(--org);
}

/* ===================== VIDEO PLAYER ===================== */
.dc-player {
    background: var(--bg-dark);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
}

.video-container {
    position: relative;
    width: 100%;
    height: 480px;
    background: #000;
    overflow: hidden;
}

.video-container iframe,
.video-container video,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ===================== DETAIL INFO ===================== */
.dc-det-ttl {
    line-height: 1.8;
    text-align: center;
    padding: 14px 18px;
    font-size: 15px;
    margin: 10px 0;
    word-break: break-all;
    background: var(--org-light);
    border-radius: var(--r-sm);
    border-left: 4px solid var(--org);
    border: 1px solid var(--org-mid);
    border-left: 4px solid var(--org);
}

.dc-det-ttl a {
    color: var(--org);
    text-decoration: none;
    font-weight: 800;
    margin-right: 6px;
    text-transform: uppercase;
}

.dc-det-ttl a:hover { text-decoration: underline; }

.dc-det-meta {
    font-size: 14px;
    line-height: 1.9;
    padding: 18px 20px;
    background: var(--bg);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    border-top: 3px solid var(--org);
    margin: 10px 0;
    box-shadow: var(--shadow-xs);
}

/* ===================== TORRENT CAPTURES ===================== */
.dc-preview {
    margin-top: 12px;
}

.dc-preview picture {
    display: block;
    width: 100%;
}

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

/* ===================== DOWNLOAD BUTTONS ===================== */
.dc-dl-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding: 14px 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.dc-dl-btn {
    display: inline-block;
    padding: 10px 26px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: var(--ease);
    border: none;
    background: var(--org);
    color: var(--txt-white);
    font-family: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(240,78,26,0.3);
}

.dc-dl-btn:hover {
    background: var(--org2);
    box-shadow: var(--shadow-org);
    transform: translateY(-2px);
}

/* ===================== CLIENT LINKS ===================== */
.dc-client {
    text-align: center;
    padding: 10px 16px;
}

.dc-client a {
    color: var(--org);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dc-client a:hover {
    color: var(--org2);
    text-decoration: underline;
}

/* ===================== SHARE SECTION ===================== */
.share-section {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: 2px solid var(--org);
    border-radius: var(--r-sm);
    margin: 10px 0;
    flex-wrap: nowrap;
    box-shadow: var(--shadow-xs);
}

.share-url-display {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    background: var(--bg-page);
    padding: 7px 12px;
    border-radius: var(--r-xs);
    border: 1px solid var(--border);
    overflow: hidden;
}

.share-label {
    font-size: 11px;
    font-weight: 900;
    color: var(--org);
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.share-url {
    font-size: 12px;
    color: var(--txt-sub);
    font-family: 'Courier New', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.share-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    background: var(--org);
    color: var(--txt-white);
    border: none;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.share-copy-btn:hover {
    background: var(--org2);
    box-shadow: var(--shadow-org);
}

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

/* ===================== PAGINATION ===================== */
.dc-pager {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    padding: 14px 0;
}

.dc-pg,
.dc-pg-on {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: var(--r-xs);
    font-size: 13px;
    font-weight: 700;
    transition: var(--ease);
    min-width: 34px;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    text-transform: uppercase;
}

.dc-pg {
    background: var(--bg);
    color: var(--txt);
    border: 2px solid var(--border);
}

.dc-pg:hover {
    background: var(--org);
    border-color: var(--org);
    color: var(--txt-white);
    box-shadow: 0 2px 8px rgba(240,78,26,0.3);
}

.dc-pg-on {
    background: var(--org);
    color: var(--txt-white);
    border: 2px solid var(--org);
    cursor: default;
    font-weight: 900;
}

/* ===================== FOOTER ===================== */
.dc-foot {
    padding: 20px 0;
    text-align: center;
    border-top: 3px solid var(--org);
    margin-top: 20px;
    background: var(--bg);
}

.dc-foot p {
    margin: 4px 0;
    color: var(--txt-dim);
    font-size: 12px;
}

.dc-foot a {
    color: var(--txt-dim);
    text-decoration: none;
    transition: var(--ease);
}

.dc-foot a:hover { color: var(--org); }

/* ===================== FRIEND LINKS ===================== */
.dc-flink {
    padding: 9px 12px;
    background: var(--bg);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    border-left: 3px solid var(--org);
    box-shadow: var(--shadow-xs);
}

.dc-flink dl {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.dc-flink dd {
    display: inline-block;
    margin: 3px 2px;
}

.dc-flink a {
    color: var(--txt-sub);
    text-decoration: none;
    transition: var(--ease);
    font-size: 12px;
    padding: 2px 5px;
    border-radius: var(--r-xs);
}

.dc-flink a:hover {
    color: var(--org);
    background: var(--org-light);
}

/* ===================== CLEARFIX ===================== */
.dcclr::after { content: ""; display: table; clear: both; }

/* ===================== VISIBILITY ===================== */
.dc-pc  { display: block; }
.dc-mob { display: block; }

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .dc-wrap { padding: 0 8px; }
    .dc-hd { padding: 0.4rem 0; }
    .dc-brand { gap: 9px; }
    .dc-sitename { font-size: 22px; letter-spacing: 1px; }
    .dc-domain { padding: 4px 10px; gap: 6px; }
    .dc-domain-lbl { font-size: 9px; }
    .dc-domain-val { font-size: 11px; }
    .dc-row { padding: 5px 0; }

    /* Mobile nav: zone 15%, links 85%, 4 per row */
    .dc-navstrip .dc-navlabel {
        width: 15%;
        font-size: 10px;
        padding: 7px 2px;
        letter-spacing: 0;
    }

    .dc-navstrip .dc-navlinks {
        width: 85%;
        font-size: 12px;
        gap: 3px;
        padding: 7px 3px;
    }

    .dc-navstrip .dc-navlinks a {
        font-size: 12px;
        padding: 4px 2px;
        width: calc((100% - 9px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .dc-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .dc-cap h5 { font-size: 12px; }
    .dc-sec-ttl { font-size: 14px; }
    .dc-tags { padding: 7px 8px; gap: 5px; }
    .dc-tag { padding: 3px 9px; font-size: 11px; }

    .dc-sbox { padding: 8px 9px; }
    .dc-sbox form { gap: 5px; }
    .dc-sbox input[type="text"] { min-width: 70px; padding: 7px 10px; font-size: 12px; }
    .dc-sbox button { padding: 7px 10px; font-size: 12px; }

    .video-container { height: 56.25vw; max-height: 340px; margin-bottom: 12px; }

    .dc-dl-bar { padding: 10px 6px; gap: 8px; }
    .dc-dl-btn { padding: 8px 16px; font-size: 12px; }

    .share-section { padding: 8px 10px; margin: 8px 0; gap: 6px; }
    .share-url-display { padding: 6px 9px; gap: 5px; }
    .share-label { font-size: 10px; }
    .share-url { font-size: 10px; }
    .share-copy-btn { padding: 6px 10px; font-size: 11px; flex-shrink: 0; }
    .share-icon { font-size: 13px; }

    .dc-pager { gap: 3px; padding: 12px 0; }
    .dc-pg, .dc-pg-on { padding: 5px 10px; font-size: 12px; min-width: 28px; }
    .dc-foot { padding: 15px 0; margin-top: 15px; }
}

@media (max-width: 480px) {
    .dc-sitename { font-size: 19px; letter-spacing: 0.5px; }
    .dc-domain-lbl { font-size: 8px; }
    .dc-domain-val { font-size: 10px; }

    .dc-navstrip .dc-navlabel { width: 15%; font-size: 10px; padding: 5px 1px; }
    .dc-navstrip .dc-navlinks { width: 85%; gap: 3px; padding: 5px 2px; }
    .dc-navstrip .dc-navlinks a { font-size: 12px; padding: 3px 1px; width: calc((100% - 9px) / 4); }

    .dc-cap h5 { font-size: 12px; }
    .dc-sec-ttl { font-size: 13px; }
    .video-container { height: 56.25vw; max-height: 260px; }
    .dc-dl-btn { padding: 7px 13px; font-size: 12px; }
    .share-section { padding: 6px 8px; }
    .share-url-display { padding: 5px 7px; }
    .share-copy-btn { padding: 5px 8px; font-size: 11px; }
}

/* ===================== LAZY IMG ===================== */
img[data-original] { background: var(--bg-muted); }
