@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.3;
    font-size: 1.6em;
  }

  h1,
  h2,
  h3,
  h4 {
    font-optical-sizing: auto;
    font-style: normal;
  }

  p,
  li {
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1rem;
    margin: 1rem 0;
  }

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

@layer base {
  :root {
    --black: #0d0d0d;
    --white: #fff;
    --primary: #4f778b;
    --secondary: #2a414b;
    --dark-gray: #1f1f1f;
    --gray: #697186;
    --light-gray: #f2f4eb;
    --gradient-primary: linear-gradient(#2a5846, #3c6b59);
    --gradient-secondary: linear-gradient(#90ce00, #e1ff4d);
    --light-primary: oklch(from var(--primary) clamp(0, l + 0.22, 1) calc(c * 0.9) h);
    --dark-primary: oklch(from var(--primary) clamp(0, l - 0.22, 1) calc(c * 0.92) h);

    --border-radius-1: 0.5rem;
    --border-radius-2: 1.25rem;
    --border-radius-3: 2rem;
    --border-radius-4: 3rem;
  }

  @view-transition {
    navigation: auto;
  }

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

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

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

  h1 {
    font-family: "Open Sans", sans-serif;

    font-size: 4em;
    font-weight: 600;
    margin: 0;

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

    strong {
      font-weight: 500;
    }

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

  h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;

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

    span {
      color: var(--primary);
      font-weight: 600;
    }
  }

  h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;

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

  a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
  }

  .btn {
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary);
    border-radius: var(--border-radius-1);
    border: 1.5px solid transparent;
    cursor: pointer;
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    transition: all 0.2s ease-out;
    width: fit-content;
    min-width: 240px;
    text-transform: uppercase;
    text-align: center;

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

    &.large {
      margin: 0;
      font-size: 2rem;
      padding: 1.25rem 3rem;
    }

    &.btn-secondary {
      background: transparent;
      color: var(--white);
      background: var(--secondary);
      font-weight: 500;
      font-size: 1rem;
      border: none;
      padding: 0.5rem 1.5rem;
      min-width: fit-content;
    }
  }

  .btn-img {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: 0.2s ease-in-out;

    flex: 1;

    img {
      height: 200px;
      width: 100%;
      object-fit: cover;
    }

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

  .subtitle {
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.25rem;
  }
}

@layer layout {
  .wrapper {
    --wrapper-max-width: 1280px;
    --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: 720px;
  }

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

  .wrapper[data-width="regular"] {
    --wrapper-max-width: 1200px;
  }

  .wrapper[data-width="large"] {
    --wrapper-max-width: 1680px;
  }

  .section {
    padding-block: 7rem;

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

    + .section {
      padding-top: 0;
    }

    &.background-light {
      padding-top: 7rem;

      @media (max-width: 767px) {
        padding-top: 5rem;
      }

      + .section {
        padding-block: 7rem;

        @media (max-width: 767px) {
          padding-top: 5rem;
        }
      }
    }
  }

  .card-frame {
    padding: 50px;
    background: var(--primary);
    border-radius: var(--border-radius-3);

    @media (max-width: 1199px) {
      padding: 20px;
    }
    h2 {
      color: var(--secondary);
    }
    .subtitle {
      color: var(--white);
    }
    .btn {
      background: var(--white);
      color: var(--primary);
    }
  }
}

@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: 1rem;
      letter-spacing: -0.5px;
      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: 1199px) {
      padding: 1rem;
    }

    .logo_header {
      height: 45px;
      width: auto;
      overflow: hidden;
      padding: 0 !important;

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

      img {
        height: 45px;
        width: auto;
        max-inline-size: none;

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

    .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;
        -webkit-transform: translateX(100%);

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

      ul {
        display: flex;
        gap: 1.5rem;

        @media (min-width: 767px) and (max-width: 1199px) {
          gap: 1rem;
        }

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

          @media (min-width: 767px) and (max-width: 1199px) {
            font-size: 0.9rem;
            letter-spacing: -0.5px;
          }

          @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 {
      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;
        justify-content: center;
      }

      a {
        font-weight: 700;
      }

      .dropdown-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        background: var(--secondary);
        width: 25%;
        padding: 6rem 1.5rem 3rem;
        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: 0.5rem;

          li {
            margin: 0;

            a {
              display: block;
              padding: 0.5rem;
              font-size: 1.125rem;
              font-weight: 600;
              color: var(--white);
              transition: color 0.2s;
              background: transparent !important;
              backdrop-filter: unset;

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

    .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(--primary);
        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;
        font-weight: 700;

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

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

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

  /* Hero Section */

  .page_hero {
    position: relative;
    padding: 5rem 3rem;
    background: var(--secondary);
    /* border-radius: var(--border-radius-3); */

    @media screen and (max-width: 1199px) {
      padding: 3rem 1rem 1rem 1rem;
    }
    .wrapper {
      display: flex;
      flex-direction: row;
      gap: 30px;
    }
    .hero-bck {
      position: relative;
      right: 0%;
      height: 95%;
      bottom: 0;
      z-index: 0;
      object-fit: contain;

      @media screen and (max-width: 1199px) {
        margin-top: 0px;
        height: fit-content;
        position: relative;
      }
    }

    .hero-content {
      text-align: left;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 30px;
      color: var(--black);
      flex: 1;
      max-width: 100%;

      @media (min-width: 768px) and (max-width: 1199px) {
        align-items: center;
        text-align: center;
        min-height: auto;
      }

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

      span {
        font-size: 1.25rem;
        font-weight: 600;
        letter-spacing: 2px;
      }

      h1 {
        font-size: 3rem;
        font-weight: 600;
        color: var(--white);

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

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

      p {
        font-size: 1.25rem;
        color: var(--white);
        max-width: 800px;

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

      .btn {
        background: var(--primary);
        color: var(--white);
        font-weight: 600;
        font-size: 1.25rem;
        border: none;
        padding: 1rem 3rem;
        margin-top: 20px;
      }
    }

    &.login {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      height: 500px;
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%),
        url("../images/premium/login-bg.jpg");

      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      .hero-content {
        align-items: flex-start;
        color: var(--white);
        p {
          margin: 0;
          text-align: left;
        }
      }
    }

    &.subpage {
      .hero-content {
        max-width: 100%;
        width: 100%;
        flex: 1;
        flex-direction: row;
        align-items: center;
        .hero-bck {
          height: 400px;
          flex: 1;
        }
        span {
          color: var(--primary);
        }
      }
    }
  }

  .page-hero {
    position: relative;
    padding: 5rem 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%), url("../images/hero.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

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

    .hero-content {
      align-items: flex-start;
      color: var(--white);

      h1 {
        color: var(--secondary);
        text-shadow: 0 2px 2px #ffffff6b;
      }
      p {
        margin: 0;
        text-align: left;
        @media screen and (max-width: 767px) {
          text-align: center;
        }
      }
    }
  }

  .login-text {
    justify-content: center;
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
    padding: 30px;
    @media screen and (max-width: 767px) {
      width: 100%;
    }
    h2 {
      font-size: 2.5rem;
      font-weight: 200;
      margin: 0px;

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

      span {
        font-family: "Open Sans", sans-serif;
        font-size: 1rem;
        margin-bottom: 10px;
        letter-spacing: 2px;
        font-weight: 600;
        color: var(--secondary);
        text-transform: uppercase;
        display: block;
      }
    }
  }

  .img-cover {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
    @media screen and (max-width: 767px) {
      width: 100%;
    }
    img {
      height: 400px;
      width: 100%;
      object-fit: cover;

      &.first-child {
        border-radius: 0 100px 0 0;
      }
      &.last-child {
        border-radius: 0 0px 0 100px;
      }
    }
  }

  .highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    margin-top: 30px;

    li {
      display: flex;
      align-items: center;
      gap: 15px;
      border-bottom: 1px solid var(--light-gray);
      font-size: 1.25rem;
      font-weight: 500;
      padding-bottom: 20px;
      margin: 0 0 20px;

      span {
        color: var(--primary);
        font-size: 1.5rem;
        font-weight: 600;
      }
    }
  }

  .banner {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%),
      url("../images/premium/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 0 100px 0 100px;
    .banner-text {
      text-align: center;
      font-size: 1.5rem;
      font-weight: 500;
      text-transform: uppercase;
      color: var(--white);

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

      span {
        font-family: "Open Sans", sans-serif;

        display: block;
        margin-top: 10px;
        font-size: 3rem;
        color: var(--white);
        font-weight: 200;
        text-transform: initial;
        line-height: 1.2;

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

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

  .bannerbox {
    padding: 50px 0;
    h2 {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      text-align: left;
      font-size: 2.5rem;
      font-weight: 200;
      margin: 0px;
      color: var(--primary);
      text-transform: uppercase;

      span {
        text-align: left;
      }
    }
    .btn-img {
      img {
        height: auto;
        width: 100%;
      }
    }
  }

  .banner-section {
    background: var(--gradient-primary);
    padding-block: 8rem;
    position: relative;

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

    .banner-content {
      color: var(--black);
      position: relative;
      z-index: 1;

      @media screen and (max-width: 1199px) {
        text-align: center;
        margin-inline: auto;
      }

      span {
        font-size: 1.25rem;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 10px;
        display: block;
      }

      h3 {
        font-size: 3rem;
        font-weight: 600;

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

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

      p {
        font-size: 1.125rem;
        margin-top: 1.5rem;
        max-width: 600px;
      }

      .btn {
        border: none;
        background: var(--white);
        font-weight: 600;
        color: var(--secondary);
      }
    }

    img {
      position: absolute;
      z-index: 0;
      right: 0;
      bottom: 0;
      height: 105%;
      width: auto;

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

      @media screen and (max-width: 767px) {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 30px;
      }
    }
  }

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

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

      .pricing-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        overflow: hidden;
        gap: 10px;

        .pricing-option {
          background-color: var(--white);
          align-items: center;
          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;
          }
          .pricing-plan {
            text-align: left;
          }

          .duration {
            font-size: 20px;
            font-weight: 500;
            margin: 8px 0;
          }

          .details {
            font-size: 14px;
          }

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

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

      h1 {
        font-size: 1.5rem;
        font-weight: 500;
        margin-bottom: 30px;
        text-align: center;
      }

      .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;
        font-size: 30px;
        font-weight: 700;
        line-height: 30px;
        margin: 30px auto;
        display: block;
        width: 100%;
        max-width: 360px;

        &:disabled {
          border: none;
          cursor: not-allowed;
          box-shadow: none;
          opacity: 0.5;

          &:hover {
            transform: none;
          }
        }
      }
    }
  }

  /* CONTAINER */

  .hero-content {
    @media (min-width: 1200px) {
      max-width: 40%;
    }

    &.page {
      @media (min-width: 1200px) {
        max-width: 60%;
      }
    }

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

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

    h1 {
      font-size: clamp(36px, 6vw, 64px);
      color: var(--primary);
      line-height: 1.1;
    }

    p {
      font-size: 20px;
    }
  }

  .hero-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

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

    .card {
      flex: 0 0 calc(50% - 10px);
      /* 3 per row */
      height: 320px;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      border-radius: 30px;

      /* OPTIONAL: make it responsive */
      @media (max-width: 1023px) {
        .card {
          flex: 1;
          /* 2 per row */
        }
      }

      @media (max-width: 767px) {
        .card {
          flex: 0 0 100%;
          /* 1 per row */
        }
      }

      &:hover {
        /* HOVER STATE */
        img {
          opacity: 0;
        }

        video {
          opacity: 1;
        }
      }

      /* IMAGE */
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.5s ease;
        z-index: 2;
      }

      /* VIDEO */
      video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        z-index: 1;
        transition: opacity 0.5s ease;
        filter: brightness(0.75) contrast(1.25) grayscale(0.5);
      }

      /* TEXT OVERLAY */
      .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 20px;
        color: white;
        font-size: 20px;
        font-weight: bold;
        z-index: 3;
        transition: opacity 0.5s ease;

        .subtitle {
          font-size: 0.9rem;
        }

        h2 {
          font-size: 1.5rem;
        }
      }
    }
  }

  .home-video-content {
    .home-text-container {
      width: 100%;
    }

    .category_card {
      position: relative;
      max-width: 100%;

      @media screen and (max-width: 1199px) {
        max-width: 162px;
      }

      &::before {
        content: "";
        background: url(../images/icons/play-icon.svg) center center no-repeat;
        background-size: cover;
        position: absolute;
        top: calc(50% - 22px);
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        width: 60px;
        height: 60px;
        display: block;
      }

      img {
        height: 220px;
        object-fit: cover;
        max-width: 100%;

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

  .home-audio-content {
    .img-left {
      flex: 1;
      border-radius: 30px;
      width: 40%;
      object-fit: cover;

      @media (max-width: 991px) {
        width: 100%;
      }
    }
  }
  .home-text-container {
    max-width: 800px;
  }

  .category_card {
    position: relative;
    max-width: 100%;

    &::before {
      content: "";
      background: url(../images/icons/icon-audio.svg) center center no-repeat;
      background-size: cover;
      position: absolute;
      top: calc(50% - 22px);
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
      width: 60px;
      height: 60px;
      display: block;
    }

    img {
      height: 300px;
      object-fit: cover;
      max-width: 100%;

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

.home-app-content {
  .home-text-container {
    width: 100%;
  }

  .category_card {
    position: relative;
    max-width: 100%;

    &::before {
      content: "";
      background: url(../images/icons/icon-app-white.svg) center center no-repeat;
      background-size: cover;
      position: absolute;
      top: calc(50% - 22px);
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
      width: 60px;
      height: 60px;
      display: block;
    }

    img {
      height: 240px;
      object-fit: cover;
      max-width: 100%;

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

.home-article-content {
  .home-text-container {
    width: 100%;
  }

  .category_card {
    position: relative;
    max-width: 100%;

    &::before {
      content: "";
      background: url(../images/icons/icon-article.svg) center center no-repeat;
      background-size: cover;
      position: absolute;
      top: calc(50% - 40px);
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
      width: 60px;
      height: 60px;
      display: block;
    }

    img {
      height: 300px;
      object-fit: cover;
      max-width: 100%;

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

/* Fix for category cards layout */

.audio-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray);

  h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    color: var(--dark-gray);
    font-family: "Open Sans", sans-serif;
    &.white {
      color: var(--white);
    }
  }
  img {
    filter: invert(1);
    &.invert {
      filter: invert(0);
    }
  }
}

.audio-image-container {
  max-width: 360px;
  height: auto;

  img {
    border-radius: var(--border-radius-3);
  }
}

.articles {
  .category_card {
    h3 {
      color: var(--white);
    }
  }
}
.article-item {
  max-width: 100%;

  .article-img-container {
    width: 120px;
    min-width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: var(--border-radius-2);

    @media (max-width: 767px) {
      width: 100%;
      height: 240px;
    }

    img {
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
    }
  }

  .article-content {
    max-width: 100%;
    min-width: 0;

    h3 {
      font-size: 1.25rem;
      font-weight: 500;
      margin: 0;
      color: var(--dark-gray);
      font-family: "Open Sans", sans-serif;
      overflow: hidden;
      white-space: nowrap;
      /* Don't forget this one */
      text-overflow: ellipsis;
    }

    .btn {
      padding: 0.5rem 1.5rem;
      color: var(--white);
      font-weight: 500;
      font-size: 0.85rem;
      border: none;
      background: var(--primary);
      min-width: 180px;
    }
  }

  .excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    h1,
    h2,
    h3,
    h4,
    p,
    ul li,
    ol,
    li {
      font-size: 0.9rem;
      margin: 0;
    }
  }
}

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

.testimonial-container {
  border-radius: var(--border-radius-2);
  background: var(--secondary);
  /* border: 2px solid var(--gray); */
  padding: 30px;
  flex: 1;
  p {
    margin: 0;
  }
  img {
    width: 50px;
  }

  .testimonial-footer {
    border-top: 1px solid var(--gray);
    padding-top: 1rem;

    .initial {
      width: 50px;
      height: 50px;
      background: var(--gradient-primary);
      color: var(--white);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.25rem;
      font-weight: 700;
    }

    .name {
      display: block;
      font-size: 1.125rem;
      font-weight: 600;
    }

    .title {
      margin-top: 5px;
      display: block;
      font-size: 1rem;
    }
  }
}

/* Button transition effects */

.see-more-btn,
.see-less-btn {
  transition: all 0.3s ease;
  border: 2px solid var(--gray);
  color: var(--primary);
  background: transparent;
  padding: 0.75rem 2rem;
  margin-block: 20px;
}

.see-more-btn:hover,
.see-less-btn:hover {
  transform: translateY(-3px);
}

.hidden-items:empty {
  display: none !important;
}

/* Item appear animation */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category Cards */

.category_card {
  width: 100%;
  min-width: 150px;
  transition: transform 0.3s ease-in-out;
  margin: 0;
  max-width: 162px;

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

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

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

  &:hover {
    transform: translateY(-4px);

    img {
      filter: brightness(1) grayscale(0) contrast(1);
    }
  }

  img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: var(--border-radius-3);
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    filter: brightness(0.7) grayscale(0.25) contrast(1.1);

    @media (min-width: 768px) and (max-width: 1199px) {
      height: 150px;
      border-radius: var(--border-radius-2);
    }
  }

  .cardsTitle {
    padding-top: 1rem;
    font-weight: 600;
    width: 100%;
    font-size: 0.9rem;
    font-family: "Open Sans", sans-serif;
    z-index: 2;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--dark-gray);
  }

  .excerpt,
  .excerpt p {
    color: var(--dark-gray);
    font-size: 0.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
  }
}

.app-section {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  flex-wrap: wrap;

  > a {
    flex: 0 0 31.5%;

    @media (min-width: 768px) and (max-width: 1199px) {
      flex: 0 0 12.25%;
    }

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

.apps {
  .app-section {
    > a {
      max-width: fit-content;
    }
  }
}

.item-section {
  display: flex;
  gap: 1rem;
  justify-content: center;
  overflow-x: auto;
  flex-wrap: wrap;

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

  > a {
    flex: 1;
  }
}

.pic-container {
  max-width: 360px;
  height: auto;

  img {
    border-radius: var(--border-radius-3);
  }
}

/* Categorie Pills  */

.features-bar {
  margin: 0;
  flex-wrap: wrap;

  @media screen and (max-width: 767px) {
    justify-content: center;
  }

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

  .rating {
    display: flex;
    align-items: center;
    gap: 5px;

    > img {
      width: 15px;
    }

    > span {
      font-size: 1.5em;
    }
  }
}

/* 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;
    background: transparent;
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.2s ease-out;
    border-radius: var(--border-radius-2);
    text-align: left;
    background: var(--secondary);
    border: none;

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

    &:hover {
      transform: scale(1.05);
      background: var(--primary);
    }

    &.active {
      cursor: default;
      transform: none !important;
    }

    span {
      font-weight: 600;
      font-size: 1.25rem;
    }

    p {
      font-size: 1.5rem;
      font-weight: 100 !important;
      margin: 0 0 10px;
      max-width: 80%;

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

    .btn {
      font-size: 1.25rem;
      background: var(--black);
    }

    &:nth-of-type(1) {
      background: var(--secondary) url(../images/picker-bck-recipes.png) no-repeat bottom right;
      background-size: 33.33%;

      &.active {
        background: var(--primary) url(../images/picker-bck-recipes.png) no-repeat bottom right;
      }
    }

    &:nth-of-type(2) {
      background: var(--secondary) url(../images/picker-bck-videos.png) no-repeat bottom right;
      background-size: 33.33%;

      &.active {
        background: var(--primary) url(../images/picker-bck-videos.png) no-repeat bottom right;
      }
    }

    &:nth-of-type(3) {
      background: var(--secondary) url(../images/picker-bck-tips.png) no-repeat bottom right;
      background-size: 33.33%;

      &.active {
        background: var(--primary) url(../images/picker-bck-tips.png) no-repeat bottom right;
      }
    }
  }
}

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

  .modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 2% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s;
    border-radius: 8px;
    overflow: hidden;

    @media (max-width: 767px) {
      width: 95%;
      margin: 10% auto;
    }
  }

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

  .close:hover {
    background-color: rgba(255, 0, 0, 0.7);
  }

  .modal-header {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .video-container {
    width: 100%;
    background-color: #000;
  }

  .video-container video,
  .video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
  }

  .modal-body {
    padding: 20px;
    color: #fff;
  }

  .info h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: #fff;
  }

  .featured-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;

    @media (max-width: 767px) {
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
  }

  .screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .screenshot img:hover {
    transform: scale(1.03);
  }

  .modal-footer {
    margin-top: 20px;
    text-align: center;
  }

  .btn-view-details {
    background-color: #e50914;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn-view-details:hover {
    background-color: #f40612;
  }

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

  .btn-secondary:hover {
    background-color: #555;
  }

  .description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;

    h3 {
      color: #fff;
      margin-top: 20px;
      margin-bottom: 10px;
      font-size: 18px;
    }

    ul {
      padding-left: 20px;
      margin-bottom: 15px;
    }

    li {
      margin-bottom: 5px;
    }

    p {
      margin-bottom: 15px;
    }
  }

  .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
  }

  .featured-screenshots h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Support pages  */

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 60%;
  font-size: 1rem;
  line-height: 1.3;

  h2,
  h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  p,
  ul li {
    margin-bottom: 1rem;
  }

  a {
    color: var(--primary);
    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 {
  h1 {
    padding: 3rem 1rem;
    background: var(--primary);
    color: var(--white);

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

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

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

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

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

  label {
    display: flex;
    flex-direction: column;
  }

  input,
  textarea {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-2);
    background: var(--light-gray);
    font-size: 1rem;
    color: var(--black);
    font-family: "Open Sans", sans-serif;

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

  .btn {
    width: 100%;
  }
}

/* Single Items  */
.single-item,
.single-movie {
  h1 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
    text-wrap: inherit;

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

  h2 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .img-radial {
    width: 100%;
    max-width: 150px;
    height: 100%;
    max-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--border-radius-2);
    overflow: hidden;

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

    &.large {
      max-width: 100%;

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

    img {
      width: auto;
      min-height: 150px;
      min-width: 100%;
      border-radius: var(--border-radius-2);
      object-fit: cover;
      filter: brightness(0.7) grayscale(0.5);

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

  video {
    max-width: 100%;
    border-radius: var(--border-radius-2);
    overflow: hidden;
  }

  .single-video-player {
    width: 100%;
    max-width: 100%;
    border-radius: var(--border-radius-2);
    overflow: hidden;
    background: #000;
  }

  .single-item-info {
    width: 100%;
    padding: 0;
    font-size: 1rem;

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

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

    div {
      margin-bottom: 20px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      background: none !important;
    }

    h2 {
      font-size: 1.75rem;
      font-weight: 600;
      margin-block: 30px 10px;
    }

    h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-block: 30px 10px;
    }

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

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

  .btn {
    @media screen and (max-width: 767px) {
      margin: 0 auto;
    }
  }
}

.blog,
article {
  .single-item,
  .single-movie {
    .img-radial {
      max-width: 100%;
      min-height: 300px;

      img {
        width: 100%;
        object-fit: cover;
      }
    }
  }
}

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

.unsub-container {
  /* border: 2px solid var(--primary); */
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  border-radius: 0 100px 0px 100px;
  margin: 0 auto;
  background: var(--white);

  @media screen and (max-width: 767px) {
    width: 100%;
    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 1rem;
      border: 1px solid var(--gray);
      border-radius: var(--border-radius-2);
      width: 100%;
      background: var(--light-gray);
      color: var(--black);
    }

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

.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 {
    font-family: "Open Sans", sans-serif;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;

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

  h2 {
    font-size: 3rem;
    margin: 0;

    @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(--black);
    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;
        text-decoration: none;
      }
    }

    > .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: 4rem;
      line-height: 1.25;
      font-weight: 800;
      display: block;
      color: var(--white);
      text-decoration: none;

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

    @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(--gray);
      display: block;
      font-size: 0.9rem;
    }
  }

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

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

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

      p {
        margin: 15px 0;
      }
    }

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

  a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease-out;

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

  p {
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    margin-bottom: 1rem;
  }
  li {
    margin: 0;
  }
  .logos img {
    width: 100%;
    height: 25px;
    object-fit: contain;
  }

  @media screen and (max-width: 767px) {
    .footer_link ul {
      flex-direction: column;
      gap: 0.8rem !important;
    }

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

  .logo_footer {
    max-width: 90px;
    height: auto;
  }

  .disclaimer {
    font-size: 15px;
    line-height: 1.4;
  }
}

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

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

  .close {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    line-height: 20px;

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

  form {
    width: 100%;

    .checkbox-group {
      label {
        font-size: 0.875rem;
        display: inline;
      }

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

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

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

        &:empty {
          display: none;
        }
      }

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

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

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

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

  .modal-content {
    background: var(--white);
    border-radius: 100px 0 100px 0;
    border: 2px solid var(--secondary);
    width: 100%;
    overflow: auto;
    max-inline-size: 600px;
    position: relative;

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

    .form-group input {
      background: var(--light-gray);
      border: 2px solid var(--gray) !important;
      border: none;
      padding: 0.5rem 1rem;
      min-height: 50px;
      color: var(--black);

      &:focus-visible {
        outline: none;
        border: 2px solid var(--primary) !important;
      }

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

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

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

/* Payment modal  */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

/* Payment Modal Styles */

#paymentModal .modal-content {
  background: var(--white);
  border-radius: var(--border-radius-2);
  border: 2px solid var(--secondary);
  padding: var(--border-radius-2);
  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;
    height: 90%;
    overflow-y: scroll;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

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

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

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

  input,
  textarea {
    width: 100%;
    padding: 8px 15px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color: var(--black);

    &:focus {
      border-color: var(--primary);
      outline: none;
    }

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

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

    .form-group {
      flex: 1;
    }
  }

  button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;

    &:hover {
      background: var(--primary);
      transform: translateY(-1px);
      box-shadow: 0 5px 15px rgba(26, 47, 163, 0.2);
    }
  }

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

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

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

/* Input placeholder styling */
input::placeholder {
  color: var(--dark-gray);
}

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

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

/* 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 {
  font-size: 16px;
  line-height: 1.4;

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

@layer pages {
  .page {
    p {
      margin: 15px 0;
    }

    h1,
    h2 {
      margin-top: 30px;
    }

    .info-frame {
      background: var(--secondary);
      background-size: cover;
      padding: 30px;
      gap: 10px;
      color: var(--white);
      &.radius1 {
        border-radius: 0 0px 0 100px;
      }
      &.radius2 {
        border-radius: 100px 0 0px 0;
      }

      h2 {
        color: var(--white);
        margin: 0;
      }

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

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

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

    ul,
    ol {
      li {
        margin: 15px;
      }
    }
  }

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

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

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

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

  .background-primary {
    background-color: var(--primary);
  }
  .background-secondary {
    background-color: var(--secondary);
  }
  .background-light {
    background-color: var(--light-gray);
  }
  .white {
    color: var(--white);
  }
  .intro-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.8em;
    line-height: normal;
  }

  .d-none,
  .hidden {
    display: none !important;
  }

  .d-flex {
    display: flex;

    .flex-1 {
      flex: 1;
      min-width: 0;
    }
  }
  .flex-one {
    flex: 1;
  }

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

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

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

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

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

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

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

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

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

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

  .ml-auto {
    margin-left: auto !important;
  }

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

  .md-hide {
    @media screen and (min-width: 768px) and (max-width: 1199px) {
      display: none;
    }
  }

  .arrow-right {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
  }

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

  .mt-1 {
    margin-top: 1rem;
  }

  .mt-2 {
    margin-top: 1.25rem;
  }

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

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

  .mt-5 {
    margin-top: 3rem;
  }

  .mb-1 {
    margin-bottom: 1rem;
  }

  .mb-2 {
    margin-bottom: 1.25rem;
  }

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

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

  .mb-5 {
    margin-bottom: 3rem;
  }

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

  .pt-1 {
    padding-top: 1rem;
  }

  .pt-2 {
    padding-top: 1.25rem;
  }

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

  .pt-4 {
    padding-top: 2rem;
  }
  .pt-100 {
    padding-top: 100px;
  }
  .pt-5 {
    padding-top: 2.5rem;
  }

  .pb-1 {
    padding-bottom: 1rem;
  }

  .pb-2 {
    padding-bottom: 1.25rem;
  }

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

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

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

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

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

  .col-4 {
    width: 35%;

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

  .col-6 {
    width: 50%;

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

  .gap-1 {
    gap: 0.5rem;
  }

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  .gap-100 {
    gap: 100px;

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

  .w-100 {
    width: 100%;
  }

  .border-bottom {
    border-bottom: 1px solid var(--light-gray);
  }

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

  .order1 {
    @media screen and (max-width: 767px) {
      order: 1;
    }
  }
  .order2 {
    @media screen and (max-width: 767px) {
      order: 2;
    }
  }

  .tablet-column {
    @media screen and (min-width: 768px) and (max-width: 991px) {
      flex-direction: column;
    }
  }

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