    /* =============================================================
   THEME MITATAG.COM
   ============================================================= */
/*
Theme Name: shahid
Theme URL: https://MITATAG.COM/
Version: 3.7.1
Author: MITATAG
Author URI: https://MITATAG.COM/
Text Domain: MITATAG
This Theme Designed By MITATAG
*/


/* Cairo font is loaded non-blocking from Parts/Header.php */

*{box-sizing:border-box}
html,body{margin:0;background:#151b24;color:#fff;font-family:Cairo,Arial,sans-serif}
body{min-height:180vh}

.hero{
  position:relative;
  height:100vh;
  min-height:650px;
  max-height:800px;
  overflow:hidden;
  isolation:isolate;
  background:#0b1219;
}

.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  transform:scale(1.01);
  transition:opacity .45s ease;
  z-index:-2;
}
.hero-bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
  transition:opacity .35s ease,transform .65s ease,object-position .5s ease;
}
.hero-bg img.zoom{transform:scale(1.025)}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(4,10,16,.08) 0%,rgba(4,10,16,.15) 42%,rgba(4,10,16,.82) 100%),
    linear-gradient(0deg,rgba(6,12,19,.95) 0%,transparent 38%);
}
.hero-bg.fade{opacity:.18}

.slider-pagination{
  position:absolute;
  z-index:12;
  left:5.2%;
  bottom:20px;
  display:flex;
  align-items:center;
  gap:7px;
  direction:ltr;
}
.slider-pagination button{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.38);
  cursor:pointer;
  transition:width .25s ease,background .25s ease,transform .25s ease;
}
.slider-pagination button:hover{
  transform:scale(1.25);
  background:rgba(255,255,255,.75);
}
.slider-pagination button.active{
  width:25px;
  border-radius:5px;
  background:#fff;
}

.header{
  position:fixed;
  z-index:1000;
  top:0;left:0;right:0;
  height:82px;
  padding:0 4.2%;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:22px;
  direction:rtl;
  background:linear-gradient(180deg,rgba(6,11,17,.82),rgba(6,11,17,0));
  transition:transform .35s ease,background .3s ease;
}
.header.hidden{transform:translateY(-105%)}
.header.scrolled{
  background:rgba(8,14,21,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

/* Logo on the RIGHT */
.logos{
  justify-self:end;
  color:#fff;
  font-size:35px;
  font-weight:800;
  letter-spacing:-3px;
  line-height:1;
  text-decoration:none;
}
.logo .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#13cce8;margin:0 2px 8px}

/* Navigation in the CENTER */
.nav{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:2px;
  padding:5px 7px;
  border-radius:30px;
  background:rgba(28,35,44,.86);
  border:1px solid rgba(255,255,255,.08);
  direction:rtl;
}
.nav a{
  color:#fff;text-decoration:none;
  font-size:13px;font-weight:700;
  padding:8px 13px;
  border-radius:22px;
  white-space:nowrap;
}
.nav a.active{background:#3c444d}
.search{font-size:18px!important;padding:6px 11px!important}


/* Premium header polish */
.header::after{
  content:"";
  position:absolute;
  left:4%;
  right:4%;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  pointer-events:none;
}
.logo{
  position:relative;
  z-index:2;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.25));
}
.nav{
  box-shadow:0 7px 28px rgba(0,0,0,.16);
}
.nav a{
  transition:background .2s ease,transform .2s ease,color .2s ease;
}
.nav a:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
}
.actions{
  position:relative;
  z-index:2;
}
.actions button{
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.actions button:hover{transform:translateY(-1px)}
.action-svg{
  width:17px;
  height:17px;
  flex:0 0 17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.subscribe .action-svg{fill:currentColor;stroke:none;width:14px;height:14px}

/* Login/subscription on the LEFT */
.actions{
  justify-self:start;
  display:flex;
  align-items:center;
  gap:10px;
  direction:ltr;
}
.btn{
  border:0;border-radius:25px;
  padding:10px 19px;
  font:700 13px Cairo,Arial;
  cursor:pointer;
}
.login,.subscribe,.lang{
  font-family:Cairo,Arial,sans-serif;
  cursor:pointer;
}
.login{
  height:42px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  backdrop-filter:blur(12px);
  box-shadow:0 5px 18px rgba(0,0,0,.18);
  font-size:12px;
  font-weight:800;
}
.login:hover{background:rgba(255,255,255,.17)}
.subscribe{
  height:42px;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#111;
  background:#fff;
  border:1px solid rgba(255,255,255,.7);
  border-radius:22px;
  box-shadow:0 5px 18px rgba(0,0,0,.22);
  font-size:12px;
  font-weight:800;
}
.subscribe:hover{box-shadow:0 8px 24px rgba(0,0,0,.30)}
.lang{
  width:68px;height:42px;border:1px solid rgba(255,255,255,.14);
  border-radius:22px;
  background:rgba(255,255,255,.09);
  color:#fff;
  font-size:11px;font-weight:800;
  backdrop-filter:blur(12px);
}
.lang span{font-size:9px;margin-right:3px}

/* Main content */
.hero-content{
  position:absolute;
  z-index:5;
  right:5.2%;
  top:28%;
  width:min(510px,43vw);
  text-align:right;
  transition:opacity .35s ease,transform .45s ease;
}
.hero-content.fade{opacity:0;transform:translateY(12px)}

.title{
  margin:0 0 22px;
  font-size:clamp(48px,6vw,86px);
  font-weight:800;
  line-height:1;
  text-shadow:0 4px 20px rgba(0,0,0,.7);
}
.meta{font-size:13px;font-weight:700;margin-bottom:11px}
.badge{
  display:inline-flex;
  align-items:center;justify-content:center;
  width:31px;height:31px;
  margin-left:7px;
  border-radius:8px;
  background:#df006f;
  font-size:9px;line-height:1.05;
}
.free{font-size:14px;font-weight:800;margin:11px 0}
.free i{
  display:inline-block;width:17px;height:17px;
  margin-left:6px;vertical-align:-4px;
  border-radius:50%;background:#00d57c;
}
.desc{font-size:14px;line-height:1.9;color:#ddd;font-weight:600}
.tag{margin-top:11px;color:#ffae68;font-weight:800}

.watch{display:flex;align-items:center;gap:14px;margin-top:18px}
.watch-btn{
  width:265px;height:47px;border:0;border-radius:28px;
  background:#fff;color:#111;
  font:800 14px Cairo;cursor:pointer;
}
.plus{
  width:47px;height:47px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.14);
  color:#fff;font-size:26px;cursor:pointer;
}

/* Thumbnails */
.poster-row{
  position:absolute;
  z-index:10;
  left:5.2%;
  bottom:38px;
  display:flex;
  align-items:flex-end;
  gap:18px;
  direction:ltr;
}
.poster{
  width:67px;height:67px;
  padding:0;border:2px solid rgba(255,255,255,.12);
  border-radius:50%;
  overflow:hidden;
  background:#151d26;
  cursor:pointer;
  box-shadow:0 5px 18px rgba(0,0,0,.55);
  transition:.25s ease;
  opacity:.78;
}
.poster:hover{transform:translateY(-5px);opacity:1}
.poster.selected{
  width:84px;height:84px;
  border-color:#fff;
  opacity:1;
  transform:translateY(-3px);
}
.poster img{
  width:100%;height:100%;object-fit:cover;
  pointer-events:none;
}

/* tiny progress line */

.content-after{
  height:700px;
  display:flex;align-items:center;justify-content:center;
  color:#687481;
  background:#080e15;
}


.menu-toggle,.mobile-menu,.menu-overlay{display:none}


@media(max-width:900px){
  .header{
    height:68px;
    padding:0 12px;
    display:grid;
    grid-template-columns:44px 1fr auto;
    align-items:center;
    gap:8px;
    direction:ltr;
  }

  .menu-toggle{
    grid-column:1;
    grid-row:1;
    justify-self:start;
    width:42px;
    height:42px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:12px;
    background:rgba(18,25,34,.72);
    backdrop-filter:blur(10px);
  }

  .logo{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    font-size:27px;
    margin:0;
  }

  .actions{
    grid-column:2;
    grid-row:1;
    justify-self:center;
    display:flex;
    align-items:center;
    gap:7px;
    direction:ltr;
    margin:0;
  }

  .actions .icon-action{
    display:flex;
    align-items:center;
    justify-content:center;
    width:39px;
    height:39px;
    padding:0;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 4px 14px rgba(0,0,0,.18);
  }

  .actions .subscribe{
    background:#fff;
    color:#111;
  }

  .actions .login{
    background:rgba(255,255,255,.13);
    color:#fff;
    backdrop-filter:blur(8px);
  }

  .actions .lang{
    display:none;
  }

  .user-icon{
    position:relative;
    width:17px;
    height:17px;
    border:1.7px solid currentColor;
    border-radius:50%;
    display:block;
    margin-top:-8px;
  }
  .user-icon:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-9px;
    transform:translateX(-50%);
    width:19px;
    height:9px;
    border:1.7px solid currentColor;
    border-bottom:0;
    border-radius:12px 12px 0 0;
  }

  .user-plus-icon{
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1.7px solid currentColor;
    border-radius:50%;
    font-size:17px;
    font-weight:400;
    line-height:1;
  }

  .user-plus-icon:before{
    content:"";
    position:absolute;
    width:7px;
    height:7px;
    border:1.4px solid currentColor;
    border-radius:50%;
    margin-top:-13px;
  }

  /* Keep the hero from moving down to make room for controls. */
  .hero{
    min-height:650px;
    height:100vh;
    max-height:800px;
  }

  .hero-content{
    right:6%;
    left:6%;
    width:auto;
    top:auto;
    bottom:118px;
  }

  .poster-row{
    left:5%;
    bottom:24px;
  }
}

@media(max-width:900px){
  .header{
    grid-template-columns:auto 1fr auto;
    direction:ltr;
  }

  /* Three-line menu stays on the LEFT */
  .menu-toggle{
    display:flex;
    grid-column:1;
    justify-self:start;
    width:44px;height:44px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:14px;
    background:rgba(20,28,37,.78);
    backdrop-filter:blur(10px);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    padding:0;
    z-index:1100;
  }
  .menu-toggle span{
    width:20px;height:2px;
    border-radius:5px;
    background:#fff;
    transition:.25s ease;
  }
  .menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle.open span:nth-child(2){opacity:0}
  .menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

  .logo{
    grid-column:3;
    justify-self:end;
  }

  .actions{
    grid-column:2;
    justify-self:center;
    direction:ltr;
  }
  .actions .lang{display:none}
  .actions .subscribe,
  .actions .login{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:38px;
    border-radius:13px;
    padding:0 12px;
    font-size:10px;
    font-weight:800;
    box-shadow:0 4px 14px rgba(0,0,0,.2);
  }
  .actions .subscribe{
    background:#fff;
    color:#111;
  }
  .actions .login{
    color:#fff;
    background:rgba(255,255,255,.13);
    border:1px solid rgba(255,255,255,.16);
    backdrop-filter:blur(8px);
  }

  .nav{display:none}

  .mobile-menu{
    display:flex;
    position:fixed;
    z-index:1200;
    top:0;bottom:0;
    left:0;
    width:min(310px,82vw);
    padding:22px 18px;
    flex-direction:column;
    background:rgba(11,17,25,.98);
    box-shadow:12px 0 35px rgba(0,0,0,.45);
    transform:translateX(-105%);
    transition:transform .32s cubic-bezier(.22,.61,.36,1);
    direction:rtl;
  }
  .mobile-menu.open{transform:translateX(0)}

  .mobile-menu-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:22px;
    padding-bottom:16px;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:#fff;
  }
  .mobile-menu-head strong{font-size:18px}
  .mobile-menu-head button{
    width:38px;height:38px;
    border:0;border-radius:12px;
    background:#222b35;color:#fff;
    font-size:25px;cursor:pointer;
  }
  .mobile-menu>a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
    padding:13px 14px;
    border-radius:12px;
    margin-bottom:4px;
  }
  .mobile-menu>a.active{background:#333d48}

  .mobile-menu-auth{
    display:flex;
    gap:8px;
    margin-top:auto;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.08);
  }
  .mobile-menu-auth button{
    flex:1;
    height:43px;
    border:0;
    border-radius:13px;
    font:800 11px Cairo;
    cursor:pointer;
  }
  .m-login{background:#343e49;color:#fff}
  .m-subscribe{background:#fff;color:#111}

  .menu-overlay{
    display:block;
    position:fixed;
    z-index:1150;
    inset:0;
    background:rgba(0,0,0,.58);
    opacity:0;
    visibility:hidden;
    transition:.25s ease;
  }
  .menu-overlay.open{
    opacity:1;
    visibility:visible;
  }

  body.menu-open{overflow:hidden}
}


@media(max-width:900px){
  .header{
    height:68px;
    padding:0 12px;
    display:grid;
    grid-template-columns:44px 1fr auto;
    align-items:center;
    gap:8px;
    direction:ltr;
  }

  .menu-toggle{
    grid-column:1;
    grid-row:1;
    justify-self:start;
    width:42px;
    height:42px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:12px;
    background:rgba(18,25,34,.72);
    backdrop-filter:blur(10px);
  }

  .logo{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    font-size:27px;
    margin:0;
  }

  .actions{
    grid-column:2;
    grid-row:1;
    justify-self:center;
    display:flex;
    align-items:center;
    gap:7px;
    direction:ltr;
    margin:0;
  }

  .actions .icon-action{
    display:flex;
    align-items:center;
    justify-content:center;
    width:39px;
    height:39px;
    padding:0;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 4px 14px rgba(0,0,0,.18);
  }

  .actions .subscribe{
    background:#fff;
    color:#111;
  }

  .actions .login{
    background:rgba(255,255,255,.13);
    color:#fff;
    backdrop-filter:blur(8px);
  }

  .actions .lang{
    display:none;
  }

  .user-icon{
    position:relative;
    width:17px;
    height:17px;
    border:1.7px solid currentColor;
    border-radius:50%;
    display:block;
    margin-top:-8px;
  }
  .user-icon:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-9px;
    transform:translateX(-50%);
    width:19px;
    height:9px;
    border:1.7px solid currentColor;
    border-bottom:0;
    border-radius:12px 12px 0 0;
  }

  .user-plus-icon{
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1.7px solid currentColor;
    border-radius:50%;
    font-size:17px;
    font-weight:400;
    line-height:1;
  }

  .user-plus-icon:before{
    content:"";
    position:absolute;
    width:7px;
    height:7px;
    border:1.4px solid currentColor;
    border-radius:50%;
    margin-top:-13px;
  }

  /* Keep the hero from moving down to make room for controls. */
  .hero{
    min-height:650px;
    height:100vh;
    max-height:800px;
  }

  .hero-content{
    right:6%;
    left:6%;
    width:auto;
    top:auto;
    bottom:118px;
  }

  .poster-row{
    left:5%;
    bottom:24px;
  }
}

@media(max-width:900px){
  .header{
    height:70px;padding:0 14px;
    grid-template-columns:1fr auto 1fr;
    gap:8px;
  }
  .logo{font-size:27px}
  .nav{display:none}
  .actions{gap:6px}
  .btn{padding:8px 11px;font-size:11px}
  .lang{width:50px;height:34px}
  .hero-content{
    right:6%;left:6%;width:auto;
    top:auto;bottom:125px;
  }
  .title{font-size:48px;margin-bottom:14px}
  .desc{font-size:12px}
  .poster-row{left:5%;bottom:30px;gap:8px}
  .poster{width:48px;height:48px}
  .poster.selected{width:62px;height:62px}
  .slider-pagination{left:5%;bottom:18px}
}

@media(max-width:520px){
  .subscribe{display:none}
  .hero{min-height:680px}
  .title{font-size:42px}
  .watch-btn{width:210px}
}
</style>

<style>
@media(max-width:900px){
  .actions .subscribe,
  .actions .login{
    display:flex !important;
    width:39px !important;
    height:39px !important;
    padding:0 !important;
    font-size:0 !important;
  }
  .actions .lang{display:none !important}
  .header .actions{
    position:static !important;
    transform:none !important;
  }
}
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
}


/* كل Slide فوق بعض */
.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .45s ease,
        visibility .45s ease;

    z-index: 1;
}


/* السلايد الحالي فقط */
.hero-slide.active {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    z-index: 2;
}


/* الخلفية */
.hero-slide .hero-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}


/* محتوى السلايد */
.hero-slide .hero-content {
    position: relative;

    z-index: 5;
}

.poster-row {
    position: absolute;

    left: 40px;
    bottom: 35px;

    z-index: 100;

    display: flex;
    align-items: center;

    gap: 10px;

    width: auto;

    pointer-events: auto;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-slide .hero-bg {
    position: absolute;
    inset: 0;
}

.hero-slide .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,10,16,.08) 0%,
            rgba(4,10,16,.15) 42%,
            rgba(4,10,16,.82) 100%
        ),
        linear-gradient(
            0deg,
            rgba(6,12,19,.95) 0%,
            transparent 38%
        );
}

.hero-slide .hero-content {
    position: absolute;
    z-index: 5;
}

.poster-row {
    position: absolute;
    z-index: 20;
}

.slider-pagination {
    position: absolute;
    z-index: 20;
}
.title {
    font-size: 55px;
    line-height: 1.05;
    font-weight: 800;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}


/* الجودة */

.quality-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 36px;
    padding: 0 13px;

    border-radius: 9px;

    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    backdrop-filter: blur(10px);
}


/* Buttons */

.watch {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* شاهد الآن */

.watch-btn {
    height: 46px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 13px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-family: Cairo, sans-serif;
    font-size: 12px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.watch-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0,0,0,.28);
}


.play-icon {
    font-size: 10px;
}


/* + */

.plus {
    width: 46px;
    height: 46px;

    border-radius: 13px;

    border: 1px solid rgba(255,255,255,.18);

    background: rgba(255,255,255,.10);

    color: #fff;

    font-size: 24px;
    font-weight: 300;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    backdrop-filter: blur(10px);

    transition:
        background .2s ease,
        transform .2s ease;
}

.plus:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-2px);
}


.hero {
    position: relative;
    overflow: hidden;
    background: #151b24;
}


/* الخلفية */

.hero-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #151b24;

    z-index: 0;
}


/* الصورة نفسها */

.hero-bg .slide-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    display: block;

    /*
     * هنا السحر
     * الصورة تختفي تدريجياً عند الأطراف
     */

    -webkit-mask-image:
        linear-gradient(
            to right,
            #000 0%,
            #000 72%,
            rgba(0,0,0,.85) 80%,
            rgba(0,0,0,.55) 88%,
            rgba(0,0,0,.2) 96%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to right,
            #000 0%,
            #000 72%,
            rgba(0,0,0,.85) 80%,
            rgba(0,0,0,.55) 88%,
            rgba(0,0,0,.2) 96%,
            transparent 100%
        );

}


/* اختفاء الصورة من تحت */

.hero-bg .slide-image {
    -webkit-mask-image:
        linear-gradient(
            to top,
            transparent 0%,
            rgba(0,0,0,.25) 8%,
            rgba(0,0,0,.75) 18%,
            #000 30%,
            #000 72%,
            rgba(0,0,0,.85) 82%,
            rgba(0,0,0,.55) 90%,
            rgba(0,0,0,.2) 97%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to top,
            transparent 0%,
            rgba(0,0,0,.25) 8%,
            rgba(0,0,0,.75) 18%,
            #000 30%,
            #000 72%,
            rgba(0,0,0,.85) 82%,
            rgba(0,0,0,.55) 90%,
            rgba(0,0,0,.2) 97%,
            transparent 100%
        );
}


/* الطبقة دي مش محتاجينها */

.hero-overlay {
    display: none;
}

/* =========================================
   TOP 10
========================================= */

.top-10-section {
    width: 100%;
    padding: 35px 0 30px;
    direction: rtl;
}


/* =========================================
   العنوان
========================================= */

.top-10-section .heading {
    padding: 0 35px;
    margin-bottom: 18px;
}

.top-10-section .heading h2 {
    margin: 0;

    color: #fff;

    font-family: Cairo, Arial, sans-serif;

    font-size: 24px;

    font-weight: 800;

    line-height: 1.5;
}

.top-10-section .heading h2 span {
    color: #fff;
}


/* =========================================
   منطقة السحب
========================================= */

.slider-top-videos {

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    cursor: grab;

    user-select: none;

    -webkit-user-select: none;

    scrollbar-width: none;

    -ms-overflow-style: none;

    direction: ltr;

    padding: 0 35px;

    box-sizing: border-box;
}


.slider-top-videos::-webkit-scrollbar {
    display: none;
}


/* أثناء السحب */

.slider-top-videos.dragging {
    cursor: grabbing;
}


/* =========================================
   Track
========================================= */

.top10-track {

    display: flex;

    flex-direction: row;

    gap: 10px;

    width: max-content;

    min-width: 100%;

    direction: ltr;

    padding: 2px 0 10px;

    box-sizing: border-box;
}


/* =========================================
   الكارت
========================================= */

.top10-item {

    position: relative;

    flex: 0 0 245px;

    width: 245px;

}


/* =========================================
   Card
========================================= */

.top10-card {

    position: relative;

    width: 100%;

    height: 440px;

    overflow: hidden;

    border-radius: 10px;

    background: #182630;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


/* Hover */

.top10-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, .35);

}


/* =========================================
   الصورة
========================================= */

.top10-link {

    display: block;

    width: 100%;

    height: 100%;

}


.top10-card img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    pointer-events: none;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform .45s ease;

}


.top10-card:hover img {

    transform: scale(1.04);

}


/* =========================================
   Gradient
========================================= */

.top10-card::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 45%;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(7, 14, 21, .96),
            rgba(7, 14, 21, .35),
            transparent
        );

}


/* =========================================
   رقم TOP
========================================= */

.top10-number {

    position: absolute;

    top: 5px;

    left: 9px;

    z-index: 5;

    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 48px;

    font-weight: 900;

    line-height: 1;

    letter-spacing: -2px;

    text-shadow:
        0 2px 7px rgba(0, 0, 0, .55);

}


/* =========================================
   معلومات الفيلم
========================================= */

.top10-info {

    position: absolute;

    right: 12px;

    left: 12px;

    bottom: 11px;

    z-index: 6;

    direction: rtl;

    text-align: right;

}


.top10-info h3 {

    margin: 0 0 4px;

    color: #fff;

    font-family: Cairo, Arial, sans-serif;

    font-size: 13px;

    font-weight: 800;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.top10-info span {

    color: rgba(255, 255, 255, .78);

    font-family: Cairo, Arial, sans-serif;

    font-size: 10px;

    font-weight: 600;

}


/* =========================================
   Responsive
========================================= */

@media (max-width: 1400px) {

    .top10-item {

        flex-basis: 225px;

        width: 225px;

    }

    .top10-card {

        height: 410px;

    }

}


@media (max-width: 1100px) {

    .slider-top-videos {

        padding: 0 25px;

    }

    .top-10-section .heading {

        padding: 0 25px;

    }

    .top10-item {

        flex-basis: 210px;

        width: 210px;

    }

    .top10-card {

        height: 390px;

    }

    .top10-number {

        font-size: 43px;

    }

}


@media (max-width: 800px) {

    .top-10-section {

        padding-top: 25px;

    }

    .top-10-section .heading {

        padding: 0 15px;

        margin-bottom: 14px;

    }

    .top-10-section .heading h2 {

        font-size: 20px;

    }

    .slider-top-videos {

        padding: 0 15px;

    }

    .top10-item {

        flex-basis: 190px;

        width: 190px;

    }

    .top10-card {

        height: 350px;

        border-radius: 9px;

    }

    .top10-number {

        top: 5px;

        left: 7px;

        font-size: 40px;

    }

    .top10-info {

        right: 9px;

        left: 9px;

        bottom: 9px;

    }

    .top10-info h3 {

        font-size: 11px;

    }

    .top10-info span {

        font-size: 9px;

    }

}


@media (max-width: 500px) {

    .top-10-section .heading h2 {

        font-size: 17px;

    }

    .slider-top-videos {

        padding: 0 10px;

    }

    .top10-track {

        gap: 8px;

    }

    .top10-item {

        flex-basis: 165px;

        width: 165px;

    }

    .top10-card {

        height: 285px;

        border-radius: 8px;

    }

    .top10-number {

        font-size: 36px;

    }

}

/* =========================================================
   MOVIE SECTION
========================================================= */

.movie-section {

    position: relative;

    width: 100%;

    padding: 24px 0 18px;

    box-sizing: border-box;

    direction: rtl;

}


/* =========================================================
   HEADING
========================================================= */

.movie-section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 30px;

    margin-bottom: 14px;

}


.movie-section-heading h2 {

    margin: 0;

    padding: 0;

    color: #fff;

    font-family: Cairo, Arial, sans-serif;

    font-size: 20px;

    font-weight: 800;

}


.movie-view-all {

    display: flex;

    align-items: center;

    gap: 6px;

    color: rgba(255,255,255,.68);

    text-decoration: none;

    font-family: Cairo, Arial, sans-serif;

    font-size: 11px;

    font-weight: 700;

}


.movie-view-all:hover {

    color: #fff;

}


/* =========================================================
   WRAPPER
========================================================= */

.movie-slider-wrapper {

    position: relative;

    width: 100%;

    overflow: visible;

}


/* =========================================================
   SLIDER
========================================================= */

.movie-slider {

    position: relative;

    width: 100%;

    overflow-x: auto;

    overflow-y: visible;

    scrollbar-width: none;

    -ms-overflow-style: none;

    cursor: grab;

    user-select: none;

    -webkit-user-select: none;

    scroll-behavior: smooth;

}


.movie-slider::-webkit-scrollbar {

    display: none;

}


.movie-slider.dragging {

    cursor: grabbing;

    scroll-behavior: auto;

}


/* =========================================================
   TRACK
========================================================= */

.movie-slider-track {

    display: flex;

    align-items: stretch;

    gap: 10px;

    width: max-content;

    min-width: 100%;

    padding: 3px 30px 35px;

    box-sizing: border-box;

    direction: ltr;

}


/* =========================================================
   CARD
========================================================= */

.movie-slide {

    position: relative;

    flex: 0 0 245px;

    width: 245px;

    height: 138px;

    border-radius: 9px;

}


/* =========================================================
   CARD LINK
========================================================= */

.movie-slide-link {

    position: relative;

    display: block;

    width: 100%;

    height: 100%;

    overflow: hidden;

    border-radius: 9px;

    background: #17232c;

    text-decoration: none;

}


/* =========================================================
   IMAGE
========================================================= */

.movie-slide-link img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    pointer-events: none;

    user-select: none;

    -webkit-user-drag: none;

    transition:

        transform .3s ease,

        filter .3s ease;

}


.movie-slide:hover
.movie-slide-link img {

    transform: scale(1.035);

    filter: brightness(1.06);

}


/* =========================================================
   ARROWS
========================================================= */

/* =========================================
   الأسهم - بدون أي مكتبة
========================================= */

.movie-slider-arrow {

    position: absolute;

    top: 0;
    bottom: 35px;

    width: 58px;

    padding: 0;
    margin: 0;

    border: 0;

    background: transparent;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 1000;

    cursor: pointer;

    outline: none;

}


/* =========================================
   السهم اليمين
========================================= */

.movie-arrow-right {

    right: 0;

    background:
        linear-gradient(
            to left,
            rgba(18,25,33,.95),
            rgba(18,25,33,.45),
            transparent
        );

}


/* =========================================
   السهم الشمال
========================================= */

.movie-arrow-left {

    left: 0;

    background:
        linear-gradient(
            to right,
            rgba(18,25,33,.95),
            rgba(18,25,33,.45),
            transparent
        );

}


/* =========================================
   رسم السهم بنفسنا
========================================= */

.arrow-icon {

    width: 13px;

    height: 13px;

    display: block;

    border-top: 2px solid #fff;

    border-right: 2px solid #fff;

    filter:
        drop-shadow(0 1px 3px rgba(0,0,0,.8));

    transition:
        transform .2s ease,
        opacity .2s ease;

}


/* السهم لليمين */

.arrow-right {

    transform: rotate(45deg);

}


/* السهم للشمال */

.arrow-left {

    transform: rotate(-135deg);

}


/* =========================================
   Hover
========================================= */

.movie-arrow-right:hover
.arrow-right {

    transform:
        rotate(45deg)
        translate(-2px, -2px);

}


.movie-arrow-left:hover
.arrow-left {

    transform:
        rotate(-135deg)
        translate(-2px, -2px);

}


/* =========================================
   Disabled
========================================= */

.movie-slider-arrow.disabled {

    opacity: .35;

}


/* =========================================
   الموبايل
========================================= */

@media (max-width: 768px) {

    .movie-slider-arrow {

        width: 40px;

    }

    .arrow-icon {

        width: 11px;

        height: 11px;

    }

}
/* =========================================================
   RIGHT
========================================================= */

.movie-arrow-right {

    right: 0;

    background:

        linear-gradient(

            90deg,

            rgba(20,27,35,0),

            rgba(20,27,35,.55) 45%,

            rgba(20,27,35,.95)

        );

}


/* =========================================================
   LEFT
========================================================= */

.movie-arrow-left {

    left: 0;

    background:

        linear-gradient(

            270deg,

            rgba(20,27,35,0),

            rgba(20,27,35,.55) 45%,

            rgba(20,27,35,.95)

        );

}


/* =========================================================
   ARROW ICON
========================================================= */

.movie-slider-arrow i {

    font-size: 27px;

    font-weight: 300;

    color: #fff;

    line-height: 1;

    text-shadow:

        0 1px 6px rgba(0,0,0,.8);

    transition:

        transform .15s ease;

}


.movie-arrow-right:hover i {

    transform: translateX(3px);

}


.movie-arrow-left:hover i {

    transform: translateX(-3px);

}


/* =========================================================
   DISABLED
========================================================= */

.movie-slider-arrow.disabled {

    opacity: .45;

    pointer-events: auto;

}


/* =========================================================
   PREVIEW
========================================================= */

.movie-preview {

    position: fixed;

    z-index: 999999;

    width: 315px;

    max-width: calc(100vw - 20px);

    background: #17232c;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 11px;

    overflow: hidden;

    box-shadow:

        0 20px 65px rgba(0,0,0,.65),

        0 5px 20px rgba(0,0,0,.3);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:

        translateY(8px)

        scale(.97);

    transition:

        opacity .16s ease,

        transform .16s ease,

        visibility .16s ease;

}


.movie-preview.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:

        translateY(0)

        scale(1);

}


/* =========================================================
   PREVIEW IMAGE
========================================================= */

.movie-preview-image {

    position: relative;

    width: 100%;

    height: 155px;

    overflow: hidden;

}


.movie-preview-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.movie-preview-gradient {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            to top,

            #17232c 0%,

            rgba(23,35,44,.45) 32%,

            transparent 72%

        );

}


/* =========================================================
   PREVIEW BODY
========================================================= */

.movie-preview-body {

    position: relative;

    padding: 0 13px 13px;

}


/* =========================================================
   TITLE
========================================================= */

.movie-preview-title-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

}


.movie-preview-title-row h3 {

    flex: 1;

    min-width: 0;

    margin: 0;

    color: #fff;

    font-family: Cairo, Arial, sans-serif;

    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   AVAILABLE
========================================================= */

.preview-available {

    display: flex;

    align-items: center;

    gap: 5px;

    flex-shrink: 0;

    color: #fff;

    font-family: Cairo, Arial, sans-serif;

    font-size: 8px;

    font-weight: 700;

}


.preview-available i {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #18a8ff;

    box-shadow:

        0 0 7px rgba(24,168,255,.7);

}


/* =========================================================
   META
========================================================= */

.movie-preview-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px;

    margin-top: 6px;

    color: rgba(255,255,255,.65);

    font-family: Cairo, Arial, sans-serif;

    font-size: 9px;

}


.movie-preview-meta span {

    white-space: nowrap;

}


.movie-preview-meta span:not(:last-child)::after {

    content: "•";

    margin-right: 5px;

    color: rgba(255,255,255,.3);

}


/* =========================================================
   DESCRIPTION
========================================================= */

.movie-preview-description {

    margin-top: 8px;

    color: rgba(255,255,255,.72);

    font-family: Cairo, Arial, sans-serif;

    font-size: 9px;

    line-height: 1.7;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* =========================================================
   ACTIONS
========================================================= */

.movie-preview-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 11px;

}


/* =========================================================
   WATCH BUTTON
========================================================= */

.preview-watch {

    flex: 1;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 7px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-family: Cairo, Arial, sans-serif;

    font-size: 10px;

    font-weight: 800;

    transition: .2s ease;

}


.preview-watch:hover {

    background: #e9e9e9;

}


/* =========================================================
   ACTION BUTTON
========================================================= */

.preview-action {

    flex: 0 0 34px;

    width: 34px;

    height: 34px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.13);

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    cursor: pointer;

    font-size: 15px;

    transition:

        background .2s ease,

        transform .2s ease;

}


.preview-action:hover {

    background: rgba(255,255,255,.18);

    transform: scale(1.05);

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .movie-section {

        padding-top: 18px;

    }


    .movie-section-heading {

        padding: 0 15px;

        margin-bottom: 10px;

    }


    .movie-section-heading h2 {

        font-size: 16px;

    }


    .movie-view-all {

        font-size: 10px;

    }


    .movie-slider-track {

        gap: 8px;

        padding:

            3px

            15px

            25px;

    }


    .movie-slide {

        flex-basis: 180px;

        width: 180px;

        height: 105px;

    }


    .movie-slider-arrow {

        width: 35px;

        top: 3px;

        bottom: 25px;

    }


    .movie-slider-arrow i {

        font-size: 22px;

    }


    /*
     * على الموبايل نخفي Preview
     * لأن الضغط والسحب أهم
     */

    .movie-preview {

        display: none !important;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .movie-slide {

        flex-basis: 165px;

        width: 165px;

        height: 96px;

    }

}

.movie-slide-title {
    margin-top: 7px;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.5;

    text-align: right;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================
   PREVIEW ACTIONS
========================================= */

.movie-preview-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
}


/* =========================================
   الأزرار الدائرية
========================================= */

.preview-action {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.preview-action:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-2px);
}


/* =========================================
   +
========================================= */

.preview-action:first-of-type {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}


/* =========================================
   HEART
========================================= */

.icon-heart {
    position: relative;

    width: 14px;
    height: 14px;

    display: block;

    transform: rotate(-45deg);

    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.icon-heart::before,
.icon-heart::after {
    content: "";

    position: absolute;

    width: 14px;
    height: 14px;

    border: 2px solid #fff;

    box-sizing: border-box;
}

.icon-heart::before {
    left: 0;
    top: -7px;

    border-bottom: 0;
    border-radius: 50% 50% 0 0;
}

.icon-heart::after {
    left: 7px;
    top: 0;

    border-left: 0;
    border-radius: 0 50% 50% 0;
}


/* =========================================
   SHARE
========================================= */

.icon-share {
    position: relative;

    width: 16px;
    height: 16px;

    display: block;
}


/* الخطوط */

.icon-share::before {
    content: "";

    position: absolute;

    width: 10px;
    height: 8px;

    top: 3px;
    left: 2px;

    border-top: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;

    transform: rotate(-30deg);
}


/* سهم المشاركة */

.icon-share::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 0;
    right: 0;

    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;

    transform: rotate(45deg);
}


/* =========================================
   مشاهدة الآن
========================================= */

.preview-watch {
    flex: 1;

    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 8px;

    background: #fff;
    color: #111;

    text-decoration: none;

    font-family: Cairo, sans-serif;
    font-size: 10px;
    font-weight: 800;
}

.preview-watch:hover {
    background: #ededed;
}

/* =========================================
   SFU LOGO
   نفس توزيع MBC تقريبًا
========================================= */

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 105px;
    height: 48px;

    text-decoration: none;

    direction: ltr;
}


.sfu-logo {
    display: inline-flex;

    align-items: center;

    height: 34px;

    white-space: nowrap;
}


/* =========================================
   SFU
========================================= */

.sfu-text {
    display: block;

    color: #fff;

    font-family:
        Arial Black,
        Arial,
        sans-serif;

    font-size: 20px;

    font-weight: 900;

    letter-spacing: -1.5px;

    line-height: 1;
}


/* =========================================
   sfu
========================================= */

.sfu-mark {
    position: relative;

    display: block;

    width: 42px;
    height: 31px;

    margin-left: 5px;
}


/* =========================================
   3 DOTS
========================================= */

.sfu-dots {
    position: absolute;

    top: 0;
    right: 0;

    display: flex;

    align-items: center;

    gap: 3px;
}


.sfu-dots i {
    display: block;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #00b8e6;
}


/* =========================================
   sh
========================================= */

.sfu-line {
    position: absolute;

    right: 0;
    bottom: 4px;

    width: 37px;
    height: 5px;

    background: #fff;

    border-radius: 1px;
}


/* =========================================
   ضبط حجم الهيدر
========================================= */

@media (max-width: 900px) {

    .logo {
        width: 92px;
        height: 42px;
    }

    .sfu-text {
        font-size: 18px;
    }

    .sfu-mark {
        width: 37px;
        height: 28px;

        margin-left: 4px;
    }

    .sfu-dots {
        gap: 3px;
    }

    .sfu-dots i {
        width: 5px;
        height: 5px;
    }

    .sfu-line {
        width: 32px;
        height: 4px;
    }

}




/* =========================================================
   SINGLE HERO / MOVIE HEADER
   ========================================================= */

.content-area {
    position: relative;
    width: 100%;
    min-height: 620px;

    overflow: hidden;

    background-color: #151b24;

    /* الصورة الموجودة في style="background-image" */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    isolation: isolate;
}

/* =========================================================
   SINGLE PAGE - PROFESSIONAL LAYOUT
   ========================================================= */

/* الحاوية الرئيسية */
.content-area {
    position: relative;
    width: 100%;
    min-height: 620px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* طبقة غامقة فوق الخلفية */
.content-area::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(10,15,22,.20) 0%,
            rgba(10,15,22,.55) 55%,
            rgba(10,15,22,.94) 100%
        ),
        linear-gradient(
            0deg,
            #151b24 0%,
            rgba(21,27,36,.78) 15%,
            rgba(21,27,36,.15) 55%,
            rgba(21,27,36,.30) 100%
        );
}


/* =========================================================
   VIDEO CONTENT
   ========================================================= */

.video-content-holder {
    position: relative !important;
    z-index: 5 !important;

    width: 100% !important;
    min-height: 620px !important;

    display: block !important;

    align-items: unset !important;
    justify-content: unset !important;
}


.video-content-holder > .row {
    width: 100%;
    margin: 0;
}


.video-content-holder .col-12 {
    width: 100%;
    padding: 0;
}


.video-inner {
    position: relative;

    width: 100%;
    min-height: 620px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


/* =========================================================
   MOVIE INFO - ناحية اليمين
   ========================================================= */

.movie-info {
    position: relative;
    z-index: 5;

    width: 94%;
    max-widthss: 760px;

    margin-right: auto;
    margin-left: 5%;

    padding-top: 40px;

    text-align: right;
}


/* العنوان */
.video-title {
    margin: 0 0 20px;

    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.25;

    font-weight: 800;

    color: #fff;
}


.video-title a {
    color: #fff;
    text-decoration: none;
}


/* الوصف */
.video-description {
    color: rgba(255,255,255,.78);

    font-size: 14px;
    line-height: 2;

    max-width: 700px;
}


/* التصنيف */
.video-cat {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 15px;
}


.video-cat a,
.cat-item {
    color: #fff;
    text-decoration: none;

    font-size: 12px;

    opacity: .85;
}


.cat-label {
    color: #fff;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   WATCH BUTTON - يمين
   ========================================================= */

.video-play {
    position: relative;
    z-index: 10;

    width: 94%;

    margin-right: auto;
    margin-left: 5%;

    margin-top: 150px;

    display: flex !important;

    align-items: center;
    justify-content: flex-start;

    gap: 10px;

}


/* زر المشاهدة */
.video-play .btn-main {
    height: 54px;

    min-width: 220px;

    padding: 0 30px;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 14px;

    background: #fff;

    color: #111;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.video-play .btn-main:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.30);
}


/* زر + */
.video-play .btn-right {
    width: 54px !important;
    height: 54px !important;

    flex: 0 0 54px;

    margin: 0 !important;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    border: 1px solid rgba(255,255,255,.20);

    background: rgba(255,255,255,.10);

    color: #fff;

    cursor: pointer;

    backdrop-filter: blur(10px);

    transition:
        background .2s ease,
        transform .2s ease;
}


.video-play .btn-right:hover {
    background: rgba(255,255,255,.20);

    transform: translateY(-2px);
}


.video-play .btn-right i {
    font-size: 20px;
}


/* =========================================================
   SHARE - أقصى الشمال
   ========================================================= */

.tool {
    position: absolute !important;

    left: 5% !important;
    right: auto !important;

    bottom: 35px !important;

    z-index: 20 !important;

    width: auto !important;

    margin: 0 !important;

    padding: 0 !important;

    display: block !important;
}


/* إلغاء تقسيم tool القديم */
.tool-right {
    display: none !important;
}


.tool-left {
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* المشاركة */
.share {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;
}


.post-share-inner {
    display: flex !important;

    align-items: center;

    justify-content: flex-start;

    gap: 10px;

    direction: ltr;
}


/* كلمة شارك */
.post-share-inner > span {
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    margin-right: 5px;

    direction: rtl;
}


/* أيقونات المشاركة */
.post-share-inner > a {
    width: 42px;
    height: 42px;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.15);

    background: rgba(255,255,255,.08);

    color: #fff;

    text-decoration: none;

    backdrop-filter: blur(10px);

    transition:
        background .2s ease,
        transform .2s ease,
        border-color .2s ease;
}


.post-share-inner > a:hover {
    background: rgba(255,255,255,.18);

    border-color: rgba(255,255,255,.30);

    transform: translateY(-3px);
}


.post-share-inner > a i {
    font-size: 16px;

    line-height: 1;
}


/* =========================================================
   TABS
   ========================================================= */

.content {
    position: relative;

    z-index: 10;

    width: 100%;

    background: #151b24;
}


.tabs {
    position: relative;

    width: 100%;

    background: #151b24;
}


/* شريط التابات */
.nav-tabs {
    width: 100%;

    min-height: 75px;

    margin: 0;
    padding: 0 5%;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    gap: 40px;

    list-style: none;

    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);

    background: #151b24;
}


/* كل تاب */
.nav-tabs li {
    margin: 0;
    padding: 0;
}


/* رابط التاب */
.nav-tabs li a {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    height: 75px;

    color: rgba(255,255,255,.55);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: color .2s ease;
}


/* الخط تحت التاب */
.nav-tabs li a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #fff;

    transition: width .25s ease;
}


.nav-tabs li a:hover,
.nav-tabs li a.active {
    color: #fff;
}


.nav-tabs li a.active::after {
    width: 100%;
}


/* محتوى التابات */
.tabs-content {
    width: 100%;

    background: #151b24;
}


.tab-pane {
    width: 100%;

    padding: 35px 5%;
}


/* =========================================================
   MOVIE DETAILS
   ========================================================= */

.movie-detail {
    width: 100%;
    max-width: 1000px;
}


.detail-title {
    margin: 0 0 20px;

    color: #fff;

    font-size: 28px;
    font-weight: 800;
}


.detail-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 20px;

    color: rgba(255,255,255,.65);

    font-size: 13px;
}


.detail-genres {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;
}


.detail-genres a {
    padding: 7px 12px;

    border-radius: 8px;

    background: rgba(255,255,255,.07);

    color: #fff;

    font-size: 11px;

    text-decoration: none;
}


.detail-story {
    color: rgba(255,255,255,.70);

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   EPISODES
   ========================================================= */

.episodes__section {
    width: 100%;
}


.episodes__list {
    width: 100%;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .content-area {
        min-height: 580px;
    }

    .video-content-holder {
        min-height: 580px !important;
    }

    .video-inner {
        min-height: 580px;
    }

    .movie-info {
        width: 90%;

        margin-right: auto;
        margin-left: auto;

        padding-top: 30px;

        text-align: right;
    }

    .video-title {
        font-size: 30px;
    }

    .video-description {
        font-size: 12px;

        line-height: 1.8;
    }

    .video-play {
        width: 90%;

        margin-right: auto;
        margin-left: auto;

        margin-top: 25px;

        justify-content: flex-start;
    }

    .video-play .btn-main {
        min-width: 180px;

        height: 50px;
    }

    .video-play .btn-right {
        width: 50px !important;
        height: 50px !important;
        flex-basis: 50px;
    }

    .tool {
        position: absolute !important;

        left: 5% !important;
        right: auto !important;

        bottom: 25px !important;
    }

    .post-share-inner {
        gap: 7px;
    }

    .post-share-inner > a {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .post-share-inner > a i {
        font-size: 14px;
    }

    .post-share-inner > span {
        font-size: 11px;
    }

    .nav-tabs {
        padding: 0 20px;

        gap: 25px;

        overflow-x: auto;

        justify-content: flex-start;

        scrollbar-width: none;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tabs li a {
        height: 65px;

        white-space: nowrap;

        font-size: 12px;
    }

    .tab-pane {
        padding: 25px 20px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 550px) {

    .content-area {
        min-height: 560px;
    }

    .video-content-holder,
    .video-inner {
        min-height: 560px !important;
    }

    .video-title {
        font-size: 25px;
    }

    .video-description {
        display: -webkit-box;

        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;

        overflow: hidden;
    }

    .video-play {
        gap: 8px;
    }

    .video-play .btn-main {
        min-width: 160px;

        padding: 0 20px;

        font-size: 12px;
    }

    .tool {
        left: 20px !important;

        bottom: 20px !important;
    }

    .post-share-inner > a {
        width: 35px;
        height: 35px;

        flex-basis: 35px;
    }

    .post-share-inner > span {
        display: none;
    }

}








/* =========================================================
   RELATED SECTION
========================================================= */

.related-section {

    width: 100%;

    direction: rtl;

    padding: 5px 0 35px;

}


/* =========================================================
   GRID
========================================================= */

.related-grid {

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 24px 10px;

    width: 100%;

}


/* =========================================================
   CARD
========================================================= */

.related-card {

    position: relative;

    min-width: 0;

}


/* =========================================================
   POSTER LINK
========================================================= */

.related-card-link {

    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 9px;

    background: #1c2730;

    text-decoration: none;

}


/* =========================================================
   POSTER IMAGE
========================================================= */

.related-card-link img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    pointer-events: none;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform .35s ease,
        filter .35s ease;

}


/* Hover */

.related-card:hover
.related-card-link img {

    transform: scale(1.035);

    filter: brightness(1.07);

}


/* =========================================================
   TOP BADGE
========================================================= */

.related-top-badge {

    position: absolute;

    top: 7px;

    left: 7px;

    z-index: 5;

    min-width: 34px;

    padding: 4px 6px;

    border-radius: 7px;

    background: #e90072;

    color: #fff;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 800;

    line-height: 1;

}


.related-top-badge b {

    display: block;

    margin-top: 2px;

    font-size: 12px;

}


/* =========================================================
   TITLE
========================================================= */

.related-card-title {

    margin-top: 8px;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 11px;

    font-weight: 800;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   STATUS
========================================================= */

.related-card-status {

    margin-top: 3px;

    color: rgba(255,255,255,.60);

    font-family: Cairo, sans-serif;

    font-size: 9px;

    line-height: 1.4;

}


/* =========================================================
   HIDDEN META
========================================================= */

.related-meta-data {

    display: none;

}


/* =========================================================
   EMPTY
========================================================= */

.related-empty {

    padding: 50px 20px;

    text-align: center;

    color: rgba(255,255,255,.45);

    font-family: Cairo, sans-serif;

    font-size: 13px;

}


/* =========================================================
   GLOBAL PREVIEW
========================================================= */

.related-preview {

    position: fixed;

    z-index: 999999;

    width: 310px;

    max-width: calc(100vw - 20px);

    background: #18232c;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 20px 65px rgba(0,0,0,.65),
        0 5px 20px rgba(0,0,0,.25);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(10px)
        scale(.98);

    transition:
        opacity .16s ease,
        transform .16s ease,
        visibility .16s ease;

}


/* ظاهر */

.related-preview.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);

}


/* =========================================================
   PREVIEW IMAGE
========================================================= */

.related-preview-image {

    position: relative;

    width: 100%;

    height: 155px;

    overflow: hidden;

}


.related-preview-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


.related-preview-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            #18232c 0%,
            rgba(24,35,44,.45) 35%,
            transparent 75%
        );

}


/* =========================================================
   PREVIEW BODY
========================================================= */

.related-preview-body {

    padding: 0 13px 13px;

    direction: rtl;

}


/* =========================================================
   TITLE
========================================================= */

.related-preview-title {

    margin: 0;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   AVAILABLE
========================================================= */

.related-preview-status {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 5px;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 9px;

    font-weight: 700;

}


.related-preview-status i {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #00d66f;

    box-shadow:
        0 0 8px rgba(0,214,111,.35);

}


/* =========================================================
   META
========================================================= */

.related-preview-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 5px;

    margin-top: 7px;

    color: rgba(255,255,255,.63);

    font-family: Cairo, sans-serif;

    font-size: 9px;

}


.related-preview-meta span {

    white-space: nowrap;

}


.related-preview-meta span:not(:last-child)::after {

    content: "•";

    margin-right: 5px;

    color: rgba(255,255,255,.3);

}


/* =========================================================
   STORY
========================================================= */

.related-preview-story {

    margin-top: 8px;

    color: rgba(255,255,255,.70);

    font-family: Cairo, sans-serif;

    font-size: 9px;

    line-height: 1.7;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* =========================================================
   BUTTONS
========================================================= */

.related-preview-actions {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 11px;

}


/* مشاهدة */

.related-preview-watch {

    flex: 1;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 8px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-family: Cairo, sans-serif;

    font-size: 10px;

    font-weight: 800;

}


/* أزرار صغيرة */

.related-preview-action {

    width: 35px;

    height: 35px;

    padding: 0;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.08);

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 16px;

    transition:
        background .2s ease,
        transform .2s ease;

}


.related-preview-action:hover {

    background: rgba(255,255,255,.18);

    transform: translateY(-2px);

}


/* =========================================================
   RELATED GRID
========================================================= */

.related-grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 24px 12px;

    width: 100%;
}


/* =========================================
   الشاشات المتوسطة
========================================= */

@media (max-width: 1100px) {

    .related-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


/* =========================================
   تابلت
========================================= */

@media (max-width: 850px) {

    .related-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px 9px;
    }

}


/* =========================================
   موبايل
========================================= */

@media (max-width: 600px) {

    .related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px 8px;
    }

}




/* =========================================================
   ARCHIVE PAGE
========================================================= */

.archive-page {

    width: 100%;

    background: #151b24;

    color: #fff;

    direction: rtl;

}


/* =========================================================
   HEADER
========================================================= */

.archive-header {

    width: 100%;

    padding: 35px 0 25px;

}


/* =========================================================
   TITLE
========================================================= */

.archive-heading {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;

}


.archive-title-line {

    width: 4px;

    height: 42px;

    border-radius: 8px;

    background: #fff;

    flex: 0 0 auto;

}


.archive-title-content {

    min-width: 0;

}


.archive-title-content h1 {

    margin: 0;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 27px;

    font-weight: 900;

    line-height: 1.3;

}


.archive-title-content p {

    margin: 7px 0 0;

    max-width: 850px;

    color: rgba(255,255,255,.58);

    font-family: Cairo, sans-serif;

    font-size: 11px;

    line-height: 1.8;

}


/* =========================================================
   FILTERS
========================================================= */

.archive-filters {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}


.archive-filter {

    position: relative;

    width: 155px;

    height: 42px;

}


.archive-filter select {

    appearance: none;

    -webkit-appearance: none;

    width: 100%;

    height: 42px;

    padding: 0 14px 0 38px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 10px;

    outline: none;

    background: rgba(255,255,255,.055);

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

}


.archive-filter select:hover {

    background: rgba(255,255,255,.09);

    border-color: rgba(255,255,255,.20);

}


.archive-filter select option {

    background: #18232c;

    color: #fff;

}


.filter-arrow {

    position: absolute;

    left: 14px;

    top: 50%;

    width: 8px;

    height: 8px;

    border-right: 1.5px solid #fff;

    border-bottom: 1.5px solid #fff;

    transform:
        translateY(-70%)
        rotate(45deg);

    pointer-events: none;

}


/* =========================================================
   CONTENT
========================================================= */

.archive-content {

    width: 100%;

}


/* =========================================================
   GRID — 5 COLUMNS
========================================================= */

.archive-grid {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 25px 12px;

    width: 100%;

}


/* =========================================================
   CARD
========================================================= */

.archive-card {

    position: relative;

    min-width: 0;

}


/* =========================================================
   IMAGE
========================================================= */

.archive-card-link {

    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 9px;

    background: #1d2932;

    text-decoration: none;

}


.archive-card-link img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    pointer-events: none;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform .3s ease,
        filter .3s ease;

}


.archive-card:hover
.archive-card-link img {

    transform: scale(1.035);

    filter: brightness(1.06);

}


/* =========================================================
   TOP
========================================================= */

.archive-top-badge {

    position: absolute;

    top: 7px;

    left: 7px;

    z-index: 3;

    min-width: 34px;

    padding: 4px 6px;

    border-radius: 7px;

    background: #e90072;

    color: #fff;

    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 800;

    line-height: 1;

}


.archive-top-badge b {

    display: block;

    margin-top: 2px;

    font-size: 12px;

}


/* =========================================================
   TITLE
========================================================= */

.archive-card-title {

    margin-top: 8px;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 11px;

    font-weight: 800;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   STATUS
========================================================= */

.archive-card-status {

    margin-top: 2px;

    color: rgba(255,255,255,.58);

    font-family: Cairo, sans-serif;

    font-size: 9px;

    line-height: 1.4;

}


/* =========================================================
   PREVIEW
========================================================= */

.archive-preview {

    position: fixed;

    z-index: 999999;

    width: 315px;

    max-width: calc(100vw - 20px);

    background: #18232c;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 20px 65px rgba(0,0,0,.65),
        0 5px 20px rgba(0,0,0,.25);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(9px)
        scale(.98);

    transition:
        opacity .16s ease,
        transform .16s ease,
        visibility .16s ease;

}


.archive-preview.show {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);

}


/* =========================================================
   PREVIEW IMAGE
========================================================= */

.archive-preview-image {

    position: relative;

    width: 100%;

    height: 160px;

    overflow: hidden;

}


.archive-preview-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


.archive-preview-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            #18232c 0%,
            rgba(24,35,44,.45) 35%,
            transparent 75%
        );

}


/* =========================================================
   PREVIEW BODY
========================================================= */

.archive-preview-body {

    padding: 0 13px 13px;

    direction: rtl;

}


/* =========================================================
   TITLE
========================================================= */

.archive-preview-title {

    margin: 0;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 14px;

    font-weight: 900;

    line-height: 1.5;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


/* =========================================================
   STATUS
========================================================= */

.archive-preview-status {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 5px;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 9px;

    font-weight: 700;

}


.archive-preview-status i {

    width: 8px;

    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #00d66f;

    box-shadow:
        0 0 8px rgba(0,214,111,.35);

}


/* =========================================================
   META
========================================================= */

.archive-preview-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 5px;

    margin-top: 7px;

    color: rgba(255,255,255,.62);

    font-family: Cairo, sans-serif;

    font-size: 9px;

}


.archive-preview-meta span {

    white-space: nowrap;

}


.archive-preview-meta span:not(:last-child)::after {

    content: "•";

    margin-right: 5px;

    color: rgba(255,255,255,.3);

}


/* =========================================================
   STORY
========================================================= */

.archive-preview-story {

    margin-top: 8px;

    color: rgba(255,255,255,.70);

    font-family: Cairo, sans-serif;

    font-size: 9px;

    line-height: 1.75;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* =========================================================
   ACTIONS
========================================================= */

.archive-preview-actions {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 11px;

}


/* مشاهدة */

.archive-preview-watch {

    flex: 1;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border-radius: 8px;

    background: #fff;

    color: #111;

    text-decoration: none;

    font-family: Cairo, sans-serif;

    font-size: 10px;

    font-weight: 900;

}


.archive-preview-watch b {

    font-size: 9px;

}


/* أزرار */

.archive-preview-action {

    width: 35px;

    height: 35px;

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 16px;

    cursor: pointer;

}


.archive-preview-action:hover {

    background: rgba(255,255,255,.18);

}


/* =========================================================
   PAGINATION
========================================================= */

.archive-pagination {

    display: flex;

    justify-content: center;

    margin: 40px 0 30px;

}


.archive-pagination ul {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin: 0;

    padding: 0;

    list-style: none;

}


.archive-pagination li {

    margin: 0;

    padding: 0;

}


.archive-pagination a,
.archive-pagination span {

    min-width: 38px;

    height: 38px;

    padding: 0 9px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 8px;

    background: rgba(255,255,255,.05);

    color: rgba(255,255,255,.75);

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 12px;

    box-sizing: border-box;

}


.archive-pagination a:hover {

    background: rgba(255,255,255,.12);

    color: #fff;

}


.archive-pagination span.current {

    background: #fff;

    border-color: #fff;

    color: #111;

}


/* =========================================================
   EMPTY
========================================================= */

.archive-empty {

    width: 100%;

    padding: 90px 20px;

    text-align: center;

    color: rgba(255,255,255,.45);

    font-family: Cairo, sans-serif;

    font-size: 14px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .archive-grid {

        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        gap: 22px 10px;

    }

}


@media (max-width: 1000px) {

    .archive-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

    }

}


@media (max-width: 750px) {

    .archive-header {

        padding: 25px 15px 20px;

    }


    .archive-heading {

        align-items: flex-start;

    }


    .archive-title-content h1 {

        font-size: 22px;

    }


    .archive-filters {

        gap: 8px;

    }


    .archive-filter {

        width: calc(50% - 4px);

    }


    .archive-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 18px 8px;

    }


    .archive-preview {

        display: none !important;

    }

}


@media (max-width: 500px) {

    .archive-title-line {

        width: 3px;

        height: 34px;

    }


    .archive-title-content h1 {

        font-size: 19px;

    }


    .archive-title-content p {

        font-size: 9px;

    }


    .archive-filter {

        width: 100%;

    }


    .archive-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px 8px;

    }


    .archive-card-title {

        font-size: 10px;

    }


    .archive-card-status {

        font-size: 8px;

    }

}

/* =========================================
   ARCHIVE CONTENT SPACING
========================================= */

.archive-page .containers {
    width: 100%;
    max-width: 1400px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 28px;
    padding-right: 28px;

    box-sizing: border-box;
}


/* المحتوى نفسه */
.archive-content {
    width: 100%;
}


/* الفلاتر والعنوان */
.archive-header {
    width: 100%;
}


/* =========================================
   الشاشات الكبيرة
========================================= */

@media (min-width: 1400px) {

    .archive-page .containers {
        padding-left: 40px;
        padding-right: 40px;
    }

}


/* =========================================
   لابتوب
========================================= */

@media (max-width: 1200px) {

    .archive-page .containers {
        padding-left: 22px;
        padding-right: 22px;
    }

}


/* =========================================
   موبايل
========================================= */

@media (max-width: 600px) {

    .archive-page .containers {
        padding-left: 15px;
        padding-right: 15px;
    }

}



/* =========================================
   HEADER SVG ICONS
========================================= */

.icon-action {

    width: 40px;
    height: 40px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.10);

    color: #fff;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        border-color .2s ease;
}


.icon-action:hover {

    background: rgba(255,255,255,.18);

    transform: translateY(-1px);

}


/* SVG */

.header-icon {

    width: 21px;
    height: 21px;

    display: block;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* + */

.header-icon .icon-plus {

    stroke-width: 1.9;
}


/* اشتراك */

.actions .subscribe {

    background: rgba(255,255,255,.10);
}


/* تسجيل دخول */

.actions .login {

    background: rgba(255,255,255,.10);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .icon-action {

        width: 39px;
        height: 39px;

        border-radius: 50%;
    }

    .header-icon {

        width: 20px;
        height: 20px;
    }

}
/* =========================================================
   USER ACCOUNT
========================================================= */

.user-account {
    position: relative;
}


/* زر اسم العضو */

.user-account-btn {

    height: 42px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 10px 0 12px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 24px;

    background: rgba(255,255,255,.08);

    color: #fff;

    cursor: pointer;

    font-family: Cairo, sans-serif;

    transition:
        background .2s ease,
        border-color .2s ease;
}


.user-account-btn:hover,
.user-account-btn.active {

    background: rgba(255,255,255,.13);

    border-color: rgba(255,255,255,.22);
}


/* الصورة */

.user-account-avatar {

    width: 28px;
    height: 28px;

    border-radius: 50%;

    overflow: hidden;

    background: #29343e;

    flex: 0 0 28px;
}


.user-account-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* الاسم */

.user-account-name {

    max-width: 110px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    font-size: 11px;

    font-weight: 800;
}


/* السهم */

.user-account-arrow {

    width: 7px;
    height: 7px;

    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;

    transform:
        rotate(45deg)
        translateY(-2px);

    transition: transform .2s ease;
}


.user-account-btn.active
.user-account-arrow {

    transform:
        rotate(225deg)
        translate(-1px, -1px);
}


/* =========================================================
   MENU
========================================================= */

.user-account-menu {

    position: absolute;

    top: calc(100% + 10px);

    right: 0;

    width: 280px;

    padding: 10px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 14px;

    background: #18232c;

    box-shadow:
        0 20px 50px rgba(0,0,0,.45);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-8px)
        scale(.98);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;

    z-index: 100000;
}


.user-account-menu.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}


/* =========================================================
   HEAD
========================================================= */

.user-account-head {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px;

    margin-bottom: 7px;

    border-bottom:
        1px solid rgba(255,255,255,.07);
}


.user-account-head-avatar {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 50%;

    overflow: hidden;

    background: #29343e;
}


.user-account-head-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.user-account-head strong {

    display: block;

    color: #fff;

    font-size: 12px;

    font-weight: 800;
}


.user-account-head span {

    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.48);

    font-size: 9px;

    direction: ltr;

}


/* =========================================================
   LINKS
========================================================= */

.user-account-links {

    display: flex;

    flex-direction: column;

    gap: 3px;
}


.user-account-links a {

    height: 43px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 10px;

    border-radius: 8px;

    color: rgba(255,255,255,.80);

    text-decoration: none;

    font-family: Cairo, sans-serif;

    font-size: 11px;

    font-weight: 700;

    transition:
        background .18s ease,
        color .18s ease;
}


.user-account-links a:hover {

    background: rgba(255,255,255,.07);

    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.user-account-footer {

    margin-top: 7px;

    padding-top: 7px;

    border-top:
        1px solid rgba(255,255,255,.07);
}


.logout-link {

    height: 42px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 10px;

    border-radius: 8px;

    color: #ff7777;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;
}


.logout-link:hover {

    background: rgba(255,90,90,.08);

}


/* =========================================================
   ICONS - CSS ONLY
========================================================= */

.menu-icon {

    position: relative;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    opacity: .85;
}


/* Profile */

.profile-icon::before {

    content: "";

    position: absolute;

    width: 6px;
    height: 6px;

    top: 1px;
    left: 6px;

    border: 1.5px solid #fff;

    border-radius: 50%;
}


.profile-icon::after {

    content: "";

    position: absolute;

    width: 12px;
    height: 6px;

    left: 3px;
    bottom: 1px;

    border: 1.5px solid #fff;

    border-bottom: 0;

    border-radius: 8px 8px 0 0;
}


/* Edit */

.edit-icon::before {

    content: "";

    position: absolute;

    width: 11px;
    height: 4px;

    top: 6px;
    left: 3px;

    background: #fff;

    border-radius: 2px;

    transform: rotate(-45deg);
}


.edit-icon::after {

    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    right: 1px;
    top: 2px;

    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}


/* Movies */

.movies-icon {

    border:
        1.5px solid #fff;

    border-radius: 3px;
}


.movies-icon::before {

    content: "";

    position: absolute;

    left: 4px;
    right: 4px;

    top: 5px;

    height: 1.5px;

    background: #fff;

    box-shadow:
        0 4px 0 #fff;
}


/* Logout */

.logout-icon::before {

    content: "";

    position: absolute;

    width: 8px;
    height: 14px;

    left: 1px;
    top: 2px;

    border:
        1.5px solid #ff7777;

    border-right: 0;

    border-radius: 3px 0 0 3px;
}


.logout-icon::after {

    content: "→";

    position: absolute;

    right: 0;
    top: -2px;

    color: #ff7777;

    font-size: 18px;

    line-height: 18px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .user-account-name {

        display: none;

    }

    .user-account-btn {

        width: 39px;
        height: 39px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }

    .user-account-arrow {

        display: none;
    }

    .user-account-avatar {

        width: 27px;
        height: 27px;

        flex-basis: 27px;
    }

    .user-account-menu {

        position: fixed;

        top: 68px;

        right: 10px;

        width: min(280px, calc(100vw - 20px));
    }

}
/* =========================================================
   SEARCH BUTTON
========================================================= */

.header .nav .search {

    width: 40px;
    height: 40px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 25px;

    cursor: pointer;

    border-radius: 50%;

    transition:
        background .2s ease,
        transform .2s ease;
}

.header .nav .search:hover {

    background: rgba(255,255,255,.08);

}


/* =========================================================
   SEARCH BOX
========================================================= */

.header-search {

    position: fixed;

    top: 82px;
    right: 50%;

    width: min(620px, calc(100% - 30px));

    transform:
        translate(50%, -10px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 999999;

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}


.header-search.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate(50%, 0);
}


.header-search form {

    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    padding: 7px;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 13px;

    background:
        rgba(18,26,34,.96);

    box-shadow:
        0 15px 45px rgba(0,0,0,.40);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

}


.header-search input {

    flex: 1;

    min-width: 0;

    height: 42px;

    padding: 0 14px;

    border: 0;

    outline: none;

    border-radius: 9px;

    background:
        rgba(255,255,255,.06);

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 12px;

    direction: rtl;

}


.header-search input::placeholder {

    color:
        rgba(255,255,255,.42);

}


.header-search button {

    height: 42px;

    padding: 0 20px;

    border: 0;

    border-radius: 9px;

    background: #fff;

    color: #111;

    font-family: Cairo, sans-serif;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .header-search {

        top: 70px;

        width:
            calc(100% - 20px);
    }

}
.mobile-search-btn {
    display: none;
}


/* رسم عدسة البحث بدون Font Awesome */
.search-icon {
    position: relative;

    width: 16px;
    height: 16px;

    display: block;

    border: 1.8px solid #fff;

    border-radius: 50%;
}


.search-icon::after {
    content: "";

    position: absolute;

    width: 7px;
    height: 1.8px;

    right: -5px;
    bottom: -2px;

    background: #fff;

    border-radius: 2px;

    transform: rotate(45deg);
}


@media (max-width: 900px) {

    .mobile-search-btn {
        display: flex !important;

        width: 39px !important;
        height: 39px !important;

        min-width: 39px !important;

        padding: 0 !important;

        align-items: center !important;
        justify-content: center !important;

        border: 1px solid rgba(255,255,255,.10) !important;

        border-radius: 50% !important;

        background: rgba(255,255,255,.08) !important;

        color: #fff !important;
    }

    .mobile-search-btn:hover {
        background: rgba(255,255,255,.15) !important;
    }

    .header .actions {
        display: flex !important;

        align-items: center !important;

        gap: 6px !important;
    }

}
/* =========================================
   ACCESSIBILITY TEXT
========================================= */

.slider-pagination .pagination-label {

    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================
   PAGINATION BUTTON
========================================= */

.slider-pagination button {

    position: relative !important;

    display: block !important;

    padding: 0 !important;

    border: 0 !important;

    cursor: pointer !important;
}


/* التركيز بالكيبورد */

.slider-pagination button:focus-visible {

    outline: 2px solid #fff !important;

    outline-offset: 3px !important;

    border-radius: 10px !important;
}
/* =========================================
   PAGINATION - TOUCH TARGET
========================================= */

.slider-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
}


/* مساحة الضغط */
.slider-pagination button {

    position: relative;

    width: 44px !important;
    height: 44px !important;

    min-width: 44px !important;
    min-height: 44px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;

    background: transparent !important;

    cursor: pointer;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box;
}


/* النقطة الفعلية */
.slider-pagination button::before {

    content: "";

    width: 6px;
    height: 6px;

    display: block;

    border-radius: 50%;

    background: rgba(255,255,255,.35);

    transition:
        width .25s ease,
        background .25s ease;
}


/* النشطة */

.slider-pagination button.active::before {

    width: 22px;

    border-radius: 20px;

    background: #fff;
}


/* Hover */

.slider-pagination button:hover::before {

    background: #fff;
}


/* Keyboard */

.slider-pagination button:focus-visible {

    outline: 2px solid #fff;

    outline-offset: 1px;

    border-radius: 50%;
}


/* Mobile */
@media (max-width: 768px) {

    .slider-pagination {
        gap: 2px;
    }

    .slider-pagination button {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

}
/* =========================================
   مسافة المحتوى أسفل الهيدر
========================================= */

.containers {
    position: relative;

    padding-top: 90px;
}


/* لو الهيدر ثابت */
.header {
    z-index: 99990;
}







/* =========================================================
   GENRES PAGE
========================================================= */

.genres-page {

    width: 100%;

    min-height: 100vh;

    background: #151b24;

    color: #fff;

    direction: rtl;
}


.genres-container {

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    padding:
        90px 30px 50px;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.genres-heading {

    display: flex;

    align-items: center;

    justify-content: flex-start;

    margin-bottom: 25px;
}


.genres-heading h1 {

    margin: 0;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 20px;

    font-weight: 900;

    line-height: 1;
}


/* =========================================================
   GRID
========================================================= */

.genres-grid {

    display: grid;

    grid-template-columns:
        repeat(10, minmax(0, 1fr));

    gap: 10px;

    width: 100%;
}


/* =========================================================
   CARD
========================================================= */

.genre-card {

    position: relative;

    display: block;

    aspect-ratio: 1 / 1.05;

    overflow: hidden;

    border-radius: 11px;

    background: #202b34;

    text-decoration: none;

    box-sizing: border-box;
}


/* =========================================================
   IMAGE
========================================================= */

.genre-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;
}


.genre-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform .35s ease,
        filter .35s ease;
}


/* =========================================================
   COLOR OVERLAY
========================================================= */

.genre-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            to top,
            rgba(0,0,0,.58),
            rgba(0,0,0,.05)
        );

    transition:
        background .25s ease;
}


/* =========================================================
   NAME
========================================================= */

.genre-name {

    position: absolute;

    right: 10px;

    left: 10px;

    bottom: 18px;

    z-index: 2;

    color: #fff;

    text-align: center;

    font-family: Cairo, sans-serif;

    font-size: 12px;

    font-weight: 900;

    line-height: 1.4;

    text-shadow:
        0 2px 7px rgba(0,0,0,.55);
}


/* =========================================================
   HOVER
========================================================= */

.genre-card:hover .genre-image img {

    transform: scale(1.06);

    filter: brightness(1.08);
}


.genre-card:hover .genre-overlay {

    background:

        linear-gradient(
            to top,
            rgba(0,0,0,.72),
            rgba(0,0,0,.10)
        );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .genres-grid {

        grid-template-columns:
            repeat(8, minmax(0, 1fr));

    }

}


@media (max-width: 950px) {

    .genres-grid {

        grid-template-columns:
            repeat(6, minmax(0, 1fr));

    }

}


@media (max-width: 700px) {

    .genres-container {

        padding:
            75px 15px 35px;

    }


    .genres-grid {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 8px;

    }


    .genre-name {

        font-size: 10px;

        bottom: 12px;

    }

}


@media (max-width: 450px) {

    .genres-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }

}

.play-svg {
    width: 16px;
    height: 16px;

    display: block;

    fill: currentColor;

    flex: 0 0 16px;
}

.video-play .btn-left {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.post-share-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-share-inner > a {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.07);

    color: #fff;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.post-share-inner > a:hover {
    background: rgba(255,255,255,.16);

    border-color: rgba(255,255,255,.25);

    transform: translateY(-2px);
}

.share-svg {
    width: 16px;
    height: 16px;

    display: block;

    fill: currentColor;
}

/* =========================================================
   EPISODES
========================================================= */

.episodes-wrapper {

    width: 100%;

    margin-top: 30px;

    color: #fff;

    direction: rtl;

}


.episodes-section {

    position: relative;

    padding: 22px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #1b222b,
            #141a21
        );

    border:
        1px solid rgba(255,255,255,.06);

    box-shadow:
        0 15px 45px rgba(0,0,0,.20);

}


/* =========================================================
   HEADER
========================================================= */

.episodes-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-bottom: 20px;

    margin-bottom: 20px;

    border-bottom:
        1px solid rgba(255,255,255,.06);

}


.episodes-title {

    min-width: 0;

}


.episodes-eyebrow {

    display: block;

    margin-bottom: 5px;

    color: #69727d;

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;

    direction: ltr;

}


.episodes-title h2 {

    display: flex;

    align-items: center;

    gap: 9px;

    margin: 0;

    color: #fff;

    font-family: Cairo, sans-serif;

    font-size: 21px;

    font-weight: 900;

}


.episodes-title-icon {

    width: 22px;

    height: 22px;

    color: #fff;

}


.episodes-title p {

    margin: 5px 0 0;

    color: #69727d;

    font-size: 9px;

}


/* =========================================================
   SEASON SELECTOR
========================================================= */

.season-selector {

    position: relative;

    flex: 0 0 auto;

}


.season-selector-btn {

    min-width: 190px;

    min-height: 58px;

    padding:
        8px 11px;

    display: flex;

    align-items: center;

    gap: 10px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 12px;

    background:
        rgba(255,255,255,.05);

    color: #fff;

    cursor: pointer;

    text-align: right;

    transition:
        background .2s ease,
        border-color .2s ease;

}


.season-selector-btn:hover,
.season-selector-btn.open {

    background:
        rgba(255,255,255,.09);

    border-color:
        rgba(255,255,255,.17);

}


.season-selector-icon {

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background:
        rgba(255,255,255,.07);

}


.season-selector-icon svg {

    width: 17px;

    height: 17px;

}


.season-selector-text {

    flex: 1;

    min-width: 0;

}


.season-selector-text small {

    display: block;

    margin-bottom: 3px;

    color: #69727d;

    font-size: 7px;

}


.season-selector-text strong {

    display: block;

    color: #fff;

    font-size: 10px;

    font-weight: 800;

}


.season-selector-arrow {

    color: #89929d;

    font-size: 22px;

    line-height: 1;

    transform:
        rotate(180deg);

    transition:
        transform .2s ease;

}


.season-selector-btn.open
.season-selector-arrow {

    transform:
        rotate(270deg);

}


/* =========================================================
   DROPDOWN
========================================================= */

.season-dropdown {

    position: absolute;

    top: calc(100% + 8px);

    right: 0;

    width: 230px;

    padding: 8px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 13px;

    background:
        #1a222b;

    box-shadow:
        0 20px 50px rgba(0,0,0,.40);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translateY(-8px);

    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;

    z-index: 50;

}


.season-dropdown.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0);

}


.season-dropdown-title {

    padding:
        8px 10px;

    margin-bottom: 4px;

    color: #68727d;

    font-size: 8px;

    border-bottom:
        1px solid rgba(255,255,255,.05);

}


.season-option {

    min-height: 43px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 10px;

    margin-bottom: 3px;

    border-radius: 8px;

    color: rgba(255,255,255,.75);

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    transition:
        background .18s ease,
        color .18s ease;

}


.season-option:hover {

    color: #fff;

    background:
        rgba(255,255,255,.06);

}


.season-option.active {

    color: #fff;

    background:
        rgba(255,255,255,.10);

}


.season-option-arrow {

    width: 20px;

    height: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #7e8993;

    font-size: 18px;

}


.season-option.active
.season-option-arrow {

    color: #43e69a;

}


.season-option-arrow svg {

    width: 15px;

    height: 15px;

}


/* =========================================================
   EPISODES GRID
========================================================= */

.episodes-grid {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0,1fr));

    gap: 10px;

}


/* =========================================================
   EPISODE CARD
========================================================= */

.episode-card {

    position: relative;

    min-height: 76px;

    padding:
        11px;

    display: flex;

    align-items: center;

    gap: 9px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.06);

    border-radius: 11px;

    background:
        #202832;

    color: #fff;

    text-decoration: none;

    transition:
        background .20s ease,
        border-color .20s ease,
        transform .20s ease,
        box-shadow .20s ease;

}


.episode-card:hover {

    transform:
        translateY(-2px);

    background:
        #26303a;

    border-color:
        rgba(255,255,255,.14);

    box-shadow:
        0 10px 25px rgba(0,0,0,.20);

}


.episode-card.active {

    background:
        linear-gradient(
            145deg,
            #333d48,
            #242d36
        );

    border-color:
        rgba(255,255,255,.27);

    box-shadow:
        0 10px 25px rgba(0,0,0,.20);

}


/* =========================================================
   NUMBER
========================================================= */

.episode-number {

    width: 39px;

    height: 39px;

    flex: 0 0 39px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background:
        rgba(255,255,255,.07);

    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 13px;

    font-weight: 900;

}


.episode-card.active
.episode-number {

    background: #fff;

    color: #111;

}


/* =========================================================
   PLAY
========================================================= */

.episode-play {

    position: absolute;

    top: 8px;

    left: 8px;

    width: 22px;

    height: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    color: #fff;

    opacity: .45;

}


.episode-play svg {

    width: 9px;

    height: 9px;

}


/* =========================================================
   CONTENT
========================================================= */

.episode-content {

    min-width: 0;

    flex: 1;

}


.episode-content strong {

    display: block;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    color: #fff;

    font-size: 10px;

    font-weight: 800;

}


.episode-content small {

    display: block;

    margin-top: 4px;

    color: #69727d;

    font-size: 8px;

}


.episode-card.active
.episode-content small {

    color: #aab3bb;

}


/* =========================================================
   CURRENT
========================================================= */

.episode-current {

    position: absolute;

    right: 9px;

    bottom: 8px;

    padding:
        2px 6px;

    border-radius: 4px;

    background:
        rgba(66,230,154,.10);

    color: #43e69a;

    font-size: 7px;

    font-weight: 800;

}


/* =========================================================
   EMPTY
========================================================= */

.episodes-empty {

    min-height: 130px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px dashed rgba(255,255,255,.10);

    border-radius: 12px;

    color: #69727d;

    font-size: 10px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .episodes-grid {

        grid-template-columns:
            repeat(4, minmax(0,1fr));

    }

}


@media (max-width: 900px) {

    .episodes-grid {

        grid-template-columns:
            repeat(3, minmax(0,1fr));

    }

}


@media (max-width: 650px) {

    .episodes-section {

        padding: 15px;

        border-radius: 13px;

    }


    .episodes-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .season-selector {

        width: 100%;

    }


    .season-selector-btn {

        width: 100%;

    }


    .season-dropdown {

        width: 100%;

    }


    .episodes-grid {

        grid-template-columns:
            repeat(2, minmax(0,1fr));

    }


    .episode-card {

        min-height: 67px;

        padding: 8px;

    }


    .episode-number {

        width: 34px;

        height: 34px;

        flex-basis: 34px;

        font-size: 11px;

    }


    .episode-content strong {

        font-size: 9px;

    }


    .episode-content small {

        font-size: 7px;

    }

}


@media (max-width: 380px) {

    .episodes-grid {

        grid-template-columns: 1fr;

    }

}
