@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --main-text-color: #2558a9;
  --second-text-color: #53a1b8;
}

.user-info-box * {
  font-family: "Inter";
  font-style: normal;
}

/* border radius */
.sb-comments-box {
  border-radius: 15px;
}

/* header */
.user-info-box {
  z-index: inherit;
}
.ufb-header-box {
  position: relative;
}
.hb-phon {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 80%;
  background-color: #eaffff;
}

.hb-header {
  display: flex;
  padding: 20px 40px;
}

.h-user-avatar {
  border: var(--main-text-color) solid 10px;
  border-radius: 52px;
  overflow: hidden;
  min-width: 332px;
  height: 332px;
}
.h-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.character::after {
  display: none;
}

.h-user-info {
  padding: 20px;
}

.ui-user-name {
  font-weight: 700;
  font-size: clamp(1rem, 5vw, 62px);
  line-height: 75px;
  color: var(--main-text-color);
}
.ui-user-status {
  background-color: #f9f9f9;
  padding: 20px 40px;
  margin: 20px 0;
  border-radius: 12px;
  font-weight: 500;
  font-size: clamp(1rem, 5vw, 32px);
  line-height: 39px;
  color: var(--main-text-color);
}

.ui-user-rewards {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.reward-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 5px;
  border: 3px solid transparent;
  cursor: pointer;
}

.reward-icon:hover {
  transform: scale(1.2) rotate(5deg);
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

.reward-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Modal Content */
.modal-content {
  background: white;
  padding: 40px;
  border-radius: 30px;
  max-width: 450px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 35px;
  cursor: pointer;
  color: #ccc;
  line-height: 1;
}

.close-modal:hover {
  color: #333;
}

.reward-modal-icon-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  padding: 15px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 4px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-modal-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#modal-reward-title {
  color: var(--main-text-color);
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 800;
}

#modal-reward-description {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

/* body */
.ufb-body {
  display: flex;
  gap: 40px;
  margin: 50px;
  margin-right: 0;
}

.b-statistics-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  flex-shrink: 0;
}

.sb-comments-box, .sb-videos-box {
  background-color: #cdf6f0;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.sb-videos-box {
  background-color: #fff;
  border: 2px solid #e0e0e0;
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  color: var(--main-text-color);
  margin-bottom: 15px;
}

.stat-value h5 {
  font-weight: 400;
  font-size: 18px;
  color: var(--second-text-color);
  margin: 0;
}

.stat-value .count {
  font-weight: 800;
  font-size: 42px;
  color: var(--main-text-color);
}

.sb-videos-box img {
  width: 32px;
}

.sb-videos-box h1.count {
  margin: 0;
  font-size: 42px;
}

/* right side */
.b-user-content-box {
  flex: 1;
}
.uc-titles-box {
  z-index: inherit;
}
.uc-titles-box hr {
  border-width: 2px;
  color: #adacaa;
}
.tb-titles {
  display: flex;
  gap: 10px;
}
.tb-titles span {
  font-weight: 400;
  font-size: 24px;
  color: #adacaa;
  margin-right: 40px;
}

.ucb-content-box {
  display: grid;
  gap: 30px;
}
.video-box {
  display: flex;
  background-color: #e3e3e3;
  padding: 10px;
}

.vb-poster-box {
  width: 245px;
  height: 138px;
}
.vb-poster-box img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.vb-video-info {
  display: grid;
  flex: 1;
}
.vi-video-title {
  margin: 0 0 10px 10px;
  padding: 20px;
  background-color: #fff;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vi-video-statistics {
  justify-self: end;
  align-self: end;
}

.vs-views,
.vs-likes,
.vs-dislikes {
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.06em;
  margin-left: 23px;
}
.vs-views {
  color: var(--main-text-color);
}

.load-more {
  width: 20vw;
  justify-self: center;
}

/* MEDIA */
@media screen and (max-width: 1200px) {
  .h-user-avatar {
    min-width: 232px;
    height: 232px;
  }

  .ufb-body {
    display: grid;
    margin: 0 0 50px;
  }

  .b-statistics-box {
    display: flex;
    gap: 20px;
    justify-self: center;
  }
}

@media screen and (max-width: 848px) {
  .h-user-avatar {
    justify-self: center;
    width: 232px;
    height: 232px;
  }

  .ui-user-status {
    margin: 0;
  }

  .hb-header {
    display: grid;
    padding: 20px 40px;
  }

  .sb-videos-box img {
    position: inherit;
  }
  .sb-videos-box h1 {
    margin: 0;
  }

  .video-box {
    display: grid;
    gap: 20px;
  }
  .vb-poster-box {
    justify-self: center;
  }
  .vi-video-title {
    margin: 0 0 10px;
    font-size: clamp(1rem, 4vw, 36px);
  }

  .vs-views,
  .vs-likes,
  .vs-dislikes {
    font-size: clamp(1rem, 3vw, 26px);
  }

  .load-more {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
}

