:root {
  --background: #131313;
  --button: #e50000;
  --secondry: #1f1f1f;
  --footer: #0b0b0b;
  --padding-top: 80px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  overflow-x: hidden;
  background-color: var(--background);
  min-height: 100vh;
  font-family: "Inter", sans-serif;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}
/* header */
header {
  background-image: url("../imgs.home&movies/fares.png");
  min-height: 100vh;
  background-size: cover;
  position: relative;
}
header.showes {
  background-image: none;
  min-height: auto;
  height: auto;
}
header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("../imgs.home&movies/center.png");
  background-size: cover;
  width: 400px;
  height: 400px;
  animation: rotater infinite 5s linear;
}
header.showes::before {
  display: none;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

header .logo {
  margin-top: 20px;
  cursor: pointer;
}

header nav ul {
  background-color: var(--footer);
  display: flex;
  justify-content: center;
  justify-self: center;
  align-items: center;
  margin-top: 20px;
  padding: 10px 20px;
  margin-right: 100px;
  margin-top: 20px;
  border: 3px solid var(--secondry);
  border-radius: 6px;
}
header nav ul li {
  border-radius: 6px;
}

header nav ul li a {
  display: block;
  color: white;
  font-weight: 200;
  font-size: 15px;
  transition: all 0.3s ease;
  padding: 10px 12px;
}
header nav ul li:hover {
  background-color: var(--secondry);
}
header .icons {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  color: white;
  font-size: 20px;
  cursor: pointer;
}
header nav i {
  display: none !important;
}
@media (max-width: 992px) {
  header .container {
    justify-content: center;
    flex-wrap: nowrap;
  }

  header nav ul {
    margin-right: 0;
  }
  header nav ul li a {
    font-size: 13px;
    padding: 5px 8px;
  }
  header .icons {
    font-size: 15px;
    gap: 20px;
  }
}
@media (max-width: 767px) {
  header::before {
    width: 250px;
    height: 250px;
  }
  header .container {
    justify-content: space-between;
    gap: 0;
  }

  header nav i.menu-toggle {
    display: block !important;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background-color: #181717;
    padding: 10px 12px;
    border: 2px solid #444;
    border-radius: 6px;
  }
  header nav i.menu-toggle:hover {
    background-color: #1f1f1f;
  }
  header nav ul i {
    display: flex !important ;
    color: white;
    margin-top: 10px;
    padding-bottom: 20px;
    cursor: pointer;
    font-size: 20px;
  }

  header nav ul.open {
    padding: 0;
  }
  header nav ul.nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 15px;
    flex-direction: column;
    background-color: var(--footer);
    border: 3px solid var(--secondry);
    border-radius: 6px;
    margin: 0;
  }
  header nav ul.nav-menu li:not(:last-child) {
    border-bottom: 2px solid #444;
  }
  header nav ul.nav-menu li {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 15px 5px;
    border-radius: 0;
  }

  header nav ul.nav-menu li a {
    padding: 10px 16px;
    font-size: 1.2rem;
  }

  header nav ul.nav-menu.active {
    z-index: 10;
    display: flex;
  }

  header .icons {
    display: none;
  }

  header nav ul {
    margin-right: 0;
  }
}
@media (max-width: 400px) {
  header::before {
    animation: none;
  }
}
/* landing */
.landing {
}
.landing .container {
  text-align: center;
  height: 100px;
  /* min-width: 300px; */
}
.landing h2 {
  color: white;
  font-size: 36px;
  letter-spacing: 2px;
  font-weight: 500;
  margin: 0 auto 10px;
  text-wrap: nowrap;
}
.landing p {
  color: #999999;
  font-size: 0.8rem;
  width: 800px;
  line-height: 1.4;
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  background-color: var(--button);
  padding: 10px 14px;
  margin: 10px auto;
  border-radius: 6px;
  gap: 10px;

  i {
    color: white;
  }
  a {
    color: white;
    letter-spacing: 1px;
  }
}

@media (max-width: 950px) {
  .landing h2 {
    text-wrap: wrap;
  }
  .landing p {
    width: 700px;
    font-size: 0.7rem;
  }
}
@media (max-width: 768px) {
  .landing .container {
  }
  .landing p {
    width: 500px;
    font-size: 0.75rem;
  }
  .landing h2 {
    font-size: 28px;
  }
}
@media (max-width: 550px) {
  .landing .container {
    height: 250px;
  }
  .landing p {
    width: 100%;
    font-size: 0.8rem;
  }
  .btn {
    width: 150px;
    a {
      font-size: 0.7rem;
    }
    i {
      font-size: 1rem;
    }
  }
}

/* categories */

.categories {
  padding-top: 150px;
}
.categories .explore {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.categories .explore .text {
  color: white;

  h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  p {
    color: #999999;
    font-size: 1rem;
  }
}
.categories .explore .controls {
  display: flex;
  gap: 5px;
  align-items: center;
  i {
    color: white;
    background-color: #444;
    padding: 7px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  i:hover {
    color: var(--button);
    background-color: #1f1f1f;
  }
  span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 3px;
    background-color: #555;
    border-radius: 2px;
  }
  .dot.active {
    background-color: #e50000;
  }
}
.categories .slider-viewport {
  padding-top: var(--padding-top);
  width: 100%;
  overflow: hidden;
}
.categories .slider-viewport .wrapper {
  display: flex;
  transition: transform 0.4s ease;
}
.categories .slider-viewport .wrapper .cat-slider {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 50px;

  .card {
    height: fit-content;
    background-color: var(--secondry);
    padding: 15px 10px;
    border-radius: 6px;
    border: 2px solid #2b2b2b;
    cursor: pointer;
    transition: transform 0.3s ease;
    .info {
      margin-top: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: white;
      transition: all 0.5s ease;
      h4,
      i {
        font-size: 0.9rem;
      }
      h4 {
        font-weight: 400;
      }
    }
  }
  .card img {
    width: 100%;
    max-height: 197px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }
  .card:hover {
    transform: translateY(-10px);
    img {
      opacity: 1;
    }
  }
  .card .info:hover {
    transform: translateX(7px);
  }
}
.popular .categories .slider-viewport .wrapper .cat-slider .card .info {
  p {
    background-color: var(--button);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    text-transform: capitalize;
  }
  h4 {
    font-weight: 500;
    margin-top: 5px;
  }
}
.trend .categories .slider-viewport .wrapper .cat-slider .card .info {
  .time,
  .veiw {
    display: flex;
    align-items: center;
    gap: 3px;
    background-color: var(--background);
    padding: 5px 10px;
    border-radius: 40px;
    border: 1px solid #2b2b2b;
    span {
      color: #999999;
      font-size: 0.65rem;
      font-weight: 500;
    }
    svg {
      width: 18px !important;
      height: 18px !important;
    }
  }
}
.new .categories .slider-viewport .wrapper .cat-slider .card .info {
  display: block;
  text-align: center;
  p {
    color: #999999;
    font-size: 0.65rem;
    padding: 5px 10px;
    background-color: var(--background);
    border: 1px solid #2b2b2b;
    border-radius: 40px;
  }
}
.must-watch .categories .slider-viewport .wrapper .cat-slider .card .info {
  .time,
  .rate {
    display: flex;
    align-items: center;
    gap: 3px;
    background-color: var(--background);
    padding: 5px 10px;
    border-radius: 40px;
    border: 1px solid #2b2b2b;
    span {
      color: #999999;
      font-size: 0.6rem;
      font-weight: 500;
    }
  }
  .time svg {
    width: 15px !important;
    height: 15px !important;
  }
  .rate svg {
    width: 45px !important;
    height: 15px !important;
  }
}
@media (max-width: 992px) {
  .categories .explore {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    .text {
      text-align: center;
    }
    .controls {
      i {
        font-size: 30px;
      }
      .dot {
        width: 150px;
      }
    }
  }

  .categories .slider-viewport {
    padding-top: 24px;
  }

  .categories .slider-viewport .wrapper .cat-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .categories .container {
    padding-inline: 12px;
  }

  .categories .explore h3 {
    font-size: 1.1rem;
  }

  .categories .explore p {
    font-size: 0.85rem;
  }

  .categories .explore .controls {
    align-self: stretch;
    justify-content: space-between;
  }

  .categories .slider-viewport .wrapper .cat-slider {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .categories .explore .controls i {
    padding: 5px;
    font-size: 1.5rem;
  }

  .categories .explore .controls .dot {
    width: 100px;
  }
}

/* experience */
.experience {
  padding-top: var(--padding-top);
}
.experience h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.experience p.first {
  color: #999999;
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 20px;
}
.experience .devices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 90px;
}
.experience .devices .device {
  background: radial-gradient(
    circle at top right,
    rgba(150, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 1) 35%,
    rgba(0, 0, 0, 1) 90%
  );
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 180px;
  border: 1px solid #2b2b2b;
  transition: all 0.8s ease;
}
.experience .devices .device .icon-label {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  h4 {
    color: white;
  }
  svg {
    background-color: var(--secondry);
    padding: 5px;
    border-radius: 6px;
  }
}
.experience .devices .device p {
  color: #999999;
  padding: 20px;
  font-size: 0.8rem;
}
.experience .devices .device:hover {
  transform: translateY(-10px);
  background:
    /* طبقة لمعان خفيفة */
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.02) 35%,
      rgba(0, 0, 0, 0) 60%
    ),
    linear-gradient(145deg, #02040a 0%, #050816 35%, #061a2e 70%, #000000 100%);
}
@media (max-width: 665px) {
  .experience .devices {
    grid-template-columns: 400px;
    justify-content: center;
  }
}
@media (max-width: 450px) {
  .experience .devices {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}

/* asked */
.asked {
  padding-top: var(--padding-top);
}
.asked .s-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.asked .s-container h3 {
  color: white;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.asked .s-container p {
  color: #999999;
  font-size: 0.8rem;
  margin-bottom: 20px;
}
.asked .s-container .ask a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.5s ease;
}
.asked .s-container .ask a:hover {
  background-color: #af0101;
}
@media (max-width: 992px) {
  .asked .s-container .text {
    max-width: 500px;
  }
}
@media (max-width: 768px) {
  .asked .s-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    .ask a {
      margin-bottom: 10px;
    }
  }
}
.questions {
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}
.questions .q-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  counter-increment: ask;
  position: relative;
}
.questions .q-box h4 {
  color: white;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.questions .q-box p {
  color: #999999;
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 400px;
  display: none;
  transition: display 0.5s ease;
}
.questions .q-box::before {
  content: "0" counter(ask);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  color: white;
  font-weight: 500;
  margin-right: 15px;
  background-color: var(--secondry);
  padding: 10px;
  border-radius: 6px;
}
.questions .q-box .icon i {
  color: white;
  cursor: pointer;
}
.questions .q-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 0) 0%,
    rgba(255, 60, 60, 0.5) 40%,
    rgba(255, 60, 60, 0.5) 60%,
    rgba(255, 0, 0, 0) 100%
  );
}
@media (max-width: 992px) {
  .questions {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .questions {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}

/* plans */
.choose-plan {
  padding-top: var(--padding-top);
}
.s_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.s_container .text h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  padding-bottom: 20px;
}
.s_container .text p {
  color: #999999;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 100%;
}
.s_container .mon-yer {
  display: flex;
  gap: 10px;
  background-color: rgb(14, 14, 14);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid #323232;
}
.s_container .mon-yer p {
  padding: 7px 14px;
  cursor: pointer;
}
p.active {
  background-color: var(--secondry);
  border-radius: 6px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.plans .plan {
  margin-top: 30px;
  perspective: 1000px;
  height: 300px;
  margin-bottom: 30px;
}
.plan-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.plan-inner .front {
  background-color: #1a1a1a;
}
.plan-inner .back {
  background-color: var(--secondry);
}
.plan-inner .front,
.plan-inner .back {
  position: absolute;
  inset: 0; /* top/right/bottom/left = 0 */
  backface-visibility: hidden;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  h4 {
    color: white;
    font-weight: 500;
    font-size: 1.3rem;
  }
  p {
    color: #999999;
    font-size: 0.8rem;
    line-height: 1.6;
    flex-grow: 1;

    span {
      color: white;
      font-size: 1.3rem;
    }
  }
  .choose {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    /* links */
    a:first-child {
      color: white;
      background-color: #151515;
      padding: 10px 7px;
      border-radius: 6px;
      border: 1px solid #444;
      transition: all 0.3s ease;
    }
    a:first-child:hover {
      background-color: var(--secondry);
    }
    a:last-child {
      background-color: var(--button);
      padding: 10px 5px;
      color: white;
      border-radius: 6px;
      display: flex;
      transition: all 0.3s ease;
    }
    a:last-child:hover {
      background-color: #af0101;
    }
  }
}
.plan-inner .back {
  transform: rotateY(180deg);
  /* عشان يبقى معموله فليب عطول ورا  */
}
.plan-inner.flipped {
  transform: rotateY(180deg);
  /* الكلاس اللى هيتضاف لما ادوس على الزرار */
}

@media (max-width: 665px) {
  .s_container {
    flex-direction: column;
    text-align: center;
    margin-bottom: 30px;
  }
  .plans {
    grid-template-columns: 400px;
    justify-content: center;
  }
}
@media (max-width: 450px) {
  .plans {
    grid-template-columns: 1fr;
    .plan {
      height: 350px;
    }
  }
  .choose {
    flex-direction: column;
    gap: 10px;
  }
}

/* free trial */
.free {
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-top);
}
.trial {
  background-image: url("../imgs.home&movies/888.png");
  background-size: cover;
  height: 180px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  padding: 20px;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
}
.trial .text {
  color: white;
  h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 10px;
  }
  p {
    color: #999999;
    font-size: 0.9rem;
  }
}
.trial .start {
  background-color: var(--button);
  width: fit-content;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
  a {
    color: white;
    display: flex;
  }
}
.trial .start:hover {
  background-color: #af0101;
}
@media (max-width: 992px) {
  .trial {
    flex-direction: column;
  }
}
@media (max-width: 500px) {
  .trial {
    flex-direction: column;
    align-items: center;
    height: 100%;
    .text h3 {
      font-size: 1.5rem;
    }
    .text p {
      font-size: 0.8rem;
    }
    .start {
      padding: 5px 10px;
      margin-top: 10px;
      width: fit-content;
      a {
        font-size: 0.8rem;
      }
    }
  }
}

/* footer */
footer {
  background-color: var(--footer);
  padding-top: var(--padding-top);
}
footer .container {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  position: relative;
}
footer .container::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #2b2b2b;
  bottom: -50px;
}
footer .container .links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  a.active {
    color: white;
  }
  a {
    color: #999999;
    font-size: 0.9rem;
  }
}
footer .container .social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  p {
    color: white;
  }
  .social-links {
    display: flex;
    gap: 10px;
    i {
      color: white;
      background-color: #2c2c2c;
      padding: 12px;
      border-radius: 6px;
      transition: all 0.3s ease;
    }
  }
}
footer .container .social .social-links .fa-facebook-f:hover {
  background-color: #3b5998;
}
footer .container .social .social-links .fa-twitter:hover {
  background-color: #1da1f2;
}
footer .container .social .social-links .fa-linkedin-in:hover {
  background-color: #0077b5;
}

@media (max-width: 1115px) {
  footer .container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}
@media (max-width: 655px) {
  footer .container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
@media (max-width: 355px) {
  footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* last line */
.last-line {
  padding-top: var(--padding-top);
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  margin: 0 10px;
  .text {
    color: #999999;
    font-size: 0.9rem;
  }
  .policy {
    display: flex;
    gap: 20px;
    a {
      color: #999999;
      font-size: 0.9rem;
    }
  }
  .policy a:nth-child(2),
  .policy a:nth-child(3) {
    border-left: 1px solid #555;
    padding-left: 20px;
  }
}
@media (max-width: 600px) {
  .last-line {
    flex-direction: column;
    gap: 20px;
  }
}

/* second page */
/* hero */
.hero {
  padding-top: var(--padding-top);
}
.hero .container {
  position: relative;
  /* width: 100%; */
  display: flex;
  justify-content: center;
}
.hero-slider {
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.hero-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.hero-wrapper .slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.hero-wrapper .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .slide .content {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .slide .content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.hero .slide .content p {
  color: #999999;
  font-size: 0.9rem;
  line-height: 1.6;
}
.hero .slide .content .play {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
  .btn {
    padding: 0;
  }
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--button);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  i {
    color: white;
    font-size: 15px;
    cursor: pointer;
    background-color: #151515;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #1d1d1d;
  }
}
.hero .arrows {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  i {
    color: white;
    background-color: #151515;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #1d1d1d;
    cursor: pointer;
  }
}
.hero .dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  span {
    width: 15px;
    height: 3px;
    background-color: #555;
    border-radius: 2px;
  }
  span.active {
    background-color: #e50000;
  }
}
@media (max-width: 560px) {
  .hero .slide .content p {
    display: none;
  }
  .hero .slide .content h2 {
    font-size: 1.2rem;
    width: 100%;
  }
  .hero .slide .content .play {
    flex-direction: column;
    .btn a {
      font-size: 0.8rem;
      width: 100%;
    }
    .icons {
      display: flex;
      flex-direction: row !important;
      gap: 10px;
    }
  }
}

/* next page */

.movies {
  padding-top: var(--padding-top);
  padding-right: 20px;
  padding-left: 20px;
}
.movies .main {
  border-radius: 6px;
  border: 1px solid #2b2b2b;
  position: relative;
}
.movies .main .categories {
  padding: 60px 15px 30px;
}
.movies .main::before {
  content: "movies";
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 40px;
  background-color: var(--button);
  border-radius: 6px;
  color: white;
  top: -20px;
  left: 40px;
}

.Showes {
  padding-top: var(--padding-top);
  padding-right: 20px;
  padding-left: 20px;
}
.Showes .showes {
  border-radius: 6px;
  border: 1px solid #2b2b2b;
  position: relative;
}
.Showes .showes .categories {
  padding-top: 60px;
  padding-bottom: 30px;
}
.Showes .showes::before {
  content: "showes";
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 40px;
  background-color: var(--button);
  border-radius: 6px;
  color: white;
  top: -20px;
  left: 40px;
}

/* page0*/
.landing-0 {
  padding-top: var(--padding-top);
}
.landing-0 .container {
  text-align: center;
}
.kantara img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.kantara {
  position: relative;
}

.kantara .content {
  position: absolute;
  inset: auto 40px 40px 40px; /* بدل left و width */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.kantara .content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.kantara .content p {
  color: #999999;
  font-size: 0.9rem;
  line-height: 1.6;
}
.kantara .content .play {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
  .btn {
    padding: 0;
  }
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--button);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  i {
    color: white;
    font-size: 15px;
    cursor: pointer;
    background-color: #151515;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #1d1d1d;
  }
}
@media (max-width: 600px) {
  .kantara img {
    height: 400px;
  }
  .kantara p {
    display: none;
  }
  .kantara h2 {
    font-size: 1rem;
    width: 100%;
  }
  .kantara .content .play {
    flex-direction: column;
    .btn a {
      font-size: 0.8rem;
      width: 100%;
    }
  }
}

/* Content */
.Content {
  padding-top: var(--padding-top);
}
.Content .container {
  display: flex;
  justify-content: space-around;
  gap: 40px;
}

.left .description {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 6px;
  border: 0.5px solid #2b2b2b;
  h3 {
    color: #999999;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
  }
  p {
    color: white;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
  }
}
.cast {
  padding: 30px;
  background-color: #1a1a1a;
  margin-top: 10px;
  border: 0.5px solid #2b2b2b;
  border-radius: 6px;
  .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    h3 {
      color: #999999;
      font-size: 0.9rem;
      line-height: 1.6;
      margin-bottom: 20px;
      font-weight: 400;
    }
    .arrows {
      display: flex;
      gap: 10px;
      i {
        color: white;
        background-color: #151515;
        padding: 10px;
        border-radius: 50%;
        border: 1px solid #2b2b2b;
        cursor: pointer;
      }
    }
  }
  .actors {
    text-align: center;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    img {
      width: 80px;
    }
  }
}
.review {
  padding: 20px;
  background-color: #1a1a1a;
  margin-top: 10px;
  border: 0.5px solid #2b2b2b;
  border-radius: 6px;
  .f-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    h3 {
      color: #999999;
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 20px;
      font-weight: 400;
    }
    .add {
      background-color: #141414;
      padding: 12px;
      border: 1px solid #2b2b2b;
      border-radius: 6px;
      color: white;
    }
  }
}

.s-line {
  padding-top: 30px;
}
.s-slider {
  overflow: hidden;
}

.s-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.cont {
  min-width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.box {
  max-width: 350px;
  flex: 1;
  background-color: #0f0f0f;
  border-radius: 6px;
  padding: 30px 10px;
  border: 1px solid #2b2b2b;
  .name-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    .rate {
      background-color: #141414;
      padding: 5px 7px;
      border-radius: 20px;
      border: 1px solid #2b2b2b;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;

      span {
        color: #999999;
        font-size: 0.9rem;
      }

      .stars i {
        color: #e50000;
      }

      .four-half i:last-child {
        background: linear-gradient(to right, #e50000 50%, #ccc 50%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .four i:last-child {
        color: #ccc;
      }
      .three i:nth-child(4),
      .three i:nth-child(5) {
        color: #ccc;
      }
    }
    .name {
      h3 {
        color: white;
        font-weight: 300;
        margin-bottom: 5px;
      }
      span {
        color: #999999;
        font-size: 0.9rem;
      }
    }
  }
  .text {
    p {
      color: #999999;
      font-size: 1rem;
      line-height: 1.6;
    }
  }
}

.review .switch {
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  span {
    background-color: #333333;
    width: 15px;
    height: 3px;
    border-radius: 20px;
    display: flex;
  }
  span.active {
    background-color: #e50000;
  }
  i {
    color: #999999;
    background-color: #141414;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #2b2b2b;
    cursor: pointer;
  }
}

.right {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  height: fit-content;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 6px;
  border: 0.5px solid #2b2b2b;
  .released {
    .year {
      display: flex;
      gap: 5px;
      color: #999999;
      h4 {
        font-weight: 400;
      }
    }
    span {
      display: block;
      color: white;
      margin-top: 10px;
      font-weight: 400;
      font-size: 0.9rem;
    }
  }
  .available {
    padding-top: 30px;
    .language {
      display: flex;
      gap: 5px;
      color: #999999;
      h4 {
        font-weight: 400;
      }
    }
    .languages {
      span {
        color: white;
        display: inline-block;
        font-weight: 300;
        font-size: 0.9rem;
        padding: 5px;
        background-color: #141414;
        border: 1px solid #2b2b2b;
        border-radius: 6px;
        margin-top: 10px;
      }
    }
  }
  .rating {
    padding-top: 30px;
    .rate-t {
      margin-bottom: 10px;
      display: flex;
      gap: 5px;
      color: #999999;
      h4 {
        font-weight: 400;
      }
    }
    .ratings {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      .Box {
        background-color: #141414;
        padding: 10px;
        border: 1px solid #2b2b2b;
        border-radius: 6px;
        h4 {
          color: white;
          font-weight: 400;
          font-size: 0.8rem;
          margin-bottom: 10px;
        }
        .inner {
          display: flex;
          max-width: 100px;
          justify-content: space-between;
          font-size: 0.8rem;
          .stars {
            display: flex;
            gap: 2px;
          }
          .stars i {
            color: #e50000;
          }
          span {
            color: #999999;
            margin-left: 5px;
          }
          .four i:last-child {
            color: #ccc;
          }
          .four-half i:last-child {
            background: linear-gradient(to right, #e50000 50%, #ccc 50%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
          }
        }
      }
    }
    .gernes {
      padding-top: 30px;
      .gerne {
        display: flex;
        gap: 5px;
        color: #999999;
        h4 {
          font-weight: 400;
        }
      }
      .types {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        span {
          color: white;
          font-weight: 300;
          font-size: 0.9rem;
          background-color: #141414;
          padding: 5px;
          border: 1px solid #2b2b2b;
          border-radius: 6px;
        }
      }
    }
    .director {
      padding-top: 30px;
      h3 {
        color: #999999;
        font-weight: 400;
        margin-bottom: 10px;
        font-size: 0.9rem;
      }
      .shetty {
        background-color: #141414;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 10px;
        border-radius: 6px;
        border: 1px solid #2b2b2b;
        .image img {
          width: 80px;
        }
        .name {
          h4 {
            color: white;
            font-weight: 400;
            font-size: 0.8rem;
          }
          span {
            color: #999999;
            font-size: 0.8rem;
          }
        }
      }
    }
    .music {
      padding-top: 30px;
      h3 {
        color: #999999;
        font-weight: 400;
        margin-bottom: 10px;
        font-size: 0.9rem;
      }
      .lok {
        background-color: #141414;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 10px;
        border-radius: 6px;
        border: 1px solid #2b2b2b;
        .image img {
          width: 80px;
        }
        .name {
          h4 {
            color: white;
            font-weight: 400;
            font-size: 0.8rem;
          }
          span {
            color: #999999;
            font-size: 0.8rem;
          }
        }
      }
    }
  }
}
@media (max-width: 992px) {
  .Content .container {
    flex-direction: column;
  }

  .left,
  .right {
    max-width: 100%;
  }

  .right {
    margin-top: 20px;
  }
  .cast .actors {
    flex-wrap: wrap;
  }
  .actors img {
    width: 70px;
  }
  .cont {
    gap: 20px;
  }
  .shetty,
  .lok {
    width: fit-content;
    text-align: center;
  }
  .ratings {
    justify-content: center !important;
  }
}
@media (max-width: 768px) {
  .cont {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .box {
    max-width: 100%;
  }
  .name-rate {
    flex-wrap: wrap;
  }
}
@media (max-width: 400px) {
  .name-rate {
    flex-direction: column;
    gap: 10px;
    .rate {
      flex-direction: column;
    }
  }
  .f-line {
    flex-direction: column;
  }
  .ratings {
    flex-direction: column;
    gap: 20px;
  }
  .shetty,
  .lok {
    width: 100%;
    flex-direction: column;
  }
}
@media (max-width: 576px) {
  .cast,
  .review,
  .right,
  .left .description {
    padding: 15px;
  }

  .box {
    padding: 20px 10px;
  }
}

/* additional edit  */
.left {
  flex: 2 !important;
  min-width: 0 !important;
}

.right {
  flex: 1 !important;
  min-width: 0 !important;
}
/* page open */
.grid {
  position: relative;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
      to top,
      #131313,
      #1313137e,
      #13131323,
      transparent,
      transparent
    );
  }
  p {
    max-width: 80%;
  }
}
.season {
  background-color: #1a1a1a;
  border: 0.5px solid #2b2b2b;
  border-radius: 6px;
  padding: 25px;
  margin-bottom: 10px;
  h2 {
    color: white;
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 600;
  }
}
.season .sea {
  background-color: #0f0f0f;
  border: 0.5px solid #2b2b2b;
  border-radius: 6px;
  padding: 20px;
  .name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    h3 {
      color: white;
      font-size: 1.25rem;
      font-weight: 500;
      span {
        color: #888888;
        font-size: 0.95rem;
        margin-left: 10px;
      }
    }
    .svg {
      background-color: #141414;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      border: 1px solid #2b2b2b;
      cursor: pointer;
      transition: all 0.3s ease;
      svg {
        stroke: #999999;
      }
      &:hover {
        background-color: #0f0f0f;
        border-color: white;
        svg {
          stroke: white;
        }
      }
    }
  }
  .episodes {
    display: none;
  }
}
.season .sea:not(:last-child) {
  margin-bottom: 20px;
}
.sea.active {
  .name {
    margin-bottom: 20px;
  }
  .svg svg {
    transform: rotate(180deg);
  }
  .episodes {
    display: block;
  }
}
.sea .ep {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 0.5px solid #2b2b2b;
  padding: 20px 0;
  .image {
    display: flex;
    align-items: center;
    gap: 10px;
    span {
      color: #999999;
      font-size: 1.2rem;
      font-weight: 700;
    }
  }
  .info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    h4 {
      flex: 1;
      color: white;
      font-size: 1.1rem;
      font-weight: 500;
    }
    .time {
      background-color: #141414;
      padding: 8px 10px;
      color: #999999;
      font-size: 0.9rem;
      font-weight: 500;
      border: 1.5px solid #2b2b2b;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 5px;
    }
    p {
      flex-basis: 100%;
      line-height: 1.6;
      color: #999999;
      font-size: 1rem;
    }
  }
}
@media (max-width: 768px) {
  .sea .ep {
    flex-direction: column;
    align-items: flex-start;
    .image {
      flex-direction: row-reverse;
    }
    .info {
      flex-direction: column-reverse;
      align-items: flex-start;
      p {
        display: none;
      }
    }
  }
}
/*support page*/
.form-pak {
  padding-top: var(--padding-top);
  padding-bottom: 60px;
}
.form-pak .container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.form-pak .container .box-form {
  flex-basis: calc(40% - 20px);
  padding-right: 30px;
  h2 {
    font-size: 2.5rem;
    line-height: 1.7;
    font-weight: 600;
    color: white;
  }
  p {
    font-size: 0.8rem;
    color: #999999;
    line-height: 1.7;
    margin: 20px 0;
  }
  img {
    max-width: 100%;
  }
}
.form-pak .container .form {
  flex-basis: calc(60% - 20px);
  background-color: var(--footer);
  padding: 40px;
  border: 2px solid var(--secondry);
  border-radius: 6px;
  input,
  textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--background);
    border: 1px solid var(--secondry);
    border-radius: 6px;
    color: white;
  }
}
.form-pak .container .form form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.form-pak .container .form form .input {
  flex-basis: calc(50% - 20px);
}
.form-pak .container .form form .input.message {
  flex-basis: 100%;
  textarea {
    height: 130px;
  }
}
.form-pak .container .form .input label {
  display: block;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.form-pak .container .form form .input .tel {
  display: flex;
  gap: 10px;
  input {
    flex: 1;
  }
  select {
    padding: 5px;
    background-color: var(--background);
    border: 1px solid var(--secondry);
    border-radius: 6px;
    color: white;
  }
}
.form-pak .container .form .send {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 50px;
  .input {
    display: flex;
    align-items: center;
    gap: 10px;
    input {
      width: fit-content;
      background-color: var(--background);
      border: 1px solid var(--secondry);
      border-radius: 6px;
      color: white;
    }
    label {
      display: block;
      color: #999999;
      font-size: 1rem;
      font-weight: 500;
      margin-bottom: 0;
    }
  }
  button {
    background-color: var(--button);
    color: white;
    padding: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    &:hover {
      background-color: #af0101;
    }
  }
}
@media (max-width: 992px) {
  .form-pak .container {
    flex-direction: column;
    align-items: stretch;
  }
  .form-pak .container .box-form,
  .form-pak .container .form {
    flex-basis: 100%;
  }
}
@media (max-width: 768px) {
  .form-pak .container .form form,
  .form-pak .container .form .send {
    flex-direction: column;
    align-items: stretch;
    button {
      margin-top: 20px;
    }
  }
  .form-pak .container .form form .input {
    flex-basis: 100%;
    input {
      flex: 1;
    }
  }
}
.sup-ask {
  padding-bottom: 60px;
}
/* subscribe page */
.table {
  padding: var(--padding-top) 0;
  .text {
    margin-bottom: 30px;
    h3 {
      color: white;
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 10px;
    }
    p {
      max-width: 95%;
      color: #999999;
      font-size: 0.93rem;
      line-height: 1.6;
    }
  }
  ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    li {
      padding: 20px;
      color: #999999;
      font-size: 0.9rem;
      line-height: 1.6;
    }
  }
}
.table-body {
  border: 1.5px solid #2b2b2b;
  border-radius: 6px;
  ul li:not(:first-child) {
    border-left: 1.5px solid #2b2b2b;
  }
}
.table-header {
  background-color: #0f0f0f;
  ul li {
    cursor: pointer;
    font-size: 1rem;
    color: white;
    font-weight: 500;
    span {
      font-size: 0.6rem;
      font-weight: 400;
      padding: 3px 5px;
      background-color: var(--button);
    }
  }
}
.sub-table ul {
  border-top: 1.5px solid #2b2b2b;
  li:not(.feature) {
    font-size: 0.8rem;
  }
}
@media (max-width: 768px) {
  .table-header {
    padding: 10px;
    border: 1px solid #2b2b2b;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    ul {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      align-items: center;
      justify-content: center;
    }
    ul li {
      padding: 10px 5px;
      border-radius: 6px;
      color: #999999;
      span {
        display: none;
      }
    }
    ul li.none {
      display: none;
    }
    ul li.active {
      color: white;
      background-color: var(--secondry);
    }
  }
  .table-body {
    border: none !important;
    ul li:not(:first-child) {
      border-left: none !important;
    }
  }
  .sub-table {
    background-color: #0f0f0f;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    ul {
      display: block;
      flex-basis: 50%;
      border-top: none !important;
      li.feature {
        color: white;
      }
    }
    ul.devices,
    ul.content {
      flex-basis: 100%;
    }
    ul.price {
      order: -2;
    }
    ul.free-trial {
      order: -1;
    }
    ul li:not(.feature):not(.active) {
      display: none;
    }
  }
}
/* animation */
@keyframes rotater {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
