/* Video Site Template — Bold Red Commercial Style */

:root {
    --red:        #cc0000;
    --red-dark:   #a80000;
    --red-light:  #e60000;
    --orange:     #e8520a;
    --black:      #111111;
    --near-black: #222222;
    --dark-gray:  #444444;
    --mid-gray:   #777777;
    --light-gray: #cccccc;
    --pale:       #f5f5f5;
    --white:      #ffffff;
    --border:     #dedede;
    --border-dk:  #bbbbbb;
    --grad-red:   linear-gradient(135deg, #cc0000 0%, #e8520a 100%);
    --shd-sm:     0 1px 4px rgba(0,0,0,0.10);
    --shd-md:     0 3px 10px rgba(0,0,0,0.14);
    --shd-lg:     0 6px 20px rgba(0,0,0,0.18);
    --rr:         4px;
    --rr-sm:      3px;
    --ease:       all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Arial', 'Helvetica Neue', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: var(--white);
    color: var(--near-black);
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
}

body::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--red);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
}

/* ── HEADER ── */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--red);
    padding: 0.6rem 0;
    box-shadow: var(--shd-sm);
}

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

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

.brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand-link:hover .brand-title { color: var(--red); }

.brand-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.5px;
    font-style: normal;
    text-decoration: none;
    border-bottom: none;
    text-transform: uppercase;
    transition: var(--ease);
}

.brand-sep {
    width: 2px;
    height: 26px;
    background: var(--red);
    flex-shrink: 0;
}

.addr-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--pale);
    border: 2px solid var(--red);
    border-radius: var(--rr);
}

.addr-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.addr-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: 0.5px;
    font-family: 'Courier New', 'Consolas', monospace;
}

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

.content { padding: 7px 0; }

/* ── NAV CATEGORIES ── */
.nav-container {
    background: var(--white);
    border-radius: var(--rr);
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shd-sm);
}

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

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

.nav-row .nav-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--white);
    background: var(--red);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.nav-row .nav-links {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 8px 8px;
    align-items: center;
    background: var(--white);
}

.nav-row .nav-links a {
    display: inline-block;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--rr-sm);
    transition: var(--ease);
    background: var(--pale);
    border: 1px solid var(--border);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.nav-row .nav-links a:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.nav-row .nav-links a.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red-dark);
    font-weight: 700;
}

/* ── SEARCH ── */
.seach {
    background: var(--pale);
    border-radius: var(--rr);
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shd-sm);
}

.seach form {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
}

.seach input[type="text"] {
    flex: 1;
    min-width: 100px;
    padding: 9px 12px;
    border: 2px solid var(--border-dk);
    border-radius: var(--rr-sm);
    background: var(--white);
    color: var(--near-black);
    font-size: 14px;
    transition: var(--ease);
    outline: none;
}

.seach input[type="text"]:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}

.seach input[type="text"]::placeholder { color: var(--mid-gray); }

.seach button {
    padding: 9px 13px;
    border: none;
    border-radius: var(--rr-sm);
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.seach button:hover { background: var(--red-dark); box-shadow: var(--shd-sm); }
.seach button:active { transform: scale(0.97); }

/* ── TAG CLOUDS ── */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 10px 12px;
    background: var(--white);
    border-radius: var(--rr);
    margin-bottom: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shd-sm);
}

.grid-item {
    padding: 4px 12px;
    background: var(--pale);
    border-radius: var(--rr-sm);
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: var(--ease);
    border: 1px solid var(--border);
}

.grid-item:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* ── SECTION HEADINGS ── */
.mhlleset { margin-bottom: 14px; }

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

.mhlleset-heading::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 48px;
    height: 3px;
    background: var(--red);
}

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

.mhlleset-title a { color: var(--black); text-decoration: none; transition: var(--ease); }
.mhlleset-title a:hover { color: var(--red); }

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

.thumbnail2-group li { animation: riseIn 0.4s ease both; }
.thumbnail2-group li:nth-child(1) { animation-delay: 0.03s; }
.thumbnail2-group li:nth-child(2) { animation-delay: 0.06s; }
.thumbnail2-group li:nth-child(3) { animation-delay: 0.09s; }
.thumbnail2-group li:nth-child(4) { animation-delay: 0.12s; }
.thumbnail2-group li:nth-child(5) { animation-delay: 0.15s; }
.thumbnail2-group li:nth-child(6) { animation-delay: 0.18s; }
.thumbnail2-group li:nth-child(7) { animation-delay: 0.21s; }
.thumbnail2-group li:nth-child(8) { animation-delay: 0.24s; }

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

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rr);
    aspect-ratio: 600 / 350;
    background: var(--pale);
    border: 1px solid var(--border);
    box-shadow: var(--shd-sm);
}

.thumbnail2 img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thumbnail2:hover { box-shadow: var(--shd-md); border-color: var(--red); }
.thumbnail2:hover img { transform: scale(1.06); }

.thumbnail2::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.thumbnail2::before {
    content: '▶';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    color: white; font-size: 24px; z-index: 2;
    opacity: 0;
    transition: var(--ease);
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.thumbnail2:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.video-info { padding: 7px 1px 0; }

.video-info h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.video-info h5 a {
    color: var(--near-black);
    text-decoration: none;
    transition: var(--ease);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info h5 a:hover { color: var(--red); }

/* ── VIDEO PLAYER ── */
.video-container {
    width: 100%;
    height: 600px;
    max-height: 600px;
    margin-bottom: 14px;
    background: #000;
    border-radius: var(--rr);
    overflow: hidden;
    box-shadow: var(--shd-lg);
    position: relative;
    border: 2px 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(--rr);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shd-lg);
}

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

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

/* ── DOWNLOAD BUTTONS ── */
.download {
    text-align: center;
    padding: 14px;
    background: var(--pale);
    border-radius: var(--rr);
    margin: 12px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shd-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.down_btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--rr-sm);
    font-weight: 700;
    font-size: 13px;
    transition: var(--ease);
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.down_btn:hover { background: var(--red-dark); box-shadow: var(--shd-md); }
.down_btn:active { transform: scale(0.97); }

/* ── SHARE SECTION ── */
.share-section {
    background: var(--pale);
    border-radius: var(--rr);
    padding: 14px;
    margin: 12px 0;
    border: 1px solid var(--border);
    box-shadow: var(--shd-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-url-display {
    background: var(--white);
    border: 1px solid var(--border-dk);
    border-radius: var(--rr-sm);
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 700; font-size: 12px; color: var(--red);
    white-space: nowrap; flex-shrink: 0; text-transform: uppercase;
}

.share-url {
    font-size: 12px; color: var(--dark-gray);
    font-family: 'Courier New', monospace;
    word-break: break-all; flex: 1; line-height: 1.4;
    overflow: hidden; text-overflow: ellipsis;
}

.share-copy-btn {
    padding: 9px 18px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--rr-sm);
    font-weight: 700; font-size: 13px;
    cursor: pointer; transition: var(--ease);
    display: flex; align-items: center; justify-content: center;
    gap: 5px; white-space: nowrap; flex-shrink: 0;
    text-transform: uppercase;
}

.share-copy-btn:hover { background: var(--red-dark); box-shadow: var(--shd-md); }
.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: 5px; flex-wrap: wrap; padding: 16px 0;
}

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

.a_page_info {
    background: var(--white); color: var(--dark-gray);
    border: 1px solid var(--border-dk);
}

.a_page_info:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.page_info_focus {
    background: var(--red); color: var(--white);
    border: 1px solid var(--red-dark); cursor: default;
}

/* ── FOOTER ── */
.footer {
    padding: 20px 0; text-align: center;
    border-top: 3px solid var(--red);
    margin-top: 20px;
    background: var(--near-black);
}

.footer p { margin: 6px 0; color: var(--mid-gray); font-size: 12px; }
.footer a  { color: var(--mid-gray); text-decoration: none; transition: var(--ease); }
.footer a:hover { color: var(--red-light); }

.txtguanggao2 {
    padding: 10px 12px;
    background: var(--white);
    border-radius: var(--rr);
    border: 1px solid var(--border);
}

.txtguanggao2 dl  { margin: 0; }
.txtguanggao2 dd  { display: inline-block; margin: 3px 4px; }
.txtguanggao2 a   { color: var(--dark-gray); text-decoration: none; font-size: 13px; transition: var(--ease); }
.txtguanggao2 a:hover { color: var(--red); }

/* ── UTILITIES ── */
.clearfix::after { content: ""; display: table; clear: both; }
img[data-original] { background: var(--pale); }
.hide_mobile { display: block; }
.hide_pc     { display: block; }

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

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

    .site-header { padding: 0.5rem 0; }

    .brand-wrap { gap: 8px; flex-wrap: wrap; justify-content: center; }
    .brand-title { font-size: 20px; }
    .brand-sep   { display: none; }
    .addr-badge  { padding: 4px 9px; gap: 5px; }
    .addr-tag    { font-size: 10px; }
    .addr-val    { font-size: 14px; }

    /* Nav label 15% red, links 85%, 4 per row × 2 rows */
    .nav-row .nav-label {
        width: 15%;
        font-size: 10px;
        padding: 7px 3px;
        text-align: center;
    }

    .nav-row .nav-links {
        width: 85%;
        gap: 4px;
        padding: 6px 4px;
    }

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

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

    /* Search one row no wrap */
    .seach form { flex-wrap: nowrap; gap: 5px; }

    .seach input[type="text"] {
        min-width: 70px; padding: 8px 9px; font-size: 13px;
    }

    .seach button { padding: 8px 9px; font-size: 12px; }

    .video-container {
        height: 56.25vw; max-height: 380px; margin-bottom: 10px;
    }

    .mhlleset { margin-bottom: 10px; }
    .mhlleset-title { font-size: 15px; }

    .grid-container { padding: 8px 10px; gap: 5px; }
    .grid-item { padding: 4px 10px; font-size: 12px; }

    .down_btn { padding: 9px 13px; font-size: 12px; }
    .download { padding: 10px 6px; gap: 7px; flex-wrap: nowrap; }

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

    .page_info_div { padding: 12px 0; gap: 4px; }
    .a_page_info, .page_info_focus { padding: 6px 10px; font-size: 12px; min-width: 32px; }

    .footer { padding: 16px 0; margin-top: 16px; }
}

/* ══════════════════════════════
   RESPONSIVE ≤ 480px
══════════════════════════════ */
@media (max-width: 480px) {
    .brand-title { font-size: 18px; }
    .addr-tag    { font-size: 9px; }
    .addr-val    { font-size: 13px; }

    .nav-row .nav-label { width: 15%; font-size: 10px; padding: 6px 2px; }
    .nav-row .nav-links { width: 85%; gap: 3px; padding: 5px 3px; }
    .nav-row .nav-links a {
        font-size: 12px; padding: 3px 1px;
        width: calc((100% - 9px) / 4);
    }

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

    .seach input[type="text"] { min-width: 55px; padding: 7px 7px; font-size: 12px; }
    .seach button { padding: 7px 7px; font-size: 11px; }

    .video-container { height: 56.25vw; max-height: 260px; }
    .video-info h5  { font-size: 12px; }
    .mhlleset-title { font-size: 14px; }
    .down_btn { padding: 8px 10px; font-size: 11px; }
    .share-section { padding: 8px; gap: 5px; }
    .share-url-display { padding: 7px 7px; }
    .share-copy-btn { padding: 7px 9px; font-size: 11px; }
}
