/* ═══════════════════════════════════════════════
   WECIMA-FAITHFUL SINGLE PAGE CSS
   مطابق 100% للـ CSS الأصلي في WeCima theme
═══════════════════════════════════════════════ */

/* ── singlecontainer (outer wrapper) ── */
singlecontainer {
    display: block;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ── .Single-begin (hero area) ── */
.Single-begin {
    padding: 26px 16px;
    position: relative;
}

/* ── backdrop blur bg ── */
.BG--Single-begin {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    height: calc(100% - 50px);
    background-image: var(--img);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
}

.BG--Single-begin::before {
    content: "";
    display: block;
    height: 100%;
    background: linear-gradient(rgba(26, 29, 46, .66), rgba(26, 29, 46, .9), rgb(26, 29, 46));
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1;
}

.BG--Single-begin::after {
    content: "";
    display: block;
    height: 100%;
    backdrop-filter: blur(11px);
    position: relative;
    z-index: -1;
}

/* ── breadcrumb ── */
.breadcrumbNav {
    margin: 0 -6px 10px;
    line-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    list-style: none;
    padding: 0;
}

.breadcrumbNav>li {
    display: inline-block;
    vertical-align: middle;
    color: var(--accent);
    padding: 0 6px;
    font-size: 15px;
}

.breadcrumbNav>li>a {
    color: #c3cbff;
}

.breadcrumbNav>li>i {
    color: #5367ff;
    font-size: 12px;
}

/* ── Poster (right side) ── */
.Poster--Single-begin {
    width: 270px;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    position: relative;
    box-shadow: rgba(140, 151, 232, .14) 0 0 0 1px;
    border-radius: 18px;
    float: right;
    margin: 10px;
}

.Poster--Single-begin>a.Img--Poster--Single-begin {
    display: block;
    padding-top: 150%;
    background-color: #bdc4ec21;
    border-radius: 18px;
    background-image: var(--img);
    background-size: cover;
    background-position: center center;
}

.Poster--Single-begin img {
    width: 100%;
    display: block;
    border-radius: 18px;
}

.Poster--Single-begin .Quality {
    transform: rotate(-45deg);
    position: absolute;
    top: 31px;
    left: -52px;
    background: #37808c;
    width: 200px;
}

.Poster--Single-begin .Quality>a {
    color: #fff;
    display: block;
    padding: 8px 16px;
    line-height: 100%;
    text-align: center;
}

/* ── Content (left side) ── */
.Content--Single-begin {
    display: inline-block;
    max-width: calc(100% - 300px);
    vertical-align: top;
    margin-left: 20px;
    margin-right: 0;
    border-radius: 18px;
}

.Title--Content--Single-begin {
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid #bdc4ec21;
}

.Title--Content--Single-begin>h1 {
    font-size: 22px;
    text-align: right;
    color: #fff;
    line-height: 1.4;
}

/* ── Info table ── */
ul.Terms--Content--Single-begin {
    list-style: none;
    margin-bottom: 16px;
}

ul.Terms--Content--Single-begin>li {
    padding: 4px 0;
}

ul.Terms--Content--Single-begin>li>span {
    display: inline-block;
    vertical-align: middle;
    width: 130px;
    opacity: .7;
    color: #b9bfef;
    font-size: 16px;
}

ul.Terms--Content--Single-begin>li>p {
    display: inline-block;
    vertical-align: middle;
    color: #d2d5e8;
    max-width: calc(100% - 130px);
    font-size: 16px;
}

ul.Terms--Content--Single-begin>li>p>a {
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    color: #aab6ff;
}

/* ── Social share ── */
.-movie-info-share {
    display: flex;
    padding-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.-movie-info-share>p {
    margin-left: 20px;
    color: #d2d5e8;
    font-size: 15px;
}

.-movie-info-share>a {
    transition: 250ms all ease;
    background: var(--color);
    margin: 4px;
    color: white;
    width: 60px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    padding-top: 3px;
    opacity: .7;
}

.-movie-info-share>a:hover {
    opacity: 1;
}

.-movie-info-share>a.whatsapp {
    --color: #25D366;
}

.-movie-info-share>a.messenger {
    --color: #09F;
}

.-movie-info-share>a.facebook {
    --color: #1877F2;
}

.-movie-info-share>a.telegram {
    --color: #27A0DD;
}

.-movie-info-share>a.twitter {
    --color: #1DA1F2;
}

/* ── Story section ── */
.AsideContext {
    padding: 28px 16px 35px;
    background: #15192a;
    margin-bottom: -10px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    box-shadow: #0c0f21 0 12px 10px -10px inset;
    clear: both;
}

.AsideContext>h2 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 400;
}

.AsideContext>h2>i {
    vertical-align: bottom;
    color: #5367ff;
    margin-left: 6px;
}

.AsideContext>.StoryMovieContent {
    font-size: 16px;
    line-height: 26px;
    color: #d2d5e8;
}

/* ── Social follow section ── */
.WecimaonSocialnetwork {
    text-align: center;
    padding: 30px;
    background: #0c0f21;
    border-top: 1px solid rgba(255, 255, 255, .05);
    clear: both;
}

.WecimaonSocialnetwork>h2 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    justify-content: center;
}

.footer-social>a {
    font-size: 21px;
    width: 80px;
    color: white;
    margin: 0 5px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.footer-social>a.facebook {
    background: #1877F2;
}

.footer-social>a.telegram {
    background: #34ACE0;
}

.footer-social>a.twitter {
    background: #1DA1F2;
}

/* ── singlesections wrapper ── */
singlesections {
    display: block;
    margin: 0;
    border-top: 10px dashed #262a42;
}

singlesection {
    display: block;
    background: #262a42;
    padding: 26px 16px 16px;
}

singlesection:nth-child(2n) {
    background: 0 0;
}

/* ── titleshape ── */
titleshape {
    display: block;
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

/* ──────────────────────────────────────
   WATCH AREA — 3 columns
   WatchServers | WatchServersEmbed | Download
────────────────────────────────────── */
.WatchArea {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    direction: rtl;
}

/* Watch servers (right column) */
.WatchServers {
    width: 120px;
    flex-shrink: 0;
}

.WatchServers>ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.WatchServers>ul li {
    display: block;
    padding: 8px;
    border-radius: 8px;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    vertical-align: middle;
    cursor: pointer;
    margin-bottom: 4px;
    transition: background 0.2s;
}

.WatchServers>ul li span,
.WatchServers>ul li i {
    display: inline-block;
    vertical-align: middle;
    width: 34px;
    margin-left: 10px;
    height: 34px;
    text-align: center;
    background: var(--color, #5367ff);
    border-radius: 18px;
    color: #fff;
    line-height: 36px;
    font-size: 16px;
}

.WatchServers>ul li.ISActive {
    background: #5367ff;
}

.WatchServers>ul li.ISActive span {
    background: #dddfe4;
    color: #5367ff;
}

/* Player (center column) */
.WatchServersEmbed {
    flex: 1;
    min-width: 0;
}

.WatchServersEmbed .Inner--WatchServersEmbed {
    padding-top: 56.25%;
    background: #0c0f21;
    position: relative;
    z-index: 1;
    border-radius: 18px;
    border: 3px solid #0c0f21;
}

.WatchServersEmbed iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    border: 0;
}

/* Download servers (left column) */
.Download--Wecima--Single {
    width: 120px;
    flex-shrink: 0;
}

ul.List--Download--Wecima--Single {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.List--Download--Wecima--Single>li {
    margin-bottom: 8px;
}

ul.List--Download--Wecima--Single>li>a {
    display: block;
    background: #31a24c;
    color: #fff;
    border-radius: 8px;
    padding: 14px 16px 14px 55px;
    line-height: 100%;
    position: relative;
    transition: background 0.2s;
}

ul.List--Download--Wecima--Single>li>a:hover {
    background: #27963f;
}

ul.List--Download--Wecima--Single>li>a>quality {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
}

ul.List--Download--Wecima--Single>li>a>resolution {
    display: block;
    font-size: 13px;
    color: #cff7d9;
}

ul.List--Download--Wecima--Single>li>a>i {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 50px;
    text-align: center;
    font-size: 22px;
}

/* ── Episode navigation ── */
.EpisodeNavigation {
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.EpisodeNavigation>a {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    height: 40px;
    color: #fff;
    padding: 0 14px;
    border-radius: 8px;
    gap: 8px;
}

.EpisodeNavigation>a>em {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    background: rgba(255, 255, 255, .15);
    border-radius: 6px;
    padding: 0 8px;
    line-height: 30px;
}

.EpisodeNavigation>a.PrevEpisode {
    background: rgba(146, 161, 251, .2);
}

.EpisodeNavigation>a.NextEpisode {
    background: #5367ff;
}

/* ── Series section (season+episodes list) ── */
singlesection.Series--Section>a>h2 {
    font-weight: 400;
    margin-bottom: 14px;
    color: #fff;
    font-size: 20px;
}

singlesection.Series--Section>a>h2>i {
    vertical-align: bottom;
    color: #5367ff;
    margin-left: 6px;
}

.Seasons--Episodes {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.SeasonsList {
    width: 180px;
    flex-shrink: 0;
    padding: 10px;
    background: #1e243c;
    border-radius: 18px;
}

.SeasonsList>ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.SeasonsList>ul>li {
    display: block;
    border-radius: 18px;
    margin-bottom: 8px;
    background: #2b3454;
}

.SeasonsList>ul>li:last-child {
    margin-bottom: 0;
}

.SeasonsList>ul>li.active {
    background: #5367ff;
}

.SeasonsList>ul>li>a {
    line-height: 38px;
    color: #d2d5e8;
    padding: 0 16px;
    display: block;
    width: 100%;
}

.SeasonsList>ul>li.active>a {
    color: #fff;
}

.EpisodesList {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 6px;
    align-content: flex-start;
}

.EpisodesList>a {
    display: inline-flex;
    align-items: center;
    background: #252a40;
    height: 50px;
    min-width: 100px;
    padding: 4px 12px;
    border-radius: 18px;
    color: #d2d5e8;
    font-size: 15px;
    transition: background 0.2s;
    gap: 8px;
}

.EpisodesList>a:hover {
    background: #2b3454;
    color: #fff;
}

.EpisodesList>a.active {
    background: #5367ff;
    color: #fff;
}

.EpisodesList>a .Thumb {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: #bdc4ec21;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: #dddfe4;
    font-size: 16px;
    flex-shrink: 0;
}

.EpisodesList>a episodearea>episodetitle {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    max-width: 120px;
}

/* ── Related section ── */
singlerelated {
    display: block;
    background: #0c0f21;
    padding: 22px 16px;
}

singlerelated .titleArea>i {
    color: #ff2e2e;
}

singlerelated .titleArea>span {
    font-weight: 400;
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 16px;
    display: block;
}

.filterTabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.titleArea {
    flex: 1;
}

.filterTabs ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.filterTabs li {
    font-weight: 700;
    color: #fff;
    transition: 0.2s all ease;
    cursor: pointer;
    overflow: hidden;
    border-radius: 18px;
    padding: 5px 16px;
    background: #2b3454;
    font-size: 14px;
}

.filterTabs li.active {
    background: #5367ff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .WatchArea {
        flex-direction: column;
    }

    .WatchServers {
        width: 100%;
    }

    .Download--Wecima--Single {
        width: 100%;
    }

    .Content--Single-begin {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 16px;
    }

    .Poster--Single-begin {
        width: 160px;
        float: none;
        display: block;
        margin: 0 auto;
    }

    .Single-begin {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    ul.Terms--Content--Single-begin>li>span {
        width: 90px;
        font-size: 14px;
    }

    ul.Terms--Content--Single-begin>li>p {
        font-size: 14px;
    }

    .SeasonsList {
        width: 130px;
    }
}