/* PC Gamer Style - Dark Header / Red Nav / Gray BG */

:root {
    --red: #e8000d;
    --red-dark: #bf0009;
    --black: #0d0d0d;
    --dark-bar: #1a1a1a;
    --fg: #1c1c1c;
    --fg-soft: #444;
    --fg-muted: #888;
    --bg: #e8e8e8;
    --bg-card: #ffffff;
    --bg-panel: #f2f2f2;
    --line: #d0d0d0;
    --line-dark: #b8b8b8;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.10);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.14);
    --shadow-md: 0 4px 18px rgba(0,0,0,0.20);
    --rd: 3px;
    --rd-sm: 2px;
    --ease: all 0.22s ease;
    --cover-ratio: calc(350 / 600 * 100%);
}

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

body {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
}

/* ===== TOP HEADER (black bar) ===== */
.site-topbar {
    background: var(--black);
    padding: 8px 0 7px;
}

.site-topbar .pgwrap {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

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

.brand-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Arial Black', Arial, sans-serif;
    letter-spacing: -0.5px;
    line-height: 1;
    text-transform: uppercase;
}

.brand-title em {
    color: var(--red);
    font-style: normal;
}

.addr-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 2px;
    padding: 4px 12px;
    flex-shrink: 0;
}

.addr-lbl {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.addr-val {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

/* ===== RED NAV BAR ===== */
.site-navbar {
    background: var(--red);
    border-bottom: 2px solid var(--red-dark);
    margin-bottom: 6px;
}

.site-navbar .pgwrap {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 14px;
}

.nav-row-pg {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(0,0,0,0.13);
}

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

.nav-zone-lbl {
    font-size: 13px;
    font-weight: 900;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.22);
    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;
    border-right: 1px solid rgba(0,0,0,0.15);
}

.nav-links-pg {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 7px 8px;
    align-items: center;
}

.nav-links-pg a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 5px 3px;
    border-radius: var(--rd-sm);
    transition: var(--ease);
    background: rgba(0,0,0,0.15);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    width: calc((100% - 28px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.nav-links-pg a:hover,
.nav-links-pg a.active {
    background: rgba(0,0,0,0.42);
    color: #ffffff;
}

/* ===== LAYOUT ===== */
.pgwrap {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 14px;
}

.row-gap { padding: 6px 0; }

/* ===== SEARCH ===== */
.srch-box {
    background: var(--bg-card);
    border-radius: var(--rd);
    padding: 10px 12px;
    margin-bottom: 6px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow-xs);
}

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

.srch-box input[type="text"] {
    flex: 1;
    min-width: 140px;
    padding: 8px 12px;
    border: 2px solid var(--line-dark);
    border-radius: var(--rd-sm);
    background: var(--bg-panel);
    color: var(--fg);
    font-size: 13px;
    transition: var(--ease);
    outline: none;
}

.srch-box input[type="text"]:focus {
    border-color: var(--red);
    background: #fff;
}

.srch-box input[type="text"]::placeholder {
    color: var(--fg-muted);
}

.srch-box button {
    padding: 8px 14px;
    border: none;
    border-radius: var(--rd-sm);
    background: var(--red);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.srch-box button:hover {
    background: var(--red-dark);
}

/* ===== TAG CLOUD ===== */
.tag-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 9px 12px;
    background: var(--bg-card);
    border-radius: var(--rd);
    margin-bottom: 6px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--dark-bar);
    box-shadow: var(--shadow-xs);
}

.hotsrch-block {
    background: var(--bg-card);
    border-radius: var(--rd);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 6px;
    box-shadow: var(--shadow-xs);
}

.hotsrch-hd {
    background: var(--dark-bar);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotsrch-hd::before {
    content: '';
    width: 3px;
    height: 15px;
    background: var(--red);
    display: inline-block;
    flex-shrink: 0;
}

.hotsrch-hd strong {
    font-size: 12px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.hotsrch-body {
    padding: 9px 12px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
}

.grid-item {
    padding: 4px 11px;
    background: var(--bg-panel);
    border-radius: 2px;
    color: var(--fg-soft);
    text-decoration: none;
    font-size: 12px;
    transition: var(--ease);
    border: 1px solid var(--line);
    font-weight: 700;
}

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

/* ===== SECTION HEADINGS ===== */
.mhlleset { margin-bottom: 10px; }

.mhlleset-main {}

.mhlleset-heading {
    margin-bottom: 10px;
    padding: 8px 10px;
    background: var(--dark-bar);
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: var(--rd) var(--rd) 0 0;
}

.mhlleset-heading::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 17px;
    background: var(--red);
    margin-right: 8px;
    flex-shrink: 0;
}

.mhlleset-title {
    font-size: 13px;
    font-weight: 900;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mhlleset-title a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--ease);
}

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

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

.thumbnail2-group li {
    animation: pgFadeUp 0.4s ease backwards;
}

.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 pgFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.thumbnail2 {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rd-sm);
    padding-top: var(--cover-ratio);
    background: var(--dark-bar);
}

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

.thumbnail2:hover img {
    transform: scale(1.06);
}

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

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

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

.video-info h5 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

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

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

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

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

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

/* ===== TORRENT CAPTURE ===== */
.torrent-capture-grid { 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(--line);
    display: block;
}

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

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

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

/* ===== DOWNLOAD BUTTONS ===== */
.download {
    text-align: center;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--rd);
    margin: 10px 0;
    border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow-xs);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.down_btn {
    display: inline-block;
    padding: 9px 20px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    border-radius: var(--rd-sm);
    font-weight: 900;
    font-size: 13px;
    transition: var(--ease);
    margin: 0;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.down_btn:hover {
    background: var(--red-dark);
    box-shadow: var(--shadow-sm);
}

/* ===== SHARE SECTION ===== */
.share-section {
    background: var(--bg-card);
    border-radius: var(--rd);
    padding: 11px 13px;
    margin: 10px 0;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    gap: 9px;
}

.share-url-display {
    background: var(--bg-panel);
    border: 1px solid var(--line-dark);
    border-radius: var(--rd-sm);
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 900;
    font-size: 10px;
    color: var(--red);
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.share-copy-btn {
    padding: 8px 16px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--rd-sm);
    font-weight: 900;
    font-size: 12px;
    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); }
.share-copy-btn:active { transform: scale(0.97); }

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

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

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

.a_page_info {
    background: var(--bg-card);
    color: var(--fg);
    border: 1px solid var(--line-dark);
}

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

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

/* ===== FOOTER ===== */
.ftr-links-wrap {
    background: var(--bg-card);
    border-radius: var(--rd);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    padding: 10px 12px;
}

.ftr-links-wrap dl { margin: 0; }
.ftr-links-wrap dd { display: inline-block; margin: 3px 5px; }

.ftr-links-wrap a {
    color: var(--fg-soft);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: var(--ease);
}

.ftr-links-wrap a:hover { color: var(--red); }

.ftr-bottom-bar {
    padding: 16px 0;
    text-align: center;
    border-top: 3px solid var(--red);
    margin-top: 16px;
    background: var(--black);
}

.ftr-bottom-bar p {
    margin: 5px 0;
    color: rgba(255,255,255,0.4);
    font-size: 11px;
}

.ftr-bottom-bar a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: var(--ease);
}

.ftr-bottom-bar a:hover { color: #fff; }

/* ===== HIDE UTILS ===== */
.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; } }

/* ===== CLEARFIX ===== */
.clearfix::after { content: ""; display: table; clear: both; }
img[data-original] { background: var(--dark-bar); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pgwrap, .container { padding: 0 7px; }

    .site-topbar .pgwrap { gap: 10px; }

    .brand-title { font-size: 20px; }

    .addr-pill { padding: 3px 8px; gap: 5px; }
    .addr-lbl { font-size: 8px; }
    .addr-val { font-size: 12px; }

    .row-gap { padding: 4px 0; }

    .nav-zone-lbl {
        width: 15%;
        font-size: 10px;
        padding: 6px 3px;
        letter-spacing: 0;
        word-break: keep-all;
    }

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

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

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

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

    .mhlleset { margin-bottom: 8px; }
    .mhlleset-title { font-size: 11px; letter-spacing: 0.5px; }
    .mhlleset-heading { padding: 7px 8px; }

    .down_btn { padding: 8px 13px; font-size: 12px; }
    .download { padding: 10px 6px; gap: 7px; }

    .share-section { padding: 9px 10px; gap: 6px; flex-wrap: nowrap; }
    .share-url-display { padding: 7px 9px; }
    .share-label { font-size: 9px; }
    .share-url { font-size: 10px; }
    .share-copy-btn { padding: 8px 10px; font-size: 11px; flex-shrink: 0; }

    .page_info_div { padding: 11px 0; gap: 3px; }
    .a_page_info, .page_info_focus { padding: 5px 10px; font-size: 12px; min-width: 30px; }

    .ftr-bottom-bar { padding: 14px 0; margin-top: 12px; }

    .srch-box { padding: 9px 10px; }
    .srch-box button { padding: 8px 10px; font-size: 11px; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .nav-links-pg a { font-size: 14px; }
    .nav-zone-lbl { font-size: 10px; }
}

@media (max-width: 480px) {
    .brand-title { font-size: 17px; }
    .addr-lbl { font-size: 7px; }
    .addr-val { font-size: 11px; }

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

    .thumbnail2-group { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .video-info h5 { font-size: 11px; }
    .mhlleset-title { font-size: 10px; }
    .down_btn { padding: 7px 9px; font-size: 11px; }
}

@media (min-width: 769px) {
    .thumbnail2-group { grid-template-columns: repeat(4, 1fr); }
    .nav-zone-lbl { font-size: 13px; }
    .nav-links-pg a { font-size: 13px; }
}
