:root {
  --gradient-purple: linear-gradient(267.28deg, #7b61ff 24%, #aa82ff 73.95%);
  --color-yellow: #ffaa00;
  --text-color-primary: #f3f5f7;
  --text-color-secondary: #ffffff;
  --text-color-muted: #afacc3;
  --background-color: #0d121f;
  --background-color-secondary: #1a202c;
  --background-color-light-purple: #292945;
  --family-font: 'Poppins', sans-serif;
  --color-purple: #7b61ff;
}
h1,
h2,
h3,
h4,
p,
span {
  margin: 0;
  padding: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
body {
  font-family: var(--family-font);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}
h1 {
  font-size: 36px;
  color: var(--text-color-primary);
  font-weight: 500;
  margin: 0;
}
h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-color-primary);
  margin: 0;
}
.text-muted {
  color: var(--text-color-muted);
  font-size: 14px;
  font-weight: 400;
}
.text-purple {
  color: var(--gradient-purple);
  font-size: 16px;
  font-weight: 400;
}
.text-secondary {
  color: var(--text-color-secondary);
  font-size: 14px;
  font-weight: 400;
}
.text-rating {
  color: var(--color-yellow);
  font-size: 16px;
  font-weight: 700;
}
.text-primary {
  color: var(--text-color-primary);
  font-size: 16px;
  font-weight: 400;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
}

.hero {
  padding-top: 38px;
  padding-bottom: 38px;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #0d121f 100%),
    linear-gradient(1.15deg, rgba(0, 0, 0, 0) 39.52%, rgba(0, 0, 0, 0.8) 98.99%),
    url('/img/hero-img.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  align-items: start;
  background: linear-gradient(0deg, #010101d4, #010101cc),
    linear-gradient(
      90deg,
      rgba(10, 116, 114, 0.4) 0%,
      rgba(21, 82, 118, 0.4) 100%
    );
  border: 1px solid
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 10%,
      rgba(1, 255, 242, 0.5) 50.4%,
      rgba(255, 255, 255, 0) 88.27%
    );
  padding: 16px;
  position: relative;
  top: 50%;
  border-radius: 8px;
  border: 1px solid var(--color-shadow);
}
.hero__content img {
  border-radius: 8px;
  width: 140px;
  height: 140px;
}
.button-play {
  width: 150px;
}
.hidden {
  display: none;
}

.read-more-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.read-more-icon.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.read-more-icon {
  transition: transform 0.3s ease;
}

.swipper-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 16px auto;
  overflow: hidden;
}

.swipper {
  display: flex;
  transition: transform 0.3s ease-in-out;
  flex-direction: column;
  gap: 16px;
}

.swipper-slide {
  min-width: 100%;
  display: none;
  border-radius: 8px;
}

.swipper-slide.active {
  display: block;
}

.swipper-controls {
  display: flex;
  gap: 32px;
  align-items: center;
  position: relative;
  margin-top: 32px;
  justify-content: center;
}

.swipper-arrow {
  width: 48px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #1a202c;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-color-secondary);
  transition: all 0.3s ease;
}
.swipper-arrow:hover {
  background: var(--gradient-purple);
}

.benefits,
.statistics,
.popular-games {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.benefit-icon {
  height: 42px;
}
.text-header-item-benefit {
  font-size: 24px;
  font-weight: 500;
  text-align: left;
}
.text-muted-banefit {
  text-align: left;
  font-size: 16px;
}
.benefit-item,
.statistics-block,
.about-us {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: center;
  gap: 8px;
  padding: 16px;
  border-radius: 24px;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-left: none;
  border-right: none;
  background: var(--background-color-secondary);
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(211, 211, 211, 0.483839) 50.4%,
    rgba(255, 255, 255, 0) 88.27%
  );

  border-image-slice: 1;
  border-image-repeat: stretch;
}
.statistics-block,
.about-us {
  background-color: var(--background-color-light-purple);
  gap: 16px;
}
.statistics {
  text-align: left;
}
.statistics-button {
  width: 200px;
  height: 70px;
  margin: 0 auto;
}
.statistics-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.text-gradient {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  font-weight: 600;
}
.portfolio-container {
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(0deg, rgb(13 18 31 / 3%), rgb(13 18 31 / 99%)),
    linear-gradient(174.41deg, rgba(0, 0, 0, 0) 65.57%, rgb(13 18 31) 95.54%),
    linear-gradient(
      359.61deg,
      rgba(0, 0, 0, 0) 53.3%,
      rgb(13 18 31 / 13%) 99.68%
    ),
    url(/img/portfolio-bg.jpg);
}
.portfolio-text-name-game {
  color: var(--text-color-secondary);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}
.portfolio-item,
.portfolio-list li {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  background: #1819201a;
  backdrop-filter: blur(32px);
  border-radius: 30px;
}
.portfolio-info-dev {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.portfolio-info-wrapper {
  padding-left: 16px;
  padding-right: 16px;
}
.portfolio-image {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-bottom: 16px;
}
.rating {
  display: flex;
  gap: 4px;
  font-size: 20px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.star {
  color: var(--color-yellow);
}
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: left;
  max-width: 100%;
  overflow: hidden;
}
.button-play {
  height: 50px;
  margin-top: 16px;
}
.about-us-images {
  display: flex;
}
.about-us-image {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-sizing: border-box;
  margin: 0 auto;
}
.img-1 {
  max-width: 50%;
}
.img-2 {
  max-width: 40%;
}
.reviews {
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
}
.slide-review {
  border-top: 1px solid;

  border-bottom: 1px solid;
  border-left: none;
  border-right: none;
  border-image-slice: 1;
  border-image-repeat: stretch;
  border-image-source: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 10%,
    rgba(211, 211, 211, 0.483839) 50.4%,
    rgba(255, 255, 255, 0) 88.27%
  );
  background-color: #1a202c;
  padding: 16px;
  border-radius: 30px;
  box-sizing: border-box;
}
.block-review-info {
  padding-top: 16px;
  border-top: 1px solid #90a3bf;
}
.block-review-rating {
  display: flex;
  gap: 8px;
  align-items: center;
}
.text-primary-review {
  margin-top: 16px;
  margin-bottom: 16px;
  color: var(--text-color-secondary);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}
footer {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
}
a {
  color: var(--text-color-secondary);
  text-decoration: none;
  transition: color cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
}
a:hover {
  color: var(--color-purple);
}
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.clients-carousel {
  display: flex;
  gap: 24px;
  padding: 18px 28px;
  animation: scroll 30s linear infinite;
}

.clients-carousel img {
  height: 29px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.way-work {
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
  margin-bottom: 16px;
}
.way-work ul {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.way-work-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #30313f;
  border-radius: 50%;
}
.way-work-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}
.way-work-item-text {
  font-size: 20px;
  font-weight: 500;
  text-align: left;
}
.video-section {
  position: relative;
  width: 100%;
  height: 60vh;
  border-radius: 30px;
  background: url('/img/as-far-as-the-eye-game.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.video-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.video-button img.video-icon {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease;
}

.video-button img.video-icon:hover {
  transform: scale(1.1);
}
.popular-games-item {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: left;
}
.popular-games-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  margin-bottom: 16px;
}
.popular-games-item-play-1 {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #5c5c5c;
}
.rating-play {
  margin: 0;
}
.about-us-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.statistics-block-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero__container {
    top: 30%;
  }
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .clients-carousel {
    animation: none;
    width: 100%;
    justify-content: space-between;
    padding: 32px 0px;
  }
  .img-carusel-double {
    display: none;
  }
  .clients-carousel img {
    height: 35px;
  }
  .hero__content {
    display: flex;
    gap: 16px;
  }
  h1 {
    font-size: 54px;
    line-height: 60px;
  }

  h2 {
    font-size: 44px;
    line-height: 50px;
  }
  .benefit-list {
    margin-top: 24px;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .benefits,
  .statistics,
  .popular-games {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .benefit-item,
  .statistics-block,
  .about-us {
    padding: 40px;
  }
  .statistics-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .text-gradient {
    font-size: 70px;
  }
  .popular-games-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
  }
  .popular-games-item {
    width: calc(100% - 12px);
  }
  .portfolio-container {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  .popular-games-item-play {
    display: flex;
    gap: 40px;
  }
  .portfolio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    text-align: left;
    flex-direction: row;
  }
  .about-us-info-wrapper {
    gap: 30px;
    max-width: 50%;
  }
  .reviews {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .reviews h2 {
    margin-bottom: 16px;
  }
  .reviews .text-muted {
    margin-bottom: 24px;
  }
  .swipper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .text-muted {
    font-size: 16px;
  }
  .about-us {
    flex-direction: row;
    gap: 24px;
  }
  .portfolio-list li {
    width: calc(50% - 12px);
  }
  .footer-links {
    width: auto;
    gap: 24px;
  }
  .wrapper-sections {
    display: flex;
    gap: 24px;
  }
  .video-section {
    min-width: 370px;
  }
  .swipper-container {
    max-width: 100%;
    margin: auto;
  }
  .slide-review {
    max-width: 520px;
  }
  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 24px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    padding-left: 140px;
    padding-right: 140px;
  }
  .hero__container {
    right: 10%;
    padding: 40px;
    gap: 18px;
  }
  .hero {
    height: 50vh;
    padding: 142px 382px;
  }
  h1 {
    font-size: 56px;
  }
  .benefit-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .portfolio-container {
    padding-top: 16px;
  }
  .portfolio-list {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .desk-container {
    padding: 0px;
  }
  .desk-container {
    min-width: 670px;
  }
  .wrapper-sections {
    flex-direction: row-reverse;
    gap: 80px;
  }
  .swipper {
    grid-template-columns: repeat(3, 1fr);
  }
  .swipper-controls {
    display: none;
  }
  .hero {
    height: 70vh;
  }
  .carusel-double {
    display: none;
  }
  .statistics-block {
    flex-direction: row-reverse;
    gap: 40px;
  }
  .statistics-block div {
    width: 50%;
  }

  .popular-games-wrapper-lists {
    display: flex;
    gap: 80px;
    margin-top: 40px;
  }
  .popular-games-wrapper-lists ul {
    width: 50%;
  }
}
@media screen and (max-width: 400px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media screen and (min-width: 1440px) {
  .slide-review {
    max-width: 620px;
    padding: 40px;
  }
}
.privacy-policy {
  padding: 40px 0;
  background: var(--background-color-light-purple);
  border-top: 1px solid var(--text-color-muted);
  border-bottom: 1px solid var(--text-color-muted);
  border-radius: 8px;
}

.privacy-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-color, #fff);
  margin-bottom: 20px;
}

.privacy-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-color, #fff);
  margin-top: 30px;
  margin-bottom: 10px;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-purple);
  color: var(--text-color-primary);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  font-size: 14px;
  text-align: center;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-button {
  background: var(--background-color-light-purple);
  color: var(--text-color-primary);
  border: none;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

@media (min-width: 576px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
