/* Creator Community */
.creator-community__hero {
  position: relative;
  min-height: 894px;
  padding: 40px 0;
  background: var(--creator-community-bg-desktop) center / cover no-repeat;
}

.creator-community__hero::before,
.creator-community__hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 122px;
  pointer-events: none;
  content: '';
}

.creator-community__hero::before {
  background: linear-gradient(180deg, var(--color-text-dark-0) 0%, var(--color-text-dark-50) 100%);
}

.creator-community__hero::after {
  background: linear-gradient(180deg, var(--color-text-dark-0) 0%, var(--color-text-dark) 100%);
}

.creator-community__hero-inner {
  position: relative;
  z-index: 1;
  min-height: 814px;
}

.creator-community__eyebrow {
  margin-bottom: 190px;
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 30px;
  font-weight: 300;
  line-height: 1.11;
  letter-spacing: -0.04em;
  text-align: center;
}

.creator-community__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 850px;
  margin-left: auto;
}

.creator-community__title {
  margin-bottom: 92px;
  font-size: min(7.5vw, 113px);
  line-height: 0.92;
  letter-spacing: -0.4vw;
  text-align: left;
}

.creator-community__description {
  max-width: 435px;
  margin-left: auto;
  color: var(--color-white);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.creator-community__term {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
}

.creator-community__term span {
  position: relative;
}

.creator-community__term span::after {
  position: absolute;
  right: 0;
  bottom: -0.02em;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
}

.creator-community__term svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.creator-community__cards {
  background-color: #16181C;
  padding-bottom: 80px;
  margin-top: -40px;
}

.creator-community__cards-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.creator-community-card {
  display: flex;
  min-height: 354px;
  flex-direction: column;
  padding: 60px 40px 40px;
  border-radius: 10px;
  background: var(--color-card-bg);
}

.creator-community-card__title {
  margin-bottom: 10px;
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
}

.creator-community-card__media {
  position: relative;
  height: 188px;
  flex: 0 0 188px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-card-border);
  overflow: hidden;
}

.creator-community-card__rules-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: 185px;
  max-width: none;
  height: auto;
  transform-origin: 50% 100%;
}

.creator-community-card__rules-image--center {
  z-index: 2;
  bottom: -3px;
  transform: translateX(-50%);
}

.creator-community-card__rules-image--left,
.creator-community-card__rules-image--right {
  z-index: 1;
  bottom: -29px;
  opacity: 0;
}

.creator-community-card__rules-image--left {
  transform: translateX(calc(-50% - 58px)) rotate(-8deg);
}

.creator-community-card__rules-image--right {
  transform: translateX(calc(-50% + 58px)) rotate(8deg);
}

.creator-community-card__rules-fade {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 56px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 31, 37, 0) 0%, var(--color-card-bg) 100%);
}

.creator-community-card__reply .creator-community-card__media::before,
.creator-community-card__reply .creator-community-card__media::after {
  position: absolute;
  z-index: 3;
  top: 0;
  display: block;
  width: 63px;
  height: 100%;
  pointer-events: none;
  content: '';
}

.creator-community-card__reply .creator-community-card__media::before {
  left: 0;
  background: linear-gradient(-90deg, rgba(28, 31, 37, 0) 0%, #1C1F25 100%);
}

.creator-community-card__reply .creator-community-card__media::after {
  right: 0;
  background: linear-gradient(90deg, rgba(28, 31, 37, 0) 0%, #1C1F25 100%);
}

.creator-community-card__reply-shadow {
  position: absolute;
  bottom: 0;
  height: 44px;
  width: 100%;
  z-index: 4;
  background: linear-gradient(180deg, rgba(28, 31, 37, 0) 0%, #1C1F25 100%);
}

.creator-community-card__reply-photos {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
}

.creator-community-card__reply-photos-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: flex-start;
}

.creator-community-card__reply-photo {
  position: relative;
  z-index: 1;
  display: block;
  height: auto;
  border-radius: 50%;
  opacity: 0;
}

.creator-community-card__reply-photo--1,
.creator-community-card__reply-photo--7 {
  top: 109px;
  width: 35px;
  height: 35px;
}

.creator-community-card__reply-photo--2,
.creator-community-card__reply-photo--6 {
  top: 79px;
  width: 43px;
  height: 43px;
}

.creator-community-card__reply-photo--3,
.creator-community-card__reply-photo--5 {
  top: 53px;
  width: 52px;
  height: 52px;
}

.creator-community-card__reply-photo--4 {
  top: 30px;
  width: 77px;
  height: 77px;
}

.creator-community-card__text {
  color: var(--color-card-text-muted);
  font-size: 16px;
  line-height: 1.3;
}

.creator-community-card__reply-vector {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 30px;
}

.creator-community-card__reply-vector__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.creator-community-card__reply-vector__inner div,
.creator-community-card__reply-vector__inner::before,
.creator-community-card__reply-vector__inner::after {
  position: absolute;
  border: 1px solid rgba(234, 242, 255, 0.3);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.creator-community-card__reply-vector__inner div {
  top: 124px;
  opacity: .1;
  width: 320px;
  height: 288px;
  left: calc(50% - 320px/2);
}

.creator-community-card__reply-vector__inner::before,
.creator-community-card__reply-vector__inner::after {
  content: '';
}

.creator-community-card__reply-vector__inner::before {
  top: 40px;
  opacity: .3;
  width: 488px;
  height: 440px;
  left: calc(50% - 488px/2);
}

.creator-community-card__reply-vector__inner::after {
  top: 83px;
  opacity: .14;
  width: 408px;
  height: 368px;
  left: calc(50% - 408px/2);
}

.creator-community-card__private-photo {
  position: absolute;
  left: 50%;
  display: block;
  width: 124px;
  height: 225px;
  border-radius: 12px;
  object-fit: cover;
  transform-origin: 50% 100%;
  opacity: 0;
}

.creator-community-card--private .creator-community-card__media::before {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 31, 37, 0) 0%, var(--color-card-bg) 100%);
  content: '';
}

.creator-community-card__private-photo--left {
  top: 21px;
  transform: translateX(calc(-50% - 32px)) rotate(-9.85deg);
}

.creator-community-card__private-photo--right {
  top: 8px;
  transform: translateX(calc(-50% + 48px)) rotate(6.64deg);
}

@media (max-width: 1200px) {

  .creator-community-card {
    min-height: 0;
    padding: 60px 25px 40px;
  }

  .creator-community-card__title {
    font-size: 28px;
  }

  .creator-community-card__rules-image {
    width: 162px;
  }

  .creator-community-card__rules-image--left {
    transform: translateX(calc(-50% - 27%)) rotate(-8deg);
  }

  .creator-community-card__rules-image--right {
    transform: translateX(calc(-50% + 27%)) rotate(8deg);
  }

  .creator-community-card__media {
    height: 168px;
    flex: 0 0 168px;
  }

  .creator-community-card__reply-shadow {
    height: 36px;
  }

  .creator-community-card__reply-vector__inner div {
    top: 105px;
    width: 282.67px;
    height: 254.4px;
    left: calc(50% - 282.67px/2 - 0.5px);
  }

  .creator-community-card__reply-vector__inner::before {
    top: 40px;
    width: 431.07px;
    height: 388.67px;
    left: calc(50% - 431.07px/2 - 0.5px);
  }

  .creator-community-card__reply-vector__inner::after {
    top: 72px;
    width: 360.4px;
    height: 325.07px;
    left: calc(50% - 360.4px/2 - 0.5px);
  }

  .creator-community-card__reply-photo--1,
  .creator-community-card__reply-photo--7 {
    width: 30px;
    height: 30px;
  }

  .creator-community-card__reply-photo--2,
  .creator-community-card__reply-photo--6 {
    width: 37px;
    height: 37px;
  }

  .creator-community-card__reply-photo--3,
  .creator-community-card__reply-photo--5 {
    width: 44px;
    height: 44px;
  }

  .creator-community-card__reply-photo--4 {
    width: 66px;
    height: 66px;
  }

  .creator-community-card__private-photo {
    width: 114px;
    height: 206px;
  }

  .creator-community-card__private-photo--left {
    transform: translateX(calc(-50% - 28px)) rotate(-9.85deg);
  }

  .creator-community-card__private-photo--right {
    transform: translateX(calc(-50% + 40px)) rotate(6.64deg);
  }

}

@media (max-width: 960px) {
  .creator-community__hero {
    background-position: left;
    background-image: var(--creator-community-bg-mobile);
  }

  .creator-community__hero::before,
  .creator-community__hero::after {
    height: 107px;
  }

  .creator-community__hero-inner {
    display: flex;
    flex-direction: column;
  }

  .creator-community__eyebrow {
    margin-bottom: 60px;
    font-size: 24px;
    text-align: left;
  }

  .creator-community__content {
    align-items: flex-start;
    flex: 1;
    max-width: none;
    margin-left: 0;
  }

  .creator-community__title {
    margin-bottom: 0;
    font-size: 10vw;
  }

  .creator-community__description {
    max-width: 340px;
    margin-top: auto;
    margin-left: 0;
    font-size: 20px;
  }

  .creator-community__term svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .creator-community__cards-wrapper {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .creator-community__cards {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .creator-community__title {
    font-size: 14vw;
  }

  .creator-community__hero-inner {
    min-height: 564px;
  }

  .creator-community__hero {
    min-height: 636px;
    padding: 32px 0 40px;
    background-position: center;
  }

  .creator-community-card__rules-image--left {
    transform: translateX(calc(-50% - 18px)) rotate(-8deg);
  }

  .creator-community-card__rules-image--right {
    transform: translateX(calc(-50% + 18px)) rotate(8deg);
  }
}

@media (max-width: 375px) {
  .creator-community__description {
    font-size: 16px;
  }

  .creator-community__term svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }

  .creator-community-card__media {
    margin-left: -10px;
    margin-right: -10px;
  }
}
