:root {
    --bg: #0b0f1c;
    --bg-soft: #12172a;
    --accent: #ffb648;
    --accent-2: #12c2e9;
    --text: #f5f7ff;
    --muted: #9ca3af;
    --card: rgba(18, 23, 42, 0.85);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cairo", sans-serif;
   /* background: radial-gradient(circle at top, #1b2142, #0b0f1c 45%, #070a12 100%);*/
    background-color: #232323;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: rgba(11, 15, 28, 0.9);
    border-bottom: 1px solid var(--border);
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    max-height: 42px;
    display: block;
}

.search {
    display: flex;
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 6px;
    gap: 8px;
}

.search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 10px 14px;
    font-size: 0.95rem;
}

.search button {
    background: linear-gradient(120deg, var(--accent), #ff7b00);
    border: none;
    color: #0b0f1c;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.main-nav a,
.link-button {
    font-weight: 600;
    color: var(--text);
}

.link-button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.page {
    padding: 32px 0 64px;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
}

.hero-card {
    background: linear-gradient(140deg, rgba(255, 182, 72, 0.2), rgba(18, 194, 233, 0.08));
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 24px;
}

.hero-card h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.hero-card p {
    color: var(--muted);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
}

.btn.primary {
    background: linear-gradient(130deg, var(--accent), #ff7b00);
    color: #0b0f1c;
}

.btn.ghost {
    border: 1px solid var(--border);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0 16px;
}

.section-title h2 {
    font-size: 1.5rem;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.cards {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    transition: transform 0.2s ease;
}

.media-card {
    position: relative;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

.card h3 {
    margin: 12px 0 6px;
    font-size: 1rem;
}

.card span {
    color: var(--muted);
    font-size: 0.85rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.detail-grid img {
    width: 100%;
    border-radius: 18px;
}

.pill {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 182, 72, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    margin: 4px 6px 0 0;
}

.player {
    background: #05070f;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.player iframe,
.player video {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
    background: #000;
}

.source-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
}

.source-button {
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
}

.season-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.season-tab {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
}

.season-tab.active {
    background: var(--accent);
    color: #0b0f1c;
    font-weight: 700;
}

.ratio.ratio-16x9{
height:100%;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #0f0f0f;
}

.footer-top {
    padding: 36px 0 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.footer-title {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: 0.3px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
   /* background: var(--accent);*/
    color: #0b0f1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.footer-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
}

.footer-social img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-social i {
    font-size: 20px;
}

.footer-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0b0f1c;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.footer-links a {
    color: var(--text);
}

.footer-links a + a {
    margin-right: 16px;
}

.footer-credit {
    text-align: center;
    padding: 10px 0 18px;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-credit a {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}

.form-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 18px;
}

.form-card input,
.form-card textarea,
.form-card select {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #0f1428;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
}

.form-card button {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--accent), #ff7b00);
    color: #0b0f1c;
    font-weight: 700;
    cursor: pointer;
}

.comments {
    margin-top: 24px;
}

.comment {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.comment span {
    color: var(--muted);
    font-size: 0.85rem;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 12px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.4rem;
    color: #4b5563;
    cursor: pointer;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f59e0b;
}

.ad-slot {
    margin: 18px auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--border);
    border-radius: 12px;
    text-align: center;
}

.custom-player video,
.custom-player iframe {
    width: 100%;
    height: 500px;
    background: #000;
    border: 0;
}

@media screen and (max-width: 1199px) {
    .custom-player video,
    .custom-player iframe {
        height: 400px;
    }
}

@media screen and (max-width: 767px) {
    .custom-player video,
    .custom-player iframe {
        height: 220px;
    }
}

.btn-custom {
    background-color: #8b0000;
    color: #fff;
}

.btn-custom:hover {
    background-color: #cc0000;
    color: #fff;
}

.comments-section {
    margin-top: 20px;
}

.rating-block {
    margin-top: 10px;
}

.search-suggest {
    position: absolute;
    background: #111;
    border: 1px solid #333;
    z-index: 9999;
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    display: none;
}

.nav-menu .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 12px;
}

.nav-menu .row a {
    flex: 1 1 180px;
    min-width: 180px;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    line-height: 1.4;
}

.nav-menu #extra-categories .row {
    margin-top: 6px;
}

.suggest-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    color: #fff;
    border-bottom: 1px solid #222;
}

.suggest-item img {
    width: 42px;
    height: 60px;
    object-fit: cover;
}

.suggest-title {
    font-weight: 700;
}

.suggest-type {
    font-size: 0.85rem;
    color: #bbb;
}

.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
}

.admin-body {
    background: #f2f5fb;
    color: #1f2937;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0f1b4c, #0a1240);
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-brand {
    font-size: 1.2rem;
    font-weight: 800;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav a {
    color: #dbe7ff;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.admin-main {
    background: #f6f7fb;
    padding: 24px;
}

.admin-topbar {
    background: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(18, 38, 76, 0.08);
    margin-bottom: 24px;
}

.admin-search {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    max-width: 420px;
}

.admin-search input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
}

.admin-search button {
    border: none;
    background: #4338ca;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
}

.admin-user {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-user button {
    border: none;
    background: #f97316;
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
}

.admin-content .card {
    background: #fff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 900px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        border-radius: 0 0 18px 18px;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .player iframe,
    .player video {
        height: 300px;
    }
}


.user-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.user-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #1e2a5d;
    background: #0f1b4c;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.user-sidebar {
    background: linear-gradient(180deg, #0f1b4c, #0a1240);
    color: #fff;
    padding: 24px 18px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.user-sidebar h3 {
    font-size: 1.1rem;
    margin: 0;
}

.user-nav a {
    display: block;
    color: #dbe7ff;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.user-card {
    background: #0f1428;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}

.user-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fdd922;
}

.user-media-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.user-media-grid .card img {
    height: 170px;
    object-fit: cover;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.player-shell {
    position: relative;
    background: #05070f;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-video {
    width: 100%;
    height: 520px;
    display: block;
    background: #05070f;
    object-fit: contain;
}

.player-video::-webkit-media-controls,
.player-video::-webkit-media-controls-enclosure,
.player-video::-webkit-media-controls-panel {
    display: none !important;
    opacity: 0 !important;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: block;
    background: rgba(5, 7, 15, 0.6);
    backdrop-filter: blur(2px);
    z-index: 2;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay img {
    max-height: 85%;
    max-width: 80%;
    object-fit: contain;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    position: absolute;
    inset: 0;
    margin: auto;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.player-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 0;
    background: #fdd922;
    color: #1a1a1a;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    position: absolute;
    inset: 0;
    margin: auto;
}

.player-controls {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(10, 16, 30, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.player-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 14px;
}

.player-time {
    color: #cdd6ff;
    font-size: 12px;
    min-width: 70px;
    text-align: center;
}

.player-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.player-seek {
    flex: 1;
}

.player-volume {
    width: 70px;
}

.player-shell.is-idle .player-controls {
    opacity: 0;
    pointer-events: none;
}

.player-shell.is-idle .player-overlay {
    opacity: 0;
    visibility: hidden;
}

.player-shell.is-fullscreen .player-video {
    height: 100%;
    object-fit: cover;
}

#sjvideoplayer {
    width: 100%;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: #05070f;
    padding: 0;
    height: auto;
}

#videoarea,
#youtube {
    width: 100% !important;
    height: auto !important;
    display: block;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

#videoarea {
    object-fit: contain;
    background: #000;
}

#youtube {
    display: none;
}

#youtube iframe {
    width: 100% !important;
    height: 100% !important;
}

#pldiv,
#playlist,
.description {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 576px) {
    #sjvideoplayer {
        border-radius: 12px;
    }

    #videoarea,
    #youtube {
        border-radius: 10px;
    }
}

@media (max-width: 1200px) {
    .player-time {
        min-width: 58px;
    }
}

@media (max-width: 991px) {
    .player-video {
        height: 360px;
    }

    .player-controls {
        gap: 8px;
    }

    .player-volume {
        display: none;
    }
}

@media (max-width: 576px) {
    .player-video {
        height: 220px;
    }

    .player-controls {
        gap: 6px;
    }
}

.trailer-modal .modal-dialog {
    width: 92vw;
    max-width: 1100px;
    margin: 8vh auto;
}

.trailer-modal .modal-content {
    height: 70vh;
}

.trailer-modal .modal-body {
    position: relative;
    height: calc(70vh - 56px);
}

.trailer-modal iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 991px) {
    .trailer-modal .modal-dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
    }

    .trailer-modal .modal-content {
        height: 100vh;
        border-radius: 0;
    }

    .trailer-modal .modal-body {
        height: calc(100vh - 56px);
    }
}

.user-sidebar-backdrop {
    display: none;
}

@media (max-width: 991px) {
    .user-shell {
        grid-template-columns: 1fr;
        position: relative;
    }

    .user-sidebar-toggle {
        display: inline-flex;
    }

    .user-sidebar {
        position: fixed;
        top: 0;
        right: -280px;
        height: 100%;
        width: 260px;
        border-radius: 0;
        z-index: 1041;
        transition: right 0.2s ease;
    }

    .user-shell.is-open .user-sidebar {
        right: 0;
    }

    .user-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        z-index: 1040;
        transition: opacity 0.2s ease;
    }

    .user-shell.is-open .user-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }
}

.user-info-grid label {
    color: var(--muted);
    display: block;
    font-size: 0.85rem;
}

.user-info-grid span {
    display: block;
    font-weight: 600;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: 0px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    background: transparent;
}
.pagination li.active{
     border-top: 2px solid #fdd922;
}
.pagination li.active span {
    border-color: #fdd922;
    color: #fdd922;
}

.pagination li.disabled span {
    opacity: 0.4;
}


.social-row {
    margin-top: 6px;
}

.social-row .social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}

.social-row .social-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .nav-menu .row a {
        flex: 1 1 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }

    .nav-menu .social-row a {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .user-media-grid .card img {
        height: 150px;
    }
}


/* Ensure card images fully cover the tile */
.latest-movie-img-container .movie-img img,
.movie-img img,
.similler-movie .movie-container .latest-movie-img-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .latest-movie-img-container .movie-img img,
    .movie-img img,
    .similler-movie .movie-container .latest-movie-img-container img {
        height: 150px;
    }
}



.movies-list-wrap .ml-title .nav-tabs {
    display: inline !important;}

a.pull-right.cat-more {
    color: #FDD922;
}    

.movie-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.movie-side-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    color: #fff;
}

.movie-side-btn .icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 24px;
    color: #fdd922;
}

.movie-side-btn strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.movie-side-btn small {
    color: #cbd5f5;
}

.movie-side-btn.download .icon {
    color: #22c55e;
}

.movie-detail {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
}

.movie-detail-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.movie-detail-text {
    color: #d1d5db;
    line-height: 1.8;
}

.movie-meta {
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.movie-meta-row .label {
    color: #fdd922;
    display: flex;
    align-items: center;
    gap: 8px;
}

.movie-meta-row .value {
    color: #e5e7eb;
}

.movie-poster-card img {
    width: 100%;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .movie-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .movie-side-btn {
        flex: 1 1 100%;
    }
}

.download-header {
    background: #0b0f1c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.download-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.download-brand img {
    max-height: 44px;
    display: block;
}

.download-header-title {
    font-weight: 700;
    color: #fdd922;
}

.download-back {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 16px;
    color: #fff;
}

.download-card {
    max-width: 560px;
    margin: 40px auto;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
}

.download-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(220px, 260px);
    gap: 18px;
    align-items: start;
}

.download-sidebar {
    position: sticky;
    top: 90px;
}

.download-content {
    min-width: 0;
}

.download-page .ad-slot {
    max-width: 100%;
    margin: 0 auto 18px;
}

.download-page .download-layout .ad-slot {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-page .ad-slot iframe,
.download-page .ad-slot img {
    max-width: 100%;
    height: auto;
}

.download-page .ad-slot iframe {
    min-height: 200px;
}

.download-page .ad-slot.banner {
    max-width: 900px;
    min-height: 120px;
    margin: 16px auto;
}

.download-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(12, 15, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    z-index: 1200;
    max-width: 320px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.download-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

@media (max-width: 992px) {
    .download-layout {
        grid-template-columns: 1fr;
    }

    .download-sidebar {
        display: none;
    }
}

.download-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 16px;
    margin: 16px 0 20px;
    font-weight: 700;
}

.download-timer-value {
    font-size: 1.1rem;
    color: #fdd922;
}

.download-btn.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.download-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-width: 220px;
}

.watch-info {
   /* background: rgba(15, 23, 42, 0.6);*/
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 20px;
}

.watch-info .info-header h1 {
    font-size: 1.3rem;
    margin: 0 0 12px;
}

.watch-info .info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.watch-info .info-actions {
    display: flex;
    gap: 8px;
}

.watch-info .info-actions .btn {
    background: rgba(255, 255, 255, 0.08);
    border: 0;
    color: #fff;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.watch-info .info-summary {
    color: #d1d5db;
    margin-bottom: 18px;
    line-height: 1.8;
}

.watch-info .info-meta p {
    margin-bottom: 10px;
    color: #e5e7eb;
}

.watch-info .info-meta strong {
    color: #fdd922;
    margin-left: 6px;
}

@media (max-width: 768px) {
    .download-header-inner {
        flex-direction: column;
    }
}
.movie-img > img.img-responsive {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.latest-movie-img-container img.play-svg {
  width: 36px;
  height: 36px;
}
