/* Mkvcinemas Full Stylesheet (mobile-first, full width fix) */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #ffffff;
}

body {
    font-family: Roboto, Arial, Tahoma, Verdana, sans-serif;
    color: #000000;
    font-size: 14px;
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #0000cc;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Wider screens: center content like a mobile column */
@media (min-width: 768px) {
    body { background: #e9ecef; }
    .container {
        max-width: 720px;
        box-shadow: 0 0 12px rgba(0,0,0,0.15);
    }
}

/* Header Banner */
.header-banner {
    width: 100%;
    text-align: center;
    background: #000000;
    padding: 0;
    line-height: 0;
}
.header-banner img {
    display: block;
    width: 100%;
    max-height: 130px;
    object-fit: cover;
}

/* Search Bar */
.search-bar-container {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    background: #1e3a9f;
    padding: 12px 8px;
    border-top: 2px solid #ffffff;
}
.search-input {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 65%;
    padding: 9px 10px;
    border: 1px solid #cfd6e4;
    border-radius: 4px;
    font-size: 14px;
    background: #ffffff;
}
.search-btn {
    flex: 0 0 auto;
    padding: 9px 14px;
    background: #e4e6eb;
    border: 1px solid #adadad;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
}
.search-btn:hover {
    background: #e5f3ff;
    border-color: #0078d7;
}

/* Sub Nav (Official website / Go to homepage) */
.sub-nav {
    background: #fff7b8;
    text-align: center;
    padding: 10px 6px;
    font-size: 15px;
    font-weight: bold;
    color: #0000cc;
    border-bottom: 1px solid #e6db55;
}
.sub-nav a {
    color: #0000cc;
    text-decoration: underline;
}
.sub-nav a:hover {
    text-decoration: none;
}

/* Warning Banner */
.warning-banner {
    background: #fffbe0;
    border: 1px solid #ffcc00;
    color: #cc0000;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    margin: 8px 6px;
    border-radius: 4px;
    line-height: 1.4;
}
.warning-banner a {
    color: #0000ff;
    font-weight: bold;
    text-decoration: underline;
}

/* Main Navigation Buttons */
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: #1e3a9f;
    padding: 10px 6px;
}
.nav-btn,
.nav-menu a {
    display: inline-block;
    background: #2f4fc4;
    color: #ffffff;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
}
.nav-btn:hover,
.nav-menu a:hover {
    background: #4263d8;
}

/* Trending Bar */
.trending-bar {
    background: linear-gradient(to bottom, #ff9a1f, #f57c00);
    color: #ffffff;
    text-align: center;
    padding: 12px 8px;
    font-size: 17px;
    font-weight: bold;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Section Bar (LATEST UPLOADS) */
.section-bar,
.latest-bar {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 14px 8px;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Movie Title Bar */
.movie-title-bar {
    background: #e8f4ff;
    color: #003366;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    border-top: 1px solid #b8d4f8;
    border-bottom: 1px solid #b8d4f8;
    line-height: 1.4;
}

.official-site-link {
    text-align: center;
    padding: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #cc0000;
    background: #ffffff;
}
.official-site-link a {
    color: #0000ff;
}
.official-site-link a:hover {
    text-decoration: underline;
}

/* Movie Poster */
.poster-container {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #ffffff;
}
.movie-poster {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    display: inline-block;
    margin: 0 auto;
    border: 1px solid #b0b0b0;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* File Info Box */
.file-info-header {
    background: #e8f9ff;
    color: #ff6600;
    text-align: center;
    font-weight: bold;
    padding: 7px;
    border-top: 1px solid #b3ecff;
    border-bottom: 1px solid #b3ecff;
    font-size: 14px;
}
.file-info-content {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.6;
    background: #ffffff;
    word-wrap: break-word;
}
.file-info-content p { margin: 5px 0; }
.label-title    { color: #cc0000; font-weight: bold; }
.label-genre    { color: #d35400; font-weight: bold; }
.label-duration { color: #27ae60; font-weight: bold; }
.label-date     { color: #2980b9; font-weight: bold; }
.label-lang     { color: #16a085; font-weight: bold; }
.label-starcast { color: #8e44ad; font-weight: bold; }
.label-desc     { color: #333333; }

/* Download Section */
.download-section-bar {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.download-btn-box {
    text-align: center;
    padding: 12px;
    background: #fcfcfc;
}
.btn-download-main {
    display: block;
    background: linear-gradient(to bottom, #5cb85c, #419641);
    color: #ffffff;
    padding: 14px 15px;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #357ebd;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.2);
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
}
.btn-download-main:hover {
    background: linear-gradient(to bottom, #47a447, #398439);
}

/* Screenshots Section */
.screenshot-bar {
    background: #004d99;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 13px;
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 4px;
    background: #000000;
}
.screenshot-item {
    width: 100%;
}
.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Related / Trending / Latest movie list */
.related-bar {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 14px;
}
.related-list,
.movie-list {
    padding: 0;
    background: #ffffff;
}
.related-item,
.movie-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 14px;
    border-bottom: 1px solid #e8e8e8;
    text-decoration: none;
    color: inherit;
}
.related-item:hover,
.movie-item:hover {
    background: #f7f9fa;
}
.related-thumb,
.movie-thumb {
    flex: 0 0 auto;
    width: 76px;
    height: 108px;
    object-fit: cover;
    margin-right: 12px;
    border: 1px solid #cccccc;
    border-radius: 2px;
}
.related-info,
.movie-info {
    flex: 1 1 auto;
    min-width: 0;
}
.related-info h4,
.movie-info h4 {
    margin: 0 0 8px 0;
    font-size: 17px;
    line-height: 1.3;
    color: #0000cc;
    font-weight: bold;
}
.related-info h4:hover,
.movie-info h4:hover {
    text-decoration: underline;
}
.movie-meta,
.related-info p {
    margin: 6px 0 0 0;
    font-size: 15px;
    color: #555555;
}
.badge-tag {
    display: inline-block;
    background: #800020;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Breadcrumb & Tags */
.breadcrumb-box {
    padding: 10px;
    font-size: 12px;
    background: #ffffff;
    border-top: 1px solid #dddddd;
    line-height: 1.5;
}
.breadcrumb-box a { color: #0000cc; }
.breadcrumb-box a:hover { text-decoration: underline; }

.tags-box {
    background: #f1f1f1;
    padding: 12px;
    font-size: 14px;
    color: #444444;
    border-top: 2px solid #dcdcdc;
    line-height: 1.6;
}
.tags-box span {
    font-weight: bold;
    color: #cc0000;
}

/* Telegram */
.telegram-btn-box {
    text-align: center;
    padding: 16px 12px;
    background: #ffffff;
}
.btn-telegram {
    display: block;
    width: 100%;
    background: #0077b5;
    color: #ffffff;
    padding: 14px 18px;
    font-weight: bold;
    font-size: 17px;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}
.btn-telegram:hover {
    background: #006699;
}

/* Footer Links & Buttons */
.footer-links-box {
    text-align: center;
    padding: 14px 10px;
    background: #e8f4ff;
    font-size: 16px;
    font-weight: bold;
    border-top: 2px solid #b8d4f8;
}
.footer-links-box a {
    color: #0000cc;
    margin: 0 6px;
}
.footer-links-box a:hover { text-decoration: underline; }

.footer-buttons {
    text-align: center;
    padding: 12px 10px;
    background: #ffffff;
}
.btn-outline {
    display: inline-block;
    padding: 10px 28px;
    margin: 8px 0;
    font-size: 17px;
    font-weight: bold;
    background: #ffffff;
    border-radius: 4px;
    text-decoration: none;
}
.btn-request {
    color: #cc0000;
    border: 1px solid #cc0000;
}
.btn-home {
    color: #000000;
    border: 1px solid #000000;
}
.btn-outline:hover {
    background: #f5f5f5;
}

.site-description-footer {
    background: #fcfcfc;
    padding: 10px;
    font-size: 11px;
    text-align: center;
    color: #666666;
    border-top: 1px solid #dddddd;
}
.powered-by {
    text-align: center;
    background: #ffffff;
    padding: 14px 8px 28px;
    font-weight: bold;
    font-size: 16px;
    border-top: 1px solid #eeeeee;
}

/* Lightbox Modal Slider */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-content-wrap {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content-wrap img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.lightbox-counter {
    color: #ffffff;
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
    background: rgba(0,0,0,0.6);
    padding: 4px 12px;
    border-radius: 12px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #ff4d4d;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 10000;
    border-radius: 4px;
    transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-prev {
    left: 20px;
}
.lightbox-next {
    right: 20px;
}
.powered-by a { color: #1e3a9f; }
.powered-by a:hover { text-decoration: underline; }

/* =====================================================================
   MkvCinemas-style DARK THEME (poster grid, gold borders, red accents)
   ===================================================================== */
html, body { background:#0b0b0b !important; }
body { font-family:Poppins,"Segoe UI",Roboto,Arial,sans-serif; color:#fff; }

.ff-wrap { width:100%; max-width:none; margin:0; background:#0b0b0b; color:#fff; min-height:100vh; }
.ff-wrap a { color:#fff; text-decoration:none; }
.ff-narrow { width:100%; max-width:900px; margin:0 auto; padding:0 10px; }
.ff-wide   { width:100%; max-width:1480px; margin:0 auto; padding:0 10px; }

/* top bar */
.ff-topbar { background:#0a2540; border-bottom:1px solid #12385f; }
.ff-topbar .ff-narrow { display:flex; align-items:center; justify-content:space-between; height:38px; }
.ff-logo img { display:block; height:30px; width:auto; max-width:60vw; }
.ff-toplink { font-size:12px; font-weight:700; color:#fff; }

/* notice strip (dismissible) */
.ff-warn { position:relative; background:#1a0b0b; border-bottom:1px solid #3a1515; color:#ffb4b4; text-align:center; padding:6px 40px 6px 10px; font-size:12px; line-height:1.4; }
.ff-wrap .ff-warn a { color:#ffd54a; text-decoration:underline; }
.ff-warn-x { position:absolute; right:8px; top:50%; transform:translateY(-50%); width:24px; height:24px; border-radius:50%; border:1px solid #5a2a2a; background:transparent; color:#ffb4b4; font-size:13px; line-height:1; cursor:pointer; padding:0; }

/* search */
.ff-search { margin:2px 0 0; }
.ff-search form { display:flex; gap:0; margin:0; }
.ff-search input { flex:1; min-width:0; height:38px; padding:0 12px; background:#141414; color:#fff; border:1px solid #262626; border-right:0; border-radius:3px 0 0 3px; font-size:14px; font-family:inherit; outline:0; }
.ff-search input::placeholder { color:#9a9a9a; }
.ff-search input:focus { border-color:#e50914; }
.ff-search button { height:38px; padding:0 22px; background:#f50000; color:#fff; border:0; border-radius:0 3px 3px 0; font-weight:700; font-size:14px; cursor:pointer; font-family:inherit; }
.ff-search button:hover { background:#c80000; }

/* coloured quick buttons */
.ff-btnrow { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:14px 0 12px; }
.ff-wrap .ff-qbtn { display:inline-block; padding:5px 14px; border-radius:4px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.2px; color:#fff; box-shadow:0 0 8px rgba(255,255,255,.12); }
.ff-wrap .ff-btn-green { background:#2dbd1f; }
.ff-wrap .ff-btn-red   { background:#e0102f; }
.ff-wrap .ff-btn-blue  { background:#1f8bff; }
.ff-wrap .ff-btn-gold  { background:#f5a300; color:#fff; }
.ff-qbtn:hover { filter:brightness(1.12); }

/* category pills */
.ff-cats { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 10px; margin:0 0 22px; }
.ff-wrap .ff-cat { display:inline-block; padding:6px 14px; background:#dc143c; color:#fff; font-size:10px; font-weight:700; text-transform:uppercase; border-radius:3px; box-shadow:0 0 10px rgba(255,30,60,.45); }
.ff-wrap .ff-cat:hover { background:#ff2a52; }
.ff-wrap .ff-cat-on { background:#f2b800; color:#000; box-shadow:0 0 10px rgba(242,184,0,.5); }

/* main column */
.ff-main { width:100%; max-width:900px; margin:0 auto; padding:0 10px 10px; }
.ff-section { background:transparent; border:0; border-left:4px solid #e50914; color:#fff; text-align:left; font-weight:700; font-size:16px; padding:2px 10px; margin:6px 0 14px; }

/* poster grid */
.ff-list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; padding:0; background:transparent; margin-bottom:18px; }
.ff-wrap .ff-item { display:block; background:#101010; color:#fff; text-decoration:none; border:0; border-radius:0; padding:0 0 6px; min-width:0; transition:transform .15s; }
.ff-item:hover { transform:translateY(-2px); background:#151515; }
.ff-thumb { display:block; width:100%; height:auto; aspect-ratio:2/3; object-fit:cover; border:3px solid #f2b800; background:#222; transition:border-color .15s; }
.ff-item:hover .ff-thumb { border-color:#e50914; }
.ff-info { padding:0; }
.ff-title { margin:8px 4px 0; font-size:13.5px; font-weight:600; line-height:1.3; color:#fff; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; }
.ff-badge { display:none; }

/* app banner */
.ff-app { display:flex; align-items:center; gap:10px; padding:8px 10px; margin:0 0 18px; background:#101010; border:1px solid #2a2a2a; border-radius:4px; }
.ff-app-icon { width:42px; height:42px; border-radius:10px; flex:none; }
.ff-app-text { flex:1; min-width:0; color:#fff; display:flex; flex-direction:column; gap:1px; }
.ff-app-text b { color:#f2b800; font-size:14px; line-height:1.2; }
.ff-app-text small { color:#bbb; font-size:11px; font-weight:600; }
.ff-wrap .ff-app-btn { flex:none; background:#f50000; color:#fff; font-weight:700; font-size:13px; padding:7px 14px; border-radius:3px; }

/* pagination */
.ff-pager { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:8px 0 22px; background:transparent; border:0; }
.ff-wrap .ff-pg { min-width:32px; height:32px; line-height:32px; padding:0 8px; text-align:center; background:#1b1b1b; color:#fff; font-weight:700; font-size:12px; border-radius:3px; }
.ff-wrap .ff-pg:hover { background:#333; }
.ff-wrap .ff-pg-on { background:#c8102e; pointer-events:none; }
.ff-wrap .ff-pg-nav { background:transparent; border:1px solid #555; padding:0 14px; text-transform:uppercase; font-size:11px; }
.ff-pg-next { margin-left:auto; }
.ff-pg-dots { color:#aaa; padding:0 2px; }
#ff-content { transition:opacity .12s; }
#ff-content.ff-loading { opacity:.55; pointer-events:none; }

/* ---- movie detail page ---- */
.movie-title-bar { background:#111; color:#fff; font-size:17px; border:1px solid #2a2a2a; border-left:4px solid #e50914; text-align:left; margin:6px 0 10px; }
.official-site-link { background:transparent; color:#ccc; }
.ff-wrap .official-site-link a { color:#f2b800; }
.poster-container { background:transparent; padding:8px 0 14px; }
.movie-poster { border:3px solid #f2b800; border-radius:0; box-shadow:0 0 18px rgba(242,184,0,.18); }
.file-info-header { background:#111; color:#f2b800; border:1px solid #2a2a2a; }
.file-info-content { background:#0f0f0f; color:#ddd; border:1px solid #2a2a2a; border-top:0; }
.label-title { color:#ff6b81; } .label-genre { color:#ffa657; } .label-duration { color:#4cd97b; }
.label-date { color:#5eb5ff; } .label-lang { color:#3ddbc0; } .label-starcast { color:#c792ea; } .label-desc { color:#ccc; }
.download-section-bar, .screenshot-bar, .related-bar { background:#c8102e; color:#fff; }
.download-btn-box { background:transparent; padding:12px 0; }
.screenshot-grid { background:#000; }
.breadcrumb-box { background:#0f0f0f; color:#bbb; border:1px solid #2a2a2a; margin-top:10px; }
.ff-wrap .breadcrumb-box a { color:#f2b800; }
.tags-box { background:#111; color:#bbb; border:1px solid #2a2a2a; margin-top:8px; }
.tags-box span { color:#ff6b81; }
.ff-page { padding:25px; background:#111; color:#ddd; line-height:1.6; border:1px solid #2a2a2a; margin:6px 0 14px; }
.ff-page h2 { color:#f2b800; font-size:20px; font-weight:700; margin-bottom:12px; }
.ff-note { background:#111; color:#ddd; text-align:center; padding:10px; font-size:13px; border:1px solid #2a2a2a; margin-top:8px; }

/* ---- footer ---- */
.ff-foot { margin-top:18px; border-top:1px solid #2b2b2b; padding:20px 10px 90px; text-align:center; }
.ff-foot p { max-width:780px; margin:0 auto 10px; font-size:11.5px; line-height:1.55; color:#e6e6e6; }
.ff-foot-links { font-size:12px; font-weight:600; margin:12px 0 6px; }
.ff-wrap .ff-foot-links a { color:#f2b800; margin:0 4px; }
.ff-foot small { color:#8a8a8a; font-size:11px; }
.ff-tg-float { position:fixed; right:14px; bottom:14px; display:flex; align-items:center; gap:8px; z-index:50; }
.ff-tg-pill { background:#2aa3f0; color:#fff; font-size:11px; font-weight:600; padding:6px 12px; border-radius:16px; box-shadow:0 2px 8px rgba(0,0,0,.5); }
.ff-tg-circle { width:44px; height:44px; border-radius:50%; background:#2aa3f0; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.5); }
.ff-tg-circle svg { width:22px; height:22px; fill:#fff; }

/* ---- responsive ---- */
@media (max-width:820px) { .ff-list { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; } }
@media (max-width:640px) {
  .ff-list { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .ff-title { font-size:12px; margin:6px 3px 0; }
  .ff-thumb { border-width:2px; }
  .ff-cats, .ff-btnrow { gap:7px; }
  .ff-pager { gap:6px; }
  .ff-pg-next { margin-left:0; }
}
@media (max-width:400px) { .ff-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* ===== Larger layout (desktop) + bigger logo ===== */
.ff-logo img { height:44px; max-height:44px; width:auto; }
.ff-topbar .ff-narrow { height:58px; }
@media (min-width:821px) {
  .ff-narrow, .ff-main { max-width:1100px; }
  .ff-toplink { font-size:14px; }
  .ff-search input, .ff-search button { height:46px; font-size:15px; }
  .ff-btnrow { gap:12px; margin:18px 0 16px; }
  .ff-wrap .ff-qbtn { font-size:12px; padding:8px 20px; }
  .ff-cats { gap:12px; margin-bottom:28px; }
  .ff-wrap .ff-cat { font-size:12px; padding:8px 17px; }
  .ff-list { gap:24px; }
  .ff-title { font-size:15px; }
  .ff-section { font-size:18px; }
  .ff-wrap .ff-pg { min-width:38px; height:38px; line-height:38px; font-size:14px; }
  .ff-wrap .ff-pg-nav { font-size:12px; }
  .ff-foot p { font-size:13px; }
}
@media (min-width:1500px) {
  .ff-narrow, .ff-main { max-width:1300px; }
  .ff-title { font-size:16px; }
}
@media (max-width:820px) {
  .ff-logo img { height:36px; max-height:36px; }
  .ff-topbar .ff-narrow { height:48px; }
}

