@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@100..900&display=swap");

@layer root, base, layout, components;

@layer base {
  * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
  }

  :root {
    --main-color: #00b4f0;
    --white: #fff;
    --gray: #9ba0b9;
    --border-gray: #222c47;
    --dark-gray: #0c1831;
    --dark: #060c18;
    --red: #d84848;
    --font-body: "Inter", sans-serif;
    --font-display: "Outfit", sans-serif;
    --body-font-size: 1rem;
  }

  body {
    font-size: var(--body-font-size);
    color: var(--white);
    background-color: var(--dark);
    font-family: var(--font-body);
  }

  a {
    color: var(--white);

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

  h1 {
    font-family: "Outfit", sans-serif;
    line-height: 1.1;
  }

  h2 {
    font-size: 28px;
    font-weight: 600;
    font-family: var(--font-display);
    line-height: 1.1;
  }

  h3 {
    font-size: 21px;
    font-weight: 600;
    font-family: var(--font-display);
    line-height: 1.1;
  }

  h4 {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-display);
    line-height: 1.2;
  }
}

@layer layout {
  .intro {
    .logo {
      display: none;

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

      img {
        margin: 20px auto 0;
      }
    }
  }

  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(--gray);
            padding: 0 0 10px 75px;
          }
        }
      }
    }
  }

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

@layer components {
  .btn {
    border: 2px solid var(--main-color);
    color: var(--white);
    border-radius: 10px;
    width: 100%;
    max-width: fit-content;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    gap: 10px;
    padding: 12px 30px;
    line-height: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background: transparent;

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

  .btn-icon {
    background: transparent;
    border: 1.5px solid var(--main-color);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    padding: 6px 15px;
    border-radius: 20px;
    width: max-content;
    color: var(--white);
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;

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

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

  .color-btn {
    background: var(--main-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;
  }

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

  nav dd ul li {
    width: 100%;
  }

  li a {
    font-size: 13px;
  }

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

  /* Header */

  .main-menu {
    display: block;
    /* width: calc(100% - 40px); */
    width: 100%;
    background: var(--dark);
    padding: 20px;
    box-sizing: content-box;
    position: fixed;
    left: 50%;
    transform: translate(-50%);
    top: 0;
    z-index: 999;
    border-bottom: 2px solid var(--dark-gray);
    box-sizing: border-box;
  }

  .top-bar {
    background: var(--dark);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    margin: 0 auto;

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

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

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

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

    /* Glavni container */
    .lang {
      position: relative;
      display: inline-block;
    }

    /* Link koji otvara dropdown */
    .lang > a {
      color: var(--white);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: color 0.3s ease;
      padding: 6px 10px 5px;
      align-items: center;
      font-size: 16px;
      font-weight: 500;
      font-family: "Inter", sans-serif;
      border: 2px solid #4d526d;
      border-radius: 30px;
    }

    .lang > a:hover {
      color: var(--main-color);
    }

    /* Strelica */
    .lang > a .lang-caret {
      display: inline-block;
      transition: transform 0.15s ease;
      /* brza rotacija */
      transform: rotate(0deg);
      /* početno udesno */
      font-size: 1rem;
      line-height: 16px;
      margin-top: -2px;
    }

    /* Dropdown box inicijalno sakriven */
    .lang .lang-select {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #fff;
      border: 2px solid var(--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;
    }

    /* Linkovi unutar dropdowna */
    .lang .lang-select 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;
    }

    .lang .lang-select a:hover {
      background-color: var(--main-color);
      color: #fff;
    }

    /* Hover efekt: otvara dropdown i rotira strelicu */
    .lang:hover .lang-select,
    .lang .lang-select.show {
      display: block;
    }

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

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

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

      @media (max-width: 1199px) {
        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: 30px;
      flex-wrap: wrap;

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

      &.show {
        @media (max-width: 1199px) {
          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: 1199px) {
          width: 100%;
        }

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

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

          &::after {
            content: "❯";
            margin-left: 10px;
            font-size: 1rem;
            line-height: 16px;
            font-weight: 800;
            display: inline-block;
            transform: rotate(0deg);
            transition: transform 0.3s ease;
            margin-top: -2px;
          }

          /* Hover rotacija samo za desktop */
          @media (min-width: 1200px) {
            &:hover::after {
              transform: rotate(90deg);
            }
          }

          /* Na mobilnom – rotira se samo kad ima .open */
          &.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: 1199px) {
            position: static;
            display: none;
            background: transparent;

            &.show {
              display: block;
            }
          }

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

            @media (max-width: 1199px) {
              color: var(--white);
            }

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

            @media (max-width: 1199px) {
              padding: 6px 15px 6px 30px;
            }

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

    ul.menu li.menu-item:not(:has(.dropdown)) > a::after {
      content: none;
    }

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

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 99;
  }

  .page-content {
    z-index: 1;
    margin-top: 82px;
    padding-block: 30px;
  }

  /* subcategorie page header */

  .hero-subpage {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    margin-bottom: 50px;

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

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

    .text-container {
      width: 100%;
      text-align: center;
      padding-block: 30px 50px;

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

      .label {
        border: none;
        background: none;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        text-transform: uppercase;
        padding: 10px 0;
      }

      h1 {
        font-size: 42px;
        font-weight: 300;
        color: var(--white);
        line-height: 1.3;
        margin-bottom: 10px;
        font-family: "Outfit", sans-serif;

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

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

    .img-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      width: 100%;

      @media (max-width: 991px) {
        grid-template-columns: 1fr;
        padding: 0;
      }

      .btnNone {
        background: none;
        border: 0px;
        outline: none;
        cursor: pointer;

        .img-box {
          height: 380px;
          border-radius: 20px;
          overflow: hidden;
          background-size: cover;
          background-position: center;
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          justify-content: flex-end;
          padding: 20px;
          transition: transform 0.5s ease;

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

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

          p {
            color: #fff;
            width: 100%;
            text-align: left;
            margin: 0;
            padding: 10px;
            font-size: 1.1rem;
          }
        }
      }
    }

    .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);
      max-width: fit-content;
    }

    .btn {
      border: none;
      border-radius: 30px;
      background: var(--main-color);
      color: var(--white);
      text-align: center;
      font-size: 24px;
      box-sizing: content-box;
      max-width: 170px;
      height: 40px;
      position: relative;
      padding: 6px 5px;
      text-align: center;
      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%);
      }
    }
  }

  /* Banners */

  .banner {
    width: 100%;
    border-radius: 30px;
    position: relative;
    transition: 0.5 ease-in;
    overflow: hidden;
    background: var(--dark-gray);
    justify-content: space-between;

    .banner-content {
      height: 100%;
      display: flex;
      flex-direction: column;
      z-index: 1;
      gap: 30px;
      padding: 30px 90px;

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

      h2 {
        font-size: 42px;
        font-weight: 200;
        text-transform: uppercase;

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

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

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

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

  /* Modal */

  .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;
    flex-direction: column;
    position: fixed;
    margin: auto;
    width: 95%;
    max-width: 540px;
    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: 100%;
      padding: 30px 50px 10px;
      height: -webkit-fill-available;

      img {
        width: 80px;
        margin: 0;
      }
    }

    .btn {
      border: none;
      border-radius: 8px;
      width: 100%;
      max-width: 220px;
      height: 50px;
      color: #fff;
      font-family: "Outfit", sans-serif;
      font-size: 16px;
    }

    .btn-login {
      cursor: pointer;
      background: var(--main-color);
      background: linear-gradient(
        80deg,
        rgba(47, 196, 238, 1) 0,
        rgba(186, 123, 213, 1) 79%
      );
      padding: 12px;
    }

    .formcontent {
      width: 100%;
      padding: 0 50px 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;
    }

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

    .login-check {
      border: 1px solid var(--gray);
      background: var(--dark-gray);
      position: absolute;
      top: 0;
      left: 0;
      height: 25px;
      width: 25px;
      border-radius: 3px;
    }

    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(--gray);
      font-family: "Inter", sans-serif;
    }

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

    .login-check::after {
      left: 7px;
      top: 2px;
      width: 5px;
      height: 10px;
      border: solid var(--main-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[type="checkbox"]:checked ~ .login-check::after {
      display: block;
    }

    .btn-login {
      cursor: pointer;
      background: var(--main-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;
    }
  }

  .contact-popup {
    display: flex;
    flex-direction: row;
    gap: 50px;
    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;
    }

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

    .login-check {
      background: var(--main-color);
      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: "Inter", sans-serif !important;
      color: var(--gray);
    }

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

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

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

    .tab {
      button {
        padding: 14px 0;
      }
    }

    .tabcontent {
      padding: 0;
    }
  }

  .contact-info {
    flex: 1;
    margin-top: 4rem;

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

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

  #Sign-up {
    display: block;
  }

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

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

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

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

  .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 #4d526d;
    padding: 0;

    img {
      max-width: 15px;
    }
  }

  /* Tabs */

  .tab {
    overflow: hidden;

    button {
      background-color: inherit;
      float: left;
      border: none;
      outline: 0;
      cursor: pointer;
      padding: 14px 16px;
      font-size: 17px;
      font-family: "Outfit", sans-serif;
    }

    button:hover {
      border-bottom: 2px solid var(--main-color);
    }

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

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

  /* Slider */

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

  .swiper-slide {
    margin: 10px 0;

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

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

    img {
      display: block;
      width: 178px;
      height: 178px;
      object-fit: cover;

      @media (min-width: 992px) {
        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;

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

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

  /* Single */

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

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

    .app-description {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      flex-direction: column;
      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 {
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 1.5;

        &:empty {
          display: none;
        }
      }
    }

    a {
      width: 100%;
    }

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

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

    img {
      max-width: 180px;
      height: 180px;
      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;
      }
    }
  }

  .more-like-this {
    width: 100%;
    max-width: 300px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    height: fit-content;

    @media (max-width: 991px) {
      max-width: 100%;
      min-width: auto;
      margin-inline: auto;
    }
  }

  .items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;

    a {
      width: 100%;
      display: flex;
      gap: 10px;
      transition: all 0.2s ease-in-out;

      &:hover {
        transform: scale(0.95);

        h3,
        p {
          color: var(--white);
        }
      }

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

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

      a {
        width: 100%;
      }
    }
  }

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

  .text {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    gap: 5px;

    h3 {
      font-size: 15px;
      line-height: 18px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 5px;
    }

    .description {
      font-size: 12px;
      line-height: 15px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      /* number of rows */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .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;
      transition: 0.2s ease-in-out;

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

      img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
      }

      h3 {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.2;
        margin-bottom: 5px;
      }
    }
  }

  .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;
      transition: 0.2s ease-in-out;

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

      &:hover {
        transform: scale(0.95);
        color: var(--dark);
      }

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

      h3 {
        font-size: 14px;
        line-height: 18px;
        margin: 10px 0;
        color: var(--white) !important;
      }

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

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

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

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

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

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

    &.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(--main-color);
          transform: none !important;
          cursor: default;

          label {
            text-shadow: none;
            color: var(--main-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;
          }
        }

        &#filter-all {
          background: #7b3fa6;
        }

        &#filter-marvel {
          background: #ed212c;
        }

        &#filter-disney {
          background: #5fc3f6;
        }

        &#filter-lego {
          background: #fec30e;
        }

        &#filter-moira {
          background: #2cbabc;
        }
      }
    }

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

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

    input {
      display: none;
    }

    label {
      display: block;
      transition: all 0.5s ease;
      margin: 5px;
      background: 0;
      border: 1px solid #3d3d3d;
      padding: 10px 20px 10px 15px;
      border-radius: 30px;
      color: var(--main-color);
      font-weight: 600;
      width: max-content;

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

    input[type="radio"]:checked + label {
      background-color: var(--main-color);
      color: var(--white);
      border-color: var(--main-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: "Inter", sans-serif;
    margin: 30px auto;
    display: block;
    width: 100%;
  }

  option {
    font-family: "Inter", sans-serif;
  }

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

    ul {
      margin-block: 15px;

      li {
        margin-block: 10px;
      }
    }

    p {
      margin-block: 15px;
    }
  }

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

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

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

  .mySelection {
    margin: 20px 0;

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

    .app-selection a {
      display: flex;
      flex-direction: row;

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

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

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

    .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: 0.5rem 1.25rem;
        font-size: 14px;
        line-height: 15px;
        margin-top: 6px;
      }
    }

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

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

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

    .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(--main-color);
      }
    }

    .selection-container:nth-child(3) {
      display: none;
    }

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

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

  .stars {
    line-height: 12px;
    padding-bottom: 4px;

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

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

  .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: 20px;
  }

  .myGames .swiper-slide img.icon-app {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 5px;
  }

  .myBooks .swiper-slide .stars .btn-selection,
  .myGames.myGames .swiper-slide-content .stars .btn-selection {
    border: none;
    background: var(--main-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;
  }

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

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

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

  .audios .mySelection .btn-selection {
    color: var(--main-color);
  }

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

    .text {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 10px;

      p:empty {
        display: none;
      }

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

  .myGames h3 {
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 18px;
    text-align: left;
    width: 100%;
    font-weight: 500;
    padding: 0;
    margin: 0;
    min-height: 36px;

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

  .custom-wrap p,
  .myGames p {
    color: var(--gray);
    font-size: 12px;
    line-height: 16px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 10px 0;
    height: 32px;
  }

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

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

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

  .myBooks .swiper-slide a {
    flex-direction: row-reverse;
    align-items: center;
  }

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

  .myBooks .swiper-slide a > div {
    margin: 0 5px;
    font-size: 14px;
  }

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

        img {
          width: 20px;
        }

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

    h2 {
      font-size: 24px;
      line-height: 32px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--gray);
    }

    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;

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

    span {
      display: flex;
      position: absolute;
      right: 0;
      top: 5px;
      color: var(--white);
      /*007*/

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

  video {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .audios .mySelection .selection-wrap {
    max-width: 750px;

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

      .btn-selection {
        margin: 0;
      }
    }
  }

  article {
    color: var(--white) !important;

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

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

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

    h2, h3 {
      color: var(--white) !important;
      font-weight: 600;
      line-height: 1.2;
      margin-block: 30px 10px;
    }

    p, ul li {
      color: var(--white);
    }
  }

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

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

  .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: 0.25rem;
  }

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

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

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

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

    .btn {
      border: none;
      border-radius: 30px;
      background: var(--main-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;
  }

  footer {
    border-top: 1px solid var(--dark-gray);
    margin-top: 50px;
    /* background: url(../images/footer-bck.svg) no-repeat center center;
  background-size: cover; */

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

      .logo {
        margin: 0 0 20px;

        img {
          max-width: 50px;
        }
      }

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

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

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

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

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

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

  .terms-page {
    margin: 50px auto;

    p {
      line-height: 25px;
    }

    h4 {
      margin: 15px 0;
    }
  }

  .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(--main-color);
      border-radius: 6px;
      color: var(--main-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(--main-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(--main-color);
          color: var(--main-color);
          background: rgba(var(--main-color-rgb), 0.1);
        }

        &.active {
          background: var(--main-color);
          color: var(--white);
          border-color: var(--main-color);

          &:hover {
            background: var(--main-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(--main-color);
          color: var(--main-color);
          background: rgba(var(--main-color-rgb), 0.1);
        }

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

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

  /* RTL Support for pagination */
  [dir="rtl"] .pagination-btn {
    text-align: center;

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

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

  .page-title {
    color: var(--white);
    padding-block: 0 50px;
    position: relative;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    color: var(--gray);
    border-bottom: 1.5px solid #202f4e;

    h1 {
      text-align: center;
    }
  }

  /* MAIN SLIDER */

  #heroSlider.slider {
    margin-block: 50px;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;

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

  .slider-container {
    height: 480px;
    width: 100%;
    position: relative;
  }

  #heroSlider {
    .slide {
      height: 480px;
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      visibility: hidden;
      border-radius: 15px;
      overflow: hidden;
      transition:
        opacity 0.9s ease,
        visibility 0.9s ease;

      @media (prefers-reduced-motion: reduce) {
        transition-duration: 0.01ms;
      }

      &.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;

        .slide-content {
          opacity: 1;
          transform: translateY(0);
        }
      }

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
          90deg,
          rgba(0, 0, 0, 0.65),
          rgba(0, 0, 0, 0.05)
        );
      }
    }

    .slide-content {
      position: absolute;
      z-index: 2;
      bottom: 30px;
      left: 30px;
      transform: translateY(-30px);
      max-width: 480px;
      color: #fff;
      opacity: 0;
      transition:
        opacity 0.7s ease,
        transform 0.7s ease;
      background: #000000d9;
      padding: 30px;
      border-radius: 20px;

      @media (max-width: 767px) {
        left: 6%;
        right: 6%;
        top: 35%;
      }

      @media (prefers-reduced-motion: reduce) {
        transition-duration: 0.01ms;
      }

      h2 {
        line-height: 1.1;
        margin: 0 0 15px;
        font-weight: 500;
        font-size: 18px;

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

      p {
        font-size: clamp(20px, 4vw, 32px);
        line-height: 1.1;
        margin: 0 0 25px;
        font-weight: 700;
      }
    }

    .slider-nav {
      position: relative;
      display: flex;
      gap: 10px;
      width: 100%;

      @media (max-width: 767px) {
        bottom: 18px;
        gap: 7px;
        width: 94%;
      }
    }

    .nav-item {
      position: relative;
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 20px;
      background: var(--dark-gray);
      border: 1px solid var(--dark-gray);
      border-radius: 10px;
      color: #fff;
      cursor: pointer;
      text-align: left;
      overflow: hidden;
      transition:
        background 0.3s,
        border-color 0.3s;

      @media (min-width: 1200px) {
        flex-direction: column;
        align-items: flex-start;
      }

      @media (max-width: 767px) {
        flex-direction: column;
        align-items: center;
        padding: 6px;
        gap: 0;
      }

      &:hover {
        background: rgba(0, 0, 0, 0.85);
      }

      &.active {
        background: rgba(0, 0, 0, 0.85);
        border-color: var(--dark-gray);

        &:after {
          animation: heroSliderProgress 3s linear forwards;

          @media (prefers-reduced-motion: reduce) {
            animation: none;
            transform: scaleX(1);
          }
        }
      }

      img {
        width: 80px;
        height: 80px;
        min-width: 80px;
        object-fit: cover;
        border-radius: 15px;

        @media (min-width: 1200px) {
          width: 60px;
          height: 60px;
          min-width: 60px;
        }

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

      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 5px;
        width: 100%;
        background: var(--dark-gray);
        transform: scaleX(0);
        transform-origin: left;
      }
    }

    .nav-text {
      min-width: 0;

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

      h3 {
        font-size: 16px;
        font-weight: 700;
      }

      p {
        font-size: 14px;
        line-height: 1.2;
        color: var(--gray);
        margin: 0;
      }
    }
  }

  @keyframes heroSliderProgress {
    from {
      transform: scaleX(0);
    }

    to {
      transform: scaleX(1);
    }
  }

  /******** Media queries ********/

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

    body {
      font-size: 0.9rem;
      overflow-x: hidden;
      height: 100%;
    }

    .main-container {
      position: relative;
    }

    main {
      flex: 100%;
    }

    .content::after {
      display: none;
    }

    .opened .content:after {
      opacity: 0 !important;
    }

    .Slider .swiper-slide {
      height: 365px !important;
    }

    .filters {
      justify-content: center;
    }

    .myTips .swiper-slide,
    .screenshoots .myTips .swiper-slide {
      width: 100%;
    }

    .myGames p {
      display: -webkit-box;
    }

    .myTips h3 {
      width: 100%;
    }

    .terms {
      margin-top: 10px;
    }

    .contact-popup #Sign-up {
      display: flex;
      gap: 5rem;
    }

    .contact-popup #Sign-up div {
      flex: 3;
    }

    .slider {
      gap: 10px;
      /* nema razmaka */
    }

    .slide {
      flex: 0 0 100%;
      scroll-snap-align: start;
      position: relative;
      border: none;
      min-width: 100%;
      margin: 0;
      /* bez margine */
    }
  }
}
