@layer root, base, layout, components, utilities;

/* ============================================================
   @layer root — Component token defaults (themes override only what differs)
   ============================================================ */
@layer root {
  :root {
    --page-bg: var(--dark);
    --h2-font-size: 2.5rem;
    --h2-line-height: 1.1;
    --h2-font-weight: 600;
    --h3-font-size: 2rem;
    --h3-line-height: 1.1;
    --h4-font-size: 1.5rem;
    --h4-line-height: 1.2;
    --section-margin: 100px 0;
    --section-margin-mobile: 60px 0;
    --container-max-width: 1440px;
    --container-md-max-width: 1280px;
    --btn-border: 1px solid var(--dark);
    --btn-color: var(--dark);
    --btn-border-radius: 25px;
    --btn-padding: 8px 12px;
    --scroll-group-gap: 10px;
    --slide-button-img-height: 300px;
    --slide-button-btn-bg: var(--dark);
    --slide-button-btn-border: 2px solid var(--primary-color);
    --slide-button-btn-padding: 8px 20px;
    --contact-popup-gap: 100px;
    --contact-info-margin-top: 5.5rem;
    --more-like-this-bg: rgba(255, 255, 255, 0.05);
    --games-list-gap: 10px;
    --game-item-top-box-gap: 20px;
    --game-item-text-font-size: 10px;
    --game-item-text-line-height: 12px;
    --game-item-text-lines: 4;
    --filters-label-border: 1px solid rgba(255, 255, 255, 0.15);
    --filters-label-padding: 10px 15px;
    --filters-label-color: var(--gray);
    --app-description-btn-padding: 0.5rem 1rem;
    --app-description-btn-line-height: 1;
    --app-description-btn-margin-top: 5px;
    --app-description-title-width: 100%;
    --my-games-icon-size: 90px;
    --card-border-radius: 1rem;
    --hero-title-font-size: clamp(2rem, 7vw, 4rem);
    --hero-text-max-width: 540px;
    --pagination-active-color: var(--dark);
  }
}

/* ============================================================
   @layer base — BASE: Resets & element defaults (shared across all themes)
   ============================================================ */
@layer base {
  * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
  }

  * {
    box-sizing: border-box;
  }

  a {
    font-weight: 500;
    color: var(--white);

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

  nav dd ul li {
    width: 100%;
  }

  li {
    a {
      font-size: 13px;

      span:nth-child(2) {
        line-height: 2em;
      }
    }
  }

  option {
    font-family: var(--font-family-heading);
  }

  article {
    img {
      width: 100%;
      object-fit: cover;
      margin: 0px auto 10px;
      border-radius: 15px;
    }

    h2:first-child {
      font-size: 1.6rem;
    }
  }

  body {
    font-size: 1rem;
    color: var(--white);
    background-color: var(--page-bg);
    font-family: var(--font-family-body);
    position: relative;
  }

  h2 {
    font-size: var(--h2-font-size);
    line-height: var(--h2-line-height);
    font-weight: var(--h2-font-weight);
    font-family: var(--font-family-heading);
  }

  h3 {
    font-size: var(--h3-font-size);
    line-height: var(--h3-line-height);
    font-weight: 600;
    font-family: var(--font-family-heading);
  }

  h4 {
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: 500;
    font-family: var(--font-family-heading);
  }
}

/* ============================================================
   @layer layout — LAYOUT: Containers, flexbox & spacing utilities (shared across all themes)
   ============================================================ */
@layer layout {
  .flex-column {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;

    @media screen and (max-width: 991px) {
      flex-wrap: wrap;
    }
  }

  .custom-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;

    @media (max-width: 1199px) {
      gap: 20px;
    }

    .custom-wrap {
      width: 100%;
      padding: 0;
      border-radius: 0;
      width: calc((100% - (3 * 40px)) / 4);
      padding: 0;

      @media (min-width: 992px) and (max-width: 1199px) {
        width: calc((100% - (2 * 20px)) / 3);
      }

      @media (min-width: 480px) and (max-width: 991px) {
        width: calc((100% - (1 * 20px)) / 2);
      }

      @media (max-width: 479px) {
        width: 100%;
      }

      .pic-container {
        &::before {
          position: absolute;
          top: 50%;
          left: 50%;
          width: 40px;
          height: 40px;
          z-index: 1;
          transform: translate(-50%, -50%);
        }

        &.icon-video {
          &::before {
            content: url(../images/icons/icon-play.svg);
          }
        }

        &.icon-sound {
          &::before {
            content: url(../images/icons/icon-sound.svg);
          }
        }

        &.icon-article {
          &::before {
            content: url(../images/icons/icon-article.svg);
          }
        }

        &.icon-book {
          &::before {
            content: url(../images/icons/icon-book.svg);
          }
        }
      }

      img {
        width: 100%;
        height: 218px;
        object-fit: cover;
        border-radius: 15px;
      }

      h3 {
        font-weight: 500;
        color: var(--white);
        align-items: center;
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        padding: 0;
        font-size: 14px;
        line-height: 1.25rem;
        margin: 10px 0;
        text-align: left;
        height: auto;
      }

      .description {
        display: block;
        text-align: left;
        padding: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-weight: 400;
      }
    }
  }

  .grid-gallery {
    margin: 40px 0;
  }

  .section {
    margin: var(--section-margin) !important;

    @media screen and (max-width: 767px) {
      margin: var(--section-margin-mobile) !important;
    }
  }

  .d-flex {
    display: flex;

    .flex-1 {
      flex: 1;
    }
  }

  .gap-100 {
    gap: 100px;
  }

  .container {
    margin: 0 auto;
    width: 100%;
    max-width: var(--container-max-width);
    padding-inline: 20px;

    &.md {
      max-width: var(--container-md-max-width);
    }

    &.sm {
      max-width: 960px;
    }
  }
}

/* ============================================================
   @layer components — COMPONENTS: Shared component structure (buttons, nav, cards, sliders, modals, footer...)
   ============================================================ */
@layer components {
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 99;
  }

  .header-links {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    align-items: center;

    @media (min-width: 768px) {
      display: none;
    }

    div {
      display: flex;
      justify-content: center;
      height: 35px;
      align-items: center;
    }

    > div {
      margin: 20px auto;
    }

    span {
      color: #bcbfc4;
    }

    p {
      color: #bcbfc4;
      font-size: 12px;
    }
  }

  .header-mobile {
    max-width: 990px;
    margin: 0 auto;

    @media (min-width: 1200px) {
      display: none;
    }

    .logo {
      margin: 0 auto;
    }
  }

  .header-mobile .logo img,
  .intro .logo img {
    max-width: 150px;
  }

  .slider-container {
    display: flex;
    align-items: center;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
    overflow: hidden;
    position: relative;

    @media screen and (max-width: 767px) {
      align-items: center;
      justify-content: center;
      max-width: 100%;
      padding: 10px;
    }
  }

  .slider-wrapper {
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    @media (max-width: 767px) {
      overflow-x: auto;
      flex: 1;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
    }

    &::-webkit-scrollbar {
      display: none;
      /* Chrome, Safari */
    }
  }

  .slider {
    display: flex;
    width: max-content;
    flex: 0 0 100%;
    /* ili širina koju želiš za jedan slide */
    scroll-snap-align: start;

    @media screen and (max-width: 767px) {
      flex-direction: row;
      gap: 10px;
      width: 100%;
    }

    @media (max-width: 767px) {
      gap: 10px;
    }

    &:hover .slide {
      width: 20vw;

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

    .slide:hover {
      width: 50vw !important;

      @media screen and (max-width: 1199px) {
        width: 80vw !important;
      }

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

  .slide {
    &.active {
      width: 50vw;

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

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

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

  .arrow {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    border: 2px solid var(--white);
    font-size: 30px;
    font-weight: 100;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    z-index: 2;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

    &.left {
      left: 15px;
    }

    &.right {
      right: 15px;
    }

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

  .scroll-track {
    display: flex;
    width: max-content;
    animation: scroll-cards 28s linear infinite;
    will-change: transform;
  }

  @keyframes scroll-cards {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  .button-slider-container {
    width: 100%;
    margin: auto;
  }

  .slider-controls {
    text-align: center;
    border: 2px solid var(--dark-gray);
    padding: 6px 6px 6px;
    border-radius: 40px;
    height: 54px;
    min-width: 110px;

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

    .nav-btn {
      font-size: 18px;
      border: none;
      cursor: pointer;
      margin: 0 2px;
      padding: 0;
      background: var(--dark);
      transition: transform 0.1s ease-in-out;
      max-height: 38px;

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

  .button-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;

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

  .pic-container {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;

    /* &::before {
    position: absolute;
    transform: scale(1) translate(-50%, -50%);
    top: 50%;
    left: 50%;
    content: url("../images/icons/play-btn.png");
    width: 60px;
    height: 60px;
    z-index: 1;
  } */
    img {
      transition: all 0.2s ease-in-out;
      filter: brightness(0.8);

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

  .arrow-down {
    box-sizing: border-box;
    position: relative;
    top: 1px;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 100px;

    &::after {
      content: "";
      display: block;
      box-sizing: border-box;
      position: absolute;
      width: 10px;
      height: 10px;
      border-bottom: 2px solid;
      border-right: 2px solid;
      transform: rotate(138deg);
      left: 4px;
      top: 2px;
    }
  }

  .main-container-login {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1001;
    content: "";
    background: rgb(0 0 0 / 90%);
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
  }

  .login-popup {
    display: none;
    position: fixed;
    margin: auto;
    width: 95%;
    max-width: 800px;
    min-height: 300px;
    box-sizing: border-box;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-align: left;
    border-radius: 15px;
    background: var(--dark);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);

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

    h3 {
      font-size: 1.5rem;
      margin-top: 20px;
      margin-bottom: 10px;
    }

    .logo {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50%;
      min-height: 300px;
      height: -webkit-fill-available;
      background: url(../images/popup-bck.svg) no-repeat center;
      background-size: cover;

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

      img {
        max-width: 180px;
        margin: 15px 8px;
      }
    }

    .btn {
      border: none;
      border-radius: 8px;
      width: 100%;
      max-width: 220px;
      height: 50px;
      color: #fff;
      font-family: var(--font-family-heading);
      font-size: 16px;
    }

    .btn-login {
      cursor: pointer;
      background: var(--primary-color);
      background: linear-gradient(80deg, rgba(47, 196, 238, 1) 0, rgba(186, 123, 213, 1) 79%);
      padding: 12px;
      cursor: pointer;
      background: var(--primary-color);
      padding: 12px;
      border-radius: 8px;
      width: 100%;
      max-width: none;
      margin: 15px auto;
      box-shadow: none;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      -ms-border-radius: 8px;
      -o-border-radius: 8px;
    }

    .formcontent {
      width: 50%;
      padding: 50px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;

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

    input {
      display: block;
      margin: 20px auto 10px;
      border-radius: 5px;
      padding: 10px 0;
      width: 100%;
      text-align: center;
      outline: 0;
      border: 1px solid #4b4b4f;

      &[type="checkbox"] {
        display: none;
      }

      &[type="checkbox"]:checked ~ .login-check::after {
        display: block;
      }
    }

    .login-check {
      background: var(--light-gray);
      position: absolute;
      top: 0;
      left: 0;
      height: 25px;
      width: 25px;

      &::after {
        left: 9px;
        top: 4px;
        width: 5px;
        height: 10px;
        border: solid var(--primary-color);
        border-top-width: medium;
        border-right-width: medium;
        border-bottom-width: medium;
        border-left-width: medium;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        content: "";
        position: absolute;
        display: none;
      }
    }

    input,
    textarea {
      display: block;
      margin: 20px auto 10px;
      border-radius: 5px;
      padding: 10px 20px;
      width: 100%;
      text-align: center;
      outline: 0;
      border: 1px solid var(--gray);
      background: var(--dark-gray);
      color: var(--light-gray);
      font-family: var(--font-family-heading);
    }

    textarea {
      min-height: 122px;
      max-height: 122px;
    }

    .login-check-wrap {
      display: flex;
      align-items: center;
      justify-content: left;
      position: relative;
      padding-left: 35px;
      margin-bottom: 12px;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      border-radius: 5px;
      text-align: left;
      margin-top: 10px;
      padding-top: 3px;
      color: #797979;
      font-size: 14px;
    }
  }

  .tab {
    overflow: hidden;

    button {
      background-color: inherit;
      float: left;
      border: none;
      outline: 0;
      cursor: pointer;
      padding: 14px 16px;
      font-size: 17px;
      font-family: var(--font-family-heading);

      &:hover {
        border-bottom: 2px solid var(--primary-color);
      }
    }

    button.active {
      border-bottom: 2px solid var(--primary-color);
    }
  }

  .tabcontent {
    display: none;
    padding: 6px 20px;
    border-top: none;
  }

  .contact-popup {
    .tab button {
      padding: 14px 0;
    }

    .tabcontent {
      padding: 0;
    }

    #Sign-up {
      @media (min-width: 768px) {
        display: flex;
        gap: 5rem;
      }

      div {
        @media (min-width: 768px) {
          flex: 3;
        }
      }
    }
  }

  #Sign-up {
    display: block;
  }

  .remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .forgot {
    color: #797979;
  }

  .close,
  .close-login {
    cursor: pointer;
    box-sizing: border-box;
    position: absolute;
    top: 12px;
    right: 12px;
    display: block;
    transform: scale(var(--ggs, 1));
    width: 22px;
    height: 22px;
    border: 2px solid transparent;
    border-radius: 40px;
  }

  .close-login:after,
  .close-login:before,
  .close::after,
  .close::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    border-radius: 5px;
    top: 8px;
    left: 1px;
  }

  .close-login:after,
  .close::after {
    transform: rotate(-45deg);
  }

  #loginError,
  #signupError {
    color: red;
    text-align: center;
    display: revert;
    border: 1px solid red;
    padding: 5px 10px;
    border-radius: 5px;
  }

  #loginCorrect,
  #signupCorrect {
    color: green;
    text-align: center;
    display: revert;
    border: 1px solid green;
    padding: 5px 10px;
    border-radius: 5px;
  }

  .options {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 90%;
    margin: 20px auto;
  }

  .app-store {
    box-shadow: 0 1px 10px 0 rgb(0 0 0 / 10%);
    border-radius: 10px;
    background: #fff;
    padding: 8px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 160px;
    gap: 0.3rem;
    max-width: 90%;
    margin: 20px;
  }

  .btn-login {
    cursor: pointer;
    background: 0 0;
    border-radius: 100%;
    min-width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    padding: 0;

    img {
      max-width: 15px;
    }
  }

  .color-btn {
    background: var(--primary-color);
    text-transform: uppercase;
    cursor: pointer;
    display: block;
    outline: 0;
    border: 0;
    padding: 0 32px;
    color: #fff;
    height: 48px;
    font-size: 18px;
    font-weight: 600;
    transform: translateY(2px);
    transition: transform 0.15s ease;
  }

  .intro {
    text-align: left;
    margin-bottom: 20px;

    .logo {
      display: none;

      @media (min-width: 1200px) {
        display: block;
      }

      img {
        margin: 20px auto 0;
      }
    }

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

    @media (min-width: 768px) {
      text-align: center;
    }

    h1 {
      font-size: 1.75em;
      margin-top: 20px;
      line-height: normal;
    }

    h2 {
      font-weight: 400;
      font-size: 1.2em;
      line-height: normal;
    }
  }

  .header-mobile .btn-login {
    border-radius: 8px;
    width: 35px;
    height: 35px;
    margin: 10px;
  }

  .header-mobile .logo img {
    margin-top: 8px;
  }

  li.have-children {
    ul {
      padding: 0;

      li {
        a {
          padding: 0 0 10px 75px;
          text-transform: none;

          &:after {
            display: none;
          }

          &:hover {
            color: var(--dark);
            background-color: var(--hover-link-bg);
            padding: 0 0 10px 75px;
          }
        }
      }
    }
  }

  li,
  li.have-children {
    position: relative;
  }

  .content {
    position: relative;
    width: 100%;

    &::after {
      content: "";
      height: 100%;
      position: absolute;
      top: 0;
      z-index: 9;
      opacity: 0;
    }

    @media (min-width: 768px) {
      &::after {
        display: none;
      }
    }
    /* &.opened {
    filter: blur(3px);
    transition: 1s filter ease;
  } */
  }

  .opened {
    .content {
      filter: blur(3px);
      transition: 1s filter ease;

      &:after {
        opacity: 1 !important;
        transition: 1s filter ease;

        @media (min-width: 768px) {
          opacity: 0 !important;
        }
      }
    }
  }

  .dropdown ul,
  .dropdown-country dd,
  .dropdown-country dt {
    margin: 0;
    padding: 0;
  }

  .dropdown-country {
    dd ul li a span:first-child,
    dt a span span:first-child {
      background-image: url(https://i.imgur.com/OQiDoZe.png);
      background-repeat: no-repeat;
      width: 16px;
      height: 11px;
      display: inline-block;
      margin: 5px;
      vertical-align: top;
    }

    dt {
      a {
        position: relative;
        display: block;
        overflow: hidden;
        padding: 2px 4px;
        top: 8px;

        span {
          cursor: pointer;
          display: block;
          padding: 5px;
          white-space: nowrap;

          span {
            display: inline-block;
            padding: 0;

            &:first-child:before {
              position: absolute;
              left: 0;
              right: 0;
              margin: 0 auto;
              content: "";
              width: 15px;
              height: 10px;
              box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
            }

            &:first-child {
              padding: 0;
            }
          }
        }

        img {
          position: relative;
          z-index: 1;
        }

        &:focus,
        &:hover {
          color: #5d4617;
        }
      }
    }

    dd {
      position: relative;

      ul {
        box-shadow: 0 1px 10px 0 rgb(0 0 0 / 10%);
        background: #fff;
        color: #c5c0b0;
        display: none;
        left: -4px;
        padding: 5px;
        position: absolute;
        list-style: none;
        max-height: 170px;
        overflow-y: scroll;
        top: 10px;
        z-index: 2;
        border-radius: 5px;

        &::-webkit-scrollbar-track {
          -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
          border-left: 1px solid rgba(0, 0, 0, 0.1);
        }

        &::-webkit-scrollbar-thumb {
          background: rgba(0, 0, 0, 0.4);
        }

        &::-webkit-scrollbar-thumb:window-inactive {
          background: #00f;
        }

        li {
          a {
            padding: 5px;
            display: block;
            background: 0 0;
            font-size: 12px !important;

            &:hover {
              background-color: #ddd;
            }
          }
        }
      }
    }

    a,
    a:visited {
      color: #4a535f;
      text-decoration: none;
      outline: 0;
    }

    a {
      &:hover {
        color: #5d4617;
      }
    }

    span.value {
      display: none;
    }
  }

  dl.dropdown-country {
    display: inline-block;
    margin: 0;

    span {
      &:nth-child(3) {
        color: rgba(0, 0, 0, 0.4);
      }

      &:nth-child(3) {
        float: right;
      }
    }

    > span:nth-child(2) {
      overflow: hidden;
      white-space: nowrap;
      display: inline-block;
    }

    dt span:nth-child(2) {
      color: rgba(0, 0, 0, 0.6);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.6em;
    }
  }

  dl.dropdown dt span:nth-child(3) {
    display: none;
  }

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

  .swiper-slide {
    margin: 10px 0;

    .slider-img {
      width: 100%;
      max-width: 165px;
      height: auto;
      margin: 8px 0;
    }

    .caption {
      position: absolute;
      left: 5%;
      color: var(--white);
      z-index: 9;
      text-align: left;

      h2 {
        font-size: 1.9em;
        text-transform: uppercase;
        line-height: 42px;
        max-width: 320px;

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

      p {
        font-size: 1em;
        line-height: 1.5em;
        max-width: 350px;

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

      span {
        font-size: 0.8em;
      }

      .color-btn {
        margin: 12px 0 25px;
      }
    }

    h3 {
      overflow: hidden;
      text-overflow: ellipsis;
      word-wrap: break-word;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      font-size: 14px;
    }

    a {
      flex-direction: column-reverse;
      display: flex;
      color: var(--white);
    }

    img {
      @media (min-width: 990px) {
        height: 100%;
      }
    }
  }

  .Slider {
    .swiper-slide {
      position: relative;
      text-align: center;
      font-size: 18px;
      margin: 0;
      background: #fff;
      height: 275px !important;
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;

      @media (min-width: 768px) {
        height: 365px !important;
      }

      &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: #1a1a1a;
        background: linear-gradient(80deg, rgba(26, 26, 26, 1) 0, rgba(26, 26, 26, 0) 85%);
      }
    }
  }

  .myApps {
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
    }

    .swiper-wrapper {
      padding-bottom: 35px;
    }

    .swiper-pagination-bullet {
      border-radius: 0;
    }

    .swiper-pagination-bullet-active {
      background: var(--primary-color);
      border-radius: 0;
    }

    .swiper-pagination-bullets {
      @media (min-width: 990px) {
        display: none !important;
      }
    }
  }

  .single-page {
    display: flex;
    flex-direction: row;
    gap: 50px;

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

  .single-app {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 50px;

    .app-description {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 50px;

      @media (max-width: 991px) {
        margin-bottom: 0px;
      }

      @media (max-width: 767px) {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
      }

      h1 {
        font-size: 1.6rem;
      }

      .single-description {
        color: var(--gray);
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.5;
      }
    }

    a {
      width: 100%;
    }

    .color-btn {
      font-size: 1.2em;

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

    img {
      max-width: 240px;
      height: 240px;
      object-fit: cover;
      margin-right: 15px;
      border-radius: 20px;

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

      @media (max-width: 767px) {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
      }
    }
  }

  .games-list {
    display: flex;
    flex-direction: column;
    gap: var(--games-list-gap);

    .game-item {
      display: flex;
      flex-direction: row;
      width: 100%;
      gap: 10px;

      a {
        width: 100%;
      }
    }

    a {
      width: 100%;
      display: flex;
      gap: 10px;

      &:last-child {
        border: 0px;
      }
    }
  }

  .game-item {
    .icon-app {
      width: 100%;
      min-width: 85px;
      max-width: 85px;
      border-radius: 10px;
      height: 85px;
      transition: transform 0.3s ease;

      @media (max-width: 991px) {
        width: 140px;
      }

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

  .app-list {
    overflow-y: auto;
    height: 100%;
    max-height: 540px;
    scrollbar-width: none;

    /* Firefox */
    &::-webkit-scrollbar {
      display: none;
      /* Chrome, Safari, Edge */
    }

    .app-list-item a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--light-gray);

      img {
        width: 85px;
        height: 85px;
        border-radius: 10px;
        box-shadow: 0 5px 0 var(--light-gray);
      }

      h3 {
        font-size: 14px;
        font-weight: 500;
        line-height: 1rem;
      }
    }
  }

  .article-content {
    width: 70%;

    @media (max-width: 991px) {
      width: 100%;
    }
  }

  .mfp-counter,
  .mfp-title {
    display: none;
  }

  .back {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    width: fit-content;
  }

  .myContent .swiper-slide img {
    display: block;
    width: 178px;
    height: 178px;
    object-fit: cover;
  }

  .myFilters {
    margin-top: 10px;

    .swiper-slide {
      width: 125px !important;

      @media (min-width: 768px) {
        margin-right: 18px !important;
      }
    }
  }

  .filters {
    display: flex;
    flex-wrap: wrap;
    overflow-x: scroll;
    /* horizontalni scroll */
    -ms-overflow-style: none;
    /* IE i Edge */
    scrollbar-width: none;

    .myFilters {
      .swiper-wrapper {
        padding-bottom: 0;
      }

      .swiper-slide {
        @media (min-width: 768px) {
          max-width: 115px;
        }
      }
    }

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

    input {
      display: none;
    }

    &.filters-stream input[type="radio"]:checked + label {
      background-color: var(--accent-purple);
      color: var(--white);
      border-color: var(--accent-purple);
    }

    &.filters-fit input[type="radio"]:checked + label {
      background-color: var(--primary-color);
      color: var(--white);
      border-color: var(--primary-color);
    }

    &.filters-learn input[type="radio"]:checked + label {
      background-color: var(--accent-yellow);
      color: var(--white);
      border-color: var(--accent-yellow);
    }

    &.filters-adult input[type="radio"]:checked + label {
      background-color: var(--accent-red);
      color: var(--white);
      border-color: var(--accent-red);
    }

    &.exclusive {
      gap: 10px;
      overflow: visible;
      margin: 50px auto;

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

      > a {
        flex: 1;
        display: flex;
        align-items: flex-end;
        padding: 20px;
        position: relative;
        border-radius: 15px;
        min-height: 150px;
        transition: all 0.2s ease-out;

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

        &.active {
          background: var(--white) !important;
          border: 2px solid var(--primary-color);
          transform: none !important;
          cursor: default;

          label {
            text-shadow: none;
            color: var(--primary-color);
          }
        }

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

        label {
          padding: 0;
          border: none;
          color: var(--white);
          text-shadow: 0 3px 0 #00000040;
          text-transform: uppercase;
          margin: 0;
          font-size: 1rem;
          position: relative;
          z-index: 1;
        }

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

          @media (min-width: 768px) and (max-width: 1199px) {
            width: 120px;
            height: 120px;
            right: -10px;
          }
        }
      }
    }

    @media (min-width: 768px) {
      justify-content: center;
    }

    label {
      display: block;
      margin: 5px;
      border: var(--filters-label-border);
      padding: var(--filters-label-padding);
      border-radius: 30px;
      color: var(--filters-label-color);
      font-weight: 600;
      width: max-content;
    }

    input[type="radio"]:checked + label,
    &.filters-play input[type="radio"]:checked + label {
      background-color: var(--primary-color);
      color: var(--white);
      border-color: var(--primary-color);
    }
  }

  .selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: 0 0;
    border: 1px solid #9a9a9a;
    padding: 10px;
    border-radius: 8px;
    color: #9a9a9a;
    font-size: 0.8rem;
    font-family: var(--font-family-heading);
    margin: 30px auto;
    display: block;
    width: 100%;
  }

  .filters-mobile {
    display: none;

    @media (min-width: 768px) {
      display: none;
    }
  }

  .filters-desktop {
    display: none;

    @media (min-width: 768px) {
      display: flex;
    }
  }

  .btn-filter {
    width: 100%;
    margin: 10px 0;
  }

  .app-description {
    h1 {
      font-size: 24px;
      font-weight: 500;
      line-height: 1.2;
    }
  }

  .screenshoots {
    .myTips {
      .swiper-slide {
        width: 138px !important;

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

  .myTips {
    .swiper-wrapper {
      padding-bottom: 0;
    }

    .swiper-slide {
      img {
        display: block;
        height: 220px;
        object-fit: cover;
        border-radius: 15px;
      }

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

    h3 {
      @media (min-width: 768px) {
        width: 100%;
      }
    }
  }

  .mySelection {
    margin: 20px 0;

    .selection-wrap {
      display: flex;
      justify-content: space-between;
      margin: 20px 0;
      flex-wrap: wrap;
    }

    .app-selection {
      margin-bottom: 0px;
      padding-bottom: 0;
      width: calc((100% - 3 * 40px) / 4);

      a {
        display: flex;
        flex-direction: row;

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

      .app-img {
        width: 110px;
        max-width: 110px;
        min-width: 110px;
        height: 110px;
        object-fit: cover;
        border-radius: 5px;
      }

      @media (max-width: 1199px) {
        width: calc((100% - 2 * 20px) / 3);
      }

      @media (max-width: 767px) {
        width: calc((100% - 1 * 20px) / 2);
      }

      @media (max-width: 480px) {
        width: 100%;
      }

      .small-text {
        font-size: 12px;
        line-height: 15px;
        font-weight: 250;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
    }

    .title-box {
      width: 100%;
    }

    .app-descript {
      color: var(--dark-gray);
      font-size: 13px;
      line-height: 16px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      word-wrap: break-word;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      margin: 0px;
      height: 32px;

      p {
        color: var(--dark-gray) !important;

        span {
          color: var(--dark-gray) !important;
        }
      }
    }

    .app-description {
      .three span:last-child,
      .three span:nth-child(4) {
        color: #f4d1568f;
      }

      /* .myApps .swiper-slide {
    margin: 4px;
  } */
      .stars div {
        @media (max-width: 320px) {
          font-size: 13px;
        }
      }

      h3 {
        font-size: 14px;
        color: var(--white);
        font-weight: 500;
        line-height: 18px;
        text-align: left;
        min-width: 80px;
        width: var(--app-description-title-width);
        text-overflow: ellipsis;
        overflow: hidden;
        overflow: hidden;
        overflow-wrap: break-word;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
      }
    }

    .btn-selection {
      background: transparent;
      font-weight: 800;
      margin: 15px 0 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      font-size: 0.9em;
      border: 2px solid var(--dark-gray);
      padding: 6px 12px;
      border-radius: 20px;

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

    .selection-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      max-width: 100%;
      gap: 60px 40px;

      &:nth-child(3) {
        display: none;
      }

      @media (max-width: 1199px) {
        gap: 60px 20px;
      }

      &.exclusive-games {
        max-width: 1200px;
        margin-inline: auto;
        gap: 50px;
        justify-content: center;

        .app-selection {
          width: calc((100% - 3 * 50px) / 3);

          @media (min-width: 600px) and (max-width: 1023px) {
            width: calc((100% - 1 * 50px) / 2);
          }

          @media (max-width: 599px) {
            width: 100%;
          }

          > a {
            flex-direction: column;
            gap: 30px;
            padding-bottom: 10px;
            transition: all 0.2s ease-out;

            img {
              width: 100%;
              max-width: none;
              height: auto;
              box-shadow: none;
            }

            .app-description {
              display: flex;
              gap: 30px;
              align-items: flex-end;
              flex-direction: row;
              max-width: 100%;
              margin: 0;

              .btn-selection {
                min-width: 100px;
                text-align: center;
                border-radius: 4px;
                background: var(--primary-color);
                justify-content: center;
                border: none;

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

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

    &.ringtones .selection-wrap {
      margin: 0 8px;
    }
  }

  .stars {
    span {
      line-height: 12px;
      color: #ffc700;
    }
  }

  .myBooks {
    .swiper-slide {
      box-shadow: none;

      .stars {
        margin-top: 12px;
        justify-content: space-between;
      }

      a {
        flex-direction: row-reverse;
        align-items: center;

        > div {
          margin: 0 5px;
          font-size: 14px;
        }
      }

      img {
        height: 215px;
        width: 142px;
        object-fit: cover;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
      }
    }
  }

  .myBooks .swiper-slide .stars div,
  .myGames.myGames .swiper-slide-content .stars div,
  .mySelection .app-description .stars div {
    color: #ffc700;
    margin-top: 2px;
  }

  .myGames {
    .swiper-slide-content {
      display: flex;
      gap: 10px;
    }

    .swiper-slide {
      padding-bottom: 5px;

      img.icon-app {
        width: var(--my-games-icon-size);
        height: var(--my-games-icon-size);
        min-width: var(--my-games-icon-size);
        border-radius: 5px;
      }
    }

    h3 {
      align-items: center;
      justify-content: center;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      font-size: 15px;
      line-height: 18px;
      text-align: left;
      width: 100%;
      max-width: 200px;

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

    p {
      @media (min-width: 768px) {
        display: -webkit-box;
      }
    }
  }

  .myBooks .swiper-slide .stars .btn-selection,
  .myGames.myGames .swiper-slide-content .stars .btn-selection {
    border: none;
    background: var(--primary-color);
    cursor: pointer;
    color: var(--white);
    border-radius: 8px;
    text-align: center;
    padding: 4px 20px;
    font-size: 1rem;
    justify-content: space-between;
    font-weight: 700;
  }

  .myBooks .four div span:last-child,
  .myGames .four div span:last-child,
  .mySelection .app-description .four span:last-child {
    color: #f4d1568f;
  }

  .app-selection a:hover .btn-selection {
    color: var(--primary-color);
    background: var(--primary-color);
    border: 2px solid var(--primary-color);

    > span {
      color: var(--white);
    }
  }

  .audios {
    .mySelection {
      .btn-selection {
        color: var(--accent-purple);
        margin: 0;
      }

      .selection-wrap {
        max-width: 750px;
      }

      .app-description {
        margin: auto 20px;
        width: 298px;
        display: block;
      }
    }
  }

  .single-audio {
    flex-wrap: wrap;

    @media (min-width: 768px) {
      flex-wrap: nowrap;
    }

    .app-description {
      margin: 15px 0;
    }
  }

  .text {
    width: calc(100% - 100px);

    p {
      font-size: 13px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2; /* number of lines to show */
      line-clamp: 2;
      -webkit-box-orient: vertical;
      font-weight: 500;

      &:empty {
        display: none;
      }
    }

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

  .myGames .swiper-pagination-bullets,
  .myTips .swiper-pagination-bullets {
    display: none !important;
  }

  .breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;

    h2 {
      font-weight: 600;
      margin-top: 15px;
    }

    h2.title a {
      color: var(--gray);
    }

    h3,
    h3 a {
      color: #828282;
      font-weight: 400;
      font-size: 0.9rem;
      margin-top: 10px;
    }

    h3 {
      line-height: 10px;
    }

    &:last-child {
      gap: 0.4rem;
    }
  }

  .breadcrumbs-play h2.title-active a,
  .breadcrumbs-play h3 a:hover {
    color: var(--primary-color);
  }

  .breadcrumbs-learn h2.title-active a,
  .breadcrumbs-learn h3 a:hover {
    color: var(--accent-yellow);
  }

  .breadcrumbs-enjoy h2.title-active a,
  .breadcrumbs-enjoy h3 a:hover {
    color: var(--accent-purple);
  }

  .breadcrumbs-fitness h2.title-active a,
  .breadcrumbs-fitness h3 a:hover {
    color: var(--primary-color);
  }

  .title-category {
    margin: 20px 0;
  }

  .title-section {
    h3 {
      font-size: 1.2em;
      line-height: 1.5em;
      font-weight: 600;
      text-transform: uppercase;
      color: var(--gray);
      margin-bottom: 20px;
    }

    i {
      margin-right: 10px;
    }

    h2 {
      text-transform: uppercase;
      margin-bottom: 20px;
    }
  }

  section {
    .title-section {
      span {
        display: flex;
        position: absolute;
        right: 0;
        top: 5px;
        color: var(--white);

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

      i.arrow-down {
        position: relative;
        right: 0;
        top: -1px;
        transform: rotate(180deg);
      }
    }
  }

  .bottom-menu {
    box-shadow: 0 0 10px #e6e6e6;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 99999;
    background: var(--white);

    @media (min-width: 990px) {
      display: none;
    }

    a {
      color: #868686;
      display: flex;
      align-items: center;
      width: 22px;
      height: 26px;
    }
  }

  .section.videos,
  section.articles {
    margin: 40px 0;
  }

  #Sign-in {
    display: block !important;
  }

  .card-columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;

    @media (min-width: 768px) {
      -webkit-column-count: 3;
      -moz-column-count: 3;
      column-count: 3;
    }
  }

  .fit-grid-gallery .card-columns .card {
    margin-bottom: 0.75rem;
  }

  .mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-attachment: fixed;
  }

  .card-img,
  .card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
  }

  .card-img,
  .card-img-bottom,
  .card-img-top {
    width: 100%;
  }

  .quizz-questions {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    padding: 30px 20px;
    background: var(--white);
    box-shadow: 0 1px 10px 0 rgb(0 0 0 / 10%);
    display: block;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    margin: 40px 0;

    h3 {
      margin-bottom: 15px;
      font-size: 1.3rem;
    }

    .apps-description h3 {
      margin-bottom: 15px;
      font-size: 1.5rem;
    }

    p {
      font-size: 1.1rem;
      margin: 5px 0;
    }

    .option {
      display: inline-block;
      width: 40px;
      height: 40px;
      padding: 10px 5px 0;
      margin-top: 5px;
      margin-right: 10px;
      text-align: center;
      font-size: 18px;
      cursor: pointer;
      color: #fff;
      border-radius: 30px;
      background-color: var(--primary-color);

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

  .quiz_options_container {
    display: block;
    width: 100%;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--gray);
  }

  .page-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;

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

    .page-hero-content {
      width: 35%;
      padding-right: 80px;

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

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

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

      .hero-text {
        font-size: 4rem;
        line-height: 1.1;
        font-weight: 200;

        @media (min-width: 1200px) and (max-width: 1359px) {
          font-size: 3.25rem;
        }

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

    .page-hero-video {
      height: 480px;
      flex: 1;
      width: 100%;
      position: relative;
      overflow: hidden;
      /* hides video overflow */
      display: flex;
      padding: 30px;
      align-items: flex-start;
      border-radius: 15px;
      justify-content: flex-end;

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

      @media (max-width: 767px) {
        min-height: 280px;
        padding: 20px;
      }

      .bg-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        object-fit: cover;
        z-index: 0;
        border-radius: 15px;
        height: 100%;
        filter: brightness(0.6);
      }

      .slider-content {
        gap: 15px;
        position: relative;
        z-index: 1;

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

        h3 {
          margin-bottom: 15px;
        }
      }
    }
  }

  .error-page {
    height: 60dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .btn {
      border: none;
      border-radius: 30px;
      background: var(--primary-color);
      color: var(--white);
      text-align: center;
      font-size: 24px;
      box-sizing: content-box;
      max-width: 280px;
      height: 40px;
      position: relative;
      padding: 6px 5px;
      text-align: center;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

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

  .terms {
    display: flex;
    justify-content: center;
    margin-top: 10px;

    @media (min-width: 768px) {
      margin-top: 10px;
    }

    a {
      color: var(--dark);
      padding: 0 8px;
    }
  }

  .terms a:hover,
  li.have-children ul li a:hover {
    color: var(--primary-color);
  }

  .terms-page {
    margin: 50px auto;

    p {
      line-height: 25px;
    }

    h4 {
      margin: 15px 0;
    }
  }

  #button-error {
    background: var(--primary-color);
    color: var(--white);
    width: auto;
    padding: 5px 30px;
    border-radius: 30px;
  }

  .page-title {
    color: var(--white);
    color: #fff;
    padding: 60px 20px;
    padding: 2.2rem 1rem;
    position: relative;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    background: #090909;
    border-radius: 22px;
    text-align: center;

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      padding: 2px;
      border-radius: inherit;
      background: linear-gradient(
        100deg,
        #ff0000 0%,
        #ff7a00 18%,
        #ffe600 32%,
        #00d639 48%,
        #00aaff 66%,
        #263cff 82%,
        #b000ff 100%
      );
      -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
    }

    h1 {
      text-align: center;
    }
  }

  .contact-form {
    input,
    textarea {
      padding: 12px 15px;
      border: 1px solid var(--light-gray);
      background: var(--contact-form-bg);
      border-radius: 24px;
    }

    textarea {
      min-height: 120px;
    }
  }

  .mySelection .app-description {
    @media (max-width: 320px) {
      margin: 0 10px;
    }
  }

  .menu-static {
    @media (min-width: 990px) {
      flex: 15%;
    }

    @media (min-width: 768px) {
      flex: 20%;
    }
  }

  footer .footer-wrap {
    @media (min-width: 990px) {
      margin-bottom: 0;
    }
  }

  .close {
    @media (min-width: 1200px) {
      display: none;
    }
  }

  .main-container {
    @media (min-width: 1200px) {
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 768px) {
      /* min-height: 100%; */
      position: relative;
    }
  }

  .slider-dots {
    display: none;
    justify-content: center;
    margin-top: 10px;
    gap: 6px;

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

    button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: none;
      background: var(--gray);
      cursor: pointer;
      padding: 0;
      transition: background 0.3s ease;
    }

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

  .btn {
    border: var(--btn-border);
    color: var(--btn-color);
    border-radius: var(--btn-border-radius);
    max-width: fit-content;
    font-family: var(--font-family-heading);
    font-size: 16px;
    gap: 10px;
    padding: var(--btn-padding);
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    cursor: pointer;

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

    .arrow-left {
      color: var(--primary-color) !important;
      padding: 12px;
      width: auto;
      height: auto;
      border: 2px solid var(--primary-color);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;

      &:after {
        content: "";
        display: block;
        box-sizing: border-box;
        width: 10px;
        height: 10px;
        border-bottom: 2px solid;
        border-right: 2px solid;
        transform: rotate(313deg);
        position: absolute;
        left: 5px;
        color: var(--primary-color);
      }
    }
  }

  .btn-icon {
    background: transparent;
    border: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;

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

    img {
      box-shadow: none !important;
      width: 20px !important;
      height: 20px !important;
    }
  }

  .main-menu {
    display: block;
    /* width: calc(100% - 40px); */
    width: 100%;
    background: var(--page-bg);
    padding: 10px 0;
    height: 60px;
    box-sizing: content-box;
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    top: 0;
    z-index: 999;

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

  .top-bar {
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    border-radius: 45px;
    box-sizing: border-box;
    align-items: center;
    margin: 0 auto;
    margin: 0 auto;
    width: calc(100% - 40px);

    @media screen and (max-width: 767px) {
      padding: 5px 10px;
      width: calc(100% - 20px);
    }

    .nav-logo {
      height: 40px;
      display: flex;

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

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

    .login-area {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .lang {
      position: relative;
      display: inline-block;
      font-family: var(--font-family-heading);

      > a {
        color: var(--white);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        transition: color 0.3s ease;
        padding: 12px 10px;
        font-size: 20px;
        font-weight: 500;
        font-family: var(--font-family-heading);
      }

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

      > a .lang-caret {
        display: inline-block;
        transition: transform 0.15s ease;
        /* brza rotacija */
        transform: rotate(0deg);
        /* početno udesno */
        font-size: 1.2rem;
      }

      .lang-select {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        border: 2px solid var(--light-gray);
        border-top-color: var(--white);
        border-radius: 0 0 5px 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        min-width: 80px;
        z-index: 999;
        overflow: hidden;

        a {
          display: block;
          padding: 10px 20px;
          color: var(--dark-gray);
          text-align: center;
          text-decoration: none;
          transition:
            background 0.2s ease,
            color 0.2s ease;

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

      &:hover .lang-select,
      .lang-select.show {
        display: block;
      }

      &:hover > a .lang-caret {
        transform: rotate(90deg);
      }
    }

    nav {
      color: var(--dark);
      position: relative;
      padding-right: 10px;
    }

    .hamburger {
      display: none;
      cursor: pointer;
      font-size: 24px;
      color: var(--white);
      width: 20px;

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

    #closeMenu {
      display: none;
      height: 30px;
      width: 30px;
      font-weight: 900;
      font-size: 20px;
      line-height: 20px;
      position: fixed;
      right: 20px;
      top: 10px;
      text-align: center;
      border: 2px solid var(--dark);
      padding: 4px;
      border-radius: 30px;
      z-index: 9999;
    }

    .show {
      display: flex;
    }

    .none {
      display: none;
    }

    ul.menu {
      display: flex;
      list-style: none;
      gap: 20px;
      flex-wrap: wrap;

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

      &.show {
        @media (max-width: 767px) {
          display: block;
          position: fixed;
          width: 100%;
          left: 0;
          padding-block: 10px 20px;
          top: 70px;
          background: var(--dark);
          overflow: auto;
          z-index: 998;

          .dropdown {
            border-left: none;
            border-right: none;

            li a {
              text-align: left;
            }
          }
        }
      }

      li.menu-item {
        position: relative;

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

        > a {
          color: var(--white);
          text-decoration: none;
          padding: 12px 10px;
          display: inline-flex;
          align-items: center;
          font-size: 20px;
          font-weight: 500;
          text-transform: uppercase;
          position: relative;
          transition: color 0.3s ease;

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

          @media (max-width: 767px) {
            padding: 10px 20px;
            width: 100%;
            justify-content: space-between;
          }

          &::after {
            content: "\276F";
            /* ❯ strelica */
            margin-left: 8px;
            font-size: 1.2rem;
            display: inline-block;
            transform: rotate(0deg);
            transition: transform 0.3s ease;
          }

          @media (min-width: 768px) {
            &:hover::after {
              transform: rotate(90deg);
            }
          }

          &.open::after {
            transform: rotate(90deg);
          }
        }

        ul.dropdown {
          display: none;
          position: absolute;
          background: var(--white);
          list-style: none;
          top: 100%;
          right: 0;
          min-width: 170px;
          z-index: 1000;
          text-align: right;
          padding: 5px 0;

          @media (max-width: 767px) {
            position: static;
            display: none;
            background: transparent;

            &.show {
              display: block;
            }
          }

          li a {
            display: block;
            padding: 8px 15px;
            color: var(--dark-gray);
            text-decoration: none;
            transition: all 0.2s ease-in-out;
            font-size: 16px;
            font-weight: 400;
            text-align: left;

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

            @media (max-width: 767px) {
              padding: 6px 15px 6px 30px;
              color: var(--light-gray);
            }

            @media (max-width: 380px) {
              font-size: 14px;
            }
          }
        }

        &:not(:has(.dropdown)) > a::after {
          content: none;
        }
      }
    }

    @media (min-width: 768px) {
      ul.menu li.menu-item:hover > ul.dropdown {
        display: block;
      }
    }
  }

  .slide {
    flex-shrink: 0;
    width: 20vw;
    height: 500px;
    margin: 0 5px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.3s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px;

    @media screen and (max-width: 1199px) {
      width: 50vw;
      height: 480px;
      padding: 30px;
    }

    &.slide-exclusive-01 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/exclusive-games-marvel.jpg) center / cover;
    }

    &.slide-exclusive-02 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/exclusive-games-disney.jpg) center / cover;
    }

    &.slide-exclusive-03 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/exclusive-games-lego.jpg) center / cover;
    }

    &.slide-exclusive-04 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/exclusive-games-moira.jpg) center / cover;
    }

    .slider-content {
      max-width: 280px;
      display: flex;
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;

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

      .label {
        display: flex;
        padding: 5px 20px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        color: var(--white);
        /* font-size: 18px;
      color: var(--white);
      background: var(--blue);
      font-weight: 500;
      padding: 5px 12px;
      font-style: italic;*/
        max-width: fit-content;
      }

      .category-title {
        color: var(--white);
        font-size: 30px;
        font-weight: 700;
        /* text-shadow: 0px 0px 12px #000000b6; */
        text-align: left;
        line-height: 36px;

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

      .category-subtitle {
        color: var(--white);
        font-size: 18px;
        font-weight: 500;
        text-align: left;
        line-height: 24px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* number of lines to show */
        line-clamp: 3;
        -webkit-box-orient: vertical;
      }

      .btn {
        border: none;
        border-radius: 30px;
        background: var(--primary-color);
        color: var(--white);
        text-align: center;
        text-align: center;
        font-size: 24px;
        box-sizing: content-box;
        max-width: 170px;
        height: 40px;
        position: relative;
        padding: 6px 5px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          position: absolute;
          top: 50%;
          right: 12px;
          width: 24px;
          height: 24px;
          display: block;
          transform: translateY(-50%);
        }

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

    &.slide01 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/slider-01.jpg) center/cover;
      position: relative;
      z-index: 1;

      video {
        position: absolute;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        left: 0;
        right: 0;
        bottom: 0;
      }

      .slider-content {
        position: absolute;
        z-index: 3;
      }
    }

    &.slide02 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/slider-02.jpg) center/cover;
      position: relative;
      z-index: 1;

      video {
        position: absolute;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        left: 0;
        right: 0;
        bottom: 0;
      }

      .slider-content {
        position: absolute;
        z-index: 3;
      }
    }

    &.slide03 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/slider-03.jpg) center/cover;
      position: relative;
      z-index: 1;

      video {
        position: absolute;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        left: 0;
        right: 0;
        bottom: 0;
      }

      .slider-content {
        position: absolute;
        z-index: 3;
      }
    }

    &.slide04 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/slider-04.jpg) center/cover;
      position: relative;
      z-index: 1;

      video {
        position: absolute;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        left: 0;
        right: 0;
        bottom: 0;
      }

      .slider-content {
        position: absolute;
        z-index: 3;
      }
    }

    &.slide05 {
      background:
        linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0)),
        url(../images/slider/slider-05.jpg) center/cover;
      position: relative;
      z-index: 1;

      video {
        position: absolute;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        left: 0;
        right: 0;
        bottom: 0;
      }

      .slider-content {
        position: absolute;
        z-index: 3;
      }
    }

    @media (max-width: 767px) {
      flex: 0 0 100%;
      scroll-snap-align: start;
      position: relative;
      border: none;
      min-width: 100%;
      margin: 0;
    }
  }

  .scroll-group {
    display: flex;
    flex: 0 0 auto;
    gap: var(--scroll-group-gap);
    padding-right: 10px;
  }

  .scroll-card__label {
    max-width: 55%;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .slide-button {
    width: 100%;
    /* min-width: 280px; */
    /* background-color: var(--white); */
    cursor: pointer;
    overflow: hidden;

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

    .pic-container {
      width: 100%;
      border-radius: 15px;
      overflow: hidden;

      img {
        width: 100%;
        height: auto;
        min-height: var(--slide-button-img-height);
        max-height: var(--slide-button-img-height);
        object-fit: cover;
        display: block;
      }
    }

    .slider-title {
      text-align: left;
      font-size: 15px;
      line-height: 1.3rem;
      font-weight: 500;
      padding: 0;
      margin: 10px 0 30px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    &.slide-article {
      padding-bottom: 10px;
      border-bottom: 1px solid var(--light-gray);

      img {
        border-radius: 15px;
        width: 100%;
        height: 220px;
      }
    }

    .btn {
      background: var(--slide-button-btn-bg);
      border: var(--slide-button-btn-border);
      color: var(--primary-color);
      padding: var(--slide-button-btn-padding);
    }
  }

  .banner {
    min-height: 420px;
    padding: 60px;
    width: 100%;
    border-radius: 15px;
    position: relative;
    transition: 0.5 ease-in;

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

    &:hover {
      > img {
        transform: scale(1.05);
        filter: brightness(1.05);
      }
    }

    &:first-of-type {
      background: #e2f2fb;

      .banner-content {
        align-items: flex-end;

        h3 {
          text-align: right;
        }

        .banner-text {
          align-items: flex-end;
        }
      }

      img {
        left: 0;
        right: initial;
      }
    }

    &:last-of-type {
      background: #dff3e7;
    }

    .banner-content {
      color: var(--dark);
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      z-index: 1;

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

      h3 {
        font-size: 42px;
        font-weight: 500;
        line-height: 54px;

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

        strong {
          font-weight: 400;
          font-size: 60px;
          display: block;

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

      .banner-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        font-size: 1.4rem;

        img {
          width: 60px;
        }
      }
    }

    > img {
      position: absolute;
      z-index: 0;
      bottom: 0;
      right: 0;
      max-height: 440px;
      width: auto;
      transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
      transform-origin: bottom left !important;

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

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

  .video-background {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 30px;

    video {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      min-height: 100%;
      height: auto;
      transform: translate(-50%, -50%);
      z-index: 0;
      object-fit: cover;
      filter: brightness(0.5);
      margin: 0;
    }

    .video-content {
      position: relative;
      z-index: 1;
      color: white;
      text-align: center;
      padding: 4rem 2rem;
      display: flex;
      justify-content: center;
      height: 100%;
      align-items: center;

      > p {
        font-size: 40px;
        text-transform: uppercase;
        font-weight: 300;
      }
    }
  }

  .linkedin {
    max-width: 23px;
  }

  .instagram {
    max-width: 26px;
  }

  .facebook {
    max-width: 22px;
  }

  .youtube {
    max-width: 26px;
  }

  .contact-popup {
    display: flex;
    flex-direction: row;
    gap: var(--contact-popup-gap);
    border: 2px solid var(--dark-gray);
    border-radius: 20px;
    padding: 30px;

    @media (max-width: 991px) {
      flex-direction: column;
      padding: 30px 20px;
    }

    .form {
      flex: 1;

      @media (max-width: 991px) {
        width: 100%;
      }
    }

    input {
      display: block;
      margin: 20px auto 10px;
      border-radius: 5px;
      padding: 10px 0;
      width: 100%;
      text-align: left;
      outline: 0;
      border: 1px solid #4b4b4f;

      &[type="checkbox"] {
        display: none;
      }

      &[type="checkbox"]:checked ~ .login-check::after {
        display: block;
      }
    }

    .login-check {
      background: var(--accent-green);
      position: absolute;
      top: 0;
      left: 0;
      height: 25px;
      width: 25px;
    }

    input,
    textarea {
      display: block;
      margin: 20px auto 10px;
      border-radius: 20px;
      padding: 15px;
      width: 100%;
      text-align: left;
      outline: 0;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.04);
      font-family: var(--font-family-heading) !important;
      color: var(--hover-link-bg);
    }

    textarea {
      min-height: 122px;
      max-height: 122px;
    }

    .btn-login {
      cursor: pointer;
      color: var(--white);
      background: var(--primary-color);
      padding: 15px;
      border: 0px;
      border-radius: 25px;
      width: 100%;
      max-width: none;
      margin: 0px auto;
      box-shadow: none;
      height: auto;
      text-transform: uppercase;
    }
  }

  .contact-info {
    flex: 1;
    margin-top: var(--contact-info-margin-top);

    @media (max-width: 991px) {
      margin-top: 0;
    }

    .info-box {
      flex: 1;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 30px;
      border-radius: 20px;
      margin: 30px 0;
      background: var(--dark-gray);
      position: relative;

      @media (max-width: 991px) {
        margin: 20px 0;
      }

      @media (max-width: 767px) {
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

      &:last-child {
        margin: 0px;
      }

      .info-text {
        width: 100%;
        display: flex;
        flex-direction: column;

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

        h3 {
          font-weight: 600;
          font-size: 24px;
        }

        .big-text {
          font-size: 28px;
          line-height: 1.25;
        }

        p {
          font-size: 18px;
          line-height: 1.25;
          margin: 10px 0 0;
          max-width: calc(100% - 180px);

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

      img {
        width: 100%;
        max-width: 190px;
        position: absolute;
        bottom: 0;
        right: 10px;

        @media (max-width: 767px) {
          position: relative;
          display: block;
          margin: 20px auto 0;
        }
      }
    }
  }

  .app-content {
    article {
      p {
        margin: 15px 0;
      }
    }
  }

  .more-like-this {
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: var(--more-like-this-bg);
    border-radius: 20px;
    padding: 20px;
    height: fit-content;
  }

  .game-item .text {
    display: flex;
    flex-direction: column;
    width: 100%;

    .top-box {
      display: flex;
      flex-direction: row;
      gap: var(--game-item-top-box-gap);
      justify-content: space-between;
      align-items: flex-start;
    }

    p {
      font-size: var(--game-item-text-font-size);
      line-height: var(--game-item-text-line-height);
      display: -webkit-box;
      -webkit-line-clamp: var(--game-item-text-lines);
      /* number of rows */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;

    .article-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      gap: 10px;
      border-bottom: 0px solid var(--gray);
      padding-bottom: 0px;

      @media (min-width: 768px) and (max-width: 991px) {
        flex-direction: row;
        align-items: center;
      }

      &:hover {
        img {
          transform: scale(0.98);
        }
      }

      &:last-child {
        border: 0px;
      }

      h3 {
        font-size: 16px;
        line-height: 20px;
        margin: 10px 0;
      }

      p {
        font-size: 13px;
        line-height: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* broj redova */
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      img {
        width: 100%;
        max-height: 150px;
        object-fit: cover;
        border-radius: 10px;
        border: 0px;
        transition: transform 0.3s ease;

        @media (min-width: 768px) and (max-width: 991px) {
          max-width: 150px;
          height: 150px;
        }
      }
    }
  }

  .mySelection .app-description {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: calc(100% - 105px);

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

    .btn {
      padding: var(--app-description-btn-padding);
      font-size: 14px;
      line-height: var(--app-description-btn-line-height);
      margin-top: var(--app-description-btn-margin-top);
    }
  }

  .title-section {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;

    a {
      @media (max-width: 480px) {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }

      span {
        gap: 5px;
        color: var(--primary-color);

        img {
          width: 20px;
        }

        @media (max-width: 480px) {
          position: relative;
          text-align: center;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
        }
      }

      &.see-more {
        display: flex;
        flex-direction: row;
        align-items: center;
        color: var(--white);
        gap: 5px;

        img {
          filter: brightness(6);
          -webkit-filter: brightness(6);
          width: 24px;
        }
      }
    }
  }

  .card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: var(--card-border-radius);

    &.large {
      border-radius: 30px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
      padding: 60px;
      gap: 50px;
    }
  }

  html {
    @media (min-width: 768px) {
      height: 100%;
    }
  }

  body {
    @media (min-width: 768px) {
      font-size: 0.9rem;
      overflow-x: hidden;
      height: 100%;
    }
  }

  main {
    @media (min-width: 768px) {
      flex: 100%;
    }
  }

  article {
    @media (min-width: 768px) {
      max-width: 1200px;
    }

    img {
      @media (min-width: 768px) {
        height: 450px;
      }
    }
  }

  .single-audio .app-description {
    @media (min-width: 768px) {
      margin: 15px;
    }
  }

  .contaact-popup #Sign-up .form {
    @media (min-width: 768px) {
      flex: 4;
      margin-top: 20px;
    }
  }

  .footer-wrap {
    text-align: left;
    padding-block: 50px 100px;

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

    .logo {
      margin: 0 0 20px;

      img {
        max-width: 50px;
      }
    }

    .moira-logo img {
      height: 30px;
    }

    .footer-info {
      max-width: 640px;
      width: 100%;

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

      > p {
        color: var(--gray);
        font-size: 14px;
        max-width: 480px;
      }
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 180px;
      width: 100%;
    }

    .footer-pages {
      @media screen and (max-width: 991px) {
        margin-inline: auto;
      }
    }

    .copyright {
      color: var(--gray);
      font-size: 14px;

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

  .hero-home {
    position: relative;

    .hero-text {
      h1 {
        font-size: var(--hero-title-font-size);
        line-height: 1;

        @media screen and (max-width: 1199px) {
          font-size: clamp(2rem, 5vw, 4rem);
        }

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

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

      p {
        font-size: 1.125rem;
        max-width: var(--hero-text-max-width);
        color: var(--gray);

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

  .video-wrap {
    min-width: 0;
    min-height: 0;
    overflow: hidden;

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

  .video-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: var(--border);
    background: var(--dark-primary);

    .video-wrap {
      position: relative;

      h2 {
        position: absolute;
        left: 20px;
        bottom: 20px;
        font-size: 1.25rem;
        text-transform: capitalize;
      }
    }

    .card-content {
      padding: 20px;

      p {
        margin-block: 15px;
      }
    }
  }

  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;

    @media (max-width: 767px) {
      margin-top: 30px;
      gap: 8px;
      padding: 15px 0;
    }

    .pagination-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 16px;
      border: 2px solid var(--primary-color);
      border-radius: 6px;
      color: var(--primary-color);
      background: transparent;
      font-weight: 600;
      font-size: 14px;
      transition: all 0.3s ease;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;

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

      &:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
      }

      &:disabled {
        border-color: var(--gray);
        color: var(--gray);
        cursor: not-allowed;

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

    .pagination-numbers {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      justify-content: center;

      @media (max-width: 767px) {
        gap: 4px;
      }

      .pagination-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        color: var(--body-color);
        background: transparent;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        line-height: 1;

        @media (max-width: 767px) {
          min-width: 36px;
          height: 36px;
          font-size: 12px;
        }

        &:hover {
          border-color: var(--primary-color);
          color: var(--primary-color);
          background: color-mix(in srgb, var(--primary-color) 10%, transparent);
        }

        &.active {
          background: var(--primary-color);
          color: var(--pagination-active-color);
          border-color: var(--primary-color);

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

      a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        color: var(--body-color);
        background: transparent;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        line-height: 1;

        @media (max-width: 767px) {
          min-width: 36px;
          height: 36px;
          font-size: 12px;
        }

        &:hover {
          border-color: var(--primary-color);
          color: var(--primary-color);
          background: color-mix(in srgb, var(--primary-color) 10%, transparent);
        }

        /* Active page styling */
        &[style*="background: #007bff"] {
          background: var(--primary-color) !important;
          color: var(--white) !important;
          border-color: var(--primary-color) !important;

          &:hover {
            background: var(--primary-color) !important;
            color: var(--white) !important;
          }
        }
      }
    }
  }

  [dir="rtl"] .pagination-btn {
    text-align: center;

    &::before {
      margin-right: 0;
      margin-left: 4px;
    }
  }
}

/* ============================================================
   @layer utilities — UTILITIES: Single-purpose helper classes (shared across all themes)
   ============================================================ */
@layer utilities {
  .align-center {
    align-items: center;
  }

  .align-end {
    align-items: flex-end;
  }

  .align-start {
    align-items: flex-start;
  }

  .justify-start {
    justify-content: flex-start;
  }

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

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

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

  .gap-10 {
    gap: 10px;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

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

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

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

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

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

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

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

  .flex-50 {
    width: calc(50% - 25px);

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

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

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

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

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

  .blue {
    background-color: var(--primary-color);
    box-shadow: 0 5px 0 #02627d;
    text-shadow: 3px 2px 4px #02627d;
  }

  .yellow {
    background-color: var(--accent-yellow);
    box-shadow: 0 5px 0 #99812f;
    text-shadow: 3px 2px 4px #99812f;
  }

  .purple {
    background-color: var(--accent-purple);
    box-shadow: 0 5px 0 #6a3482;
    text-shadow: 3px 2px 4px #6a3482;
  }

  .green {
    background-color: var(--accent-green);
    box-shadow: 0 5px 0 #1d7d13;
    text-shadow: 3px 2px 4px #1d7d13;
  }

  .red {
    background-color: var(--red);
    box-shadow: 0 5px 0 #a61616;
    text-shadow: 3px 2px 4px #a61616;
  }

  .title-blue {
    color: var(--primary-color);
  }

  .title-yellow {
    color: var(--accent-yellow);
  }

  .title-purple {
    color: var(--accent-purple);
  }

  .title-green {
    color: var(--accent-green);
  }

  .title-red {
    color: var(--red);
  }
}
