.hero {
  background: var(--gradient-hero);
  padding: 60px 0;
  overflow: hidden;
}

.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.hero__content {
  max-width: 520px;
  flex-shrink: 0;
}

.hero__players {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 0;
  border-width: 1px 0;
  border-style: solid;
  border-image-source: linear-gradient(
    96.81deg,
    rgba(255, 255, 255, 0) 3.2%,
    rgba(255, 255, 255, 0.5) 48.16%,
    rgba(255, 255, 255, 0) 94.66%
  );
  border-image-slice: 1;
  width: fit-content;
}

.hero__avatar {
  height: 35px;
  margin-left: -16px;
  object-fit: cover;
}

.hero__avatar:first-child {
  margin-left: 0;
}

.hero__players-count {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-muted);
}
.hero__players-count span {
  font-weight: 700;
  color: var(--color-white);
}
.hero__title-wrap {
  position: relative;
}

.hero__vector {
  position: absolute;
  left: -50px;
  top: 100%;
  height: 115%;
  pointer-events: none;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 54px;
  line-height: 60px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  color: var(--color-muted);
  line-height: 28px;
  margin-bottom: 24px;
}

.hero__image {
  flex-shrink: 1;
  min-width: 0;
  max-width: 480px;
}

.hero__image img {
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .hero {
    padding: 20px 0;
  }
  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: 36px;
    line-height: 42px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__image {
    max-width: 300px;
    order: 2;
  }

  .hero__players {
    justify-content: center;
    margin: 0 auto 24px;
  }

  .hero__vector {
    display: none;
  }
}

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