/* Editorial Magazine Style - Clean & Refined */

:root {
    --clr-primary: #c0392b;
    --clr-primary-hover: #a93226;
    --clr-accent: #2c3e50;
    --clr-gold: #b8860b;
    --clr-bg: #f5f0eb;
    --clr-surface: #ffffff;
    --clr-surface-2: #faf7f4;
    --clr-text: #1a1a1a;
    --clr-text-muted: #6b6b6b;
    --clr-text-light: #999999;
    --clr-border: #e0d8d0;
    --clr-border-dark: #c8bfb5;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 3px 12px rgba(0,0,0,0.09);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --rad: 4px;
    --rad-sm: 2px;
    --ease: all 0.25s ease;
    --fw-black: 900;
    --fw-bold: 700;
    --fw-semi: 600;
    --fw-normal: 400;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', 'Noto Serif SC', serif;
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--clr-surface);
    border-bottom: 2px solid var(--clr-text);
    padding: 12px 0;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.brand-link {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.brand-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: var(--fw-black);
    color: var(--clr-text);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    border-bottom: none;
}

.brand-domain-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px;
    border: 1.5px solid var(--clr-border-dark);
    border-radius: 2px;
    background: var(--clr-bg);
}

.domain-tag {
    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: var(--fw-bold);
    color: var(--clr-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.domain-addr {
    font-family: 'Courier New', Courier, monospace;
    font-size: 17px;
    font-weight: var(--fw-bold);
    color: var(--clr-accent);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

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

.sect {
    padding: 10px 0;
}

/* ===== CATEGORY NAVIGATION ===== */
.cat-nav-block {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    margin-bottom: 10px;
    overflow: hidden;
}

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

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

.cat-zone-label {
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: var(--fw-bold);
    color: var(--clr-surface);
    background: var(--clr-accent);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    flex-shrink: 0;
    border-right: 2px solid var(--clr-border-dark);
    letter-spacing: 0.5px;
}

.cat-link-group {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 10px;
    align-items: center;
    background: var(--clr-surface-2);
}

.cat-link-group a {
    display: inline-block;
    color: var(--clr-text-muted);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--rad-sm);
    transition: var(--ease);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    white-space: nowrap;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 13px;
    width: calc((100% - 42px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.cat-link-group a:hover {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

.cat-link-group a.active {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    font-weight: var(--fw-semi);
}

/* ===== SEARCH BOX ===== */
.search-wrap {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    padding: 14px;
    margin-bottom: 10px;
}

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

.search-wrap input[type="text"] {
    flex: 1;
    min-width: 160px;
    padding: 10px 14px;
    border: 1.5px solid var(--clr-border-dark);
    border-radius: var(--rad-sm);
    background: var(--clr-bg);
    color: var(--clr-text);
    font-size: 14px;
    font-family: Georgia, serif;
    transition: var(--ease);
    outline: none;
}

.search-wrap input[type="text"]:focus {
    border-color: var(--clr-primary);
    background: var(--clr-surface);
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.08);
}

.search-wrap input[type="text"]::placeholder {
    color: var(--clr-text-light);
    font-style: italic;
}

.search-wrap button {
    padding: 10px 16px;
    border: none;
    border-radius: var(--rad-sm);
    background: var(--clr-accent);
    color: #fff;
    font-weight: var(--fw-bold);
    font-size: 13px;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.search-wrap button:hover {
    background: var(--clr-primary);
    box-shadow: var(--shadow-md);
}

/* ===== HOT TAGS ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 14px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    margin-bottom: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 13px;
    background: var(--clr-bg);
    border-radius: 2px;
    color: var(--clr-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-family: Georgia, serif;
    transition: var(--ease);
    border: 1px solid var(--clr-border);
}

.tag-cloud a:hover {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

/* ===== SECTION HEADING ===== */
.film-section {
    margin-bottom: 14px;
}

.section-head {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--clr-text);
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.section-head::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--clr-primary);
}

.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: var(--fw-black);
    color: var(--clr-text);
    letter-spacing: -0.2px;
    text-transform: uppercase;
    margin: 0;
}

.section-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--ease);
}

.section-title a:hover {
    color: var(--clr-primary);
}

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

.film-grid li {
    animation: revealUp 0.5s ease backwards;
}

.film-grid li:nth-child(1) { animation-delay: 0.04s; }
.film-grid li:nth-child(2) { animation-delay: 0.08s; }
.film-grid li:nth-child(3) { animation-delay: 0.12s; }
.film-grid li:nth-child(4) { animation-delay: 0.16s; }
.film-grid li:nth-child(5) { animation-delay: 0.20s; }
.film-grid li:nth-child(6) { animation-delay: 0.24s; }
.film-grid li:nth-child(7) { animation-delay: 0.28s; }
.film-grid li:nth-child(8) { animation-delay: 0.32s; }

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

.film-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 600 / 350;
    background: var(--clr-border);
    border: 1px solid var(--clr-border);
}

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

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

.film-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.65) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.film-thumb:hover::before {
    opacity: 1;
}

.film-meta {
    padding: 8px 0 4px;
}

.film-meta h5 {
    margin: 0;
    font-size: 13px;
    font-weight: var(--fw-semi);
    font-family: Georgia, serif;
    line-height: 1.45;
}

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

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

/* ===== VIDEO / TORRENT DETAIL ===== */
.detail-title-bar {
    line-height: 1.8;
    text-align: center;
    padding: 18px 20px;
    font-size: 17px;
    margin: 14px 0;
    word-break: break-all;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-left: 4px solid var(--clr-primary);
}

.detail-title-bar a {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: var(--fw-bold);
    margin-right: 8px;
    font-family: Georgia, serif;
}

.detail-title-bar b {
    color: var(--clr-text);
    font-family: Georgia, serif;
}

.detail-info-panel {
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1.9;
    padding: 22px 24px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    margin: 10px 0;
}

/* Torrent capture */
.capture-frame {
    margin-top: 12px;
}

.capture-frame picture,
.capture-frame img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--clr-border);
}

/* ===== DOWNLOAD BUTTONS ===== */
.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 18px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    margin: 10px 0;
}

.act-btn {
    display: inline-block;
    padding: 11px 22px;
    background: var(--clr-accent);
    color: #fff;
    text-decoration: none;
    border-radius: var(--rad-sm);
    font-weight: var(--fw-bold);
    font-size: 14px;
    font-family: Georgia, serif;
    transition: var(--ease);
    border: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.act-btn:hover {
    background: var(--clr-primary);
    box-shadow: var(--shadow-md);
}

/* ===== SHARE SECTION ===== */
.share-panel {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    padding: 16px 20px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-url-row {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border-dark);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: var(--fw-bold);
    font-size: 12px;
    color: var(--clr-primary);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Georgia, serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.share-copy-btn {
    padding: 11px 22px;
    background: var(--clr-accent);
    color: #fff;
    border: none;
    border-radius: var(--rad-sm);
    font-weight: var(--fw-bold);
    font-size: 13px;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.share-copy-btn:hover {
    background: var(--clr-primary);
    box-shadow: var(--shadow-md);
}

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

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

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

.pg-link,
.pg-current {
    display: inline-block;
    padding: 7px 13px;
    border-radius: var(--rad-sm);
    text-decoration: none;
    font-weight: var(--fw-semi);
    font-size: 13px;
    font-family: Georgia, serif;
    transition: var(--ease);
    min-width: 36px;
    text-align: center;
}

.pg-link {
    background: var(--clr-surface);
    color: var(--clr-text);
    border: 1px solid var(--clr-border-dark);
}

.pg-link:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff;
}

.pg-current {
    background: var(--clr-primary);
    color: #fff;
    border: 1px solid var(--clr-primary);
    cursor: default;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 24px 0;
    text-align: center;
    border-top: 2px solid var(--clr-text);
    margin-top: 20px;
    background: var(--clr-surface);
}

.site-footer p {
    margin: 6px 0;
    color: var(--clr-text-muted);
    font-size: 12px;
    font-family: Georgia, serif;
}

.site-footer a {
    color: var(--clr-text-muted);
    text-decoration: none;
    transition: var(--ease);
}

.site-footer a:hover {
    color: var(--clr-primary);
}

/* ===== FRIENDLY LINKS ===== */
.friend-links {
    padding: 14px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    margin-bottom: 10px;
}

.friend-links dl {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.friend-links dd {
    display: inline-block;
    margin: 0;
}

.friend-links a {
    color: var(--clr-text-muted);
    text-decoration: none;
    font-size: 13px;
    font-family: Georgia, serif;
    padding: 3px 10px;
    border: 1px solid var(--clr-border);
    border-radius: var(--rad-sm);
    display: inline-block;
    transition: var(--ease);
}

.friend-links a:hover {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* ===== SECTION HEADING (hot search) ===== */
.mhlleset-main {
    margin-bottom: 12px;
}

.mhlleset-main > h4 {
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: var(--fw-bold);
    color: var(--clr-text);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--clr-border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== VIDEO PLAYER ===== */
.MacPlayer {
    background: #000;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
}

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

.vis-hidden-mobile {
    display: block;
}

.vis-hidden-pc {
    display: block;
}

img[data-original] {
    background: var(--clr-border);
}

/* Promoted content banner */
.promo-banner {
    margin-bottom: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .film-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .wrap {
        padding: 0 10px;
    }

    .site-header {
        padding: 10px 0;
    }

    .site-header-inner {
        gap: 10px;
    }

    .brand-name {
        font-size: 24px;
    }

    .brand-domain-wrap {
        padding: 4px 12px;
        gap: 8px;
    }

    .domain-tag {
        font-size: 9px;
    }

    .domain-addr {
        font-size: 15px;
    }

    .sect {
        padding: 8px 0;
    }

    /* Mobile nav - 15% label + 85% links */
    .cat-nav-row {
        display: flex;
        align-items: stretch;
    }

    .cat-zone-label {
        width: 15%;
        font-size: 10px;
        padding: 6px 2px;
        letter-spacing: 0;
    }

    .cat-link-group {
        width: 85%;
        gap: 4px;
        padding: 7px 5px;
    }

    .cat-link-group a {
        font-size: 12px;
        padding: 4px 2px;
        width: calc((100% - 12px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

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

    .section-title {
        font-size: 17px;
    }

    .search-wrap {
        padding: 10px;
    }

    .search-wrap form {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .search-wrap input[type="text"] {
        min-width: 100px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .search-wrap button {
        padding: 9px 10px;
        font-size: 12px;
    }

    .film-meta {
        padding: 6px 0 3px;
    }

    .film-meta h5 {
        font-size: 12px;
    }

    .action-buttons {
        padding: 12px 8px;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .act-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .share-panel {
        padding: 12px;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .share-url-row {
        padding: 9px 10px;
        gap: 6px;
    }

    .share-label {
        font-size: 10px;
    }

    .share-url {
        font-size: 10px;
    }

    .share-copy-btn {
        padding: 9px 12px;
        font-size: 12px;
    }

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

    .pager-wrap {
        gap: 4px;
        padding: 15px 0;
    }

    .pg-link,
    .pg-current {
        padding: 6px 11px;
        font-size: 12px;
        min-width: 32px;
    }

    .tag-cloud {
        padding: 10px;
        gap: 6px;
    }

    .tag-cloud a {
        font-size: 12px;
        padding: 4px 10px;
    }

    .detail-title-bar {
        font-size: 15px;
        padding: 14px 14px;
    }

    .detail-info-panel {
        font-size: 14px;
        padding: 16px 16px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 20px;
    }

    .domain-addr {
        font-size: 13px;
    }

    /* Extra small - keep 15/85 ratio */
    .cat-zone-label {
        width: 15%;
        font-size: 10px;
        padding: 5px 1px;
    }

    .cat-link-group {
        width: 85%;
        font-size: 12px;
        gap: 3px;
        padding: 5px 3px;
    }

    .cat-link-group a {
        font-size: 12px;
        padding: 3px 1px;
        width: calc((100% - 9px) / 4);
    }

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

    .film-meta h5 {
        font-size: 12px;
    }

    .section-title {
        font-size: 15px;
    }

    .search-wrap input[type="text"] {
        min-width: 80px;
        padding: 8px 8px;
        font-size: 12px;
    }

    .search-wrap button {
        padding: 8px 8px;
        font-size: 11px;
    }

    .action-buttons {
        padding: 10px 6px;
        gap: 6px;
    }

    .act-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .share-panel {
        padding: 10px 8px;
        gap: 6px;
    }

    .share-url-row {
        padding: 7px 8px;
        gap: 4px;
    }

    .share-label {
        font-size: 9px;
    }

    .share-url {
        font-size: 9px;
    }

    .share-copy-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
}

@media (min-width: 769px) {
    .vis-hidden-pc {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .vis-hidden-mobile {
        display: none !important;
    }
}
