@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-optical-sizing: auto;
    font-style: normal;
  }

  p,
  li {
    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: #afee25;
    --dark-green: #0b481d;
    --light-primary: #d4ff7f;

    --light-gray: #f3f0e9;
    --gray: #cccccc;
    --gray-md: #464646;
    --dark-gray: #212329;

    --border-radius-1: 0.5rem;
    --border-radius-2: 1.5rem;
    --border-radius-3: 2.5rem;
    --border-radius-4: 3.5rem;
  }

  @view-transition {
    navigation: auto;
  }

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

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

  body {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    color: var(--black);
    background-color: var(--light-gray);
    position: relative;
    line-height: normal;
    width: 100%;
    overflow-x: hidden;
  }

  h1 {
    font-size: 3.6em;
    font-weight: 700;
    color: var(--white);
  }

  h2 {
    font-size: 2.4rem;
    font-weight: 700;
  }

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

  .btn {
    font-weight: 700;
    color: var(--white);
    background-color: var(--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 2rem;
    min-width: 180px;
    line-height: 24px;
    font-size: 1.8em;
    border: none;
    transition: all 0.2s ease-out;
    width: fit-content;

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

@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: 600px;
  }

  .wrapper[data-width="medium"] {
    --wrapper-max-width: 960px;
  }

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

  .section {
    padding-block: 4rem;

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

    + .section {
      padding-top: 0;
    }
  }

  .section[data-padding="large"] {
    padding-block: 8rem;

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

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

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

@layer components {
  /* Navigation  */
  .top_bar {
    display: flex;
    padding: 0.5rem 2.5rem;
    justify-content: space-between;
    background: var(--primary);
    gap: 1.5rem;
    align-items: center;

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

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

    a {
      color: var(--white);
      font-size: 1.125rem;
      line-height: 1.4;
      font-weight: 600;
    }

    .support-icon {
      width: 25px;
      height: 25px;
    }
  }

  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    align-items: center;
    position: relative;
    z-index: 999;

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

    .logo_header {
      max-width: 240px;
      width: 100%;
      overflow: hidden;

      @media screen and (max-width: 767px) {
        max-width: 55px;
        height: 36px;
      }

      img {
        width: 100%;
        max-inline-size: none;

        @media screen and (max-width: 767px) {
          width: auto;
          height: 36px;
        }
      }
    }

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

      @media screen and (max-width: 767px) {
        position: fixed;
        inset: 0;
        background: var(--primary);
        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(--dark-green);

          @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: 1rem;
      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(--primary);
        width: 25%;
        padding: 4rem 1.5rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 9;

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

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

        &.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(--dark-green);
            transition: color 0.2s;

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

      .unsubLink {
        font-size: 20px;
        text-transform: uppercase;
        font-weight: 600;
        color: var(--dark-green);
      }
    }

    .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-color: var(--dark-green);
        transition: 0.3s ease-in-out;
      }

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

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

        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: 40px;

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

        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;
      }
    }
  }

  /* Hero Section */

  .page_hero {
    position: relative;
    padding-block-start: 8rem;
    padding-block-end: 8rem;
    text-align: center;
    overflow: hidden;
    min-height: 640px;
    background: url(../images/premium/landing-hero-background.png) center no-repeat;
    background-size: cover;

    @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: auto;
      max-height: 100%;
      width: auto;
      max-width: 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;
        position: relative;
        right: inherit;
        transform: translateX(-50%);
        left: 50%;
        width: 75%;
      }

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

    .hero-full-bck {
      position: absolute;
      top: 50%;
      left: 50%;
      min-height: 100%;
      width: auto;
      transform: translate(-50%, -50%);
      z-index: 0;
      min-width: fit-content;
    }
  }

  .hero-content {
    color: var(--white);
    text-align: left;
    position: relative;
    z-index: 1;

    @media screen and (max-width: 1199px) {
      margin: 0 auto;
      padding-bottom: 20px;
    }

    span {
      font-size: 2.4em;
    }

    h1 {
      color: var(--white);
      font-size: 5rem;
      font-weight: 600;
      margin: 10px 0;

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

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

    p {
      font-size: 1.8rem;
      line-height: 2.2rem;
      max-width: 600px;
      margin: 0 0 30px;
    }

    .btn {
      margin: 0;
      color: var(--dark-green);
    }
  }

  .intro-text {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;

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

  .wrapper {
    display: flex;
    flex-direction: column;

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

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

    .intro-text {
      max-width: 720px;
      margin: 0 auto;
    }

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

/* 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: 22px;
      font-weight: 500;
      margin-bottom: 0px;
      text-transform: uppercase;
      color: var(--dark-green);
    }

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

      .pricing-option {
        background-color: var(--gray);
        color: #5c5c5c;
        padding: 30px 50px;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        border-radius: 7px;

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

        .duration {
          font-size: 18px;
          margin: 10px 0;
        }

        .details {
          font-size: 14px;
        }

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

        &:first-child {
          margin-right: 5px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
        }
      }

      @media (max-width: 767px) {
        flex-direction: column;
        gap: 10px;

        .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(--gray);
    padding: 60px 0;

    h1 {
      font-size: 28px;
      font-weight: 500;
      margin-bottom: 30px;
      color: var(--dark-green);
    }

    .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;
        color: var(--dark-green);
      }
    }

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

      &:disabled {
        opacity: 0.75;
        color: var(--gray);
        border: none;
        cursor: not-allowed;
        box-shadow: none;
      }
    }
  }
}

/* Swiper   */

.swiper {
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  padding-left: 50px;
}

.swiper-slide {
  position: relative;
  width: auto !important;
  /* Override Swiper's default width calculation */
  flex-shrink: 0;
}

.swiper-slide {
  width: 180px !important;
  height: 220px !important;
  border-radius: var(--border-radius-1);

  .img-radial,
  .movie_image {
    filter: grayscale(0.25) brightness(0.6) contrast(1.125);
    transition: all 0.2s ease-out;

    &:hover {
      filter: grayscale(0) brightness(1) contrast(1);
      transform: scale(1.1);
    }

    img {
      width: 100%;
      width: 180px !important;
      height: 220px !important;
      object-fit: cover;
      border-radius: var(--border-radius-2);
    }
  }
}

.slide-number {
  position: absolute;
  bottom: 0px;
  left: -50px;
  font-size: 150px;
  font-weight: 900;
  color: var(--white);
  z-index: 0;
}

/* Cards Page Hero */
.section_hero_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.section_hero_card h2 {
  text-transform: uppercase;
  color: var(--dark-green);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: left;
  width: 100%;
  max-width: 1140px;
}

.card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}

.card-body {
  padding: 1.5rem;
}

.card-body.green {
  background-color: var(--primary);
}

.card-body.blue {
  background-color: var(--white);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark-green);
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px) {
  .section_hero_card .card-container {
    flex-direction: row;
  }

  .card {
    max-width: 48%;
  }
}

/*VIDEO PAGE HERO*/
.section_video_page_hero {
  background-color: var(--dark-green);
  padding: 50px 40px;

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

.section_video {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;

  @media (max-width: 767px) {
    height: auto;
    padding: 3rem 1rem;
    border-radius: 0;
  }
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.wrapper-video {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  text-align: center;
  color: var(--white);

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

.hero-content-video h2 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--white);
  text-align: center;

  @media (max-width: 767px) {
    font-size: 1.5rem;
    line-height: 1.3;
  }
}

.hero-content-video p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  text-align: center;

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

.btn {
  background-color: var(--primary);
  border: none;
  color: black;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: block;

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

.btn-img {
  border: 0px;
  outline: none;
  background: transparent;
  background-image: transparent;
}

.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

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

/* 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%;
    }
  }
}

/* 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: 16px;
  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: 100%;
  /* 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(--dark-green);
  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: 170px;
  height: 210px;
  overflow: hidden;
  border-radius: var(--border-radius-2);
  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: 0;
  left: 0;
  margin: 15px;
  color: var(--white);
  font-size: 0.8rem;
  line-height: normal;
  font-weight: 600;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#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(--black);
    color: var(--primary);
    font-weight: 600;
    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;
}

.rating > img {
  width: 15px;
}

.rating > span {
  color: var(--black);
  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 TOP FIVE*/

.section-top-five {
  background-color: var(--dark-green);

  .latestUpdate h2 {
    @media screen and (max-width: 764px) {
      text-align: center;
    }
  }
}

.section-top-five .wrapper {
  padding: 40px;
}

.section-top-five h2 {
  color: var(--light-gray);
}

/* 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 60px;
    border: 2px solid var(--dark-green);
    background: transparent;
    color: var(--black);
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    transition: all 0.2s ease-out;
    border-radius: var(--border-radius-2);
    font-weight: 600;
    text-transform: uppercase;

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

    &:hover {
      transform: scale(1.05);
      background: var(--dark-green);
      color: var(--white) !important;

      .cta-frame {
        color: var(--dark-green);
      }
    }

    .cta-title {
      font-size: 36px;
      font-weight: 600;
      color: var(--black);
    }

    p {
      font-size: 18px;
      color: var(--black);
    }

    .cta-frame {
      width: 100%;
      max-width: 360px;
      padding: 18px;
      font-size: 24px;
      font-weight: 600;
      margin: 0 auto;
      color: var(--black);
      background: var(--primary);
      filter: brightness(0.85);
      transition: all 0.2s ease-out;
    }

    &.active {
      color: var(--white);
      background: var(--dark-green);
      cursor: default;
      transform: none !important;

      .cta-frame {
        color: var(--dark-green);
      }
    }
  }
}

.btn-fitness-page {
  display: flex;
  padding: 17px 50px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  border: 2px solid #144b24;
  color: var(--dark-green);
}

/* Latest Articles  */
.latest_articles {
  background: var(--dark-gray);
  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;
      height: 100%;

      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-green);
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1rem;
  }

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

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

.section-myaccount {
  position: relative;
  padding-block-start: 8rem;
  padding-block-end: 8rem;
  text-align: center;
  overflow: hidden;
  min-height: 240px;
  background: url(../images/back-terms.jpg) center no-repeat;
  background-size: cover;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

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

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

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

  input,
  textarea {
    padding: 0.75rem;
    border-radius: var(--border-radius-1);
    background: var(--white);
    font-size: 1rem;
    border: solid 1px var(--gray);
  }
}

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

  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: 60%;

    p {
      font-size: 16px;
      line-height: 24px;
      margin-bottom: 20px;
    }

    video {
      width: 100%;
      height: auto;
      object-fit: contain;
      max-height: 540px;
    }

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

  table {
    width: 100% !important;
    font-size: 15px;
    margin: 20px 0;

    @media screen and (max-width: 767px) {
      display: block;
      /* allows overflow */
      overflow-x: auto;
      /* enable horizontal scroll */
      white-space: nowrap;
      /* prevent cells from breaking */
      width: 100%;
      /* make it responsive */
      -webkit-overflow-scrolling: touch;
      /* smooth scroll on iOS */
    }

    tr {
      td {
        padding: 0.5rem 1rem;
        text-align: left !important;
      }
    }
  }
}

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

.unsub-container {
  border: 3px solid var(--dark-gray);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  border-radius: var(--border-radius-2);
  margin: 0 auto;
  width: 100%;
  max-width: 800px;

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

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

    .form-group {
      padding: 0;
    }

    input {
      padding: 0.75rem;
      border: 1px solid var(--gray);
      border-radius: var(--border-radius-1);
      background: var(--white);
      font-size: 1rem;
    }

    .btn {
      width: 100%;
    }
  }

  #errorMsg {
    color: var(--gray);
    font-size: 0.875rem;
  }
}

.h-captcha {
  overflow: auto;
  max-width: 100%;
}

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

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

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

.alert p {
  margin: 0;
}

/* Support page */

.support-page {
  .wrapper[data-width="medium"] {
    --wrapper-max-width: 900px;
  }

  h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    margin: 0;

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

  h2 {
    font-size: 3rem;
    font-weight: 200;
    margin: 0;
    color: var(--dark-gray);

    @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(--dark-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(--gray);
    position: relative;
    padding: 50px;
    border-radius: 25px;
    width: 100%;

    @media (max-width: 767px) {
      padding: 30px 20px;
      text-align: center !important;
    }

    &.email-frame {
      text-align: left;
      max-width: 600px;

      img {
        left: auto;
        right: 0;
        top: -20px;
      }

      a {
        font-size: 1.5rem;
        color: var(--dark-green);
        line-height: normal;

        @media (max-width: 767px) {
          font-size: 7vw;
        }
      }
    }

    > .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(4);

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

    .support-number {
      font-size: 4rem;
      line-height: 1.25;
      font-weight: 800;
      display: block;
      color: var(--dark-green);
      text-decoration: none;

      @media (max-width: 767px) {
        font-size: 9vw;
      }
    }

    /* @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 {
      display: block;
      font-size: 0.9rem;
    }
  }

  .contact_form {
    padding: 0;
    background: transparent;
    max-width: 100%;

    .form-group {
      width: 100%;
      margin: 0;

      input,
      textarea {
        padding: 0.75rem;
        background: var(--white) !important;
        color: var(--black);
        border: 1px solid var(--gray);
        border-radius: var(--border-radius-1);
        font-family: "Inter", sans-serif;

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

      .form-label {
        color: var(--black);
      }
    }
  }

  .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;
          color: var(--gray);
        }
      }

      &.active {
        .accordion-content {
          max-height: 450px;
          /* adjust if answers are long */
          overflow-y: auto;
        }

        .arrow {
          transform: rotate(90deg);
          /* arrow points down when open */
        }
      }
    }
  }
}

/* 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: 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;
}

.site_footer {
  padding-block: 3.125rem;
  background-color: var(--dark-green);
  width: 100%;

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

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

  p {
    font-size: 15px;
    line-height: 1.25;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
  }

  .logo_footer {
    max-width: 80px;
  }

  .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;
    }
  }
}

.list-footer {
  gap: 40px;
  justify-content: space-between;
}

/* Modals  */
.spinner {
  border: 4px solid var(--white);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.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;

  p {
    color: white;
  }

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

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

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

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

    h2 {
      color: var(--primary);
    }

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

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

    label {
      color: var(--light-gray);
    }

    @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(--white);
      min-height: auto !important;
    }
  }

  .checkbox-group {
    &:first-of-type {
      margin-top: 10px;
    }

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

  input {
    padding: 0.5rem;
    border: 1px solid var(--white);
    border-radius: var(--border-radius-1);
  }

  .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-color: var(--dark-green);
    width: 90%;
    overflow: auto;
    max-inline-size: 800px;
    position: relative;

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

    .form-group input {
      background: var(--white);
      padding: 0.5rem 1rem;
      min-height: 50px;

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

      &::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-gray);
}

#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: black;
  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;
}

#cardName {
  color: black;
}

#cardLastName {
  color: black;
}

#emailPayment {
  color: black;
}

#cardNumber {
  color: black;
}

#expiry {
  color: black;
}

#cvv {
  color: black;
}

#email {
  color: black;
}

#emailLogin {
  color: black;
}

#otp {
  color: black;
}

/* 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-gray);
}

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-gray) 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-gray) 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;
  }
}

/* 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);
}

/* Legals Pages  */

.legals {
  h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: black;
  }

  h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: black;
  }

  h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: black;
  }

  ol,
  ul {
    list-style: disc;
    padding-left: 20px;
    color: black;

    li {
      margin-bottom: 0.5rem;
      color: black;
    }
  }
}

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

    h1,
    h2 {
      color: var(--black);
      margin-top: 30px;
    }

    .info-frame {
      background: var(--primary);
      background-size: cover;
      padding: 40px 80px;
      border-radius: 20px;
      color: var(--black);
      gap: 10px;
      text-align: center;

      @media screen and (max-width: 991px) {
        padding: 40px 20px;
      }

      h2,
      p {
        margin: 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);
    }
  }
}

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

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

  .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) !important;
  }

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

  .m-auto {
    margin-inline: auto;
  }

  .pt-5 {
    padding-top: 4rem;
  }

  .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 (min-width: 768px) and (max-width: 1199px) {
      width: 45%;
    }

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

  .col-7 {
    width: 60%;

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

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

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-1 {
    gap: 0.4rem;
  }

  .gap-2 {
    gap: 0.875rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  .w-100 {
    width: 100% !important;
  }

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

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