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

:root {
  --primary: #F50029;
  --white: #fff;
  --light: #f6f6f6;
  --light-gray: #f2f2f2;
  --gray: #CECECE;
  --dark-gray: #333333;
  --dark: #180609;
  --black: #000;
}

body {
  font-size: 1rem;
  color: var(--white);
  background-color: var(--black);
  font-family: 'Poppins', sans-serif;
  position: relative;
  line-height: 1.4;

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

* {
  box-sizing: border-box;
}

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

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

h1 {
  font-size: 42px;
  line-height: 48px;
  font-weight: 800;
  text-transform: uppercase;

  &.section-title {
    font-size: 30px;
    text-transform: inherit;
    text-align: center;
  }
}

h2 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  font-size: 21px;
  line-height: 28px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}




/* layout */

.section {
  margin: 60px 0 !important;

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

.w-100 {
  width: 100%;
}

.d-flex {
  display: flex;
}

.tablet-column {
  @media (min-width: 768px) and (max-width: 1199px) {
    flex-direction: column;
  }
}

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

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

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

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

  &.md {
    max-width: 1280px;
  }

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

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

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

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

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

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

.flex-25 {
  width: 25%;

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

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

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

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

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

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

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

.btn {
  border: 1px solid var(--dark);
  color: var(--dark);
  border-radius: 25px;
  width: 100%;
  max-width: fit-content;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  gap: 10px;
  padding: 8px 12px;
  line-height: 20px;
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;

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

  .arrow-left {
    color: var(--primary) !important;
    padding: 12px;
    width: auto;
    height: auto;
    border: 2px solid var(--primary);
    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);
    }
  }
}

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



/* Topbar */

.main-menu {
  display: block;
  width: 100%;
  padding: 15px 60px;
  height: 80px;
  box-sizing: border-box;
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: .3s;
  background: transparent;

  &.scrolled {
    background: var(--dark);
  }

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

  .top-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: center;
    width: 100%;
    margin: 0 auto;

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

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

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

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

    /* Glavni container */

    .lang {
      position: relative;
      display: inline-block;
      font-family: 'Poppins', sans-serif;

      /* Link koji otvara dropdown */
      > a {
        color: var(--white);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        transition: color 0.3s ease;
        padding: 12px 10px;
        font-size: 20px;
        font-weight: 500;
        font-family: 'Poppins', sans-serif;
      }

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

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

      /* Dropdown box inicijalno sakriven */
      .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;
      }

      /* Linkovi unutar dropdowna */
      .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-select a:hover {
        background-color: var(--primary);
        color: #fff;
      }

      /* Hover efekt: otvara dropdown i rotira strelicu */
      .lang: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: 40px;
      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);
          }

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

          /* Hover rotacija samo za desktop */
          @media (min-width: 768px) {
            &: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: 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: var(--white);
            }

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

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

      li {
        a {
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: -.25px;
          font-size: 1rem;
        }
      }
    }

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

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

    .logo {
      margin: 0 auto;

      img {
        max-width: 150px;
      }
    }

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

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




/* Page */

.page-content {
  padding-top: 80px;
}

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

  img {
    transition: all 0.2s ease-in-out;
    filter: brightness(0.8);

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



/* Hero */
#seriesHero {
  padding-top: 80px;
  --hero-height: 720px;
  --fade-duration: 500ms;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
  background: #050505;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;

  /* Background videos */

  .hero-backgrounds,
  .hero-video,
  .hero-shade,
  .hero-transition {
    position: absolute;
    inset: 0;
  }

  .hero-backgrounds {
    z-index: -3;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
  }

  .hero-video.active {
    opacity: 1;
    visibility: visible;
  }

  /* Cinematic gradient */

  .hero-shade {
    z-index: -2;
    background:
      linear-gradient(rgba(0, 0, 0, .25) 0%,
        rgba(0, 0, 0, .50) 50%,
        rgba(0, 0, 0, 1) 100%), linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 45%);
  }

  /* Black fade overlay */

  .hero-transition {
    z-index: 20;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--fade-duration) ease-in-out;
  }

  .hero-transition.visible {
    opacity: 1;
  }

  /* Main layout */

  .hero-layout {
    width: min(100% - 100px, 1500px);
    height: 100%;
    margin: auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 60px;
  }

  /* Left content */

  .hero-content {
    max-width: 650px;
    transition:
      opacity 350ms ease,
      transform 350ms ease;
  }

  .hero-subtitle {
    display: block;
    color: var(--white);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 15px;
  }

  .hero-title {
    font-size: clamp(48px, 5vw, 80px);
    line-height: 1.02;
    letter-spacing: -2px;
    font-weight: 800;
    margin: 0 0 25px;
  }

  .hero-description {
    font-size: 16px;
    max-width: 530px;
    margin: 0 0 35px;
    color: var(--gray);
  }

  .hero-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 30px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s ease, transform .2s ease;

    &:hover {
      background: #e11d48;
      transform: translateY(-2px);
    }

    &:focus-visible {
      outline: 3px solid #fff;
      outline-offset: 4px;
    }
  }

  .hero-thumb:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
  }


  /* Right thumbnail navigation */

  .hero-navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .hero-thumb {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #151515;
    color: #fff;
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: border-color .3s ease, transform .3s ease;

    &:hover {
      transform: translateX(-5px);

      img {
        transform: scale(1.07);
      }
    }

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

    img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s ease;
    }

    &::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg,
          rgba(0, 0, 0, .88),
          rgba(0, 0, 0, .2));
    }
  }


  .thumb-content {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 12px;
    bottom: 16px;
  }

  .thumb-category {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
  }

  .thumb-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .thumb-episodes {
    display: block;
    font-size: 11px;
    color: var(--gray);
  }

  /* Active thumbnail progress */

  .thumb-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, .25);
  }

  .thumb-progress::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
  }

  @media (max-width: 991px) {
    height: auto;
    min-height: 720px;
  }
}

.hero-thumb.active.running .thumb-progress::after {
  animation: heroProgress 8s linear forwards;
}

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

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 991px) {

  #seriesHero .hero-layout {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    align-content: end;
    gap: 35px;
    padding: 110px 0 35px;
    box-sizing: border-box;
  }

  #seriesHero .hero-title {
    font-size: clamp(42px, 8vw, 65px);
  }

  #seriesHero .hero-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #seriesHero .hero-thumb {
    height: 110px;
  }

  #seriesHero .hero-thumb:hover {
    transform: none;
  }

  #seriesHero .thumb-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #seriesHero .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }

  #seriesHero .hero-title {
    font-size: 42px;
  }

  #seriesHero .hero-navigation {
    gap: 8px;
  }

  #seriesHero .hero-thumb {
    height: 100px;
  }

  #seriesHero .thumb-content {
    left: 10px;
    bottom: 12px;
  }

  #seriesHero .thumb-title {
    font-size: 14px;
  }

  #seriesHero .thumb-category,
  #seriesHero .thumb-episodes {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #seriesHero .hero-transition {
    transition: none;
  }

  #seriesHero .hero-thumb,
  #seriesHero .hero-thumb img,
  #seriesHero .hero-content {
    transition: none;
  }
}

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

    @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(--primary);
      line-height: 1.3;
      margin-bottom: 10px;

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

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

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

  .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.20);
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    color: var(--white);
    max-width: fit-content;
  }

  .btn {
    border: none;
    border-radius: 30px;
    background: var(--primary);
    color: var(--white);
    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%);
    }
  }
}


/* Banners */

.banner {
  min-height: 420px;
  padding: 60px;
  width: 100%;
  border-radius: 15px;
  position: relative;
  transition: 0.5s 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;
    }
  }
}

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

.arrow-down::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;
  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: 'Poppins', sans-serif;
    font-size: 16px;
  }

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

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

.tab {
  overflow: hidden;

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

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

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

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

.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(--primary);
    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: "Poppins", sans-serif !important;
    color: var(--light);
  }

  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(--primary);
    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;
      }

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

#Sign-up {
  display: block;
}

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

.forgot {
  color: #797979;
}

.login-popup {
  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 {
    background: var(--light-gray);
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
  }

  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: 'Poppins', 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: 9px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid var(--primary);
    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(--primary);
    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;
  }
}

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

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

.intro .logo {
  display: none;

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

.intro .logo img {
  margin: 20px auto 0;
}

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

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

li.have-children ul li a:after {
  display: none;
}

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

li.have-children ul li a {
  padding: 0 0 10px 75px;
  text-transform: none;
}

li.have-children ul li a:hover {
  color: var(--dark);
  background-color: var(--light);
  padding: 0 0 10px 75px;
}

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




/* Dropdown */

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

.dropdown-country dd ul li a span:first-child,
.dropdown-country 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;
}

.dropdown-country dt a span {
  cursor: pointer;
  display: block;
  padding: 5px;
  white-space: nowrap;
}

.dropdown-country dt a img {
  position: relative;
  z-index: 1;
}

.dropdown-country dt a span span: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;
}

.dropdown-country dt a span span {
  display: inline-block;
  padding: 0;
}

.dropdown-country dt a span span:first-child {
  padding: 0;
}

.dropdown-country dd {
  position: relative;
}

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

.dropdown-country a:hover {
  color: #5d4617;
}

.dropdown-country dt a:focus,
.dropdown-country dt a:hover {
  color: #5d4617;
}

.dropdown-country dt a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 2px 4px;
  top: 8px;
}

.dropdown-country dd 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;
}

nav dd ul li {
  width: 100%;
}

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

.dropdown-country dd ul::-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);
}

.dropdown-country dd ul::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
}

.dropdown-country dd ul::-webkit-scrollbar-thumb:window-inactive {
  background: #00f;
}

.dropdown-country span.value {
  display: none;
}

.dropdown-country dd ul li a {
  padding: 5px;
  display: block;
  background: 0 0;
  font-size: 12px !important;
}

.dropdown-country dd ul li a:hover {
  background-color: #ddd;
}

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

dl.dropdown-country span:nth-child(3) {
  color: rgba(0, 0, 0, 0.4);
}

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

dl.dropdown-country span:nth-child(3) {
  float: right;
}

dl.dropdown-country 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;
}




/* Slider */

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

.swiper-slide {
  margin: 10px 0;
}

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

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

.Slider .swiper-slide::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%);
}

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

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

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

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

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

.swiper-slide .caption span {
  font-size: 0.8em;
}

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

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

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

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

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

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

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

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

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

.single-app .app-description h1 {
  font-size: 1.6rem;
}

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

.single-app a {
  width: 100%;
}

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

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

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

.more-like-this {
  width: 30%;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  height: fit-content;
  min-width: 360px;

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

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

.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: flex-start;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-gray);
    color: var(--white) !important;

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

    h3 {
      font-size: 15px;
      font-weight: 600;
      line-height: 1.2rem;
      text-transform: uppercase;
    }

    .stars {
      margin-bottom: 5px;
    }

    p {
      font-size: 13px;
      line-height: 1.2;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      /* number of lines to show */
      line-clamp: 3;
      -webkit-box-orient: vertical;
    }
  }
}

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

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

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

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

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

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




/* Filters */

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

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

      &: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 (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 var(--dark-gray);
    padding: 10px 20px 10px 15px;
    border-radius: 30px;
    color: var(--primary);
    font-weight: 600;
    width: max-content;
  }

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

  input[type="radio"]:checked+label,

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

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

.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: 'Poppins', sans-serif;
  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;
  }
}

option {
  font-family: 'Poppins', sans-serif;
}

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

.app-description {
  h1 {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
  }

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

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

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

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

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

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

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

    p:empty {
      display: none;
    }

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




/* Intro */

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

  @media (max-width: 480px) {
    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;
  }

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




/* Breadcrumbs */

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

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

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

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

.breadcrumbs h3 {
  line-height: 10px;
}

.breadcrumbs:last-child {
  gap: 0.4rem;
}

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

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

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

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

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

      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);
    margin-bottom: 20px;
  }

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

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

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

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

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

.flag-grid {
  justify-content: space-between;

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

.videos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  img {
    width: 100%;
    height: 360px;
    object-fit: cover;
  }

  .videos-wrap {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    width: 100%;
    max-width: 100%;

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

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

.flag-wrap {
  background: 0 0;
  box-shadow: none;
  margin: 0;
  padding: 12px 8px 0;
  width: 100%;
  max-width: 134px;

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

  h3 {
    height: auto;
  }
}



/* Card */

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

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

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

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




/* Hero */

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

    @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: var(--white);
    text-align: center;
    font-size: 24px;
    box-sizing: content-box;
    max-width: 280px;
    height: 40px;
    position: relative;
    padding: 6px 5px;
    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;

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

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

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

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

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

.terms-page {
  margin: 50px auto;
}

.terms-page p {
  line-height: 25px;
}

.terms-page h4 {
  margin: 15px 0;
}

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

.page-title {
  color: var(--white);
  padding: 60px 20px;
  position: relative;
  isolation: isolate;

  width: 100%;
  box-sizing: border-box;
  padding: 2.2rem 1rem;

  color: #fff;
  background: #090909;
  border-radius: 22px;

  text-align: center;


  h1 {
    text-align: center;
  }
}

.page-title::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;
}

.contact-form {

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

  textarea {
    min-height: 120px;
  }
}

.videos-grid .videos-wrap {
  width: calc((100% - (4 * 20px)) / 5);

  @media (min-width: 1280px) and (max-width: 1439px) {
    width: calc((100% - (3 * 20px)) / 4);
  }

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

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

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




/* Series episode player */

.episodes {
  margin-top: 32px;
}

.episodes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 24px;
  align-items: stretch;

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

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

.episodesSlider {
  width: 100%;
  height: min(78vh, 760px);
  margin: 0;
  border-radius: 18px;
  background: #090909;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);

  @media (max-width: 767px) {
    height: 70vh;
    border-radius: 14px;
  }
}

.episodes-list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  border-radius: 18px;
  background: #090909;

  @media (max-width: 767px) {
    padding: 16px;
    border-radius: 14px;
  }
}

.episodes-list h4 {
  margin-bottom: 18px;
}

.episode-selectors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  flex: 1;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  padding-right: 4px;

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

.episode-selector {
  min-height: 42px;
  padding: 8px 4px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.episode-selector:hover,
.episode-selector:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.episode-selector.active {
  background: var(--primary);
  color: #fff;
}

.episodesSlider .swiper-slide {
  margin: 0;
}

.episode-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  background: #090909;
}

.episode-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #090909;
}

.episode-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.episodesSlider .swiper-button-prev,
.episodesSlider .swiper-button-next {
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  transition: background 0.2s ease;
}

.episodesSlider .swiper-button-prev:hover,
.episodesSlider .swiper-button-next:hover {
  background: var(--primary);
}

.episodesSlider .swiper-button-prev::after,
.episodesSlider .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

.episodesSlider .swiper-pagination {
  top: 50%;
  right: 12px;
  bottom: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-50%);
}

.episodesSlider .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: var(--white);
  opacity: 0.55;
}

.episodesSlider .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 1;
}

.episodesSlider .swiper-button-prev,
.episodesSlider .swiper-button-next {
  padding: 10px 10px 12px 10px;

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











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

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

  .main-container {
    position: relative;
  }

  .menu-static {
    flex: 20%;
  }

  main {
    flex: 100%;
  }

  .filters .myFilters .swiper-slide {
    max-width: 115px;
  }

  .myFilters .swiper-slide {
    margin-right: 18px !important;
  }

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

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

  article img {
    height: 450px;
  }

  .articles-grid {
    justify-content: left;
  }

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

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

  .contaact-popup #Sign-up .form {
    flex: 4;
    margin-top: 20px;
  }

  .menu-static {
    flex: 15%;
  }

  .swiper-slide img {
    height: 100%;
  }

  .myApps .swiper-pagination-bullets {
    display: none !important;
  }

  .bottom-menu {
    display: none;
  }

  footer .footer-wrap {
    margin-bottom: 0;
  }
}

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

  .main-container {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 767px) {

  .slider-wrapper {
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }

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

  .scroll-wrapper {
    margin: 20px 0;
    padding: 20px 0;
  }
}

@media (max-width: 320px) {
  .mySelection .app-description .stars div {
    font-size: 13px;
  }

  .mySelection .app-description {
    margin: 0 10px;
  }
}