@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/ */
  html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  /* https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html */
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  h1,
  h2,
  h3,
  button,
  input,
  label {
    line-height: 1.1;
  }

  h1,
  h2,
  h3,
  h4 {
    text-wrap: balance;
  }

  p,
  li {
    text-wrap: pretty;
  }

  img,
  picture {
    max-inline-size: 100%;
    display: block;
  }

  input,
  button,
  textarea,
  select {
    font: inherit;
  }
}

@layer base {
  :root {
    --black: #060606;
    --white: #fff;
    --primary: linear-gradient(180deg, #5d00fd 0%, #fb00f6 100%);
    --purple: #5d00fd;
    --pink: #fb00f6;
    --gray: #1e1e1e;
    --dark-gray: #222222;
    --light-gray: #ccc9c9;
    --md-gray: #818181;

    --border-radius-1: 1.875rem;
    --border-radius-2: 1.25rem;
    --border-radius-3: 0.938rem;
    --border-radius-4: 3.75rem;
  }

  @view-transition {
    navigation: auto;
  }

  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

  html {
    scroll-padding: 2rem;
    overflow-x: hidden;
  }

  body {
    min-block-size: 100vh;
    line-height: normal;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: var(--white);
    background-color: var(--black);
  }

  h1 {
    font-weight: 700;
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
    font-weight: 700;

    strong {
      font-size: 3rem;
    }
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  a {
    color: var(--pink);
    text-decoration: underline;
  }

  p:empty {
    display: none;
  }

  .btn {
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius-1);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    text-decoration: none;
    width: 239px;
    height: 68px;
    font-size: 22px;
    font-weight: 700;
  }

  p:empty {
    display: none;
  }
}

@layer utilites {
  .background-primary {
    background-color: var(--primary);
  }

  .background-dark {
    background-color: var(--dark-gray);
  }

  .background-light {
    background-color: var(--light-gray);
  }

  .background-pattern {
    background: url("../images/premium/bck-pattern.jpg") center no-repeat;
    background-size: cover;
  }

  .d-none {
    display: none;
  }

  .d-flex {
    display: flex;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .flex-column {
    flex-direction: column;
  }

  .d-flex .column {
    flex-basis: 50%;
    flex-grow: 1;
  }

  .justify-center {
    justify-content: center;
  }

  .justify-between {
    justify-content: space-between;
  }

  .align-center {
    align-items: center;
  }

  .text-center {
    text-align: center;
  }

  .text-white {
    color: var(--white);
  }

  .text-black {
    color: var(--black);
  }

  .text-light-primary {
    color: var(--light-primary);
  }

  .col-4 {
    width: 32%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-7 {
    width: 60%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  .m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .mt-0 {
    margin-top: 0 !important;
  }

  .mt-1 {
    margin-top: 0.625rem !important;
  }

  .mt-2 {
    margin-top: 1rem !important;
  }

  .mt-3 {
    margin-top: 1.5rem !important;
  }

  .mt-4 {
    margin-top: 2rem !important;
  }

  .mt-5 {
    margin-top: 2.5rem !important;
  }

  .mb-0 {
    margin-bottom: 0 !important;
  }

  .mb-1 {
    margin-bottom: 0.625rem !important;
  }

  .mb-2 {
    margin-bottom: 1rem !important;
  }

  .mb-3 {
    margin-bottom: 1.5rem !important;
  }

  .mb-4 {
    margin-bottom: 2rem !important;
  }

  .mb-5 {
    margin-bottom: 2.5rem !important;
  }

  .pt-0 {
    padding-top: 0 !important;
  }

  .pt-1 {
    padding-top: 0.625rem !important;
  }

  .pt-2 {
    padding-top: 1rem !important;
  }

  .pt-3 {
    padding-top: 1.5rem !important;
  }

  .pt-4 {
    padding-top: 2rem !important;
  }

  .pt-5 {
    padding-top: 2.5rem !important;
  }

  .pb-0 {
    padding-bottom: 0 !important;
  }

  .pb-1 {
    padding-bottom: 0.625rem !important;
  }

  .pb-2 {
    padding-bottom: 1rem !important;
  }

  .pb-3 {
    padding-bottom: 1.5rem !important;
  }

  .pb-4 {
    padding-bottom: 2rem !important;
  }

  .pb-5 {
    padding-bottom: 2.5rem !important;
  }

  @media screen and (max-width: 767px) {
    .mobile-column {
      flex-direction: column;
    }
  }

  .reverse-mobile {
    @media screen and (max-width: 767px) {
      flex-direction: column-reverse;
    }
  }
}

@layer layout {
  .wrapper {
    width: 100%;
    --wrapper-max-width: 1200px;
    --wrapper-padding: 1rem;

    max-width: var(--wrapper-max-width);
    margin-inline: auto;
    padding-inline: var(--wrapper-padding);

    /* helps to match the Figma file */
    box-sizing: border-box;
  }

  .wrapper[data-width="narrow"] {
    --wrapper-max-width: 800px;
  }

  .wrapper[data-width="narrowXS"] {
    --wrapper-max-width: 400px;
  }

  .wrapper[data-width="wide"] {
    --wrapper-max-width: 1439px;
  }

  .section {
    padding-block: 5rem;

    @media (max-width: 767px) {
      padding-block: 2.5rem;

      &[data-padding="compact"] {
        padding-block: 2.25rem;
      }
    }
  }

  .column-responsive {
    @media screen and (max-width: 767px) {
      flex-direction: column;
      width: 100%;
      box-sizing: border-box;
    }
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;

    @media screen and (max-width: 667px) {
      grid-template-columns: 1fr;
    }
  }

  .modal-grid {
    display: grid;
    place-items: center;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    height: 100%;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }
}

@layer components {

  /*NAVAR*/

  .nav-bar {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: .75rem 2.5rem;
    background: var(--dark-gray);

    @media screen and (max-width: 767px) {
      padding: .5rem 1rem;
      justify-content: space-between;
    }

    a {
      list-style: none;
      text-decoration: none;
      color: var(--light-gray);
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      @media screen and (max-width: 767px) {
        font-size: 12px;
      }

      svg {fill: var(--light-gray);}
    }

    .mail {
      padding-left: 10px;
    }
  }

  /* Navigation  */
  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    align-items: center;
    position: relative;
    z-index: 999;
    background: var(--black);

    .logo {
      width: 200px;
    }

    @media screen and (max-width: 650px) {
      padding: 1rem;
    }

    .logo_header {
      max-width: 240px;
      width: 80%;

      @media screen and (min-width: 768px) and (max-width: 1199px) {
        max-width: 180px;
      }

      @media screen and (max-width: 767px) {
        max-width: 140px;
      }
    }

    .logo-icon {
      display: none;
    }

    @media (max-width: 767px) {
      .logo-full {
        display: none;
      }

      .logo-icon {
        display: inline-block;
        height: 40px;
      }
    }

    .site_navigation {
      grid-column: 3;
      justify-self: end;

      @media screen and (max-width: 767px) {
        display: none;
      }

      @media screen and (max-width: 767px) {
        position: fixed;
        inset: 0;
        background: var(--black);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        z-index: 2;
        right: 0;
        left: auto;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* Add for iOS smooth scrolling */
        -webkit-transform: translateX(100%);
        /* Ensure compatibility with older iOS */

        &.active {
          transform: translateX(0);
          -webkit-transform: translateX(0);
          /* For iOS compatibility */
        }
      }

      ul {
        display: flex;
        gap: 1.25rem;

        a {
          text-decoration: none;
          font-weight: 700;
          color: var(--white);

          @media screen and (max-width: 767px) {
            font-size: 20px;
          }
        }

        @media screen and (max-width: 767px) {
          flex-direction: column;
          gap: 1.5rem;
          padding: 2rem 0;
        }
      }
    }

    .header-right {
      grid-column: 3;
      position: relative;
      display: flex;
      gap: 0.75rem;
      align-items: center;

      .dropdown-trigger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
      }

      .dropdown-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: var(--gray);
        width: 20%;
        padding: 5rem 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 9;

        &.active {
          right: 0;
        }

        ul {
          display: flex;
          flex-direction: column;
          gap: 1.25rem;

          li a {
            display: block;
            padding: 0.5rem;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--white);
            text-decoration: none;
            transition: color 0.2s;
          }
        }

        @media screen and (max-width: 840px) {
          width: 80%;
        }
      }

      .search-box {
        width: fit-content;
        height: fit-content;
        position: relative;
      }

      .input-search {
        height: 50px;
        width: 50px;
        border-style: none;
        padding: 10px;
        font-size: 18px;
        outline: none;
        border-radius: 5px;
        transition: all 0.5s ease-in-out;
        padding-right: 40px;
        background: #1f1f1f;
        color: #fff;
      }

      .input-search::placeholder {
        color: rgba(255, 255, 255, 0.5);
        font-size: 15px;
        font-weight: 100;
      }

      .btn-search {
        width: 50px;
        height: 50px;
        border-style: none;
        font-size: 20px;
        font-weight: bold;
        outline: none;
        cursor: pointer;
        border-radius: 50%;
        position: absolute;
        right: 0px;
        color: #ffffff;
        background-color: transparent;
        pointer-events: painted;
      }

      .btn-search > img {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
      }

      .btn-search:focus ~ .input-search,
      .input-search:focus {
        width: 300px;
        transition: all 500ms cubic-bezier(0, 0.11, 0.35, 2);
      }

      .unsubLink {
        color: var(--white);
        font-weight: 800;
        font-size: 20px;
        text-decoration: none;
      }

      @media screen and (max-width: 767px) {
        gap: 0.3rem;
      }
    }

    .desktop-nav {
      display: flex;
      gap: 1.25rem;

      @media screen and (max-width: 767px) {
        display: none;
      }

      a {
        text-decoration: none;
        font-weight: 700;
      }
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 6px;
      cursor: pointer;
      padding: 5px;
      background: none;
      border: none;
      z-index: 10;

      span {
        display: block;
        width: 30px;
        height: 3px;
        background: var(--white);
        transition: 0.3s ease-in-out;
      }

      &.active {
        position: fixed;
        right: 30px;

        span:first-child {
          transform: translateY(9px) rotate(45deg);
        }

        span:nth-child(2) {
          opacity: 0;
        }

        span:last-child {
          transform: translateY(-9px) rotate(-45deg);
        }
      }

      &[aria-expanded="true"] {
        position: fixed;
        right: 30px;

        span:first-child {
          transform: translateY(9px) rotate(45deg);
        }

        span:nth-child(2) {
          opacity: 0;
        }

        span:last-child {
          transform: translateY(-5px) rotate(-45deg);
        }
      }

      @media screen and (max-width: 767px) {
        display: flex;
        align-items: flex-end;
      }
    }

    @media screen and (min-width: 768px) {
      .mobile-nav {
        display: none;
      }
    }
  }

  /* unsusb nav  */

  .unsub-link {
    font-size: 0;
  }

  .unsub-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* margin-right: -20px; */

    @media (max-width: 767px) {
      margin-right: 0;
    }

    .unsubLink {
      color: var(--white);
      font-weight: 800;
      font-size: 20px;
      text-decoration: none;
    }
  }

  /* Hero Section */

  .page_hero {
    position: relative;
    padding-block-start: 6rem;
    padding-block-end: 6rem;
    display: flex;
    flex-direction: column;
    color: var(--white);
    background-image: url(../images/premium/landing-hero-background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 500px;
    width: 90%;
    margin: auto;
    border-radius: 20px;

    .img-hero img {
      padding-left: 20px;
    }

    &.content-page {
      background-image: url(../images/content-hero-background.jpg);
    }

    @media screen and (max-width: 767px) {
      padding-block-start: 2.5rem;
      padding-block-end: 2.5rem;
      min-height: auto;
    }

    .hero-content-flex {
      display: flex;
      flex-direction: row;

      @media screen and (max-width: 767px) {
        flex-direction: column;
        gap: 20px;
      }
    }

    .hero-content {
      max-width: 800px;
      gap: 50px;
      width: 700px;
      justify-content: center;

      p {
        @media screen and (max-width: 414px) {
          font-size: 14px;
        }
      }

      h1 {
        font-size: 3rem;

        @media screen and (max-width: 1199px) {
          font-size: 2rem;
        }

        @media screen and (max-width: 767px) {
          font-size: 2rem;
        }

        @media screen and (max-width: 414px) {
          font-size: 1.5rem;
        }
      }

      @media screen and (max-width: 767px) {
        font-size: 1.5rem;
        padding: 1.5rem 3rem;
        width: 100%;
        max-width: 100%;
      }
    }

    .btn:hover,
    .btn:focus-visible {
      transform: scale(1.05);
    }
  }
}

.background-home {
  background-image: url(../images/premium/bck-page-home.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 200px 200px;
  text-align: center;
  border-radius: var(--border-radius-4);

  @media screen and (min-width: 768px) and (max-width: 1199px) {
    padding: 80px 50px;
  }

  @media screen and (max-width: 767px) {
    padding: 20px;

    p {
      color: var(--white);
      font-size: 16px;
    }
  }

  h2 {
    font-size: 70px;
    font-style: normal;
    font-weight: 900;
    line-height: 70px;
    text-transform: uppercase;
    color: var(--white);
    padding: 20px 0;

    @media screen and (max-width: 414px) {
      font-size: 40px;
    }
  }

  p {
    color: var(--white);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding: 20px 0 50px;

    @media screen and (max-width: 414px) {
      color: var(--white);
      font-size: 14px;
    }
  }
}

.carousel {
  overflow: hidden;
  margin: auto;
  justify-content: flex-end;
  align-items: flex-start;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.carousel img {
  width: 500px;
  flex-shrink: 0;
  padding: 20px;
  border-radius: var(--border-radius-1);

  @media screen and (max-width: 414px) {
    width: 250px;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  33% {
    transform: translateX(-300px);
  }

  66% {
    transform: translateX(-600px);
  }

  100% {
    transform: translateX(0);
  }
}

.content-icon-hero {
  align-items: center;
  gap: 32px;
  align-self: stretch;

  @media screen and (max-width: 1199px) {
    flex-direction: column;
  }

  h3 {
    color: var(--white);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    padding: 10px 0;
  }

  p {
    color: var(--white);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    line-height: 24px;
  }

  img {
    width: 81px;
    height: 81px;
    flex-shrink: 0;
  }

  .card-icon {
    justify-content: center;
    padding: 20px;
    border-radius: 15px;
    background: #141414;

    img {
      margin: auto;
      padding: 20px;
    }
  }
}

.hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.intro-text {
  font-size: 21px;
}

/*Categories selector*/

.selector-frame {
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }

  .content-type-btn {
    padding: 4rem 6rem;
    color: var(--black);
    border: none;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;

    @media screen and (max-width: 1439px) {
      padding: 2rem;
    }

    @media screen and (max-width: 767px) {
      align-items: center;
      text-align: center;
    }

    > * {
      position: relative;
      z-index: 1;
    }

    p {
      max-width: 50%;

      @media screen and (max-width: 767px) {
        display: none;
      }

      @media screen and (min-width: 768px) and (max-width: 1199px) {
        max-width: 100%;
      }
    }

    .btn-frame {
      filter: brightness(0.8) contrast(1.5);
      padding: 1rem 2rem;
      width: 100%;
      max-width: 360px;
      font-size: 20px;
      font-weight: 600;
      text-align: center;
      background: #ffffff80;
      color: var(--white);
      border-radius: 30px;
    }

    &:hover {
      filter: brightness(1.25);
      transform: scale(1.05);
    }

    &.active {
      background: var(--gray);
      cursor: not-allowed;
      transform: none;
      filter: none;
      color: var(--white);
      z-index: 1;
      align-items: center;

      .btn-frame {
        background: var(--primary);
      }
    }

    &::before {
      @media screen and (max-width: 767px) {
        content: none !important;
      }

      @media screen and (min-width: 768px) and (max-width: 1199px) {
        filter: opacity(0.25);
        backdrop-filter: opacity(0.25);
      }
    }

    &.film::before {
      content: "";
      z-index: 0;
      position: absolute;
      bottom: 0;
      right: 0;
      height: 100%;
      width: 100%;
    }

    &.videos::before {
      content: "";
      z-index: 0;
      position: absolute;
      bottom: 0;
      right: 0;
      height: 100%;
      width: 100%;
    }
  }
}

/*video card*/

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 2rem;

  @media (max-width: 767px) {
    padding: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
  }

  .hero-description {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
  }

  @media (max-width: 767px) {
    .hero-title {
      font-size: 2.2rem;
    }

    .hero-description {
      font-size: 1rem;
    }
  }
}

/* Hide elements with these classes initially */
.movie-hidden,
.video-hidden {
  display: none;
}

/* Hero Payment  */

.hero_payment {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* Price Cards Payment  */
  .price_cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 30px 0 60px;

    h1 {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 0px;
      text-transform: uppercase;
    }

    .pricing-toggle {
      display: flex;
      justify-content: center;
      width: 100%;
      overflow: hidden;

      .pricing-option {
        background-color: var(--white);
        color: black;
        padding: 30px 50px;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        border-radius: 8px;

        .price {
          font-size: 24px;
          font-weight: bold;
          margin: 0;
        }

        .duration {
          font-size: 18px;
          font-weight: 500;
          margin: 5px 0;
        }

        .details {
          font-size: 14px;
        }

        &:first-child {
          margin-right: 5px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }
        &.active {
          background-color: var(--pink);
          color: var(--white);
        }
      }

      @media (max-width: 767px) {
        flex-direction: column;
        gap: 5px;
        width: 100%;
        padding: 20px;
        margin: 0;
        border-radius: 7px;
      }
    }
  }

  .headpart {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #232323;
    color: var(--white);
    padding: 40px 0;

    h1 {
      color: var(--md-gray);
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 30px;
    }

    .flex-container-col {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .checkbox-group {
      margin-bottom: 15px;
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;

      .checkbox-group input[type="checkbox"] {
        margin-top: 5px;
      }

      label {
        font-size: 14px;
        line-height: 1.5;
        display: block;
        margin-left: 10px;
        position: relative;
      }
    }

    .btn {
      padding: 18px;
      width: 100%;
      max-width: 320px;
      font-size: 30px;
      font-weight: 700;
      line-height: 30px;
      margin: 30px auto;
      display: block;

      &:disabled {
        background: var(--black);
        border-color: var(--black);
        color: var(--md-gray);
        cursor: not-allowed;
      }
    }
  }
}

/* Swiper   */
.swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  position: relative;
  width: auto !important;
  flex-shrink: 0;
}

.swiper-slide:first-child {
  margin-left: 40px;

  .slide-number {
    left: -30px;
  }
}

.swiper-slide:last-child {
  .slide-number {
    left: -80px;
  }
}

.swiper-slide img {
  width: 100%;
  max-width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius-3);
}

.slide-number {
  position: absolute;
  bottom: 0px;
  left: -60px;
  font-size: 150px;
  font-weight: 700;
  color: #dcdcdc;
  opacity: 0.5;
  z-index: -1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Home Apps */

.homeApps {
  padding: 4.125rem 3.125rem;
  margin-bottom: 3.125rem;
  border-radius: var(--border-radius-2);

  @media (max-width: 767px) {
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  &.play {
    background: url(../images/playHome_bck.png) center no-repeat;
    background-size: cover;
  }

  &.learn {
    background: url(../images/playHome_bck.png) center no-repeat;
    background-size: cover;
  }

  &.enjoy {
    background: url(../images/playHome_bck.png) center no-repeat;
    background-size: cover;
  }

  &.watch {
    background: url(../images/watchHome_bck.jpg) center no-repeat;
    background-size: cover;

    .homeApps__container {
      h4 {
        font-size: 0.8rem;
        font-weight: 400;
        margin-top: 0.5rem;
        color: var(--white);
      }

      .homeApps__item {
        height: 160px;
      }
    }
  }

  &.fitness {
    background: url(../images/fitnessHome_bck.png) center no-repeat;
    background-size: cover;
  }

  .homeApps_text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    text-align: left;

    @media (max-width: 767px) {
      align-items: center;
      text-align: center;
      gap: 1rem;
    }

    h3 {
      text-transform: capitalize;
      font-size: 1.875rem;

      @media (max-width: 576px) {
        font-size: 1.5rem;
      }
    }

    .btn {
      padding: 0.5rem 1.25rem;
      font-size: 1rem;

      &:hover,
      &:focus-visible {
        transform: scale(1.05);
        color: var(--white);
      }
    }
  }

  .homeApps__container {
    background-color: rgb(221, 162, 222, 0.5);
    padding: 1rem;
    border-radius: var(--border-radius-2);
    gap: 0.625rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }

    @media (max-width: 767px) {
      width: 100%;
      justify-content: flex-start;
    }
  }

  .homeApps__item {
    width: 120px;
    height: 120px;
    flex-shrink: 0;

    @media (max-width: 576px) {
      width: 100px;
      height: 100px;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--border-radius-3);
    }
  }
}

/* Cards on login page  */

.card {
  border-radius: var(--border-radius-1);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  background: var(--black);

  &:hover,
  &:focus-visible {
    transform: translateY(-0.5rem);
  }

  &:nth-child(1) {
    background: url(../images/premium/futuristic-ninja.jpg);
    background-size: cover;
    background-position: center;
  }

  &:nth-child(2) {
    background: url(../images/premium/backpacker.jpg);
    background-size: cover;
    background-position: center;
  }

  &:last-child {
    background: url(../images/premium/speed-car.jpg);
    background-size: cover;
    background-position: center;
  }

  .card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--black);

    h3 {
      text-transform: uppercase;
      color: var(--white);
    }

    p {
      color: var(--gray);
    }
  }
}

.cards_new_games {
  flex-wrap: wrap;

  .card_new_games {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

    h4 {
      margin: 0.5rem auto;
    }
  }
}

/* Category Page */

.category_hero {
  padding: 7.125rem 2rem;
  background-size: cover;
  color: var(--white);
  text-align: center;
  border-radius: var(--border-radius-2);

  h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
  }

  p {
    font-size: 1.125rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  &.play {
    background: url(../images/play_bck.png) center no-repeat;
  }

  &.watch {
    background: url(../images/watchHome_bck.jpg) center no-repeat;
  }

  &.fitness {
    background: url(../images/fitnessHome_bck.png) center no-repeat;
    background-size: cover;
  }
}

/* Sections */

#section-comedy::before {
  background: url(../images/comedy-bck.png) no-repeat right top/25%;
}

#section-thriller::before {
  background: url(../images/thriller-bck.png) no-repeat left top/25%;
}

#section-drama::before {
  background: url(../images/drama-bck.png) no-repeat right top/25%;
}

#section-kids::before {
  background: url(../images/kids-bck.png) no-repeat left top/25%;
}

/* Category Cards */

.category-section {
  text-align: center;
  position: relative;

  .wrapper {
    position: relative;
    z-index: 1;
  }

  &::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0.35;
    z-index: 0;

    @media screen and (max-width: 767px) {
      background-size: 90% !important;
      filter: brightness(0.25);
    }
  }

  &:nth-of-type(even) {
    background: var(--black);
  }

  .apps {
    gap: 15px;
  }

  .section-title {
    margin-bottom: 10px;
    color: var(--md-gray);
  }

  .intro-text {
    max-width: 480px;
    margin: 0 auto;
    color: var(--md-gray);
  }
}

.category_card {
  width: 160px;
  height: 220px;
  overflow: hidden;
  border-radius: var(--border-radius-2);
  position: relative;
  transition: transform 0.3s ease-in-out;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  &:hover {
    transform: translateY(-5px);
  }

  img.cardsImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }
}

.category_card:hover img.cardsImage {
  transform: scale(1.05);
}

.movie-hidden {
  display: none;
}

.see-more-container {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.see-more-btn {
  cursor: pointer;
  margin: 0 auto;
  font-size: 1rem;
  border-color: var(--gray);
  padding: 0.75rem 2rem;
  margin-top: 20px;
}

.see-less-btn {
  cursor: pointer;
  margin: 0 auto;
  font-size: 1rem;
  border-color: var(--gray);
  background: var(--gray);
  padding: 0.75rem 2rem;
  margin-top: 40px;
}

.cardsTitle {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px;
  text-align: left;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  z-index: 2;
  margin: 0;
  line-height: normal;
}

#app-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
  justify-items: center;
}

/* Categorie Pills  */

.features-bar {
  margin: 20px 0;
  flex-wrap: wrap;
}

.labels {
  .item-label {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary);
    color: var(--black);
    font-weight: 600;
    font-family: "Inter", sans-serif;
    border-radius: 5px;
    max-height: fit-content;
    overflow: hidden;
    white-space: nowrap;
    /* Don't forget this one */
    text-overflow: ellipsis;
  }
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
}

.rating > img {
  width: 15px;
}

.categories {
  position: relative;
  overflow-x: auto;
}

form.categories-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  transition: transform 0.3s ease-in-out;
  width: max-content;
  padding: 0 0 10px 0;
  margin: 0 auto;

  .category-pill {
    padding: 0.5rem 1rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    border-radius: var(--border-radius-3);
    background-color: #232323;
    color: var(--white);
    font-size: 0.875rem;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;

    img {
      width: 20px;
      height: 20px;
      filter: brightness(10) contrast(5);
    }

    &.active {
      background-color: var(--primary);
      color: var(--white);
    }
  }
}

/* Search Page  */

#filter-content {
  position: absolute;
  inset: 0;
  background: var(--black);
  padding: 160px 20px;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  /* Adjust columns dynamically */
  gap: 40px 20px;
  /* Keeps consistent spacing between items */
  justify-content: start;
  /* Align items to the start */
  justify-items: center;
  align-content: start;
  /* Align the grid's content to the top */
  z-index: 2;

  p {
    color: var(--white);
  }
}

.film-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
  max-width: 180px;
  max-height: min-content;
}

.film-item img {
  height: 250px;
  width: 100%;
  max-width: 180px;
}

.film-item a {
  color: var(--white);
}

.film-item h3 {
  font-size: 14px;
  margin-top: 10px;
  text-align: left;
}

.hidden {
  display: none;
}

/* Scrollbar  */

/* width */
::-webkit-scrollbar {
  width: 15px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.329);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border-radius: 10px;
}

/* Section Picker */

.section_picker {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  padding: 0 50px;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    padding: 0;
  }

  button {
    padding: 20px;
    border: 2px solid var(--pink);
    color: var(--pink);
    width: 100%;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    transition: 0.2s;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;

    &.inactive {
      border: 1px solid var(--gray);
      color: var(--light-gray);
      align-items: center;
      background: var(--black);

      &.clicked {
        border: 2px solid var(--primary);
        color: var(--pink);
        background: transparent;
      }
    }
  }
}

/* Latest Articles  */
.latest_articles {
  background: url(../images/header-background.jpg) center no-repeat;
  background-attachment: fixed;
  background-size: cover;

  .btn {
    display: block;
    width: fit-content;
    margin: 1rem auto 0;
    padding: 0.75rem 2rem;
  }

  .d-flex {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 0;
  }

  .article_card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;

    &:hover {
      transform: translateY(-5px);
    }

    picture {
      width: 100%;
      height: 200px;
      overflow: hidden;
      border-radius: var(--border-radius-2);

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;

        &:hover {
          transform: scale(1.05);
        }
      }
    }

    .article-content {
      padding: 0.5rem;

      h5 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        color: var(--white);
      }

      .excerp p {
        font-size: 0.875rem;
        color: var(--white);
        line-height: 1.6;
      }
    }
  }
}

.latestUpdate {
  h2 {
    color: var(--white);
  }
}

@media screen and (max-width: 767px) {
  .latestUpdate h2 {
    text-align: center;
    margin-bottom: 1.3rem;
  }
}

/* Support pages  */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 60%;
  color: var(--white);

  h2,
  h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
  }

  p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  a {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
  }

  @media screen and (max-width: 767px) {
    width: 100%;
    margin-top: 0;
    gap: 0.5rem;

    &label {
      font-size: 0.75rem;
    }
  }
}

#title-section {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;

  p {
    font-size: 0.875rem;
    text-align: center;
  }

  a {
    color: var(--pink);
  }

  label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--black);
  }

  input,
  textarea {
    padding: 0.5rem;
    border: 1px solid var(--gray);
    background: var(--gray);
    color: var(--white);
  }

  @media screen and (max-width: 767px) {
    &label {
      font-size: 0.75rem;
    }
  }
}

/* Single Items  */
.single-item,
.single-movie {
  h1 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
  }

  h2 {
    font-size: 19px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .img-radial {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    @media screen and (max-width: 767px) {
      overflow: hidden;
      max-width: 180px;
    }

    img {
      width: auto;
      max-height: 360px;
      min-width: 100%;
      border-radius: var(--border-radius-3);
      object-fit: cover;
    }
  }

  .single-item-info {
    width: 50%;

    p,
    ul li,
    ol li {
      line-height: 24px;
      margin: 20px 0 !important;
      background: none !important;
      font-size: 16px !important;
      color: var(--white) !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      background: none !important;
      color: var(--white) !important;
    }

    video {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
}

.single-movie .single-item-info {
  width: 100%;
}

.unsub-container {
  background: var(--gray);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
  border-radius: var(--border-radius-1);
  color: var(--white);
  max-width: 480px;
  margin: 0 auto;

  @media screen and (max-width: 767px) {
    padding: 2rem 1rem;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;

    .h-captcha {overflow: auto;}

    input {
      padding: 0.5rem;
      border: 1px solid var(--white);
      border-radius: 5px;
      width: 100%;
      background: var(--white);
      color: var(--black);
    }

    .btn {
      width: 100%;
    }
  }

  #errorMsg {
    color: #e80000;
    font-size: 0.875rem;
  }
}

/* Alert styles */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert p {
  margin: 0;
}

/* Footer  */

.backToTopBtn {
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--purple);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px var(--primary);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
}

#backToTop {
  opacity: 0;
  visibility: hidden;

  &.visible {
    opacity: 1;
    visibility: visible;
  }
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.backToTopBtn:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: var(--pink);
  align-items: center;
}

.backToTopBtn:hover .svgIcon {
  /* width: 20px; */
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.backToTopBtn::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: var(--white);
  /* transition-duration: .3s; */
  font-size: 0px;
}

.backToTopBtn:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  /* transform: translateY(-30px); */
  transition-duration: 0.3s;
}

.disclaimer {
  text-align: center;
  background-color: var(--gray);
  padding-bottom: 50px;

  .disclaimer-text {
    max-width: 80%;
    margin: auto;
  }

  .copyrights-login {
    text-align: center;
    padding: 10px;
  }
}

.site_footer {
  padding: 3.5rem 20px 2.5rem;
  justify-content: space-around;
  background-color: var(--gray);
  border-radius: 50px 50px 0px 0px;

  @media screen and (max-width: 1199px) {
    flex-direction: column;
  }

  .footer_link {
    text-align: center;

    @media screen and (max-width: 1199px) {
      margin-bottom: 30px;
    }

    h3 {
      margin-bottom: 10px;
    }

    li {
      margin-bottom: 10px;
    }
  }

  .btn-footer {
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary);
    border: none;
  }

  .btn-unsub {
    color: var(--white);
    background-color: transparent;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 15px 25px;

    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid var(--white);
    flex-shrink: 0;
  }

  a {
    color: var(--white);
    text-decoration: none;

    &:hover,
    &:focus-visible {
      color: var(--white);
    }
  }

  p {
    font-size: 13px;
    line-height: 16px;
    color: var(--md-gray);
    text-align: center;
    margin-bottom: 1rem;
  }

  .logos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  @media screen and (max-width: 767px) {
    ul {
      flex-direction: column;
      gap: 1.25rem;
    }

    .copyrights {
      font-size: 0.875rem;
    }
  }

  .logo_footer {
    width: 70%;
    margin: auto;
    max-width: 280px;
  }
}

.site_footer_payment {
  padding-block: 3.125rem;
  justify-content: space-around;
  border-radius: 50px 50px 0px 0px;

  @media screen and (max-width: 414px) {
    flex-direction: column;
  }

  .footer_link {
    text-align: left;

    h3 {
      margin-bottom: 10px;
    }

    li {
      margin-bottom: 10px;
    }
  }

  .btn-footer {
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary);
    border: none;
  }

  .btn-unsub {
    color: var(--white);
    background-color: transparent;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 15px 25px;

    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid var(--white);
    flex-shrink: 0;
  }

  a {
    color: var(--white);
    text-decoration: none;

    &:hover,
    &:focus-visible {
      color: var(--white);
    }
  }

  p {
    font-size: 13px;
    line-height: 16px;
    color: var(--md-gray);
    text-align: center;
    margin-bottom: 1rem;
  }

  .logos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  @media screen and (max-width: 767px) {
    ul {
      flex-direction: column;
      gap: 1.25rem;
    }

    .copyrights {
      font-size: 0.875rem;
      text-align: center;
      margin: auto;
    }
  }
}

/* Modals  */
.otp-modal,
.login-modal,
.unsub-modal,
.sign-up-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;

  .close {
    position: absolute;
    right: 1.25rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);

    @media screen and (max-width: 767px) {
      right: 1rem;
      top: 0.2rem;
    }
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;

    p {
      font-size: 0.875rem;
      text-align: center;
      color: var(--gray);
    }

    a {
      color: var(--purple);
    }

    @media screen and (max-width: 767px) {
      margin-top: 0;
      gap: 0.5rem;
      padding: 1rem;
      max-width: fit-content;

      &label {
        font-size: 0.75rem;
      }
    }
  }

  .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 6px;

    label {
      color: var(--gray);
      font-size: 0.875rem;
      display: inline;
    }

    input[type="checkbox"] {
      accent-color: var(--pink);
    }
  }

  .checkbox-group {
    label {
      color: var(--gray);
      display: inline;
      font-size: 0.875rem;

      @media screen and (max-width: 767px) {
        font-size: 0.75rem;
      }
    }
  }

  input {
    padding: 0.5rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius-3);
    color: var(--black);
  }

  .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
  }

  @media screen and (max-width: 767px) {
    h2 {
      font-size: 1.25rem;
      text-align: center;
    }

    input {
      padding: 0.5rem;
    }
  }

  @media screen and (max-width: 767px) {
    padding: 0.75rem;
  }

  .modal-content {
    background: var(--white);
    border-radius: var(--border-radius-2);
    width: 80%;
    max-width: 960px;
    height: fit-content;
    overflow: auto;
    position: relative;

    @media screen and (max-width: 767px) {
      width: 95%;
      margin-top: 2rem;
    }

    .form-group {
      padding-block: 5rem;

      @media screen and (max-width: 767px) {
        padding-block: 3rem;
      }

      input {
        background: var(--light-gray);
        padding: 0.625rem 1.25rem;

        &:focus-visible {
          outline: none;
          border: 1px solid var(--black);
        }

        &::placeholder {
          color: var(--gray);
        }

        @media screen and (max-width: 767px) {
          padding: 0.5rem;
        }
      }
    }
  }

  .modal-bck {
    background: url(../images/premium/modal-image.jpg) center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;

    @media screen and (max-width: 767px) {
      display: none;
    }
  }
}

/* Payment modal  */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--dark-gray);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

#paymentModal .modal-content {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 40px;
  max-width: 540px;
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;

  @media screen and (max-width: 479px) {
    padding: 30px 20px;
    height: 90%;
    overflow-y: auto;
  }

  h2 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 30px;
    text-align: center;
  }

  .form-group {
    margin-bottom: 20px;

    @media screen and (max-width: 479px) {
      gap: 3px;
    }
  }

  label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
  }

  input {
    width: 100%;
    padding: 7px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
    color: var(--black);

    &:focus {
      border-color: var(--light-primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(163, 26, 138, 0.1);
    }

    &:hover {
      border-color: var(--light-primary);
    }

    /* Input placeholder styling */
    &::placeholder {
      color: var(--md-gray);
    }

    /* Error state */
    &.error {
      border-color: #dc3545;
    }

    /* Success state */
    &.success {
      border-color: #28a745;
    }
  }

  .d-flex {
    display: flex;
    gap: 15px;

    .form-group {
      flex: 1;
    }
  }

  button[type="submit"] {
    width: 100%;
    margin-top: 10px;
  }

  .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: var(--black);
    cursor: pointer;
    transition: color 0.3s ease;

    @media screen and (max-width: 479px) {
      right: 10px;
      top: 5px;
    }
  }
}

/* Custom Audio Player Styling */
audio {
  width: 100%;
  height: 50px;
  border-radius: var(--border-radius-3);
}

/* Webkit (Chrome, Safari, newer versions of Opera) */
audio::-webkit-media-controls-panel {
  background-color: var(--light-gray);
  border-radius: var(--border-radius-3);
}

audio::-webkit-media-controls-play-button {
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--white);
}

audio::-webkit-media-controls-play-button:hover {
  background-color: var(--light-primary);
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: var(--black);
  font-family: "Inter", sans-serif;
}

audio::-webkit-media-controls-timeline {
  background-color: var(--gray);
  border-radius: 25px;
  margin: 0 10px;
}

audio::-webkit-media-controls-timeline:hover {
  background-color: var(--primary);
}

audio::-webkit-media-controls-volume-slider {
  background-color: var(--gray);
  border-radius: 25px;
  padding: 0 5px;
}

audio::-webkit-media-controls-volume-slider:hover {
  background-color: var(--primary);
}

/* Audio player container - for additional styling */
.audio-player-container {
  background: linear-gradient(135deg, #f5f5f5 0%, #dda2de40 100%);
  padding: 1.25rem;
  border-radius: var(--border-radius-2);
  box-shadow: 0px 0px 1rem rgba(221, 162, 222, 0.4);
  margin: 1rem 0;
  width: 100%;
}

#player img {
  background-size: cover;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Title Row and Section Subtitle  */
.title-row {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  text-align: center;

  h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--black) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -0.5px;
    text-transform: uppercase;

    @media (max-width: 767px) {
      font-size: 2rem;
    }
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%);
    border-radius: 2px;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  position: relative;
  text-align: center;

  &.highlighted {
    padding: 0.5rem 1rem;
    background-color: rgba(221, 162, 222, 0.1);
    border-left: 3px solid var(--primary);
    font-style: italic;
    border-radius: 0 var(--border-radius-3) var(--border-radius-3) 0;
  }

  @media (max-width: 767px) {
    font-size: 0.95rem;
  }
}

/* Legals Pages  */

.legals {
  padding: 50px 0;
  text-align: justify;

  div {
    color: var(--white);
    padding: 20px 0;
  }

  h2 {
    font-size: 2rem;
    margin: 2.5rem 0 0.5rem;
    color: var(--white);
  }

  h3 {
    font-size: 1.5rem;
    margin: 2rem 0 0.5rem;
    color: var(--white);
  }

  h4 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--white);
  }

  p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--white);
  }

  ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--white);

    li {
      margin-bottom: 0.5rem;
      color: var(--white);
    }
  }
}

@layer pages {
  /* div:empty {display: none;} */

  .page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 1rem;
    background: url("../images/back-terms.png") center no-repeat;
    background-size: cover;
    text-align: center;

    h1 {
      font-size: 2rem;
      text-transform: uppercase;
      font-weight: 600;
      color: var(--white);
    }
  }

  .text-frame {
    color: var(--white);
  }

  .page {
    p {
      font-size: 14px;
      margin: 10px 0;
    }

    .info-frame {
      background-color: var(--gray);
      padding: 30px;
      border-radius: 20px;
      color: var(--white);
      border: 1px solid var(--white);

      p {
        margin-bottom: 0;
      }

      .text-xl {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: normal;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

        @media screen and (max-width: 991px) {
          font-size: 1.2rem;
        }
      }
    }

    ul,
    ol {
      li {
        margin: 15px;
        list-style: disc;
      }
    }
  }

  .btn.primary {
    padding: 12px 40px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: 0.25s ease-out;

    &:hover {
      transform: scale(1.1);
    }
  }

  .account_page {
    @media screen and (max-width: 750px) {
      flex-direction: column;
    }
  }
}
