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

  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: #121212;
    --white: #fff;
    --primary: #1fd6ff;
    --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);
    --light-gray: #f1f1f1;
    --gray: #949496;
    --dark-gray: #242323;

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

  @view-transition {
    navigation: auto;
  }

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

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

  body {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--black);
    position: relative;
  }

  h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    font-family: "Squada One", sans-serif;
    font-weight: 400;
    font-style: normal;

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

  h2 {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: "Squada One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

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

  p:empty {
    display: none;
  }

  .btn {
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    background: -webkit-linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
    background: -moz-linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
    background: linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#DA0744", endColorstr="#1ED5FE", GradientType=1);
    border: 2px solid var(--light-purple);
    border-radius: var(--border-radius-4);
    transition: all 0.3s ease-out;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    text-decoration: none !important;
    text-transform: uppercase;

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

  .btn-play {
    font-size: 1.4rem;
  }
}

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

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

    box-sizing: border-box;
  }

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

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

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

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

  .section {
    padding-block: 4rem;

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

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

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

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

    .card {
      width: 100%;
    }
  }

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

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

@layer components {
  /* Navigation  */

  .top_bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 2.5rem;
    background: var(--primary);
    gap: 1.25rem;
    align-items: center;

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

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

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

    a {
      color: var(--black);
      font-weight: 600;
      text-decoration: none;
      line-height: 24px;
      letter-spacing: -0.5px;
      font-size: 0.925rem;
    }
  }

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

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

    .unsubLink {
      margin-right: 0.5rem;

      text-transform: uppercase;
      font-size: 20px;
      font-weight: 600;
      text-decoration: none;
      color: var(--primary);

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

    > a {
      @media screen and (max-width: 767px) {
        width: 50px;
        overflow: hidden;
        height: 35px;
      }

      .logo_header {
        max-width: 280px;
        width: 100%;
      }
      .desktop-logo {
        display: block;

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

      .mobile-logo {
        display: none;

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

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

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

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

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

      ul {
        display: flex;
        gap: 1.25rem;

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

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

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

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

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

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

        &.active {
          right: 0;
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    @media screen and (min-width: 768px) {
      .mobile-nav {
        display: none;
      }
    }
  }
  .refund_bar {
    #refund-btn {
      position: fixed;
      top: 140px;
      right: 1.25rem;
      z-index: 99;
      color: var(--black);
      padding: 10px 20px;
      border-radius: 45px;
      font-size: 1rem;
      text-transform: none;
      font-weight: 400;
      gap: 10px;
      transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      overflow: hidden;

      &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transform: translate(-50%, -50%);
        transition:
          width 0.6s,
          height 0.6s;
      }

      &:hover {
        background-color: var(--dark-primary);
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

        &::before {
          width: 350px;
          height: 350px;
        }
      }

      img {
        transition: transform 0.3s ease;
      }
    }

    &.scrolled {
      #refund-btn {
        width: 100%;
        top: 0;
        right: 0;
        border-radius: 0;
        animation: pulse 2s ease-in-out infinite;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);

        &:hover {
          transform: scale(1.02);
          box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
        }
      }
    }
  }
  /* Hero Section */

  .page_hero {
    position: relative;
    padding-block-start: 4rem;
    padding-block-end: 4rem;
    text-align: center;
    color: var(--white);
    background-image: url(../images/premium/header-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    &.content_bg {
      background-image: url(../images/header-background.png);
    }

    h1 {
      margin-bottom: 30px;

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

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

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

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

  /* Hero Payment  */

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

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

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

      .pricing-toggle {
        display: flex;
        justify-content: center;
        flex-direction: column;
        justify-content: center;
        width: 90%;
        max-width: 720px;
        margin: 0 auto;
        overflow: hidden;
        gap: 10px;

        .pricing-option {
          display: flex;
          background-color: transparent;
          padding: 20px 30px;
          cursor: pointer;
          transition:
            background-color 0.3s,
            color 0.3s;
          border-radius: 8px;
          border: solid 1px var(--primary);
          flex: 1;
          color: var(--white);
          justify-content: space-between;
          gap: 20px;

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

          .pricing-price {
            text-align: right;
          }

          .plan-name {
            font-family: "Inter", sans-serif;
            line-height: 30px;
            text-align: left;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 5px;

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

          .price {
            font-family: "Inter", sans-serif;
            line-height: 30px;
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 5px;

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

          .duration {
            font-size: 15px;
            font-weight: 600;
            text-transform: uppercase;
            line-height: normal;
          }

          .details {
            font-size: 14px;
            line-height: normal;
          }

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

    .headpart {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      background-color: var(--dark-gray);
      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 {
        font-size: 24px;
        width: 100%;
        font-weight: 700;
        line-height: 30px;
        margin: 30px auto;
        display: block;
        max-width: 280px;
        padding: 15px;

        &:disabled {
          opacity: 0.5;
          filter: grayscale(1);
        }
      }
    }
  }

  .latestUpdates {
    background: var(--dark-gray);
    padding-block: 5rem;

    .wrapper {
      h2 {
        font-size: 48px;
        font-weight: 600;
        display: flex;
        align-items: center;

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

        span {
          font-size: 96px;
          font-weight: 900;
          margin-left: 10px;
          @media screen and (max-width: 650px) {
            font-size: 56px;
          }
        }
      }

      .d-flex {
        max-width: 100%;
        overflow: hidden;
      }
    }
  }

  .intro-text {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 640px;
    margin: 0 auto;
  }

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

    &:first-child {
      margin-left: 40px;

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

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

    img {
      width: 100%;
      max-width: 120px;
      height: 150px;
      object-fit: cover;
    }

    .slide-number {
      position: absolute;
      height: 180px;
      bottom: -10px;
      left: -50px;
      font-size: 120px;
      font-weight: 700;
      color: var(--white);
      opacity: 0.25;
      z-index: 1;
      text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
    }

    > a {
      position: relative;

      .item-info {
        position: absolute;
        width: 100%;
        box-sizing: content-box;
        padding: 12px;
        z-index: 1;
      }
    }
  }

  /* Home Apps */

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

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

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

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

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

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

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

        .homeApps__item {
          height: 160px;
        }
      }
    }

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

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

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

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

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

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

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

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

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

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

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

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

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: var(--border-radius-3);
      }
    }
  }
  /* 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: 5% 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;
  }

  @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%;
    background-color: #000;
  }

  .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;
  }
  /* Cards on login page  */

  .card {
    border-radius: var(--border-radius-1);
    padding: 3rem;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    min-height: 300px;

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

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

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

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

    &:last-child {
      background: url(../images/premium/4.png);
      background-size: cover;
      background-position: center;

      @media screen and (max-width: 667px) {
        grid-column: span 1;
      }
    }

    img {
      width: 100%;
      border-radius: var(--border-radius-2);
    }

    h3 {
      font-size: 3rem;
      text-transform: uppercase;
      color: var(--white);
      font-family: "Squada One", sans-serif;
      font-weight: 400;
      font-style: normal;

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

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

    p {
      color: var(--white);
      font-size: 1.2rem;
    }

    .card-overlay {
      position: absolute;
      inset: 0;
      background: var(--black);
      z-index: 1;
      mix-blend-mode: multiply;
      opacity: 0.25;
    }

    .card-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 1.875rem;
    }

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

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

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

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

  .cards_new_games {
    flex-wrap: wrap;
  }

  .card_new_games {
    border-radius: var(--border-radius-1);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 178px;
    height: 178px;

    img {
      position: absolute;
      height: 100%;
      width: auto;
      object-fit: cover;
      z-index: 0;
    }

    h4 {
      position: absolute;
      bottom: 0;
      padding: 12px;
    }

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

  /* Enhanced Category Sections Styling */
  .category-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
  }

  .category-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  }

  .category-section:last-child::after {
    display: none;
  }

  .category-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
  }

  /* Game Cards Grid Layout */
  .apps.row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    padding-bottom: 15px;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    place-items: center;
  }

  /* Enhanced Button Styling */
  .see-more-btn,
  .see-less-btn,
  #see-all,
  #see-less {
    background: none;
    border: none;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--gray);
    font-size: 1.4rem;
  }

  .see-more-btn:hover,
  .see-less-btn:hover,
  #see-all:hover,
  #see-less:hover {
    transform: translateY(-2px);
    color: var(--white);
    border-color: var(--white);
  }

  /* Transition effects for display toggling */
  .apps.row,
  #all-articles {
    transition: opacity 0.3s ease;
  }

  /* Game links styling */
  .apps.row a {
    text-decoration: none;
    display: block;
  }

  /* Category Cards */
  .category_card {
    width: 150px;
    min-height: 180px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #00000060;
      background: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0) 100%);
      background: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0) 100%);
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.91) 0%, rgba(0, 0, 0, 0) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=0);
      mix-blend-mode: multiply;
      filter: opacity(0.5) brightness(0.5);
      z-index: 1;
    }

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

    img.cardsImage {
      position: absolute;
      width: auto;
      height: 180px;
      object-fit: cover;
      transition: transform 0.3s ease-out;

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

    .cardsTitle {
      position: absolute;
      bottom: 0;
      padding: 0.75rem;
      font-size: 1rem;
      color: var(--white);
      font-weight: 500;
      z-index: 2;
    }
  }

  /* Categorie Pills  */

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

  .labels {
    .item-label {
      display: inline-block;
      padding: 5px 10px;
      background: var(--primary);
      color: var(--black);
      font-weight: 600;
      font-family: "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;
  }

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

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

      &.inactive {
        border: 2px solid var(--gray);
        color: var(--white);
        background: var(--gray);

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

  .section-ads {
    padding: 80px 20px;

    .direction-icons {
      display: flex;
      flex-direction: row;
      justify-content: space-evenly;

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

    .cercle-icon {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      overflow: hidden;

      .bg {
        background: var(--primary);
        background: -webkit-linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
        background: -moz-linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
        background: linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#DA0744", endColorstr="#1ED5FE", GradientType=1);
        border-radius: 100%;
        padding: 20px;
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        img {
          width: 70px;
        }
      }

      p {
        font-size: 12px;
        text-transform: uppercase;
        word-break: break-word;
        text-align: center;
      }
    }
  }
}

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

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

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

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

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

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

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

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

    .article-content {
      padding: 0.5rem;
      height: 100%;

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

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

/* Support pages  */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 60%;

  h2,
  h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
  }

  p {
    font-size: 0.875rem;
    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 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin: 0 !important;

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

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

  label {
    display: flex;
    flex-direction: column;
    color: var(--gray);
  }

  input,
  textarea {
    padding: 0.75rem;
    border: 1px solid var(--dark-gray);
    border-radius: var(--border-radius-2);
    background: var(--dark-gray);
    color: var(--white);

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

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

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

  .img-radial {
    width: 100%;
    max-width: none;
    max-height: 360px;
    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;
      max-height: 360px;
      min-width: 100%;
      border-radius: var(--border-radius-2);
      object-fit: cover;
    }
  }

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

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

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

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

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

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

/* 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-live-chat {
    background: var(--primary);
    background: linear-gradient(to bottom, var(--dark-primary), var(--primary));
    position: relative;
    padding: 60px 80px;
    border-radius: var(--border-radius-2);

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

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

    .chat-content {
      position: relative;
      z-index: 1;

      h2 {
        font-size: 4rem;
        color: var(--light-primary);

        @media (max-width: 767px) {
          font-size: 11vw;
          letter-spacing: -0.5px;
          font-weight: 300;
        }
      }
    }

    > img {
      position: absolute;
      bottom: 0;
      right: 0;
      z-index: 0;

      @media (min-width: 768px) and (max-width: 1199px) {
        right: -10px;
        z-index: 0;
        height: 340px;
        width: auto;
      }

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

    .chat-button {
      display: block;
      max-width: max-content;
      padding: 0.6rem 2.5rem 0.6rem 1rem;
      display: flex;
      align-items: center;
      gap: 10px;
      border-radius: var(--border-radius-1);
      border: none;
      transition: all 0.2s ease-out;
      margin-top: 20px;
      cursor: pointer;

      @media (max-width: 767px) {
        padding: 0.6rem 1rem;
        width: 100%;
        max-inline-size: none;
        justify-content: center;
      }

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

      span {
        text-transform: uppercase;
        font-weight: 600;
        font-size: 1.25rem;

        @media (max-width: 767px) {
          font-size: 5vw;
          letter-spacing: -0.5px;
        }
      }

      img {
        width: 40px;
        height: 40px;
      }
    }
  }

  .support-video {
    width: 100%;
    height: 100%;
    border-radius: 25px;
  }

  .support-container {
    background: var(--dark-gray);
    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;

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

    > .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.5) brightness(1.25);

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

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

      @media (max-width: 1199px) {
        font-size: 4.25vw;
        letter-spacing: -0.25px;
      }

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

    @supports (-webkit-touch-callout: none) {
      @media screen and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
        .support-number {
          transform: scale(2);
          margin-top: -15px;
          margin-bottom: 10px;
          color: var(--white) !important;
          text-decoration: none !important;

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

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

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

    .form-group {
      width: 100%;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      input,
      textarea {
        padding: 15px;
        background: var(--dark-gray) !important;
        color: var(--white);
        border: none !important;
        border-radius: 25px;

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

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

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

.unsub-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border-radius: 25px;
  border: 3px solid var(--dark-gray);
  padding: 2rem 1rem;

  h2,
  h3 {
    margin-top: 0 !important;
  }

  p {
    margin: 0 auto 20px;
    color: var(--gray);
  }

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

    input {
      padding: 1rem;
      border: 1px solid var(--dark-gray);
      width: 100%;
      background: var(--dark-gray);
      color: var(--white);
      border-radius: var(--border-radius-3);

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

    .btn {
      width: 100%;
    }
  }

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

/* Footer  */

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

#backToTop {
  opacity: 0;
  visibility: hidden;

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

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

.svgIcon path {
  fill: white;
}

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

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

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

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

footer {
  background: var(--black);

  .site_footer {
    padding-block: 3.125rem;

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

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

    p {
      text-align: center;
      margin-bottom: 1rem;
    }

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

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

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

/* Modals  */
.spinner {
  border: 4px solid var(--white);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.refund-modal,
.otp-modal,
.login-modal,
.unsub-modal,
.sign-up-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;

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

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

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

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

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

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

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

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

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

  .checkbox-group {
    label {
      color: var(--gray);
      font-size: 0.875rem;
      line-height: normal;
    }
  }

  label {
    display: inline;
  }

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

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

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

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

    input {
      padding: 0.5rem;
    }
  }

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

  .modal-content {
    background: var(--dark-gray);
    border-radius: var(--border-radius-1);
    width: 90%;
    overflow: auto;
    width: 100%;
    /* height: 80%; */
    max-inline-size: 1080px;
    position: relative;

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

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

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

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

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

    .btn {
      font-size: 1.6rem;
    }
  }

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

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

.refund-modal {
  .btn {
    margin-top: 0;

    @media screen and (max-width: 767px) {
      font-size: 1.25rem;
    }
  }
  .form-group {
    gap: 1.25rem;
    padding: 1rem;

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

    h3 {
      font-weight: 500;
      font-size: 1.125rem;

      &:first-child {
        margin-bottom: 0.75rem;
      }
    }

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

  .info-frame {
    padding: 1.5rem 1rem;
    background: #a7a7a721;
    border-radius: var(--border-radius-2);
  }

  .refund-status span {
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
  }
}

/* Payment modal  */

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

/* Payment Modal Styles */

.paymentModal .modal-content {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  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: auto;
  }

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

  p {
    font-size: 0.875rem;
  }

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

    @media screen and (max-width: 767px) {
      padding: 0;
      margin-bottom: 20px !important;
    }
  }

  label {
    display: block;
    margin-bottom: 0;
    color: #4d4d4d;
    font-size: 14px;
    font-weight: 500;
    text-align: justify;
    text-align-last: left;
  }

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

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

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

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

    .form-group {
      flex: 1;
    }
  }

  .btn {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: 0px;

    &:hover {
      border: 0px;
      background: #6366f1;
      transform: none;
      box-shadow: 0 5px 15px rgba(26, 47, 163, 0.2);
    }
  }

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

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

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

/* Title Row and Section Subtitle  */
.section-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  text-align: center;

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

/* Legals Pages  */

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

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

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

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

  ul {
    list-style: disc;
    padding-left: 20px;

    li {
      margin-bottom: 0.5rem;
    }
  }

  a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
  }
}

@layer pages {
  .title-bar {
    background: var(--dark-gray);
    padding-block: 4rem;

    h1 {
      text-align: center;
      color: var(--white);
      font-weight: 600;
      text-transform: uppercase;
      font-size: 2.5rem;

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

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

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

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

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

      h2 {
        color: var(--white);
        margin-bottom: 15px;
        margin-top: 0;
      }

      .text-xl {
        font-size: 1.25rem;
        font-weight: 700;
        overflow: hidden;
        /* white-space: nowrap; */
        /* Don't forget this one */
        text-overflow: ellipsis;

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

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

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

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

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

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

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

  .background-title {
    background: url(../images/title-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .background-pattern {
    background: url(../images/pattern-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
  }

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

  .background-top {
    background: url(../images/top-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
  }

  .background-gradient {
    background: var(--primary);
    background: -webkit-linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
    background: -moz-linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
    background: linear-gradient(90deg, rgba(218, 7, 68, 1) 0%, rgba(30, 213, 254, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#DA0744", endColorstr="#1ED5FE", GradientType=1);
  }

  .d-flex {
    display: flex;
  }

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

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

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

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

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

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

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

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

  .hidden {
    display: none;
  }

  .col-4 {
    width: 34%;

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

  .col-7 {
    width: 60%;

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

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .d-none {
    display: none;
  }

  .d-block {
    opacity: 1;
    height: auto;
  }

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

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