@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: #f697ff;
    --dark-primary: #834def;
    --light-primary: #f5a9fc;
    --light-gray: #f1f1f1;
    --gray: #858488;
    --dark-gray: #323232;

    --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(--black);
    background-color: var(--white);
    position: relative;
  }

  h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
  }

  h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--black);
  }

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

  p:empty {
    display: none;
  }

  .logo {
    width: 200px;
  }

  .btn {
    font-weight: 700;
    color: var(--white);
    background-color: var(--dark-primary);
    border: none;
    border-radius: var(--border-radius-4);
    transition: all 0.3s ease-out;
    cursor: pointer;
    padding: 1rem 2.5rem;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    font-size: 18px;
    min-width: 240px;
    max-width: max-content;
    margin: 0 auto;

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

    img {
      width: 30px;
    }
  }
}

@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 screen and (max-width: 767px) {
      padding-block: 2.5rem;
    }
  }

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

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

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

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

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

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

    a {
      color: var(--dark-gray);
      font-weight: 600;
      font-size: 1.125rem;
    }
  }

  /* Navigation  */
  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 3rem;
    height: 60px;
    align-items: center;
    position: relative;
    z-index: 999;
    background: var(--primary);
    width: 100%;

    &.absolute {
      position: absolute;
      background: transparent;
    }

    @media screen and (max-width: 1199px) {
      padding: 1rem;
    }
    a {
      color: var(--white);
      /* text-shadow: 0px 2px 4px #00000083; */
      &:hover {
        color: var(--primary);
      }
    }
    .logo-wrapper {
      @media screen and (max-width: 767px) {
        max-width: 30px;
        overflow: hidden;
        position: relative;
        display: flex;
      }
    }

    .logo_header {
      max-width: 200px;
      width: 100%;

      @media screen and (min-width: 768px) and (max-width: 1199px) {
        max-width: 180px;
      }
    }
  }
  .logo--icon {
    display: none;
  }
  @media (max-width: 768px) {
    .logo--full {
      display: none;
    }

    .logo--icon {
      display: inline-block;
      height: 40px;
      width: auto;
    }
  }

  .unsub-link {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
  }

  .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: 0.75rem;
    align-items: center;
    background: #00000059;
    padding: 5px;
    border-radius: 6px;

    .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: 50%;
      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;
      }
      .info {
        margin-top: 20px;
        background-color: #1f1f1f;
        padding: 20px;
        border-radius: var(--border-radius-2);
        p {
          color: var(--white);
        }
      }
      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(--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(--white);
      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;
    }
  }

  /* Hero Section */
  .newHero {
    display: flex;
    flex-direction: row;
    height: 100vh;
    /* height: calc(100vh - 60px); */
    @media screen and (max-width: 991px) {
      flex-direction: column;
      height: 100%;
    }
    .rightHero {
      flex: 1;
      height: 100%;

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

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

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

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

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

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

          @media screen and (max-width: 767px) {
            font-size: 12px;
            line-height: 14px;
          }
        }

        a {
          display: contents;
          color: var(--primary) !important;
        }
      }

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

      .modal-content {
        background: #834def;
        background: -webkit-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
        background: -moz-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
        background: linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#834DEF", endColorstr="#2F2C89", GradientType=0);
        overflow: auto;
        width: 100%;
        height: 100%;
        max-inline-size: 1080px;
        position: relative;
        overflow: hidden;

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

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

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

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

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

        .modal-grid {
          height: 100%;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;

          @media screen and (max-width: 991px) {
            height: 100%;
            padding: 50px 20px;
          }
        }

        .form-group input[type="checkbox"] {
          width: auto;
        }

        /* Sakrij forme koje nisu aktivne */
        .tab-content {
          display: none;
        }
        .tab-content.active {
          display: block;
        }

        /* Stil tab bara */
        .modal-tabs {
          display: flex;
          padding: 0px;
          width: 100%;
          gap: 20px;
          align-items: center;
          justify-content: center;
        }

        .tab-btn {
          flex: 1;
          padding: 15px;
          border: none;
          background: transparent;
          border: 2px solid var(--white);
          color: var(--white);
          cursor: pointer;
          font-weight: bold;
          transition: 0.3s;
          outline: none;
          border-radius: 50px;
          max-width: 160px;
        }

        .tab-btn.active {
          background: var(--dark-primary);
          border: 2px solid var(--dark-primary);
          color: var(--white);
        }

        .tab-btn:hover:not(.active) {
          background: var(--primary);
        }
      }
    }

    .leftHero {
      width: 50%;
      height: 100%;
      background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%), url(../images/premium/hero.jpg);
      background-size: cover;
      display: flex;
      align-items: center;
      justify-content: center;
      @media screen and (max-width: 991px) {
        width: 100%;
      }
    }
    .hero-content {
      width: 70%;
      max-width: 500px;
      text-align: left;
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      flex-direction: column;
      gap: 30px;

      @media screen and (max-width: 1199px) {
        width: 100%;
        height: 100vh;
        text-align: left;
        margin: 0 auto;
        padding: 20px;
      }

      @media screen and (max-width: 767px) {
        text-align: center;
        align-items: center;
      }
      h1 {
        font-size: 3rem;
        font-weight: 700;
        color: var(--white);
        span {
          color: var(--primary);
        }
      }
      .intro-text {
        font-size: 1rem;
        font-weight: 400;
        max-width: 640px;
        margin: 0 auto;
        color: var(--white);
        text-align: left;
      }
      .btn {
        margin: 0;
      }
    }
  }

  .page_hero {
    position: relative;
    padding-block-start: 3rem;
    padding-block-end: 3rem;
    text-align: center;
    color: var(--white);
    background-image: url(../images/premium/header-background.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;
    overflow: hidden;

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

    .wrapper {
      flex-direction: row;
      gap: 50px;

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

    .hero-content {
      width: 70%;
      max-width: 500px;
      text-align: left;
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      flex-direction: column;
      gap: 30px;

      @media screen and (max-width: 1199px) {
        width: 100%;
        text-align: left;
        margin: 0 auto;
      }

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

      span {
        font-size: 2.4em;
        color: var(--dark-primary);
        text-transform: uppercase;

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

    .hero-bck {
      width: 50%;
      border-radius: 20px;
      box-shadow: 0px 0px 8px 2px #00000033;

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

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

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

    .btn {
      /* padding: 0.4rem 5.5rem;
      font-size: 2rem;
      letter-spacing: 2px; 
      display: flex;
      gap: 0.625rem;
      justify-content: center;
      align-items: center;
      margin: 0;
      max-width: fit-content;
      color: var(--black);
      font-weight: 600;
      text-transform: uppercase;*/
      color: var(--black);
      text-transform: uppercase;
      border: 4px solid var(--light-primary);
    }

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

  /* Content Header */
  .content-header {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%), url("../images/speed-car.jpg");
    background-size: cover;
    background-position: center;
    padding: 100px;

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

    video {
      position: absolute;
      width: auto;
      height: auto;
      min-width: 100%;
      min-height: 100%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: -1;
    }

    .wrapper {
      position: relative;
      z-index: 2;
      padding: 30px;
      background: rgba(0, 0, 0, 0.7);
      border-radius: var(--border-radius-1);

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

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: #000;
      opacity: 0.5;
      z-index: 1;
    }
    .main-content {
      width: 50%;
      text-align: left;
      @media screen and (max-width: 767px) {
        width: 100%;
      }
      h1 {
        color: var(--white);
        text-align: left;
        line-height: 4rem;

        @media screen and (max-width: 767px) {
          font-size: 2.5rem;
          line-height: 2.8rem;
        }
      }
      p {
        color: var(--white);
        text-align: left;
      }
    }
  }

  /* Hero Payment  */

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

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

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

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

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

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

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

          .details {
            font-size: 14px;
          }

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

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

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

          .pricing-option {
            width: 100%;
            padding: 20px;
            margin: 0;
            border-radius: 7px;
          }
        }
      }
    }

    .headpart {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      background-color: var(--light-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: #834def;
    background: -webkit-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
    background: -moz-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
    background: linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#834DEF", endColorstr="#2F2C89", GradientType=0);
    padding-block: 5rem;

    h2 {
      font-size: 2rem;
      line-height: normal;
      font-weight: 600;
      color: var(--white);
      text-align: center;
      margin-bottom: 50px;
      @media (max-width: 576px) {
        font-size: 24px;
        line-height: 30px;
      }
    }
  }

  /* Swiper   */
  .swiper {
    width: 100%;
    overflow: hidden;
  }

  .swiper-wrapper {
    display: flex;

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

  .swiper-slide {
    position: relative;
    width: auto !important;
    /* Override Swiper's default width calculation */
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;

    a {
      display: flex;
    }
  }

  .swiper-slide img {
    width: 100%;
    max-width: 160px;
    min-width: 160px;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.5);
    transition: all 0.3s ease-out;
    border-radius: var(--border-radius-2);

    &:hover {
      filter: brightness(1);
      cursor: pointer;
    }
  }

  .item-info {
    position: relative;
    padding: 5px 0;
    width: 100%;
    z-index: 9;

    .cardsTitle {
      position: relative;
      width: 160px;
      top: 0;
      left: 0;
      text-shadow: none;
      margin-bottom: 10px;
      line-height: 24px;
      background: transparent;
      padding: 0px;
      color: var(--white);
      font-weight: 600;
      font-size: 18px;
    }

    .cardsdescription {
      text-shadow: none;
      font-size: 14px;
      line-height: 18px;
      font-weight: 400;
      color: var(--gray);
      display: -webkit-box;
      -webkit-line-clamp: 7;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .slide-number {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 100px;
    line-height: 100px;
    font-weight: 900;
    color: var(--white);
    z-index: 1;
    opacity: 0.5;
    display: none;
  }

  .simple-slider {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
  }

  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    width: 150px; /* Širina svake kartice */
    height: auto;
    display: flex;
    justify-content: center;
  }

  .card {
    width: 100%;
    text-align: center;
  }

  .card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    margin-bottom: 8px;
  }

  .card span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
  }

  /* Home Apps */

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

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

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

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

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

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

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

        .homeApps__item {
          height: 160px;
        }
      }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* Cards on login page  */

  .areas-section {
    .wrapper {
      flex-direction: column;
    }
  }

  .card {
    border-radius: var(--border-radius-1);
    padding: 2rem;
    transition: transform 0.3s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    gap: 50px;
    transition: 0.3s ease-in-out;

    @media screen and (max-width: 991px) {
      flex-direction: column;
      gap: 20px;
      padding: 0;
    }

    .card-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      gap: 1.875rem;
      flex: 1;
      @media screen and (max-width: 991px) {
        &.order-second {
          order: 2;
        }
      }
    }

    h3 {
      font-size: 2.5rem;
      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(--b);
      font-size: 1.2rem;
    }

    .categories {
      flex: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      @media screen and (max-width: 991px) {
        gap: 10px;
      }
    }

    .cat-box {
      flex: 0 0 calc(50% - 10px);
      background: linear-gradient(135deg, #8e61ff 0%, #3b3399 100%);
      padding: 30px 20px;
      border-radius: 25px;
      color: white;
      text-align: center;
      min-height: 200px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      box-sizing: border-box;
      @media screen and (max-width: 767px) {
        padding: 10px;
      }
      h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: var(--white);
        @media screen and (max-width: 767px) {
          font-size: 1rem;
        }
      }
      p {
        font-size: 0.9rem;
        line-height: 1.4;
        opacity: 0.9;
      }
    }

    .cat-img {
      flex: 0 0 calc(50% - 10px);
      img {
        width: 100%;
        height: 100%;
      }
    }

    .btn {
      max-width: 200px;
      width: 100%;
      color: var(--white);
      background: var(--primary);
      text-transform: uppercase;
      margin: 0;
    }

    /* @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;
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 180px;
    height: 180px;

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

    h4 {
      position: absolute;
      bottom: 0;
      padding: 12px;
      text-shadow: 0 2px 2px #000;
    }

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

  @media only screen and (max-width: 420px) {
    .card_new_games {
      width: 140px !important;
      height: 140px !important;
    }
  }

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

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

      @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 {
        border-radius: 100%;
        padding: 20px;
        width: 120px;
        height: 120px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        img {
          width: 120px;
        }
      }

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

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

    @media screen and (max-width: 767px) {
      padding: 3rem 0;
    }
    .category-text {
      padding: 30px;
      border-radius: var(--border-radius-2);
      background: #834def;
      background: -webkit-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
      background: -moz-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
      background: linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#834DEF", endColorstr="#2F2C89", GradientType=0);
      height: auto;
      max-height: fit-content;
      width: 100%;
      max-width: 300px;
      @media screen and (max-width: 767px) {
        max-width: 100%;
      }
    }
  }

  .category-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: block;
    text-align: left;
  }

  .category-description {
    text-align: left;
    color: var(--white);
  }

  .category_card {
    width: 185px;
    height: 240px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
    margin: 0;

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

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

    img.cardsImage {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: all 0.3s ease-in-out;
      filter: brightness(0.5) grayscale(0.5);
      border-radius: var(--border-radius-2);
    }
  }

  .cardsTitle {
    position: relative;
    width: 217px;
    /* bottom: 20px;
    left: 15px; */
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 400;
    z-index: 2;
    margin: 0;
    text-shadow: none;
    padding: 4px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
  }

  .visible-item:hover .cardsTitle {
    color: var(--primary);
  }

  .hidden-item:hover .cardsTitle {
    color: var(--primary);
  }

  #videos-slider {
    .cardsTitle {
      white-space: wrap;
      overflow: auto;
      text-overflow: initial;
    }
  }

  #app-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
    gap: 1rem;
    padding-bottom: 2rem;
    justify-items: center;
  }

  .app-section {
    padding-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }

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

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

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

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

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

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

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

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

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

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

    .d-flex {
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      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  */

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

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

    a {
      color: var(--white);
      text-decoration: underline;
      font-weight: 600;
      overflow: hidden;
      white-space: nowrap; /* Don't forget this one */
      text-overflow: ellipsis;
    }

    .text-large {
      color: var(--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 {
      --dark-primary: #ce9d00;
      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(--dark-gray);

          @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: 6.5vw;
          }
        }
      }

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

      > img {
        position: absolute;
        left: 0;
        top: -40px;
        height: 100%;
        width: auto;
        z-index: 0;
        object-fit: contain;
        object-position: top;
        max-width: 280px;
        filter: grayscale(0.75) brightness(1.5);

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

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

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

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

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

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

  .contact_form {
    padding: 0;
    max-width: 100%;
    background: var(--light-gray);
    background-size: cover;
    padding: 45px 30px;
    border-radius: 20px;

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

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

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

  .contact__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    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;

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

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

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

    input,
    textarea {
      padding: 0.75rem;
      border: 1px solid var(--gray);
      border-radius: var(--border-radius-1);
      background: var(--light-gray);
      color: var(--black);
    }
  }

  .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: 50%;

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

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

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

      @media screen and (max-width: 767px) {
        width: 100%;
        padding: 1.5rem 0;
      }
    }
  }
  .img-full {
    width: 100%;
    height: 400px;
    margin-bottom: 100px;

    @media screen and (max-width: 767px) {
      height: 300px;
      margin-bottom: 50px;
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .single-movie .single-item-info {
    width: 100%;
  }

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

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

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

      input {
        padding: 0.75rem;
        border: 1px solid var(--gray);
        border-radius: 5px;
        width: 100%;
        background: var(--white);
      }

      .btn {
        width: 100%;
      }
    }

    #errorMsg {
      color: #510000;
      font-size: 0.875rem;
    }
  }

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

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

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

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

  .alert p {
    margin: 0;
  }

  /* Footer  */
  .footer-logo {
    width: 200px;
  }

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

  #backToTop {
    opacity: 0;
    visibility: hidden;

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

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

  .svgIcon path {
    fill: white;
  }

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

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

  .backToTopBtn::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: 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(--white);
    color: var(--black);
    border-top: 1px solid #ffffff;

    .site_footer {
      padding-block: 3.125rem;

      a {
        color: var(--black);
        font-size: 1.125rem;
        text-decoration: none;
        font-weight: 500;

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

      p {
        text-align: center;
        margin-bottom: 1rem;
        color: var(--dark-graygray);
        font-size: 0.9rem;
      }

      .credit_cards {
        img {
          opacity: 0.3;
        }
      }

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

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

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

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

  /* Payment modal  */

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / 80%);
    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: var(--border-radius-2);
    padding-top: 40px;
    max-width: 480px;
    width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;

    @media screen and (max-width: 479px) {
      padding: 20px;
      height: 90%;
      overflow-y: auto;
    }

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

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

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

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

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

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

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

      .form-group {
        flex: 1;
      }
    }

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

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

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

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

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

  /* 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 {
    text-align: justify;
    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;
    }
  }
  .footer_logo {
    img {
      width: auto;
      height: 50px;
    }
  }
  .unsubLink {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
  }
  /* 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: var(--border-radius-2);
    overflow: scroll;
    height: 70vh;
  }

  @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: var(--dark-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-2);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .game-modal .btn-view-details:hover {
    background-color: var(--primary);
  }

  /* 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: var(--primary);
  }

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

@layer pages {
  .title-bar {
    background: -webkit-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
    background: -moz-linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
    background: linear-gradient(0deg, rgba(131, 77, 239, 1) 0%, rgba(47, 44, 137, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#834DEF", endColorstr="#2F2C89", GradientType=0);
    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 {
    .text-frame {
      .btn {
        margin: 0;
        margin-bottom: 20px;
      }
    }
    p {
      font-size: 14px;
      margin: 10px 0;
    }

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

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

    .info-frame {
      background: var(--light-gray);
      background-size: cover;
      padding: 45px 30px;
      border-radius: 20px;
      color: var(--black);
      width: 100%;
      flex: 1;

      h2 {
        color: var(--black);
        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 {
    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(--black);
  }

  .background-pattern {
    background: url(../images/premium/premium-car.jpg);
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%), url(../images/premium/premium-car.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

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

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

  .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%;
    }
  }
  .flex-1 {
    flex: 1;
  }
  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  .m-auto {
    margin-inline: 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;
  }
  .pt-60 {
    padding-top: 60px !important;
  }
  .pt-100 {
    padding-top: 100px !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;
    max-width: 100% !important;
  }

  .d-none {
    display: none;
  }

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

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

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