.row {
  @include flex-direction(column);
  padding: 0 !important;

  &::after {
    width: 8.5rem !important;
    height: 4.8rem !important;
    box-shadow: none !important;
    padding-right: 1.5rem !important;
    background-position-x: -16px !important;
    background-position-y: -16px !important;
  }
}

.topsection {
  @include flex-align(center, center);
  height: fit-content;

  > a {
    margin: 0.8rem 0;
  }

  img {
    border-radius: 0.8rem;
  }
}

.bottomsection {
  background: linear-gradient(109deg, rgba(2, 3, 21, 0.77) 0%, rgba(43, 43, 51, 0.6) 100%);
  display: flex;
  flex-direction: column;
  // justify-content: space-between;
  gap: 1.6rem;
  padding: 1.6rem 2.4rem;
  height: 100%;

  > div:first-child {
    gap: 1rem;
    @include flex-align(center, space-between);

    > a {
      color: white;
    }
  }

  > a:last-of-type {
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.032px;
    text-decoration-line: underline;
    color: white;
    text-align: center;
  }

  > div:last-of-type {
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;

    > a {
      font-weight: 600;
      text-decoration-line: underline;
    }
  }
}

.oneliner {
  // width: 90%;
  background: #1b1b1c;
  border-radius: 0.8rem;
  background-image: repeating-linear-gradient(
      39deg,
      #ffdb20,
      #ffdb20 13px,
      transparent 13px,
      transparent 20px,
      #ffdb20 20px
    ),
    repeating-linear-gradient(
      129deg,
      #ffdb20,
      #ffdb20 13px,
      transparent 13px,
      transparent 20px,
      #ffdb20 20px
    ),
    repeating-linear-gradient(
      219deg,
      #ffdb20,
      #ffdb20 13px,
      transparent 13px,
      transparent 20px,
      #ffdb20 20px
    ),
    repeating-linear-gradient(
      309deg,
      #ffdb20,
      #ffdb20 13px,
      transparent 13px,
      transparent 20px,
      #ffdb20 20px
    );
  background-size: 1px 100%, 100% 1px, 1px 100%, 100% 1px;
  background-position: 0 0, 0 0, 100% 0, 0 100%;
  background-repeat: no-repeat;
  padding: 1.6rem;
  text-align: center;

  span {
    color: white;
    font-size: 2.5rem;
    line-height: 28px;
  }

  > a:first-child {
    padding: 0 !important;
  }

  > a {
    max-width: unset;
    min-height: 6rem;
    font-weight: 700;
    line-height: 20px;
    width: 100%;
    text-decoration: none !important;
  }

  > a:nth-child(2) {
    margin-top: 1.6rem;
  }
}

.ratingAuthor {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;

  > div {
    font-weight: 700;
    line-height: 22px;
    font-size: 16px;
    gap: 0;
    min-width: auto;

    > span {
      font-weight: 700;
      line-height: 22px;
      font-size: 16px;
    }

    > span:first-child {
      color: #ffdb20;
      margin-right: 0.4rem;
    }
  }

  > div:nth-child(2) {
    position: relative;

    > img:first-child {
      width: 2rem;
      height: 2rem;
      border-radius: 100%;
    }

    > img:last-child {
      position: absolute;
      width: 1rem;
      height: 1rem;
      bottom: 0.4rem;
      right: -0.5rem;
    }
  }
}

.ribbons {
  position: absolute;
  top: -1.2rem;
  right: 1.6rem;
  height: 1.9rem;
  display: flex;
  flex-direction: row;

  @include min(tablet) {
    right: 6.6rem;
  }

  > span {
    border-radius: 8px;
    background: #5ce482;
    color: #1c1a28;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    margin-left: 0.8rem;
  }
}

.tnc {
  font-size: 1rem;
  font-weight: 400;
  color: '#fff';
  max-height: 4.2rem;
  overflow-y: auto;
  padding-right: 1rem;

  &::-webkit-scrollbar {
    width: 4px;
  }

  &::-webkit-scrollbar-track {
    background: #1b1a37;
    border-radius: 10rem;
  }

  &::-webkit-scrollbar-thumb {
    background: #515156;
    border-radius: 10rem;
  }
}
