@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;
  }

  body {
    min-block-size: 100vh;
    line-height: 1.6;
  }

  h1,
  h2,
  h3,
  button,
  input,
  label {
    line-height: 1.1;
    font-size: 1.6em;
  }

  h1,
  h2,
  h3,
  h4 {
    text-wrap: balance;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }

  p,
  li,
  address {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1.6em;
  }

  img,
  picture {
    max-inline-size: 100%;
    display: block;
  }
}

@layer base {
  :root {
    --black: #121212;
    --white: #fff;
    --primary: #7fd14b;
    --light-primary: #84c25d;
    --dark-primary: #2a6200;
    --light-gray: #ececec;
    --primary-rgb: 127, 209, 75;
    --gray: #cccccc;
    --gray-md: #464646;
    --dark-gray: #1e251e;
    --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 {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: var(--white);
    background-color: var(--dark-gray);
    position: relative;
    line-height: normal;
    width: 100%;
    overflow-x: hidden;
  }

  h1 {
    font-size: 3em;
    font-weight: 700;
    color: var(--white);
  }

  h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
  }
  h2.border {
    border: 1px solid #dde9ef;
    margin: 0 auto;
    padding: 0.625rem 1.25rem;
  }
  a {
    color: var(--primary);
    text-decoration: none;
  }

  .btn {
    font-weight: 700;
    color: var(--white);
    background-color: var(--dark-primary);
    border-radius: var(--border-radius-4);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 4rem;
    line-height: 24px;
    font-size: 1.8em;
    border: none;
    transition: all 0.2s ease-out;
    width: fit-content;
    min-width: 240px;

    &:hover {
      transform: scale(1.1);
    }
  }

  .gradient-bck {
    background: #4da2d3 !important;
    background: -webkit-linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%) !important;
    background: -moz-linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%) !important;
    background: linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4DA2D3", endColorstr="#B7F5FF", GradientType=1) !important;
  }
}

@layer layout {
  .wrapper {
    --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;
    width: 100%;
  }

  .wrapper[data-width="narrow"] {
    --wrapper-max-width: 745px;
  }
  .wrapper[data-width="narrowXS"] {
    --wrapper-max-width: 400px;
  }

  .wrapper[data-width="wide"] {
    --wrapper-max-width: 1330px;
  }
  .section {
    padding-block: 4rem;

    @media (min-width: 767px) {
      &[data-padding="compact"] {
        padding-block: 2.25rem;
      }
    }
  }

  .modal-grid {
    display: grid;
    place-items: center;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    height: 80vh;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }
}
@layer components {
  /* Navigation  */
  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    align-items: center;
    position: relative;
    z-index: 999;
    background: var(--dark-gray);

    @media screen and (max-width: 650px) {
      padding: 1rem;
    }
    .logo_header {
      max-width: 200px;
      width: 100%;
      max-height: 60px;
    }
    .site_navigation {
      grid-column: 3;
      justify-self: end;

      @media screen and (max-width: 767px) {
        position: fixed;
        inset: 0;
        background: var(--dark-gray);
        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(--light-primary);

          @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: 1.25rem;
      align-items: center;

      .dropdown-trigger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
        z-index: 10;
        &.is-active {
          span {
            background-color: var(--primary);
          }
        }
      }

      .dropdown-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: var(--dark-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: 500;
            color: var(--primary);
            transition: color 0.2s;

            &:hover {
              color: var(--primary);
            }
          }
        }
        @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 {
        font-size: 20px;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--primary);
      }

      @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: 3;

      span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--light-primary);
        transition: 0.3s ease-in-out;
      }

      &.active {
        span:first-child {
          transform: translateY(9px) rotate(45deg);
        }
        span:nth-child(2) {
          opacity: 0;
        }
        span:last-child {
          transform: translateY(-9px) rotate(-45deg);
        }
        span {
          background-color: var(--primary);
        }
      }

      @media screen and (max-width: 767px) {
        display: flex;
        align-items: flex-end;
      }
    }

    @media screen and (min-width: 768px) {
      .mobile-nav {
        display: none;
      }
    }
  }

  /* Hero Section */

  .page_hero {
    position: relative;
    padding-block-start: 8rem;
    padding-block-end: 8rem;
    text-align: center;
    overflow: hidden;
    min-height: 640px;

    @media screen and (max-width: 1199px) {
      padding-block-start: 3rem;
      padding-block-end: 0;
      min-height: auto;
    }

    .hero-bck {
      position: absolute;
      right: 10%;
      bottom: 0;
      height: 100%;
      z-index: 0;
      overflow: hidden;

      @media screen and (min-width: 1200px) and (max-width: 1439px) {
        right: 5%;
      }

      @media screen and (max-width: 1199px) {
        margin-top: 20px;
        height: fit-content;
        max-height: 450px;
        position: relative;
        right: inherit;
        transform: translateX(-50%);
        left: 50%;
        width: 185px;
      }

      @media screen and (max-width: 767px) {
        max-height: 300px;
      }
    }

    .hero-full-bck {
      position: absolute;
      top: 50%;
      left: 50%;
      min-height: 100%;
      width: auto;
      transform: translate(-50%, -50%);
      z-index: 0;
      object-fit: cover;
    }
  }

  .hero-content {
    color: var(--black);
    font-family: "Lexend Deca", sans-serif;
    width: 100%;
    max-width: 1020px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;

    @media screen and (max-width: 1199px) {
      width: 100%;
      text-align: center;
      margin: 0 auto;
    }

    span {
      display: block;
      font-size: 1.875em;
    }

    h1 {
      color: var(--black);
      font-size: 4.5em;
      font-weight: 600;
      margin: 10px 0 30px;
      span {
        color: var(--primary);
        font-size: 5rem;
      }
      @media screen and (max-width: 1199px) {
        font-size: 3.6em;
      }
      @media screen and (max-width: 767px) {
        font-size: 2.8em;
      }
    }

    p {
      font-size: 1.8em;
      line-height: 1.5em;
      margin: 0 0 30px;
    }

    .btn {
      margin: 0;
      background: var(--dark-primary);
    }
  }
  /* Latest Updates */

  .latestUpdate {
    background: var(--primary);
    padding: 50px 10px;
    h2 {
      font-size: 48px;
      font-weight: 600;
      display: flex;
      align-items: center;

      strong {
        font-size: 96px;
        font-weight: 900;
        margin-left: 10px;
      }
    }
  }

  /* 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: 40px;
      padding: 40px 0 60px;
      background: var(--primary);

      h1 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 0px;
        text-transform: uppercase;
        color: var(--black);
      }

      .pricing-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;

        .pricing-option {
          background-color: var(--light-primary);
          padding: 30px 50px;
          text-align: center;
          cursor: pointer;
          transition: background-color 0.3s, color 0.3s;

          .price {
            font-size: 24px;
            font-weight: bold;
            margin: 0;
          }

          .duration {
            font-size: 20px;
            font-weight: 500;
            margin: 8px 0;
          }
          .details {
            font-size: 14px;
          }
          &.active {
            background-color: var(--dark-primary);
            color: var(--white);
          }

          &:first-child {
            border-radius: 7px 0 0 7px;
            margin-right: 5px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            @media (max-width: 767px) {
              border-radius: 7px 7px 0 0;
            }
          }

          &:last-child {
            border-radius: 7px;

            @media (max-width: 767px) {
              border-radius: 0 0 7px 7px;
            }
          }
        }
        @media (max-width: 767px) {
          flex-direction: column;
          gap: 4px;

          .pricing-option {
            width: 100%;
            padding: 20px;
            margin: 0;
            border-radius: 7px;
          }
        }
      }
    }

    .headpart {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      background-color: var(--light-primary);
      padding: 60px 0;
      color: var(--black);

      h1 {
        font-size: 21px;
        font-weight: 500;
        margin-bottom: 30px;
        text-align: center;
        color: var(--black);
      }

      .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 100px;
        font-size: 30px;
        font-weight: 700;
        line-height: 30px;
        margin: 30px auto;
        display: block;

        @media (max-width: 767px) {
          padding: 18px;
          width: 100%;
          max-width: 450px;
        }

        &:disabled {
          border: none;
          cursor: not-allowed;
          box-shadow: none;
          opacity: 0.4;

          &:hover {
            transform: none;
          }
        }
      }
    }
  }

  /* Swiper   */
  .swiper {
    width: 100%;
    overflow: hidden;
  }

  .swiper-wrapper {
    display: flex;
  }

  .swiper-slide {
    position: relative;
    width: auto !important; /* Override Swiper's default width calculation */
    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: -20px;
    font-size: 150px;
    font-weight: 900;
    color: var(--light-primary);
    opacity: 0.5;
    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  */

  .areas-section {
    @media screen and (max-width: 767px) {
      flex-direction: column;

      .card {
        width: 100%;
      }
    }
  }

  .card {
    padding: 4rem 2rem;
    min-height: 480px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;

    &:nth-child(1) {
      background: url(../images/premium/login-home-training.jpg);
      background-size: cover;
      background-position: center;
    }
    &:nth-child(2) {
      background: url(../images/premium/login-home-workouts.jpg);
      background-size: cover;
      background-position: center;
    }

    &:last-child {
      background: url(../images/premium/login-home-sports.jpg);
      background-size: cover;
      background-position: center;
    }

    img {
      width: 100%;
      border-radius: var(--border-radius-2);
    }

    h3 {
      font-size: 2em;
      text-transform: uppercase;
      color: var(--light-primary);
      border: 2px solid var(--light-primary);
      padding: 5em 0;
      width: 50%;

      @media screen and (min-width: 768px) and (max-width: 1199px) {
        width: 100%;
      }

      @media screen and (max-width: 767px) {
        width: 80%;
      }
    }
    p {
      color: var(--white);
      font-size: 1.2rem;
    }
    .card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 48%, rgba(0, 0, 0, 0) 100%);
      border-radius: var(--border-radius-2);
    }
    .card-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
  }

  .cards_new_games {
    flex-wrap: wrap;
  }
  .card_new_games {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;

    h4 {
      margin-top: 0.625rem;
    }

    &:hover,
    &:focus-visible {
      transform: scale(1.05);
    }
  }

  /* 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;
    }
  }

  /* Fix for category cards layout */
  .category-items-container,
  .category-items-more {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .category_card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;

    &:hover {
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    img.cardsImage {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.3s ease-in-out;
      filter: brightness(0.5) grayscale(0.5);
    }
  }

  .category_card:hover img.cardsImage {
    transform: scale(1.05);
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }

  .category_card:hover .video-overlay {
    opacity: 1;
  }

  .card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cardsTitle {
    position: absolute;
    bottom: 20px;
    left: 15px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    z-index: 2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  /* Make sure d-none actually hides elements */
  .d-none {
    display: none !important;
  }

  /* Transition styles for See More/Less functionality */
  .category-items-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }

  .category-items-more.show {
    max-height: fit-content;
    /* Large enough to contain all items */
    opacity: 1;
    display: flex !important;
  }

  /* Button transition effects */
  .see-more-btn,
  .see-less-btn {
    transition: all 0.3s ease;
    border: 2px solid var(--gray-md);
    color: var(--light-primary);
    background: transparent;
    padding: 0.75rem 2rem;
  }

  .see-more-btn:hover,
  .see-less-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  /* Item appear animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .category-items-more.show a {
    animation: fadeInUp 0.4s ease-out forwards;
  }

  .category-items-more.show a:nth-child(1) {
    animation-delay: 0.05s;
  }

  .category-items-more.show a:nth-child(2) {
    animation-delay: 0.1s;
  }

  .category-items-more.show a:nth-child(3) {
    animation-delay: 0.15s;
  }

  .category-items-more.show a:nth-child(4) {
    animation-delay: 0.2s;
  }

  .category-items-more.show a:nth-child(5) {
    animation-delay: 0.25s;
  }

  .category-items-more.show a:nth-child(6) {
    animation-delay: 0.3s;
  }

  .category-items-more.show a:nth-child(7) {
    animation-delay: 0.35s;
  }

  .category-items-more.show a:nth-child(8) {
    animation-delay: 0.4s;
  }

  .category-items-more.show a:nth-child(9) {
    animation-delay: 0.45s;
  }

  .category-items-more.show a:nth-child(10) {
    animation-delay: 0.5s;
  }

  /* Also add animations to the initial items */
  .category-items-container a {
    animation: fadeInUp 0.4s ease-out forwards;
  }

  .category-items-container a:nth-child(1) {
    animation-delay: 0.05s;
  }

  .category-items-container a:nth-child(2) {
    animation-delay: 0.1s;
  }

  .category-items-container a:nth-child(3) {
    animation-delay: 0.15s;
  }

  .category-items-container a:nth-child(4) {
    animation-delay: 0.2s;
  }

  .category-items-container a:nth-child(5) {
    animation-delay: 0.25s;
  }

  .category-items-container a:nth-child(6) {
    animation-delay: 0.3s;
  }

  /* Category Cards */

  .category_card {
    width: 180px;
    height: 210px;
    overflow: hidden;
    border-radius: var(--border-radius-3);
    position: relative;
    transition: transform 0.3s ease-in-out;
    margin: 0;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      background: #000;
      background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 90%);
      background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 90%);
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.9) 90%);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=0);
    }

    &:hover {
      transform: translateY(-4px);

      img.cardsImage {
        filter: brightness(1) grayscale(0);
      }
    }

    img.cardsImage {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.3s ease-in-out;
      filter: brightness(0.5) grayscale(0.5);
    }
  }

  .category_card:hover img.cardsImage {
    transform: scale(1.05);
  }

  .cardsTitle {
    position: absolute;
    bottom: 20px;
    left: 15px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    z-index: 2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  #app-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
    gap: 1rem;
    padding-bottom: 2rem;
    justify-items: center;
  }
  .app-section {
    padding-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  /* Categorie Pills  */

  .features-bar {
    margin: 20px 0;
  }

  .labels {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
  }

  .labels .item-label {
    padding: 5px 10px;
    background: var(--primary);
    color: var(--black);
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    border-radius: 5px;
    max-height: fit-content;
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .rating > img {
    width: 15px;
  }

  .rating > span {
    color: var(--white);
    font-size: 1.5em;
  }
  .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: 20px;
    max-width: 100%;

    @media screen and (max-width: 767px) {
      flex-direction: column;
    }

    button {
      padding: 30px;
      border: 2px solid var(--primary);
      background: var(--dark-gray);
      color: var(--white);
      width: 100%;
      transition: 0.2s;
      cursor: pointer;
      display: flex;
      justify-content: center;
      flex-direction: column;
      gap: 20px;
      transition: all 0.2s ease-out;

      &:hover {
        transform: scale(1.05);
        background: var(--primary);
        color: var(--white) !important;

        .cta-frame {
          color: var(--white);
          background: var(--black);
        }
      }

      .cta-title {
        font-size: 36px;
        font-weight: 600;
      }

      p {
        font-size: 18px;
      }

      .cta-frame {
        width: 100%;
        max-width: 360px;
        padding: 18px;
        font-size: 24px;
        font-weight: 600;
        margin: 0 auto;
        color: var(--white);
        background: var(--primary);
        filter: brightness(0.85);
        border-radius: 0px;
        transition: all 0.2s ease-out;
      }

      &.clicked {
        color: var(--white);
        background: var(--primary);
        cursor: default;
        transform: none !important;

        .cta-frame {
          color: var(--white);
          background: var(--black);
        }
      }
    }
  }

  .section-title {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;

    h2 {
      font-size: 2.5rem;
      color: #fff;
      margin-bottom: 0.5rem;
      font-weight: 600;
    }

    .subtitle {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.7);
      max-width: 600px;
      margin: 0 auto;
    }
  }

  .tab-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .modern-tabs {
    margin-bottom: 2rem;
  }

  .tab-selector {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    position: relative;
    width: fit-content;
    margin: 0 auto;
  }

  .tab-button {
    background: transparent;
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;

    .tab-icon {
      display: inline-block;
      width: 20px;
      height: 20px;
      margin-right: 10px;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
    }

    .video-icon {
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18a1 1 0 0 0 0-1.69L9.54 5.98A.998.998 0 0 0 8 6.82z"/></svg>');
    }

    .app-icon {
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/></svg>');
    }

    &.active {
      color: #000;

      .video-icon {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18a1 1 0 0 0 0-1.69L9.54 5.98A.998.998 0 0 0 8 6.82z"/></svg>');
      }

      .app-icon {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/></svg>');
      }
    }
  }

  .tab-indicator {
    position: absolute;
    height: 80%;
    top: 10%;
    z-index: 1;
    background: var(--primary);
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.38, 0.8, 0.32, 1.07);
  }

  .tab-content {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    min-height: 300px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;

    &.active {
      opacity: 1;
      visibility: visible;
      position: relative;
      transform: translateY(0);
    }
  }

  .tab-content-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;

    @media (max-width: 768px) {
      flex-direction: column;
    }
  }

  .content-media {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;

    @media (max-width: 768px) {
      width: 100%;
      padding: 1.5rem 1.5rem 0;
    }
  }

  .content-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;

    &:hover {
      transform: scale(1.02);
    }
  }

  .video-image {
    background-image: url("../images/videos_section.jpg");
  }

  .app-image {
    background-image: url("../images/app_section.jpg");
  }

  .content-text {
    flex: 1;
    padding: 2rem;
    color: #fff;

    @media (max-width: 768px) {
      padding: 1.5rem;
      text-align: center;
    }

    h3 {
      font-size: 1.75rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--primary);
    }

    p {
      margin-bottom: 1.5rem;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.8);
    }
  }

  .content-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);

    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.6);
      background: linear-gradient(to right, var(--primary), #ffe867);
    }
  }

  @media (max-width: 767px) {
    .modern-section-picker {
      .tab-selector {
        width: 90%;
      }

      .tab-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
      }

      .section-title h2 {
        font-size: 2rem;
      }

      .tab-content {
        min-height: 450px;
      }
    }
  }
  /* Latest Articles  */
  .latest_articles {
    background: var(--black);
    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;
    }

    .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;
        }
      }
    }
  }

  /* Support pages  */
  .contact__info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 60%;

    h2,
    h3 {
      margin-bottom: 1rem;
      color: var(--black);
    }

    p {
      font-size: 0.875rem;
      margin-bottom: 1rem;
    }

    a {
      color: var(--dark-gray);
      margin-bottom: 1rem;
      font-weight: 600;
      font-size: 1rem;
    }

    @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;
    gap: 1rem;

    p {
      font-size: 0.875rem;
      text-align: center;
    }

    a {
      color: var(--primary);
    }

    label {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    input,
    textarea {
      padding: 0.9rem;
      border: 1px solid var(--light-primary);
      border-radius: var(--border-radius-3);
      background: #ffffff50;
      font-size: 1rem;
    }

    @media screen and (max-width: 767px) {
      margin-top: 0;
      gap: 0.5rem;
      padding: 1.5rem 0rem;
      width: 100%;
      &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;
      color: var(--white);
    }
    h2 {
      font-size: 19px;
      line-height: 20px;
      font-weight: 700;
      margin-bottom: 20px;
      text-transform: uppercase;
    }

    .img-radial {
      width: 100%;
      max-width: 240px;
      height: 100%;
      max-height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      border-radius: var(--border-radius-2);
      overflow: hidden;

      @media screen and (max-width: 767px) {
      }

      img {
        width: auto;
        min-height: 240px;
        min-width: 100%;
        border-radius: var(--border-radius-2);
        object-fit: cover;
        filter: brightness(0.7) grayscale(0.5);
      }
    }

    .single-item-info {
      width: 50%;

      p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
      }

      video {
        width: 100%;
        height: auto;
        object-fit: cover;
      }

      @media screen and (max-width: 767px) {
        width: 100%;
        padding: 1.5rem 0;
      }
    }
  }

  .single-movie .single-item-info {
    width: 100%;
  }

  /* Footer  */

  .backToTopBtn {
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    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(--light-primary);
    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: white;
    /* transition-duration: .3s; */
    font-size: 0px;
  }

  .backToTopBtn:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
  }

  .site_footer {
    padding-block: 3.125rem;

    .logo_footer {
      width: auto;
      height: 40px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    a {
      color: var(--white);
      text-decoration: none;
      font-size: 16px;

      &:hover,
      &:focus-visible {
        color: var(--light-primary);
      }
    }

    p {
      font-size: 15px;
      line-height: 18px;
      color: #878787;
      text-align: center;
      margin-bottom: 1rem;
    }
    .logo {
      width: 200px;
    }

    .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;
      }
    }
  }

  /* Modals  */
  .otp-modal,
  .login-modal,
  .unsub-modal,
  .sign-up-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    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.5rem;
      }
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 4rem 1rem;

      p {
        font-size: 0.875rem;
        text-align: center;
      }

      a {
        color: var(--dark-primary);
      }

      @media screen and (max-width: 767px) {
        margin-top: 0;
        gap: 0.5rem;
        padding: 3rem 1.5rem;
        max-width: fit-content;
        &label {
          font-size: 0.75rem;
        }
      }
    }

    .checkbox-group {
      label {
        font-size: 0.875rem;
      }

      input[type="checkbox"] {
        accent-color: var(--primary);
        min-height: auto !important;
      }
    }

    .checkbox-group {
      &:first-of-type {
        margin-top: 10px;
      }

      label {
        display: inline;
        font-size: 0.875rem;
      }
    }

    input {
      padding: 0.5rem;
      border: 1px solid var(--gray);
      border-radius: var(--border-radius-2);
    }

    .btn {
      width: 100%;
      margin-top: 1rem;
      padding: 0.75rem;
    }

    @media screen and (max-width: 767px) {
      h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 10px;
      }
    }

    @media screen and (max-width: 767px) {
      padding: 0.75rem;
    }
    .modal-content {
      background: var(--white);
      border-radius: var(--border-radius-2);
      background: #4da2d3;
      background: -webkit-linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%);
      background: -moz-linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%);
      background: linear-gradient(90deg, var(--primary) 0%, var(--light-primary) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#4DA2D3", endColorstr="#B7F5FF", GradientType=1);
      width: 90%;
      overflow: auto;
      max-inline-size: 1200px;
      position: relative;

      @media screen and (max-width: 767px) {
        width: 95%;
        margin-top: 2rem;
      }

      .form-group input {
        background: var(--light-gray);
        padding: 0.5rem 1rem;
        min-height: 50px;

        &:focus-visible {
          outline: none;
          border: 1px solid var(--light-primary);
        }

        &::placeholder {
          color: var(--gray);
        }
      }
    }
    .modal-bck {
      background: url(../images/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: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000000bf;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 30px 0;
  }
  /* Payment Modal Styles */
  #paymentModal .modal-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;

    @media screen and (max-width: 479px) {
      padding: 20px;
    }
  }

  #paymentModal h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
  }

  #paymentModal .form-group {
    margin-bottom: 20px;

    @media screen and (max-width: 767px) {
      padding: 0;
      margin-bottom: 15px;
    }
  }

  #paymentModal label {
    display: block;
    margin-bottom: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
  }

  #paymentModal input {
    width: 100%;
    padding: 7px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
  }

  #paymentModal input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px #0053b924;
  }

  #paymentModal input:hover {
    border-color: var(--light-primary);
  }

  #paymentModal .d-flex {
    display: flex;
    gap: 15px;
  }

  #paymentModal .d-flex .form-group {
    flex: 1;
  }

  #paymentModal button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
  }

  #paymentModal button[type="submit"]:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(26, 47, 163, 0.2);
  }

  #paymentModal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;

    @media screen and (max-width: 479px) {
      right: 10px;
      top: 10px;
    }
  }

  #paymentModal .close:hover {
    color: var(--primary);
  }

  /* Input placeholder styling */
  #paymentModal input::placeholder {
    color: #bbb;
  }

  /* Error state */
  #paymentModal input.error {
    border-color: #dc3545;
  }

  /* Success state */
  #paymentModal input.success {
    border-color: #28a745;
  }

  /* 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: "Poppins", 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%, var(--light-primary) 40 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%;
  }

  /* 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;
    }
  }

  .blog table {
    width: 100% !important;
    margin: 20px auto;
    font-size: 0.875rem;

    td {
      padding: 10px 5px;
    }
  }

  .blog table tr:first-child th,
  .blog table tr:first-child td {
    background: var(--dark-primary);
    color: var(--white);
  }

  /* Legals Pages  */

  .legals {
    h2 {
      font-size: 2rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }
    h3 {
      font-size: 1.5rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }
    h4 {
      font-size: 1.25rem;
      margin-top: 1.5rem;
      margin-bottom: 0.5rem;
    }
    p {
      font-size: 1rem;
      margin-bottom: 1rem;
    }
    ul {
      list-style: disc;
      padding-left: 20px;

      li {
        margin-bottom: 0.5rem;
      }
    }
  }

  .top_bar {
    display: flex;
    justify-content: flex-end;
    padding: 0.8rem 2.5rem;
    background: var(--primary);
    gap: 1.5rem;

    @media screen and (max-width: 767px) {
      padding: 0.6rem 1rem;
      justify-content: space-between;
      gap: 0;
    }

    a {
      color: var(--white);
      font-size: 1.125rem;
      font-weight: 500;

      @media screen and (max-width: 767px) {
        font-size: 1rem;
      }
    }
  }

  /* Support page */

  .support-page {
    .wrapper[data-width="medium"] {
      --wrapper-max-width: 900px;
    }

    h3 {
      color: var(--black);
      font-size: 1.25rem;
      margin: 0;

      @media (max-width: 767px) {
        text-align: center;
      }
    }

    h2 {
      font-size: 3rem;
      font-weight: 200;
      margin: 0;
      color: var(--black);

      @media (max-width: 767px) {
        font-size: 2rem;
      }
    }

    a {
      color: var(--white);
      text-decoration: underline;
      font-weight: 600;
      overflow: hidden;
      white-space: nowrap; /* Don't forget this one */
      text-overflow: ellipsis;
    }

    .text-large {
      color: var(--gray);
      font-size: 2.125rem;
      font-weight: 300;
      line-height: 1.3;

      @media (max-width: 767px) {
        font-size: 1.75rem;
        text-align: center;
      }
    }

    .tablet-column {
      @media (max-width: 1199px) {
        flex-direction: column;
      }
    }

    .support-video {
      width: 100%;
      height: 100%;
      border-radius: 25px;
    }

    .support-container {
      background: var(--primary);
      position: relative;
      padding: 50px;
      border-radius: 25px;

      @media (max-width: 767px) {
        padding: 30px 20px;
        text-align: center !important;
      }

      &.email-frame {
        text-align: left;
        max-width: 680px;

        img {
          left: auto;
          right: 0;
          top: -20px;
        }

        a {
          font-size: 1.5rem;
          color: var(--white);
          line-height: normal;
        }
      }

      > .d-flex {
        position: relative;
        z-index: 1;
      }

      > img {
        position: absolute;
        left: 0;
        top: -40px;
        height: 100%;
        width: auto;
        z-index: 0;
        object-fit: contain;
        object-position: top;
        max-width: 280px;
        filter: grayscale(0.75) brightness(1.5);

        @media (max-width: 767px) {
          display: none;
        }
      }

      .support-number {
        font-size: 2.25rem;
        line-height: 1.25;
        font-weight: 800;
        display: block;
        color: var(--white);

        @media (max-width: 767px) {
          font-size: 8vw;
        }
      }

      @supports (-webkit-touch-callout: none) {
        @media screen and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
          .support-number {
            color: var(--white) !important;
            text-decoration: none !important;

            a {
              color: var(--white) !important;
              text-decoration: none !important;
            }
          }
        }
      }

      .support-text {
        color: var(--white);
        display: block;
        font-size: 0.9rem;
      }
    }

    #contactSection {
      h3 {
        color: var(--white);
      }
    }

    .contact_form {
      padding: 0;
      background: transparent;
      max-width: 100%;

      .form-group {
        width: 100%;
        margin: 0;

        input,
        textarea {
          padding: 15px;
          background: var(--light-gray) !important;
          color: var(--black);
          border: none !important;
          border-radius: 25px;
          font-family: "Inrter", sans-serif;

          &::placeholder {
            color: var(--gray);
          }
        }
      }
    }

    .m-auto {
      margin-left: auto;
      margin-right: auto;
    }

    .accordion {
      width: 100%;
      margin: auto;
      overflow: hidden;

      .accordion-item {
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--gray);
        border-radius: 0 !important;

        .accordion-header {
          cursor: pointer;
          padding: 25px 0 10px;
          font-weight: bold;
          display: flex;
          justify-content: space-between;
          align-items: center;

          .arrow {
            color: var(--white);
            transition: transform 0.3s ease;
            margin-right: 10px;
            font-size: 18px;
          }

          span {
            font-size: 1.5rem;
            line-height: 1.3;
            color: var(--white);
            font-weight: 600;
            flex-grow: 1;
            padding-right: 20px;

            @media (max-width: 767px) {
              font-size: 1.25rem;
            }
          }
        }

        .accordion-content {
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.3s ease;
          padding: 0 0 15px;
          color: var(--white);

          p {
            margin: 15px 0;
            font-size: 14px;
            line-height: 18px;
          }
        }

        &.active {
          .accordion-content {
            max-height: 450px; /* adjust if answers are long */
            overflow-y: auto;
          }

          .arrow {
            transform: rotate(90deg); /* arrow points down when open */
          }
        }
      }
    }
  }

  /* unsub container */
  .unsub-container {
    background: var(--light-gray);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    border-radius: var(--border-radius-1);
    margin: 0 auto;
    max-width: 480px;

    @media screen and (max-width: 767px) {
      width: 100%;
      padding: 2rem 1rem;
    }

    p {
      color: var(--black);
      font-size: 16px;
    }
    a {
      color: var(--primary);
      font-weight: 500;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      width: 100%;

      .form-group {
        padding: 0;
      }

      input {
        padding: 0.5rem;
        border: 1px solid var(--gray);
        border-radius: 5px;
        width: 100%;
        background: var(--light-gray);
        color: var(--black);
      }

      .btn {
        width: 100%;
      }
    }

    #errorMsg {
      color: var(--gray);
      font-size: 0.875rem;
    }
  }

  .blog {
    .single-item,
    .single-movie {
      .img-radial {
        max-width: 100%;
        min-height: 300px;
        img {
          width: 100%;
          object-fit: cover;
        }
      }
    }
    .single-item-info {
      width: 100%;
    }
  }
  /* Table  */

  .blog table {
    width: 100% !important;
    margin: 20px auto;
    font-size: 0.875rem;

    td {
      padding: 10px 5px;
    }
  }

  .blog table tr:first-child th,
  .blog table tr:first-child td {
    background: var(--primary);
    color: var(--white);
  }

  /* backtotop */
  .backToTopBtn {
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    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: var(--white);
  }

  .backToTopBtn:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: var(--light-primary);
    align-items: center;
  }

  .backToTopBtn:hover .svgIcon {
    transition-duration: 0.3s;
    transform: translateY(-200%);
  }

  .backToTopBtn::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: var(--black);
    font-size: 0px;
  }

  .backToTopBtn:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    transition-duration: 0.3s;
  }

  .title-section {
    background-color: var(--primary);
    .wrapper {
      padding: 50px 10px;
    }
  }

  .featured-content {
    text-align: left;
    position: relative;
    z-index: 1;
    background: var(--dark-gray);
    padding: 4rem;
    border-radius: var(--border-radius-3);
    gap: 60px;

    @media (min-width: 768px) and (max-width: 1199px) {
      gap: 40px;
      padding: 2.5rem;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
      text-align: center;
      margin: 0 auto;
      padding: 2rem 1rem;
      gap: 0;
    }

    &.login-page {
      background: none;
      padding: 0;
    }

    span {
      font-size: 2em;
      color: var(--primary);
      @media screen and (max-width: 767px) {
        font-size: 1.6em;
      }
    }

    h1 {
      font-size: 2.6em;
      font-weight: 600;
      margin: 10px 0 30px;

      @media screen and (max-width: 1199px) {
        font-size: 2.2em;
      }

      @media screen and (max-width: 767px) {
        font-size: 2em;
      }
    }

    p {
      font-size: 1.2em;
      line-height: 1.3em;
      margin: 0 0 30px;
      @media screen and (max-width: 767px) {
        font-size: 1em;
        line-height: 1.2em;
      }
    }

    .btn {
      margin: 0;
    }

    .info {
      flex: 1;
    }

    .featured-item {
      flex: 1;
      border-radius: var(--border-radius-3);
      cursor: pointer;
      object-fit: cover;
      transition: transform 0.2s ease-out;
      position: relative;
      overflow: hidden;
      max-height: 480px;

      @media (min-width: 768px) and (max-width: 1199px) {
        min-width: 180px;
      }

      &::before {
        content: url("../images/icons/play-icon.svg");
        position: absolute;
        width: 80px;
        height: 80px;
        z-index: 1;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.15s ease-out 0.1s;
        opacity: 0.8;
      }

      &:hover {
        transform: scale(1.05);

        &::before {
          transform: translate(-50%, -50%) scale(1.3);
          opacity: 1;
        }

        img {
          width: 100%;
          filter: brightness(0.75) grayscale(0.5);
        }
      }

      img {
        width: 100%;
        filter: brightness(1) grayscale(0) hue-rotate(30deg);
        transition: filter 0.2s ease-out;
        object-position: center;
        object-fit: cover;
      }
    }
  }

  /* Game Modal Styles */
  .featured-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }

  .featured-modal .modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s;
    border-radius: 8px;
    overflow: hidden;
  }

  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .featured-modal .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
  }

  .featured-modal .close:hover {
    background-color: rgba(255, 0, 0, 0.7);
  }

  .featured-modal .modal-header {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .featured-modal .video-container {
    width: 100%;
    background-color: #000;
  }

  .featured-modal .video-container video,
  .featured-modal .video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
  }

  .featured-modal .modal-body {
    padding: 20px;
    color: #fff;
  }

  .featured-modal .info h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #fff;
  }

  .featured-modal .featured-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .featured-modal .screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .featured-modal .screenshot img:hover {
    transform: scale(1.03);
  }

  .featured-modal .modal-footer {
    margin-top: 20px;
    text-align: center;
  }

  .featured-modal .btn-view-details {
    background-color: #e50914;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .featured-modal .btn-view-details:hover {
    background-color: #f40612;
  }

  .featured-modal .btn-secondary {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
  }

  .featured-modal .btn-secondary:hover {
    background-color: #555;
  }

  .featured-modal .description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .featured-modal .description h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .featured-modal .description ul {
    padding-left: 20px;
    margin-bottom: 15px;
  }

  .featured-modal .description li {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .featured-modal .description p {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .featured-modal .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
  }

  .featured-modal .featured-screenshots h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
  }
}

@layer pages {
  .page {
    p {
      font-size: 14px;
      margin: 10px 0;
      color: var(--white);
    }

    h1,
    h2 {
      color: var(--white);
      margin-top: 30px;
    }

    .info-frame {
      background: var(--primary);
      background-size: cover;
      padding: 40px 30px;
      border-radius: 20px;
      color: var(--white);
      gap: 10px;

      h2 {
        color: var(--white);
        margin: 0;
      }

      p {
        margin-bottom: 0;
      }

      .text-xl {
        font-size: 1.5rem;
        font-weight: 700;

        @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;
    }
  }
}

@layer utilites {
  .background-dark {
    background-color: var(--dark-gray);
  }

  .background-dark-primary {
    background-color: var(--dark-primary);
  }

  .background-light {
    background-color: var(--light-gray);
  }

  .bck-light {
    background: var(--light-primary);
  }

  .intro-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.8em;
    line-height: normal;
  }

  .d-none {
    display: none;
  }
  .d-flex {
    display: flex;
  }
  .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: #fed1ff;
  }

  .mt-2 {
    margin-top: 1.5rem;
  }

  .mt-3 {
    margin-top: 2rem;
  }

  .mt-4 {
    margin-top: 2.5rem;
  }

  .mt-5 {
    margin-top: 3rem;
  }

  .mb-2 {
    margin-bottom: 1.5rem;
  }

  .mb-3 {
    margin-bottom: 2rem;
  }

  .mb-4 {
    margin-bottom: 2.5rem;
  }

  .mb-5 {
    margin-bottom: 3rem;
  }

  .col-4 {
    width: 32%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-sm-5 {
    width: 41.66667%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .g-2 {
    gap: 0.625rem;
  }
  .gap-3 {
    gap: 1rem;
  }
  .gap-20 {
    gap: 20px;
  }
  .gap-30 {
    gap: 30px;
  }
  .gap-50 {
    gap: 50px;
  }

  @media screen and (max-width: 767px) {
    .mobile-column {
      flex-direction: column;
    }
  }
  .reverse-mobile {
    @media screen and (max-width: 767px) {
      flex-direction: column-reverse;
    }
  }
}
