* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f7f6fb;
}

.container {
  max-width: 320px;
  padding: 0 16px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 24px;
  }
}
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding: 0 135px;
  }
}

.section {
  padding: 16px 0;
}
@media screen and (min-width: 768px) {
  .section {
    padding: 24px 0;
  }
}
@media screen and (min-width: 1440px) {
  .section {
    padding: 40px 0;
  }
}

.title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1d1c21;
  margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .title {
    font-size: 44px;
    line-height: 1.05;
    margin-bottom: 24px;
  }
}
@media screen and (min-width: 1440px) {
  .title {
    margin-bottom: 40px;
  }
}

.text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #65627d;
}

@media screen and (min-width: 1440px) {
  .hero {
    overflow: hidden;
  }
}
.hero .container {
  padding: 16px 0;
}
@media screen and (min-width: 768px) {
  .hero .container {
    position: relative;
    padding: 80px 0;
  }
}
@media screen and (min-width: 1440px) {
  .hero .container {
    padding: 88px 0;
  }
}
@media screen and (min-width: 768px) {
  .hero__wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1440px) {
  .hero__wrapper {
    max-width: 620px;
  }
}
.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1d1c21;
  margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .hero__title {
    font-size: 48px;
    line-height: 1.04;
  }
}
@media screen and (min-width: 1440px) {
  .hero__title {
    font-size: 54px;
    line-height: 0.98;
  }
}
.hero__text {
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
  color: #1f1f1f;
}
.hero__img {
  display: none;
}
@media screen and (min-width: 768px) {
  .hero__img {
    display: block;
    position: absolute;
  }
  .hero__img--1 {
    top: 28px;
    left: 0;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--1 {
    width: 62px;
    height: 62px;
    left: -33px;
    top: 70px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--2 {
    top: 80px;
    left: 56px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--2 {
    width: 106px;
    height: 106px;
    top: 100px;
    left: 96px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--3 {
    top: 192px;
    left: 10px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--3 {
    width: 94px;
    height: 94px;
    top: 222px;
    left: -65px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--4 {
    top: 282px;
    left: 18px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--4 {
    width: 68px;
    height: 68px;
    top: 264px;
    left: 168px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--5 {
    top: 26px;
    right: 136px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--5 {
    width: 72px;
    height: 72px;
    top: 68px;
    right: 155px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--6 {
    top: 68px;
    right: 6px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--6 {
    width: 100px;
    height: 100px;
    top: 76px;
    right: -71px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--7 {
    top: 190px;
    right: 72px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--7 {
    width: 112px;
    height: 112px;
    top: 212px;
    right: 88px;
  }
}
@media screen and (min-width: 768px) {
  .hero__img--8 {
    top: 294px;
    right: 26px;
  }
}
@media screen and (min-width: 768px) and (min-width: 1440px) {
  .hero__img--8 {
    width: 58px;
    height: 58px;
    top: 280px;
    right: -79px;
  }
}

@media screen and (min-width: 1440px) {
  .services .title {
    max-width: 690px;
    margin: 0 auto 40px;
  }
}
.services__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .services__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.services__list-item {
  background-color: #ffffff;
  border-radius: 30px;
  padding: 24px;
}
@media screen and (min-width: 768px) {
  .services__list-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media screen and (min-width: 1440px) {
  .services__list-item {
    flex-basis: calc((100% - 72px) / 4);
  }
}
.services__item-icon {
  margin-bottom: 8px;
}
.services__item-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.29;
  text-transform: capitalize;
  color: #1f1f1f;
  margin-bottom: 8px;
}

.clients {
  padding: 24px 0;
}
@media screen and (min-width: 1440px) {
  .clients {
    padding: 40px 0;
  }
}
.clients__wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .clients__wrapper {
    flex-direction: row;
    align-items: center;
    gap: 26px;
  }
}
@media screen and (min-width: 1440px) {
  .clients__wrapper {
    gap: 58px;
  }
}
.clients__text {
  font-size: 18px;
  line-height: 1.33;
  color: #65627d;
}
@media screen and (min-width: 768px) {
  .clients__text {
    line-height: 1.67;
  }
}
.clients__list {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .clients__list {
    gap: 26px;
  }
}
@media screen and (min-width: 1440px) {
  .clients__list {
    gap: 58px;
  }
}
.clients__list-item {
  display: none;
  flex-basis: calc((100% - 48px) / 4);
}
.clients__list-item:nth-child(-n+4) {
  display: block;
}
@media screen and (min-width: 768px) {
  .clients__list-item:nth-child(-n+4) {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .clients__list-item {
    flex-basis: calc((100% - 104px) / 5);
    width: 70px;
    height: 35px;
  }
  .clients__list-item:nth-child(-n+5) {
    display: block;
  }
}
@media screen and (min-width: 1440px) {
  .clients__list-item {
    display: block;
    flex-basis: calc((100% - 290px) / 5);
  }
}
@media screen and (min-width: 768px) {
  .clients__item-img {
    width: 100%;
    height: 100%;
  }
}

.about {
  background-color: #ffffff;
  padding: 32px 0 16px;
}
@media screen and (min-width: 1440px) {
  .about {
    padding: 48px 0 24px;
  }
}
@media screen and (min-width: 1440px) {
  .about {
    padding: 80px 0 40px;
  }
}
.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .about__wrapper {
    gap: 24px;
  }
}
@media screen and (min-width: 1440px) {
  .about__wrapper {
    align-items: center;
    flex-direction: row;
    gap: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .about__content {
    flex-basis: 41%;
  }
}
.about .title {
  text-align: left;
}
@media screen and (min-width: 768px) {
  .about .title {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 768px) {
  .about .text {
    font-size: 18px;
    line-height: 1.67;
    color: rgba(101, 98, 125, 0.7);
    margin-bottom: 20px;
  }
}
.about__btn {
  display: none;
  background-color: #7b61ff;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  padding: 16px 36px;
}
@media screen and (min-width: 768px) {
  .about__btn {
    display: inline-flex;
    padding: 16px 30px;
  }
}
.about__btn--mobile {
  display: flex;
}
@media screen and (min-width: 768px) {
  .about__btn--mobile {
    display: none;
  }
}
.about__btn-icon {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}
.about__btn-text {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.43;
  text-transform: capitalize;
  text-align: center;
  color: #ffffff;
}
.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .about__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 1440px) {
  .about__list {
    flex-basis: 59%;
  }
}
.about__list-item {
  background: linear-gradient(180deg, #b0a4ec 0%, #e7c5de 100%);
  border-radius: 30px;
  padding: 16px;
}
@media screen and (min-width: 768px) {
  .about__list-item {
    flex-basis: calc((100% - 16px) / 2);
    padding: 24px;
  }
  .about__list-item:first-child {
    flex-basis: 100%;
  }
}
.about__item-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 8px;
}
@media screen and (min-width: 768px) {
  .about__item-title {
    font-size: 80px;
    line-height: 1.06;
  }
}
.about__item-text {
  font-size: 14px;
  line-height: 1.64;
  color: rgba(255, 255, 255, 0.8);
}
@media screen and (min-width: 768px) {
  .about__item-text {
    font-size: 18px;
    line-height: 1.67;
  }
}

.portfolio {
  background-color: #ffffff;
}
.portfolio__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .portfolio__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.portfolio__list-item {
  display: none;
  border-radius: 30px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(32.2141113281px);
          backdrop-filter: blur(32.2141113281px);
  background-color: #f7f8fa;
}
@media screen and (min-width: 768px) {
  .portfolio__list-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media screen and (min-width: 1440px) {
  .portfolio__list-item {
    display: block;
    flex-basis: calc((100% - 48px) / 3);
  }
}
.portfolio__list-item:nth-child(-n+4) {
  display: block;
}
.portfolio__item-content {
  padding: 16px;
}
@media screen and (min-width: 768px) {
  .portfolio__item-content {
    padding: 24px;
  }
}
.portfolio__item-rating {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.portfolio__item-star {
  fill: #ffaa00;
}
.portfolio__item-info {
  margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .portfolio__item-info {
    min-height: 100px;
  }
}
.portfolio__item-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.65;
  text-transform: capitalize;
  color: #1f1f1f;
  margin-bottom: 4px;
}
.portfolio__item-text {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #65627d;
}
.portfolio__item-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.portfolio__item-btn {
  background-color: #b7b2d0;
  border-radius: 16px;
  padding: 10px 12px;
}

.popular {
  padding: 32px 0;
}
@media screen and (min-width: 768px) {
  .popular {
    padding: 48px 0;
  }
}
@media screen and (min-width: 1440px) {
  .popular {
    padding: 80px 0;
  }
}
.popular__wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .popular__wrapper {
    gap: 60px;
  }
}
@media screen and (min-width: 1440px) {
  .popular__wrapper {
    flex-direction: row-reverse;
  }
}
.popular__games {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .popular__games {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 60px;
  }
}
@media screen and (min-width: 1440px) {
  .popular__games {
    flex-basis: 50%;
  }
}
@media screen and (min-width: 768px) {
  .popular__games-item {
    flex-basis: calc((100% - 32px) / 3);
  }
}
.popular__games-img {
  border-radius: 30px;
  margin-bottom: 8px;
}
.popular__games-title {
  font-weight: 500;
  font-size: 18px;
  text-transform: capitalize;
  line-height: 1;
  color: #1f1f1f;
  margin-bottom: 8px;
}
.popular__games-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.popular__games-star {
  width: 16px;
  height: 16px;
  fill: #ffaa00;
}
@media screen and (min-width: 1440px) {
  .popular__rating {
    flex-basis: 50%;
  }
}
.popular__rating-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #5c5c5c;
  padding: 16px 0;
}
.popular__rating-item:first-child {
  padding-top: 0;
}
.popular__rating-item:last-child {
  border: none;
  padding-bottom: 0;
}
.popular__rating-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .popular__rating-left {
    gap: 96px;
  }
}
@media screen and (min-width: 1440px) {
  .popular__rating-left {
    gap: 42px;
  }
}
.popular__rating-number {
  min-width: 24px;
}
.popular__rating-name {
  max-width: 116px;
}
@media screen and (min-width: 768px) {
  .popular__rating-name {
    max-width: 212px;
  }
}
.popular__rating-number, .popular__rating-name {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.44;
  color: #1f1f1f;
}
.popular__rating-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media screen and (min-width: 768px) {
  .popular__rating-right {
    flex-direction: row;
    gap: 96px;
  }
}
@media screen and (min-width: 1440px) {
  .popular__rating-right {
    gap: 42px;
  }
}
.popular__rating-rating {
  display: flex;
}
.popular__rating-star {
  fill: #ffaa00;
}
.popular__rating-link {
  align-self: flex-start;
  line-height: 1.56;
  color: #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}

.feature {
  background-color: #ffffff;
  padding: 32px 0;
}
@media screen and (min-width: 768px) {
  .feature {
    padding: 24px 0;
  }
}
@media screen and (min-width: 1440px) {
  .feature {
    padding: 40px 0;
  }
}
.feature__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .feature__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 1440px) {
  .feature__list {
    gap: 24px;
  }
}
.feature__list-item {
  background: linear-gradient(180deg, #b0a4ec 0%, #e7c5de 100%);
  border-radius: 24px;
  padding: 16px;
}
@media screen and (min-width: 768px) {
  .feature__list-item {
    flex-basis: calc((100% - 32px) / 2);
  }
}
@media screen and (min-width: 1440px) {
  .feature__list-item {
    flex-basis: calc((100% - 48px) / 3);
    padding: 24px;
  }
}
.feature__item-number {
  display: inline-block;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.feature__item-info {
  min-height: 190px;
}
@media screen and (min-width: 768px) {
  .feature__item-info {
    min-height: 140px;
  }
}
.feature__item-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.29;
  text-transform: capitalize;
  color: #ffffff;
  margin-bottom: 8px;
}
.feature__item-text {
  font-size: 16px;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.8);
}

.testimonials {
  background-color: #ffffff;
}
.testimonials .title {
  margin-bottom: 8px;
}
@media screen and (min-width: 768px) {
  .testimonials .title {
    margin-bottom: 16px;
  }
}
.testimonials .text {
  text-align: center;
  margin-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .testimonials .text {
    margin-bottom: 24px;
  }
}
@media screen and (min-width: 768px) {
  .testimonials__list {
    display: flex;
    gap: 24px;
  }
}
.testimonials__list-item {
  border: 1px solid #e6e6e6;
  border-radius: 30px;
  background: #f7f8fa;
  padding: 16px;
}
@media screen and (min-width: 768px) {
  .testimonials__list-item {
    flex-basis: calc((100% - 48px) / 2);
    padding: 24px;
  }
}
@media screen and (min-width: 1440px) {
  .testimonials__list-item {
    padding: 40px;
  }
}
.testimonials__list-item:last-child {
  display: none;
}
@media screen and (min-width: 768px) {
  .testimonials__list-item:last-child {
    display: block;
  }
}
.testimonials__item-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.testimonials__item-name {
  font-weight: 500;
  font-size: 18px;
  text-transform: capitalize;
  color: #1f1f1f;
}
.testimonials__item-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonials__item-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.testimonials__item-stars svg {
  width: 16px;
  height: 16px;
  fill: #ffaa00;
}
.testimonials__item-value {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.57;
  color: #2b2b2b;
}
.testimonials__item-text {
  line-height: 1.81;
  color: #1d1c21;
}

.legal {
  padding: 80px 0;
}
.legal__title {
  margin-bottom: 30px;
}
.legal__text {
  text-align: left;
  margin-bottom: 20px;
  color: #9a97ae;
  line-height: 1.7;
}
.legal__content {
  background-color: #1f1f1f;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .legal__content {
    padding: 50px;
  }
}
.legal__content .legal__heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  color: #ffffff;
  margin-top: 50px;
  margin-bottom: 25px;
  line-height: 1.3;
}
.legal__content .legal__heading:first-of-type {
  margin-top: 0;
}
@media (min-width: 768px) {
  .legal__content .legal__heading {
    font-size: 32px;
  }
}
.legal__content .legal__paragraph {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #9a97ae;
  margin-bottom: 20px;
}
.legal__content .legal__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #9a97ae;
}
.legal__content .legal__list .legal__list-item {
  margin-bottom: 12px;
  line-height: 1.7;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}
.legal__content .legal__list .legal__list-item strong {
  color: #ffffff;
  font-weight: 600;
}
.legal__content .legal__sub-list {
  list-style: circle;
  margin-left: 25px;
  margin-top: 8px;
  margin-bottom: 15px;
  color: #9a97ae;
}
.legal__content .legal__sub-list .legal__sub-list-item {
  margin-bottom: 8px;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}
.legal__content .legal__link {
  color: #65627d;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.legal__content .legal__link:hover {
  color: #7e7b97;
}

.footer {
  background-color: #ffffff;
  border-top: 1px solid #e9e9e9;
  padding: 16px 0;
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .footer__wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer__text, .footer__menu-link {
  font-size: 14px;
  line-height: 1.43;
  color: #1f1f1f;
  text-align: center;
}
.footer__menu {
  display: flex;
  justify-content: center;
  gap: 16px;
}