﻿.font-size-small {
  font-size: 0.85rem;
}

.left-right-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-profile-wrap .banner-image-wrap img {
  width: 100%;
  height: auto;
  /* The mask starts solid black at the top and goes to transparent at the bottom */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.profile-header .avatar-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: -50px;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.profile-header .avatar {
  position: relative;
}

  .profile-header .avatar img {
    border-radius: 50%;
    border: 2px solid var(--site-light-grey);
  }

  .profile-header .avatar.is-live img {
    border: 2px solid transparent;
  }

  .profile-header .avatar.is-live::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--site-bright-red);
    animation: pulse 2s infinite;
  }

.profile-header .avatar-info {
  flex: 1;
}

  .profile-header .avatar-info h1 {
    font-size: 1.5rem;
    line-height: 1;
    text-transform: initial;
    text-align: left;
    margin-bottom: 0;
    width: initial;
  }

  .profile-header .avatar-info .name-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
  }

  .profile-header .avatar-info .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--site-bright-red);
    background: rgba(220, 38, 38, .1);
    border: 0.5px solid rgba(220, 38, 38, .3);
    border-radius: 4px;
    padding: 2px 7px;
  }

    .profile-header .avatar-info .live-badge::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #dc2626;
      animation: ldot 1.5s infinite;
    }

.profile-header .creator-sub a {
  color: inherit;
  text-decoration: underline;
  transition: 0.1s linear;
}

  .profile-header .creator-sub a:hover {
    color: #FFF;
  }

.profile-header .content-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-header .content-tags a {
  color: var(--site-grey);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 3px 9px;
  font-weight: 500;
  transition: 0.1s linear;
}

  .profile-header .content-tags a:hover {
    background: var(--site-red-dimmer);
    border-color: var(--site-red-dim);
    color: var(--site-red);
  }

.profile-header .socials {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

  .profile-header .socials li {
    padding: 0;
  }

  .profile-header .socials a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 10px;
    border: 0.5px solid var(--border);
    color: var(--site-grey);
    transition: .1s linear;
  }

    .profile-header .socials a:hover {
      border-color: var(--site-red-dim);
      color: var(--site-red);
    }

/* -------------------------------------------
  Statistics
------------------------------------------- */

.profile-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  text-align: center;
  background-color: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: 1px;
  overflow: hidden;
  margin-top: 30px;
}

.profile-stats .item {
  padding: 14px 16px;
  background-color: var(--site-black);
}

  .profile-stats .item .value {
    color: var(--site-red);
    font-size: 1.2rem;
    font-weight: 800;
  }

  .profile-stats .item .label {
    font-size: 0.9rem;
  }



@media (min-width: 767px) {
  .profile-stats .stats-grid {
    grid-template-columns: repeat(4,1fr);
  }
}

/* -------------------------------------------
  Live Stream
------------------------------------------- */

.profile-livestream .livestream-wrap {
  border: 1px solid var(--site-red-dim);
  border-radius: 10px;
  background-color: var(--site-black);
}

.profile-livestream .stream-footer,
.profile-livestream .stream-header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.profile-livestream .stream-header {
  border-bottom: 1px solid var(--border);
}

.profile-livestream .stream-footer {
  border-top: 1px solid var(--border);
}

  .profile-livestream .stream-footer > *,
  .profile-livestream .stream-header .viewer-pill {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .profile-livestream .stream-footer a {
    color: var(--site-red);
    font-weight: 500;
  }

.profile-livestream .stream-game i {
  color: var(--site-red);
}

.profile-livestream .stream-game {
  text-transform: capitalize;
}

.profile-livestream .stream-title {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.profile-livestream .embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

  .profile-livestream .embed .stream-play-button {
    color: #FFF;
    background-color: var(--site-red);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    position: absolute;
    transition: 0.1s linear;
    transform-origin: center;
  }

  .profile-livestream .embed:hover .stream-play-button {
    scale: 1.1;
  }

  .profile-livestream .embed .stream-play-button i {
    font-size: 1.5rem;
  }

  .profile-livestream .embed .preview-image {
    width: 100%;
  }


/* -------------------------------------------
  Recent Uploads
------------------------------------------- */

.profile-videos .left-right-section a {
  color: var(--site-red);
  font-weight: 500;
}

.profile-videos .swiper {
  padding: 0 10px 20px;
}

.profile-videos .swiper-wrapper {
  height: auto;
}

.profile-videos .swiper-slide {
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
  transition: 0.1s linear;
  margin-right: 20px;
}

@media (min-width: 767px) {
  .profile-videos .swiper-slide {
    width: 48%;
  }
}

@media (min-width: 1100px) {
  .profile-videos .swiper-slide {
    width: 32%;
  }
}

  .profile-videos .swiper-slide:has(lite-youtube:hover, lite-youtube:focus-visible) {
    border-color: var(--site-red-dim);
  }

.profile-videos .video-info {
  padding: 10px 15px;
  background-color: var(--site-black);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

  .profile-videos .video-info h3 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: initial;
    text-align: left;
  }


.profile-videos .swiper-button-next,
.profile-videos .swiper-button-prev {
  opacity: 0;
  scale: 0.75;
  transition: 0.2s linear;
  margin: 0 20px;
}

.profile-videos .swiper:hover .swiper-button-next,
.profile-videos .swiper:hover .swiper-button-prev {
  opacity: 1;
  scale: 1;
}

.profile-videos .swiper:hover .swiper-button-disabled {
  opacity: 0.3;
}

.profile-videos .swiper-pagination {
  bottom: 0;
}

.profile-videos .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: transparent;
  border: 2px solid var(--site-red);
  opacity: 1;
}

  .profile-videos .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--site-red);
  }

/* -------------------------------------------
  Similar Creators
------------------------------------------- */

.profile-similar-creators .swiper-navigation {
  position: relative;
  display: flex;
  gap: 10px;
}

  .profile-similar-creators .swiper-navigation > * {
    position: initial;
    margin: 0;
  }

.profile-similar-creators .swiper-wrapper {
  height: auto;
}

.profile-similar-creators .swiper {
  padding: 10px;
}

.profile-similar-creators .swiper-slide {
  background-color: var(--site-black);
  border: 2px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  text-align: center;
  height: auto;
  transition: 0.1s linear;
  top: 0;
  margin-right: 20px;

  @media (min-width: 500px) {
    width: 49%;
  }

  @media (min-width: 767px) {
    width: 32%;
  }

  @media (min-width: 1000px) {
    width: 24%;
  }

  @media (min-width: 1200px) {
    width: 19%;
  }
}

  .profile-similar-creators .swiper-slide:hover {
    border-color: var(--site-red-dim);
    top: -3px;
  }

.profile-similar-creators .avatar img {
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid var(--site-red-dim);
}

.profile-similar-creators .name {
  color: #FFF;
  transition: 0.1s linear;
}

.profile-similar-creators .swiper-slide:hover .name {
  color: var(--site-red);
}

.profile-similar-creators .sub-count {
  margin: 5px 0;
}

.profile-similar-creators .sub-count,
.profile-similar-creators .playstyles {
  color: var(--site-dark-grey);
  font-size: 0.9rem;
}

.profile-similar-creators .playstyles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

  .profile-similar-creators .playstyles span {
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: 20px;
  }

/* -------------------------------------------
  Creator Gear Cta
------------------------------------------- */

.profile-gear-cta .cta {
  border: 1px solid var(--site-red);
  background-color: var(--site-red-dimmer);
  border-radius: 20px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-gear-cta .left {
  display: flex;
  gap: 15px;
  align-items: center;
}

  .profile-gear-cta .left .icon {
    color: var(--site-red);
    background-color: var(--site-red-dim);
    padding: 10px;
    border-radius: 8px;
    font-size: 1.2rem;
  }

.profile-gear-cta .name {
  color: #FFF;
  font-weight: 600;
}

.profile-gear-cta .description {
  font-size: 0.8rem;
}

.profile-gear-cta .btn {
  font-weight: 500;
  text-transform: initial;
  font-size: 0.8rem;
}

@media (min-width: 600px) {
  .profile-gear-cta .cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
