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

  p,
  li {
    text-wrap: pretty;
  }

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

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

@layer base {
  :root {
    --black: #190505;
    --white: #fff;
    --primary: #e9ab00;
    --light-primary: #f9df80;
    --dark-primary: #e2a600;
    --light-gray: #e0e0e0;
    --gray: #6d6565;

    --border-radius-1: 1rem;
    --border-radius-2: 1.5rem;
    --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: "Poppins", sans-serif;
    font-size: 1rem;
    color: var(--black);
    background-color: var(--white);
    position: relative;
  }

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

  h2 {
    font-size: 1.875rem;
    font-weight: 700;
  }
  h2.border {
    border: 1px solid #dde9ef;
    margin: 0 auto;
    padding: 0.625rem 1.25rem;
  }
  a {
    color: var(--dark-primary);
    text-decoration: none;
  }

  .btn {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--black);
    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: 0.75rem 2.5rem;
    transition: all 0.2s ease-out;
    border: none;

    &:hover {
      transform: translateY(-3px);
    }
  }
  #player img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  p:empty {
    display: none;
  }
}

@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: content-box;
  }

  .wrapper[data-width="narrow"] {
    --wrapper-max-width: 720px;
  }
  .wrapper[data-width="medium"] {
    --wrapper-max-width: 960px;
  }
  .wrapper[data-width="narrowXS"] {
    --wrapper-max-width: 400px;
  }
  .wrapper[data-width="wide"] {
    --wrapper-max-width: 1440px;
  }
  .section {
    padding-block: 4rem;

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

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

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

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

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }
}
@layer components {
  /* Navigation  */
  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    align-items: center;
    position: relative;
    z-index: 999;

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

    .logo_header {
      width: 220px;
      overflow: hidden;

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

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

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

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

      ul {
        display: flex;
        gap: 20px;
      }

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

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

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

          @media screen and (max-width: 767px) {
            flex-direction: column;
            gap: 1.5rem;
            padding: 2rem 0;
          }
        }
      }
    }
    .header-right {
      grid-column: 3;
      position: relative;
      display: flex;
      gap: 0.75rem;
      align-items: center;

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

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

        &.active {
          right: 0;
        }

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

          li a {
            display: block;
            padding: 0.5rem;
            font-size: 1.125rem;
            font-weight: 500;
            color: var(--white);
            transition: color 0.2s;

            &:hover {
              color: var(--light-primary);
            }
          }
        }
        @media screen and (max-width: 840px) {
          width: 80%;
        }
      }
    }

    .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: 30px;
        span {
          background-color: var(--white);
        }
        span:first-child {
          transform: translateY(9px) rotate(45deg);
        }
        span:nth-child(2) {
          opacity: 0;
        }
        span:last-child {
          transform: translateY(-9px) rotate(-45deg);
        }
      }

      &[aria-expanded="true"] {
        position: fixed;
        right: 30px;
        span {
          background-color: var(--white);
        }
        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: 767px) {
      .mobile-nav {
        display: none;
      }
    }
  }

  /* Updates / Top */

  .latestUpdate {
    padding: 6rem 0;
    background-image: url(../images/background-image-dark.png);
    background-size: cover;
    background-position: center;
  }

  /* Hero Section */

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

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

  .page_hero {
    position: relative;
    padding-block-start: 6.125rem;
    padding-block-end: 5.125rem;
    text-align: center;
    color: var(--white);
    background-image: url(../images/premium/header-background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    &.home {
      background-image: url(../images/home_bck.png);
      min-height: 70vh;
      display: flex;
      align-items: center;
    }

    .wrapper {
      display: flex;
      flex-direction: column;
      gap: 20px;
      background: rgba(0, 0, 0, 0.5);
      padding: 2rem;

      h1 {
        font-size: 3rem;

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

      .intro-text {
        max-width: 720px;
        margin: 0 auto;
        font-size: 1rem;
      }

      .btn {
        padding: 0.5rem 5.5rem;
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        max-width: fit-content;
      }

      .btn:hover,
      .btn:focus-visible {
        transform: translateY(-3px);
      }
    }
  }

  /* Hero Payment  */
  .logo {
    width: 200px;
  }
  .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(--black);
      }

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

        .pricing-option {
          background-color: var(--dark-primary);
          color: var(--white);
          padding: 30px 50px;
          text-align: center;
          cursor: pointer;
          transition: all 0.3s ease-out;

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

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

          .details {
            font-size: 14px;
          }

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

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

          &:last-child {
            border-radius: 7px;
          }
        }

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

      h1 {
        font-size: 28px;
        font-weight: 500;
        margin-bottom: 30px;
      }

      .flex-container-col {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
      }
      .checkbox-group {
        margin-bottom: 15px;
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;

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

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

      .btn {
        width: 100%;
        max-width: 300px;
        font-size: 30px;
        font-weight: 700;
        line-height: 30px;
        margin: 30px auto;
        display: block;
        background: var(--white);

        &:disabled {
          opacity: 0.3;
          border: none;
          cursor: not-allowed;
          box-shadow: none;
          transform: none !important;
        }
      }
    }
  }

  /* Swiper   */

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

  .swiper-wrapper {
    display: flex;
  }

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

  .swiper-slide {
    overflow: hidden;
    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;
      }
    }
  }

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

  /* Home Apps */

  .homeApps {
    padding: 3rem;

    @media (max-width: 767px) {
      background-image: none !important;
    }

    .wrapper {
      gap: 90px;
      padding: 4rem 1rem;
      border-radius: var(--border-radius-4);

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

      @media (max-width: 767px) {
        flex-direction: column-reverse !important;
        gap: 40px;
      }

      .swiper-slide:first-child {
        margin-left: 0;
      }
      &.play {
        background: url(../images/premium/play-background.png) no-repeat;
        background-size: cover;
      }
      &.learn {
        background: url(../images/premium/learn-background.png) no-repeat;
        background-size: cover;
        flex-direction: row-reverse;
      }
      &.astrology {
        background: url(../images/premium/astrology-background.png) no-repeat;
        background-size: cover;
        flex-direction: row-reverse;
      }
      &.watch {
        background: url(../images/premium/watch-background.png) no-repeat;
        background-size: cover;
      }
      &.enjoy {
        background: url(../images/playHome_bck.png) no-repeat;
        background-size: cover;
      }
      &.fitness {
        background: url(../images/premium/fitness-background.png) no-repeat;
        background-size: cover;
      }
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      padding: 6rem 1rem;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* Cards on login page  */

  .card {
    border-radius: var(--border-radius-3);
    padding: 3.25rem;
    margin-block: 2rem;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.25rem;

    @media screen and (max-width: 767px) {
      border-radius: var(--border-radius-1);
    }

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

    &:nth-child(1) {
      background: url(../images/premium/play-background.png);
      background-size: cover;
      background-position: center;
    }
    &:nth-child(2) {
      background: url(../images/premium/watch-background.png);
      background-size: cover;
      background-position: center;
    }
    &:nth-child(3) {
      background: url(../images/premium/fitness-background.png);
      background-size: cover;
      background-position: center;
    }
    &:nth-child(4) {
      background: url(../images/premium/learn-background.png);
      background-size: cover;
      background-position: center;
    }
    &:nth-child(5) {
      background: url(../images/premium/astrology-background.png);
      background-size: cover;
      background-position: center;
    }

    img {
      width: 50%;
      border-radius: var(--border-radius-2);
      object-fit: cover;
      flex: 0 0 50%;
    }

    h3 {
      font-size: 2.5rem;
      text-transform: uppercase;
      color: var(--black);

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

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

    p {
      color: var(--black);
      font-size: 1rem;
      line-height: 1.5rem;
    }

    .card-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 1.875rem;
      flex: 0 0 50%; /* Make content take up exactly 50% of the space */
      width: 50%; /* Set content to take up 50% of the card width */
    }

    .btn {
      padding: 0.5rem 2.5rem;
      margin-inline: auto;
    }

    @media screen and (max-width: 1439px) {
      padding: 3.125rem;
    }
    @media screen and (max-width: 767px) {
      padding: 2.5rem;
      flex-direction: column;

      img,
      .card-content {
        width: 100%; /* On mobile, let image and content take full width */
        flex: 0 0 100%;
      }
    }
    @media screen and (max-width: 550px) {
      padding: 1.25rem;
    }
  }
  .cards_new_games {
    flex-wrap: wrap;
  }

  .card_new_games {
    background: var(--light-primary);
    border-radius: var(--border-radius-2);
    padding: 0.625rem;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;

    img {
      max-width: 180px;
    }

    h4 {
      margin-top: 0.625rem;
    }

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

  /* Category Page */

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

    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.png) center no-repeat;
    }
    &.fitness {
      background: url(../images/fitnessHome_bck.png) center no-repeat;
      background-size: cover;
    }
    &.learn {
      background: url(../images/learn_bck.png) center no-repeat;
      background-size: cover;
    }
    &.astrology {
      background: url(../images/astrology_bck.png) center no-repeat;
      background-size: cover;
    }
  }

  /* Category Cards */

  .category_card {
    width: 180px;
    height: 220px;
    overflow: hidden;
    border-radius: var(--border-radius-1);
    position: relative;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

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

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

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

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

    .image-container {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
  }

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

  .cardsTitle {
    position: absolute;
    bottom: 20px;
    left: 15px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    z-index: 2;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .apps {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

    .app-section,
    #app-section {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      padding-bottom: 15px;
      gap: 15px;
      width: 100%;
      margin: 0 auto;
      place-items: center;

      @media screen and (min-width: 768px) and (max-width: 1279px) {
        grid-template-columns: repeat(auto-fill, minmax(14%, 1fr));
      }

      a {
        min-width: 100%;

        .category_card {
          width: 100%;
          height: 180px;
        }
      }
    }

    @media screen and (max-width: 480px) {
      .app-section,
      #app-section {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
      }
    }
  }

  /* 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;
      font-family: "Poppins", 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;
  }

  .rating > img {
    width: 15px;
  }

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

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

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

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

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

  .hidden {
    display: none;
  }

  /* Scrollbar  */

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

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

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

  /* Section Picker */

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

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

    .section-btn {
      padding: 20px 40px;
      min-width: 200px;
      background: transparent;
      border: 0px solid var(--black);
      color: var(--black);
      background: var(--light-gray);
      border-radius: 30px;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;

      &.active {
        background: var(--primary);
        color: var(--white);
      }
      &:hover:not(.active) {
        background: #e9e9e9;
      }
    }
  }

  /* Latest Articles  */

  .latest_articles {
    background: url(../images/premium/bck-pattern.png) center no-repeat;
    background-attachment: fixed;
    background-size: cover;

    .btn {
      display: block;
      width: fit-content;
      margin: 1rem auto 0;
      padding: 0.75rem 2rem;
      background: var(--black);
      color: var(--white);
    }
    .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: 1rem 0 1.5rem;

        h5 {
          font-size: 1.125rem;
          line-height: 1.25;
          margin-bottom: 0.5rem;
          margin-top: 0;
          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;
    width: 60%;

    h2,
    h3 {
      margin-bottom: 0.5rem;
    }

    p {
      margin-bottom: 1.25rem;
    }

    a {
      color: var(--primary);
      margin-bottom: 1rem;
      font-weight: 600;
      font-size: 1rem;
    }

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

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

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

    input,
    textarea {
      padding: 0.5rem;
      border: 1px solid var(--light-primary);
      border-radius: var(--border-radius-3);
      background: var(--gray);
    }

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

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

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

  .bck-light {
    padding-top: 50px;
    background: var(--light-gray);
    padding-bottom: 50px;
  }

  /* 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: 180px;
      height: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      border-radius: var(--border-radius-2);

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

      img {
        width: auto;
        min-width: 100%;
        border-radius: var(--border-radius-2);
        object-fit: cover;
      }
    }

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

      p,
      ul li,
      ol li {
        line-height: 22px !important;
        margin: 20px 0 !important;
        background: none !important;
        font-size: 16px !important;
        font-family: "Poppins", sans-serif !important;
      }

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

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

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

  .single-movie .single-item-info {
    width: 100%;
  }
  .single-item {
    .img-radial {
      width: 100%;
      max-width: 1200px;
      max-height: 400px;
      object-fit: cover;
      overflow: hidden;
    }
  }

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

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

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

    @media screen and (max-width: 767px) {
      ul {
        flex-direction: column;
        gap: 1.25rem;
      }
      .copyrights {
        font-size: 0.875rem;
      }
    }
    .logo_footer {
      width: 50px;
      height: auto;
      object-fit: contain;
    }
  }

  /* Modals  */

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

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

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

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

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

      p {
        margin-top: 10px;
        font-size: 0.875rem;
        text-align: center;
        line-height: normal;
      }

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

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

        &label {
          line-height: 1.25rem;
        }
      }
    }

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

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

      input[type="checkbox"] {
        accent-color: var(--primary);
        margin: 0 10px 0 0;
      }
    }

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

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

    @media screen and (max-width: 767px) {
      h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
      }
      input {
        padding: 0.5rem;
      }
    }

    .modal-content {
      background: var(--white);
      width: 80%;
      overflow: auto;
      max-inline-size: 1200px;
      position: relative;
      border-radius: var(--border-radius-1);

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

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

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

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

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

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

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

    .modal-form {
      padding: 4rem 0;

      @media screen and (max-width: 767px) {
        padding: 2rem 0;
      }
    }
    p:empty {
      display: none;
    }
  }

  /* Payment modal  */

  .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.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 30px 0;
  }
  /* Payment Modal Styles */
  #paymentModal {
    .modal-content {
      background: var(--dark-primary);
      border-radius: var(--border-radius-2);
      padding: 40px;
      max-width: 540px;
      width: 85%;
      margin: 20px auto;
      display: flex;
      flex-direction: column;
      height: auto;
      position: relative;

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

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

        @media screen and (max-width: 479px) {
          font-size: 20px;
          margin-bottom: 10px;
        }
      }

      .form-group {
        margin-bottom: 20px;
        gap: 0.5rem;
      }

      label {
        display: block;

        color: var(--white);
        font-size: 14px;
        font-weight: 500;
      }

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

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

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

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

        .form-group {
          flex: 1;
        }
      }

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

        &:hover {
          transform: translateY(-3px);
          color: var(--primary);
        }
      }

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

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

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

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

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

  /* Custom Audio Player Styling */

  audio {
    width: 100%;
    height: 50px;
    border-radius: var(--border-radius-3);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* Legals Pages  */

  .legals {
    h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }
    h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
    p {
      font-size: 1rem;
      margin-bottom: 1rem;
    }
    ul {
      list-style: disc;
      padding-left: 20px;

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

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

  /* Navigation  */
  .top_bar {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 2.5rem;
    background: var(--primary);
    align-items: center;

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

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

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

    a {
      color: var(--black);
      font-size: 1.125rem;
      font-weight: 600;
      letter-spacing: -0.25px;

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

  /* Support page */

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

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

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

    h2 {
      font-size: 3rem;
      font-weight: 200;
      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(--primary);
      position: relative;
      padding: 50px;
      border-radius: 25px;

      h3 {
        color: var(--light-primary);
      }

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

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

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

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

      > .d-flex {
        position: relative;
        z-index: 1;
      }

      > img {
        position: absolute;
        left: 0;
        top: -40px;
        height: 100%;
        width: auto;
        z-index: 0;
        object-fit: contain;
        object-position: top;
        max-width: 280px;
        filter: brightness(4) hue-rotate(185deg) sepia(0.5);

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

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

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

      /* @supports (-webkit-touch-callout: none) {
        @media screen and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
          .support-number {
            color: var(--white) !important;
            text-decoration: none !important;

            a {
              color: var(--white) !important;
              text-decoration: none !important;
            }
          }
        } */
    }

    .support-text {
      color: var(--gray);
      display: block;
      font-size: 0.9rem;
    }
  }

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

  .accordion {
    width: 100%;
    margin: auto;
    overflow: hidden;

    .accordion-item {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--gray);
      border-radius: 0 !important;

      .accordion-header {
        cursor: pointer;
        padding: 25px 0 10px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .arrow {
          color: var(--white);
          transition: transform 0.3s ease;
          margin-right: 10px;
          font-size: 18px;
        }

        span {
          font-size: 1.5rem;
          line-height: 1.3;
          color: var(--white);
          font-weight: 600;
          flex-grow: 1;
          padding-right: 20px;

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

      .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 0 15px;
        color: var(--gray);

        p {
          margin: 15px 0;
          font-size: 14px;
          line-height: 18px;
        }
      }

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

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

.trending-title {
  margin-bottom: 30px;
  color: var(--white);
}
.section-icon {
  width: 40px;
}
.contact_form {
  padding: 0;
  background: transparent;
  max-width: 100%;
  background: var(--light-gray);
  padding: 2rem 1rem;
  border-radius: 10px;

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

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

    input,
    textarea {
      padding: 0.75rem;
      background: var(--white) !important;
      color: var(--black);
      border: none !important;
      border-radius: var(--border-radius-2);
      font-family: "Poppins", sans-serif;

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

/* unsub container */
.unsub-container {
  background: var(--light-gray);
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  border-radius: var(--border-radius-1);
  margin: 0 auto;
  max-width: 600px;

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

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

    .form-group {
      padding: 0;
    }

    input {
      padding: 0.75rem;
      border: 0px solid var(--gray);
      border-radius: var(--border-radius-2);
      width: 100%;
      background: var(--white);
      color: var(--black);

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

    .btn {
      width: 100%;
    }
  }

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

.blog {
  .single-item,
  .single-movie {
    .img-radial {
      max-width: 100%;
      min-height: 300px;
      img {
        width: 100%;
        object-fit: cover;
      }
    }
  }
  .single-item-info {
    width: 100%;
  }
}
/* Table  */

.blog table {
  width: 100% !important;
  margin: 20px auto;
  font-size: 0.875rem;

  @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 */
  }

  td {
    padding: 10px 5px;
  }
}

.blog table tr:first-child th,
.blog table tr:first-child td {
  background: var(--primary);
  color: var(--white);
}

/* Game Modal Styles */
.game-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);
}

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

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

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

.game-modal .close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  z-index: 10;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}

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

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

.game-modal .video-container {
  width: 100%;
  height: 100%;
  background-color: #000;

  img {
    object-fit: cover;
    object-position: center;
    height: 500px;

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

#game-description {
  font-size: 14px;
}

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

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

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

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

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

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

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

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

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

/* Lightbox Gallery Styles */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lightbox-content {
  position: relative;
  width: 80%;
  height: 80%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  right: 20px;
  top: 20px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  z-index: 2010;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  user-select: none;
  z-index: 2010;
  transition: background-color 0.3s ease;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

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

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 15px;
  border-radius: 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .game-modal .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .game-modal .game-screenshots {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

.billboard_wrapper {
  position: relative;

  .billboard {
    width: 100% !important;
    height: 100vh !important;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;

    @media (max-width: 767px) {
      height: auto !important;
      max-height: none;
      padding-block: 3rem;
    }

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

    video {
      width: 100%;
      object-fit: cover !important;
      position: absolute;
    }

    .billboard_title {
      display: flex;
      flex-direction: column;
      gap: 20px;
      width: 100%;

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

      h1,
      h2 {
        color: var(--white);
        text-shadow: 0px 0px 8px #00000060;
        text-transform: capitalize;

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

      p {
        color: var(--white);
        font-size: 1.5rem !important;
        line-height: 1.5 !important;
        text-shadow: 0px 0px 8px #00000060;
        font-weight: 300;
        margin-bottom: 20px;
        padding-right: 30%;

        @media screen and (max-width: 1199px) {
          font-size: 1.25rem !important;
          padding-right: 0;
        }
      }

      .billboard_btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        white-space: nowrap;
        box-sizing: border-box;
        background-color: rgba(250, 250, 250, 0.3);
        color: var(--white);
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
        padding: 12px 20px;
        border-radius: 6px;

        min-width: 180px;
        max-width: 100%;
        text-align: center;

        img {
          height: 20px;
          width: auto;
          flex: 0 0 auto;
          display: block;
        }

        &:hover {
          background-color: rgba(250, 250, 250, 0.2);
          transition: ease-in;
        }
      }
    }

    .billboard_image {
      position: absolute;
      max-height: 500px;
      width: 100% !important;
      height: 100% !important;

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

      &.play {
        background: url(../../assets/images/play-bck.jpg) center no-repeat;
        background-size: cover;
      }

      &.fitness {
        background: url(../../assets/images/train-bck.jpg) center no-repeat;
      }

      &.astrology {
        background: url(../../assets/images/enjoy-bck.jpg) center no-repeat;
      }

      &.learn {
        background: url(../../assets/images/learn-bck.jpg) center no-repeat;
      }
    }
  }

  .overlay {
    background-color: transparent;
    background-image: url(../../assets/images/billboard_shadow.png);
    background-position: 0 top;
    background-repeat: repeat-x;
    background-size: 100% 100%;
    inset: 0;
    position: absolute;
  }
}

@layer pages {
  .page-title {
    padding: 3rem 1rem;

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

    h1 {
      text-align: center;
    }
  }

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

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

    .title-border {
      display: block;
      width: 100%;
      height: 8px;
      margin: 15px 0 20px;
      background: var(--primary);
      border-radius: 4px;
    }

    .info-frame {
      background: var(--primary);
      background-size: cover;
      padding: 30px;
      border-radius: 20px;
      color: var(--white);

      h2 {
        margin-top: 15px;
      }

      p {
        margin-bottom: 0;
      }

      .text-xl {
        font-size: 1.5rem;
        font-weight: 700;

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

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

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

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

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

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

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

  .background-image {
    background-image: url(../images/premium/bck-pattern.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .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;
  }
  .align-baseline {
    align-items: baseline;
  }
  .text-center {
    text-align: center;
  }
  .text-white {
    color: var(--white);
  }
  .text-black {
    color: var(--black);
  }
  .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-3 {
    gap: 1rem;
  }
  .gap-20 {
    gap: 20px;
  }
  .gap-30 {
    gap: 30px;
  }
  .gap-50 {
    gap: 50px;
  }
  .mt-0 {
    margin-top: 0 !important;
  }
  .mt-1 {
    margin-top: 0.625rem !important;
  }
  .mt-2 {
    margin-top: 1rem !important;
  }
  .mt-3 {
    margin-top: 1.5rem !important;
  }
  .mt-4 {
    margin-top: 2rem !important;
  }
  .mt-5 {
    margin-top: 2.5rem !important;
  }
  .mb-0 {
    margin-bottom: 0 !important;
  }
  .mb-1 {
    margin-bottom: 0.625rem !important;
  }
  .mb-2 {
    margin-bottom: 1rem !important;
  }
  .mb-3 {
    margin-bottom: 1.5rem !important;
  }
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  .mb-5 {
    margin-bottom: 2.5rem !important;
  }
  .my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .my-1 {
    margin-top: 0.625rem !important;
    margin-bottom: 0.625rem !important;
  }
  .my-2 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .my-3 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .my-4 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .my-5 {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }
  .pt-0 {
    padding-top: 0 !important;
  }
  .pt-1 {
    padding-top: 0.625rem !important;
  }
  .pt-2 {
    padding-top: 1rem !important;
  }
  .pt-3 {
    padding-top: 1.5rem !important;
  }
  .pt-4 {
    padding-top: 2rem !important;
  }
  .pt-5 {
    padding-top: 3rem !important;
  }
  .pb-0 {
    padding-bottom: 0 !important;
  }
  .pb-1 {
    padding-bottom: 0.625rem !important;
  }
  .pb-2 {
    padding-bottom: 1rem !important;
  }
  .pb-3 {
    padding-bottom: 1.5rem !important;
  }
  .pb-4 {
    padding-bottom: 2rem !important;
  }
  .pb-5 {
    padding-bottom: 3rem !important;
  }

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