.f2 .black-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.wrapper {
  background-image: url('../images/bg.png');
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  background-color: #151d36;
  position: relative;
  /* background-color: #fff; */
}

.frame2 {
  height: 850px;
  min-height: 850px;
}

#bg-video,
#bg-video-mobile {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.signed-in-user {
  background-image: url('../images/f1/username_bg.png');
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 38px;
}

.f1 .title-wrapper {
  /* background-image: url('../images/f1/spike.png');
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat; */
  padding-top: 0;
  margin-top: 0;
  position: relative;
}

.f1 .title-bg {
  height: 783px;
  width: auto;
  position: absolute;
  top: -175px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.f1 .container {
  z-index: 2;
  padding-top: 45px;
}

.f1 .cborder {
  position: absolute;
  z-index: 1;
}

#infoPopupContent {
  height: 100%;
}

.f1 .cborder.left-top {
  left: 0;
  top: 0;
  width: 421px;
  height: 232px;
  background: url('../images/f1/left_top.png') no-repeat;
  background-size: 100% 100%;
}

.f1 .cborder.left-middle {
  top: 50%;
  left: 10px;
  right: auto;
  transform: translateY(-50%);
  width: 90px;
  height: 900px;
  background: url('../images/f1/left_middle.png') no-repeat;
  background-size: 100% 100%;
}

.f1 .cborder.left-bottom {
  left: 0;
  bottom: 0;
  width: 388px;
  height: 105px;
  background: url('../images/f1/left_bottom.png') no-repeat;
  background-size: 100% 100%;
}

.f1 .cborder.right-top {
  top: 0;
  right: 0;
  width: 374px;
  height: 105px;
  background: url('../images/f1/top_right.png') no-repeat;
  background-size: 100% 100%;
}

.f1 .cborder.right-middle {
  top: 50%;
  right: 10px;
  left: auto;
  transform: translateY(-50%);
  width: 11px;
  height: 776px;
  background: url('../images/f1/right_middle.png') no-repeat;
  background-size: 100% 100%;
}

.f1 .cborder.right-bottom {
  right: 0;
  bottom: 0;
  width: 427px;
  height: 222px;
  background: url('../images/f1/bottom_right.png') no-repeat;
  background-size: 100% 100%;
}

.f1 .text-1 {
  font-size: 29px;
  font-family: 'GS3 Druk Text Wide', sans-serif;
  color: #fff;
  text-transform: uppercase;
  /* font-weight: bold; */
}

.f1 .text-2 {
  font-size: 21px;
  font-family: 'GS3 Druk Text Wide', sans-serif;
  color: #ff4655;
  text-transform: uppercase;
  font-weight: bold;
  margin: 20px 0;
  padding: 0 200px;
}

.f1 .main-logo {
  margin-top: 0;
  margin-left: 105px;
  height: 319px;
  z-index: 2;
  position: relative;
}

.btn-download-app {
  padding: 0;
  height: 120px;
  width: 380px;
  background-image: url('../images/f1/bt.png');
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-download-app:hover {
  background-image: url('../images/f1/bt_hover.png');
}

a.btn-chien-ngay:hover:after {
  width: 100%;
}

.footer-link {
  padding: 0 10px;
}

#frame-intro {
  /* background-image: url(../img/new/f3/bg.png);
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat; */
  position: relative;
}

#frame-bxh {
  /* background-image: url(../img/new/f2/bg.png);
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat; */
  position: relative;
}

#infoPopup .info-line {
  height: 3px;
  margin-top: 10px;
  max-width: 100%;
}

#loginPopup .popup-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.f3 {
  min-height: 100vh;
}

.f3 .rank-container {
  gap: 85px;
  margin-top: 65px;
}

.f3 .bxh-wrapper {
  position: relative;
}

.f3 .bxh-wrapper::before,
.f3 .bxh-wrapper::after {
  content: '';
  position: absolute;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.f3 .bxh-wrapper::before {
  top: 100px;
  left: 50px;
  width: 116px;
  height: 117px;
  background-image: url('../images/f2/left_top.png');
}

.f3 .bxh-wrapper::after {
  right: 10px;
  bottom: 100px;
  width: 116px;
  height: 117px;
  background-image: url('../images/f2/right_bottom.png');
}

.f3 .main-title {
  height: 142px;
  width: auto;
}

#frame-creators {
  /* background-image: url(../img/new/f5/bg.png);
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat; */
  position: relative;
  height: unset;
}

#f4-search-box {
  color: #fff;
}

#f4-search-box:focus {
  color: #000;
}

#f4-search-box::placeholder {
  color: #fff;
}

#frame-benefits {
  background-image: url(../img/new/f4/bg.png);
  background-size: 100% 100%;
  background-position: top;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  position: relative;
}

.benefit-top {
  background-image: url(../img/f4/border.png);
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 350px;
}

#block-quarter .benefit-top {
  background-image: url(../img/f4/border2.png);
}
#block-year .benefit-top {
  background-image: url(../img/f4/border3.png);
}

.benefit-rows>div {
  display: flex;
  padding: 0 40px;
}

.benefit-tags {
  margin-top: 40px;
}

.benefit-tag.active {
  background: #fff;
  /* Replace with your desired background color */
}

.f5 .main-title {
  height: 99px;
  width: 1150px;
  margin-bottom: 20px;
}

.benefit-tag {
  padding: 5px 20px;
  background: #ffffff70;
  /* Replace with your desired background color */
  clip-path: polygon(0 20%,
      10% 0,
      100% 0,
      100% 80%,
      90% 100%,
      0% 100%);
  min-width: 100px;
  margin: 0 20px;
  cursor: pointer;
  white-space: nowrap;
}

.benefit-content {
  padding: 0 50px;
  position: relative;
}

.zalo-info {
  position: absolute;
  right: 20px;
  top: 30px;
  cursor: pointer;
}

.benefit-content p {
  position: relative;
  margin-bottom: 30px;
  font-weight: bold;
}

.benefit-content p:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 996;
  bottom: -15px;
  left: calc(50% - 16px);
  width: 32px;
  height: 5px;
  background: url('../img/f4/line.png') no-repeat;
  background-size: contain;
  background-position: center;
  /* margin-top: 10px; */
}

.f2 .title {
  margin-top: 25px;
}

.profile {
  /* border: 1px solid #4c4c4c; */
  /* border-radius: 4px; */
  margin-left: 20px;
  padding: 2px 10px 2px 20px;
  min-width: 180px;
}

.btn-timeline-wrapper {
  position: relative;
  margin-top: 20px;
  /* margin-bottom: 20px; */
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  max-width: 622px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.btn-event-creator {
  /* z-index: 2; */
  /* position: relative; */
  /* left: 0; */
  /* top: 0; */
}

.btn-join-wrapper {
  position: relative;
  /* margin-top: -50px; */
  text-align: center;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.f3 .select-wrapper {
  margin-top: 5px;
  position: absolute;
  right: 100px;
  border: solid 1px #fff;
  padding: 2px 10px;
  border-radius: 5px;
}

.card-custom .card-body {
  color: #000;
  text-align: center;
  justify-content: center;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}

.f5 .cta-button {
  position: relative;
  margin-top: -170px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.form-select.lang-select {
  background-color: transparent;
  /* border: solid 1px #9db9ae; */
  /* border-radius: 20px; */
}

.profile-area {
  /* border: solid 1px #7ebfc6; */
  border-radius: 30px;
  padding: 0 10px;
}

.profile {
  color: #fff;
}

.lang-select {
  color: #fff;
  border: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  padding: .375rem 0 .375rem 10px;
  width: auto;
  /* overflow: hidden; */
}

:lang(id) .lang-select {
  padding: .375rem 2.25rem .375rem .75rem;
}

.lang-select option {
  color: #000;
}

.user-name {
  color: #fff;
  /* line-height: 36px; */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  /* min-height: 38px; */
}

.profile img {
  margin-right: 13px;
}

.popup-header {
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  flex-direction: column;
}

.popup.full-height,
.full-height .popup-content {
  height: 100%;
  min-height: 100%;
}

#notiPopup .popup-content {
  justify-content: center;
}

.glightbox-clean .gslide-media {
  -webkit-box-shadow: none !important;
  ;
  box-shadow: none !important;
}

.popup-content {
  display: flex;
  flex-direction: column;
  position: relative;
}

.btn-login {
  border: solid 1px #E53E57;
  /* border-radius: 40px; */
  padding: 10px 20px;
  min-width: 350px;
  max-width: 100%;
  text-align: center;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
  background-color: #E53E57;
  /* Adjust color as needed */
  color: white;
  /* Text color */
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
}

.riot-id-input {
  background-image: url('../images/popup/input_background.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  border: none;
  border-radius: 0;
  height: 50px;
  padding: 10px 20px;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  background-color: transparent !important;
  text-align: center;
}

.riot-id-input:focus {
  color: #ffffff !important;
  caret-color: #ffffff;
  background-color: transparent !important;
  box-shadow: none !important;
}

.riot-id-input::placeholder {
  color: #ffffff;
  opacity: 0.75;
  text-transform: uppercase;
}

.popup .popup-content {
  /* border: 1px solid #95dec7; */
}

.submission-tab .submit-link .form-control {
  background-color: #f2f2f2;
  color: #3b3b3b;
  font-weight: bold;
  margin-top: 10px;
}

.popup-body {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  /* flex-grow: 1; */
  /* Allow the body to take up remaining space */
}

.ginlined-content,
.gslide-inline {
  overflow: visible !important;
}

.close-popup {
  right: -39px;
  position: absolute;
  top: 0;
}

/* .form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */

.submission-tab {
  padding: 0 100px;
}

.register-tab .form-control {
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  border-bottom: none;
}

.register-tab input.form-control {
  /* padding-left: 0; */
  background-color: #f2f2f2;
}

.register-tab .form-control:focus {
  box-shadow: 0px 15px 10px -15px rgba(13, 110, 253, .25);
}

.register-tab .form-group {
  margin-bottom: 25px;
  border: 1px solid #bababa;
  background-color: #f2f2f2;
  border-radius: 6px;
  padding: 5px 10px;
}

.register-tab .form-group label {
  color: #838383;
  font-size: 14px;
  font-weight: 400;
  /* line-height: 12px; */
}

.rank-badge {
  background-image: url(../images/f3/badge.png);
  background-size: 100% 100%;
  background-position: top;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  /* position: relative; */
  width: 33px;
  height: 33px;
  display: inline-block;
}

label.error {
  color: red !important;
}

/* body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
} */

.yoru-main {
  height: 906px;
  width: auto;
}


.modal .header-img {
  max-width: 100%;
}

.modal {
  padding-top: 40px;
  padding-bottom: 40px;
}

.benefit-tag-line {
  padding: 0 20px;
}

.table-rank {
  font-size: 18px;
  line-height: 31px;
  font-weight: bold;
  width: 100%;
  margin-bottom: 0;
}

.table-rank th {
  background-color: transparent;
  color: #000;
  vertical-align: middle;
  border-bottom: unset;
  font-family: 'GS3 Druk Wide', sans-serif;
  font-weight: 400;
}

.table-rank>tbody>tr:nth-of-type(odd)>* {
  background-color: transparent;
  color: #fff;
  --bs-table-bg-type: unset;
}

.table-rank>tbody>tr:nth-of-type(even)>* {
  background-color: transparent;
  color: #fff;
}

.creator-rank-table-inner .table-rank tbody tr:nth-child(-n+3) > * {
  color: #ff4655;
}

.creator-rank-table-inner .table-rank .rank-number {
  background-color: #ff4655;
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  min-width: 42px;
  text-align: center;
}

.table-rank>tbody>tr>td {
  border-bottom-width: 0;
}

.table-rank>tbody>tr>td:first-child {
  text-align: center;
}

.carousel-item {
  min-height: 400px;
}

/* .table-rank>tbody>tr:nth-of-type(odd) {
  background-color: #fff;
  color: #000;
  --bs-table-bg-type: unset;
}

.table-rank>tbody>tr:nth-of-type(even) {
  background-color: #dff5ed;
  color: #000;
} */

.table-rank td.rank-col {
  /* display: flex; */
  /* justify-content: center; */
  /* text-align: center; */
  margin-left: auto;
  text-align: center;
  margin-right: auto;
}

.btn-agree {
  /* background: none; */
  /* border: none; */
  /* padding-top: 30px; */
  /* padding-bottom: 30px; */
}



.f3 .select-wrapper .form-select {
  max-width: 30%;
  color: #fff;
}

.f3 .select-wrapper .form-select option {
  color: #000;
}

.f3 .campaign-month {
  margin-left: 20px;
}

.f3 .top1 {
  margin: 0;
  /* margin-top: 0; */
}

.f3 .top-wrapper {
  /* margin-top: 30px; */
  align-items: end;
  gap: 0 20px;
  color: #fff;
}

.f3 .main-title {
  height: 142px;
  width: auto;
}

.f4 .select-wrapper .form-select {
  max-width: 30%;
}

.f4 .title {
  /* margin-top: 30px; */
  /* margin-bottom: 20px; */
  font-size: 41px;
  font-family: 'GS3 Druk Wide', sans-serif;
  color: #ff4655;
  text-transform: uppercase;
  font-weight: bold;
  font-style: italic;
  text-align: right;
}

.f3 .title {
  position: relative;
  margin: 0 100px;
}

.f1 .info-logo {
  position: absolute;
  left: 100px;
  top: 0;
}

.f1 .receieve-news {
  position: absolute;
  left: 50px;
  top: 150px;
  z-index: 3;
}

.f1 .bcgt {
  position: absolute;
  right: 20px;
  top: 120px;
  z-index: 3;
}

.f2 .info-logo {
  position: absolute;
  left: 50px;
  top: 20px;
}

.f1 .event-creator {
  position: absolute;
  left: 100px;
  top: 0;
  z-index: 2;
}

.f4 .row-container {
}

.f4 .card-custom {
  /* width: 258px;
  display: block;
  background: #fff;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
  height: auto;
  width: 295px;
  /* background-image: url('../img/f5/box.png'); */
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

/* .f4 .card-custom:hover {
  filter: drop-shadow(4px 5px 13px #fe5d5d99);
} */

.f4 .tiktok-profile-image {
  height: 295px;
  width: 295px;
  border-radius: 0;
  margin-right: 0;
  /* position: absolute; */
  /* top: 15px; */
  /* left: -25px; */
  object-fit: cover;
}

.creator-videos-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  max-width: 100%;
  gap: 15px;
  min-height: 150px;
}

.creator-videos-wrapper .card-wrapper {
  padding: 0;
  /* gap: 15px; */
}

.creator-videos-wrapper .card-custom {
  max-width: 100%;
  width: 100%;
  position: relative;
}

.creator-videos-wrapper .card-custom .card-body {
  padding-left: 0;
  justify-content: center;
  position: absolute;
  bottom: 10px;
  align-items: center;
  display: flex;
  padding: 0 7px;
}

#submission-table th {
  position: sticky;
  top: 0;
  z-index: 10;
  /* background: rgba(255, 255, 255, 0); */
  backdrop-filter: blur(4px);
}

.submission-table-wapper::-webkit-scrollbar {
  width: 5px;
}

.submission-table-wapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.submission-table-wapper::-webkit-scrollbar-thumb {
  background: #ff4655;
}

.submission-table-wapper::-webkit-scrollbar-thumb:hover {
  background: #8f2f37;
}

.creator-videos-wrapper .card-custom .icon-text {
  color: #fff;
}

.creator-videos-wrapper .popup-creator-video {
  width: 115px;
  height: 205px;
  object-fit: cover;
  max-width: 100%;
  border: 2px red solid;
  padding: 5px;
}

.creator-videos-wrapper .popup-creator-video-link {
  position: relative;
  display: inline-block;
}

.creator-videos-wrapper .popup-creator-video-link::before,
.creator-videos-wrapper .popup-creator-video-link::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: red;
}

.creator-videos-wrapper .popup-creator-video-link::before {
  top: -4px;
  right: -4px;
}

.creator-videos-wrapper .popup-creator-video-link::after {
  bottom: -4px;
  left: -4px;
}

.creator-videos-wrapper .card-custom .card-footer {}

.f4 .view-text {
  font-size: 14px;
  color: #737373;
}

.f4 .tiktok-profile-id {
  padding-right: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ff4655;
  font-weight: bold;
  font-size: 20px;
  text-align: left;
  text-transform: uppercase;
  margin: 15px 0 20px 0;
}

.f4 .tiktok-profile-desc {
  font-size: 18px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  margin-bottom: 20px;
}

.f4 .tiktok-view-count {
  font-size: 22px;
  color: #fff;
}

.f4 .card-footer {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.f4 .vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 28px;
  padding: 0 22px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: url('../images/f3/btn_vote.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-image 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.f4 .vote-button:hover {
  background-image: url('../images/f3/btn_vote_hover.png');
}

.f4 .vote-button.loading {
  cursor: not-allowed;
}

.f4 .vote-button .spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.f4 .filter-box {
  margin-bottom: calc(45px - 17px);
  /* width: 100%; */
}

#creatorInfoPopupContent .creator-profile-id {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  background-image: url('../images/popup/creator-id-border.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#creatorInfoPopupContent .creator-profile-name {
  color: #ff4655;
  font-size: 40px;
  line-height: 40px;
  text-align: left;
}

#creatorInfoPopupContent .creator-description {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  text-align: left;
}

#creatorInfoPopupContent .creator-stats-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 95%;
}

#creatorInfoPopupContent .creator-info-wrapper {
  padding: 0 30px;
}

.creator-videos-separator-wrapper {
  margin-top: -55px;
}

/* Stats list: 2 items per row */
#creatorInfoPopupContent .creator-stats-wrapper .creator-stats-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 20px;
  /* flex: 1 1 50%; */
  justify-content: space-between;
  margin-bottom: 20px;
}

#creatorInfoPopupContent .creator-stats-wrapper .creator-stats-wrapper > div {
  /* flex: 1 1 50%; */
}

#creatorInfoPopupContent .creator-videos-separator {
  height: 75px;
  width: 100%;
}

#creatorInfoPopupContent .creator-videos-top-text {
  height: 50px;
  width: auto;
  position: absolute;
  right: 60px;
  top: 16px;
}

.f5 .title {
  margin-top: 37px;
  margin-bottom: 90px;
}

.f5 .block {
  padding: 0 45px;
}

.top-reward-creator {
  position: relative;
  text-align: center;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: row;
}

.reward-top-creator {
  position: relative;
  padding: 0 40px;
}

.reward-top-creator.top1 {
  zoom: 120%;
}

.top-reward-creator-content {
  position: absolute;
  display: flex;
  bottom: 53px;
}

.top23-badge {
  height: 431px;
  width: auto;
  position: relative;
  z-index: 10;
}

.top1-badge {
  height: 647px;
  width: auto;
  z-index: 11;
}

.top-title {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 5px;
  font-size: 18px;
  font-weight: bold;
}

.reward-top-creator .image-quantity {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  font-weight: 500;
  padding: 3px 5px;
}

.reward-top-creator .image-item {
  position: relative;
  margin: 0 3px;
  /* margin-bottom: 40px; */
  background-color: #000;
  border-radius: 10px;
}

.reward-top-creator .image-item img {
  border-radius: 10px;
}

.f2 .top-wrapper {
  background-image: url('../images/f2/reward-top-bg.png');
  /* background-size: 100% 100%; */
  background-position: top;
  background-repeat: no-repeat;
  background-position-y: 62px;
}

.f2 .top-wrapper .image-item img {
  height: 40px;
}

.reward-top-creator .top1 {
  margin-left: 40px;
  margin-right: 40px;
}

.top-creator {
  position: relative;
  text-align: center;
  display: flex;
  align-content: center;
  justify-content: center;
}

/* Top 1 extra decoration */
.top-creator.top1::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 147px;
  height: 139px;
  background-image: url('../images/f2/top1_decor_top_right.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 12;
}

.top-creator.top1::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -52px;
  width: 162px;
  height: 197px;
  background-image: url('../images/f2/top1_decor_bottom.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 12;
}

.top1 .top-creator-content {
  /* top: 47px; */
  width: 205px;
}

.top2 .top-creator-content,
.top3 .top-creator-content {
  /* top: 0; */
  /* width: 230px; */
}

.top-creator-content {
  position: absolute;
  bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 11;
}

.player-avatar {
  height: 340px;
  width: 232px;
  background-color: #000;
  object-fit: cover;
  position: absolute;
  clip-path: polygon(
    0% 25px,
    25px 0%,
    calc(100% - 25px) 0%,
    100% 25px,
    100% 100%,
    0 100%
  );
}

.top1 .player-avatar {
  width: 278px;
  height: 530px;
}

.top1 .top-creator-content .player-avatar {
  height: 90px;
  width: 90px;
  /* padding: 5px 5px 5px 0; */
}

.top-creator-content .top-content-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.top1 .top-creator-content .top-content-name {
  /* margin-bottom: 5px; */
}

.top-creator-content .top-content-point {
  font-weight: bold;
  /* font-size: 18px; */
  gap: 5px;
  display: flex;
  justify-content: center;
}

.top-creator-content .top-content-point .total-point {
  font-size: 30px;
  line-height: 30px;
  margin-bottom: -4px;
  display: block;
}

.top1 .total-point {
  color: #fff;
}

.top2 .total-point {
  color: #fff;
}

.top3 .total-point {
  color: #fff;
}

.carousel-control-prev {
  left: -200px;
}

.carousel-control-next {
  right: -200px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 4rem;
  height: 4rem;
}

.carousel-indicators [data-bs-target] {
  width: 50px;
  height: 6px;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 4px;
}

.sub-menu:hover .games-menu {
  display: block;
}

.dropdown-item:hover~.dropdown-menu {
  display: block;
}

.dropdown-menu.child:hover {
  display: block;
}

.table-rank tr:last-child td {
  /* padding-bottom: 20px; */
}

.creator-rank-table {
  width: 100%;
  height: 647px;
  /* overflow: auto; */
  background: transparent;
  border: 5px solid #ff4756;
  max-width: 785px;
  padding: 5px 0;
  position: relative;
}

.creator-rank-table::before,
.creator-rank-table::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 18px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.creator-rank-table::before {
  top: 0;
  left: 0;
  background-image: url('../images/f2/topleft.png');
}

.creator-rank-table::after {
  bottom: 0;
  right: 0;
  width: 18px;
  height: 16px;
  background-image: url('../images/f2/bottomright.png');
}

.creator-rank-table-inner {
  padding: 10px 10px 10px 10px;
  overflow: auto;
  height: 100%;
  margin-right: 10px;
  margin-bottom: 10px;
  /* max-width: 785px; */
}

.creator-rank-table-inner::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.creator-rank-table-inner::-webkit-scrollbar-track {
  background: transparent; 
}
 
/* Handle */
.creator-rank-table-inner::-webkit-scrollbar-thumb {
  background: #ff4655; 
}

/* Handle on hover */
.creator-rank-table-inner::-webkit-scrollbar-thumb:hover {
  background: #f81426; 
}

.top-wrapper .view-text {
  color: #fff;
  font-size: 14px;
  /* padding-top: 5px; */
}

.card-custom .icon-text {
  background-color: rgb(22 22 22 / 60%);
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.card-wrapper {
  display: flex;
  justify-content: center;
  padding: 0;
  width: auto;
}

.card-wrapper::hover {
  box-shadow: rgb(255 0 66 / 49%) 0px 0px 20px;
}

#submission-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 60px 60px;
  text-align: center;
  justify-items: center;
  margin-top: 65px;
  margin-bottom: 20px;
}

.card-custom .icon-text img {
  margin-right: 5px;
}

.f4 .main-container {
  max-width: 1600px;
  /* padding-top: 40px; */
}

/* :lang(vi) .logo18 {
  visibility: visible !important;
} */

.program_image_1,
.program_image_2 {
  height: 567px;
  width: auto;
}

.f3 .hero-wrapper {
  height: 100% !important;
}

.f3 .top-creator-content {
  cursor: pointer;
}

.f2 .main-title {
  font-family: 'GS3 Druk Wide', sans-serif;
  font-size: 40px;
  font-style: italic;
  color: #ff4655;
  text-shadow: 4px 3px 12px rgba(255, 102, 102, 0.59);
  margin-bottom: 40px;
}

#creatorInfoPopupContent {
  max-width: 100%;
}

#creatorInfoPopup .modal-dialog {
  max-width: 850px;
  width: 100%;
}

#creatorInfoPopupContent .creator-popup-title {
  font-weight: bold;
  text-align: center;
  margin: 25px 0 20px 0;
  font-size: 40px;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin: 25px 0 20px 0;
  font-family: 'SVN-Tungsten', sans-serif;
}

#creatorInfoPopupContent .creator-popup-separator {
  height: 3px;
  margin-bottom: 10px;
  width: 100%;
}

.f5 .benefit-class {
  height: 200px;
}

.f5 .benefit-content {
  font-size: 16px;
}

.f1 {
  position: relative;
}

.count-down-text {
  height: 66px;
}

.count-down-value {
  font-size: 30px;
  line-height: 30px;
  font-weight: bolder;
}

.count-down-label {
  font-size: 11px;
}

.count-down {
  background-image: url('../images/f2/time_box.png');
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 94px;
  height: 94px;
  flex-direction: column;
  color: #fff;
  gap: 2px;
}

.count-down-container {
  margin-top: 60px;
  justify-content: center;
  gap: 50px;
  align-items: center;
  position: relative;
}

.count-down-decorate-arrow {
  height: 28px;
  margin-left: 20px;
}

/* Countdown line decorations */
.count-down-container::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 422px;
  height: 38px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  left: 0;
  background-image: url('../images/f2/decorate_count_down_left.png');
}

.count-down-container::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 422px;
  height: 38px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  right: 0;
  background-image: url('../images/f2/decorate_count_down_right.png');
}

@media (min-width: 1400px) {}

@media only screen and (min-width: 4001px) {}

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

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

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

@media only screen and (max-width: 2000px) {
  .header .container-fluid,
  .f1 .container,
  .f1 .cborder,
  .f3 .container-fluid,
  .f4 .container-fluid,
  .modal,
  .footer,
  .gslider
  {
    zoom: 90%;
  }

  .f3 .rank-container {
    gap: 40px 65px;
    margin-top: 40px;
  }

  .count-down-container {
    gap: 30px;
    margin-top: 40px;
  }
}

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

@media only screen and (max-width: 1600px) {

  .header .container-fluid,
  .f1 .container,
  .f1 .cborder,
  .f3 .container-fluid,
  .f4 .container-fluid,
  .modal,
  .footer,
  .gslider {
    zoom: 71%;
  }

  .f3 .rank-container {
    gap: 40px;
    margin-top: 40px;
  }

  .count-down-container {
    gap: 30px;
    margin-top: 40px;
  }
}


@media only screen and (max-width: 1400px) {
  .header .container-fluid,
  .f1 .container,
  .f1 .cborder,
  .f3 .container-fluid,
  .f4 .container-fluid,
  .modal,
  .footer,
  .gslider {
    zoom: 61%;
  }

  .f3 .rank-container {
    gap: 40px 40px;
    margin-top: 20px;
  }

  .count-down-container {
    gap: 30px;
    margin-top: 30px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
  .f1 .container,
  .f1 .cborder,
  .f3 .container-fluid,
  .f4 .container-fluid,
  .modal,
  .footer,
  .gslider {
    zoom: 58%;
  }
}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

@media only screen and (max-width: 992px) {

  .header .container-fluid,
  .f1 .container,
  .f3 .container-fluid,
  .f4 .container-fluid {
    zoom: unset;
  }
}

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

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 768px) {

  .header .container-fluid,
  .f1 .container,
  .f2 .container,
  .f4 .container,
  .f4 .container-md,
  .f5 .container,
  .sticky-social-icons {
    zoom: unset;
  }

  
}

@media only screen and (max-width: 850px) {


}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

  /* Hero area: remove heavy borders and improve spacing */
  #hero-animated.full-frame {
    min-height: 100vh;
    height: auto;
  }

  .f1 {
    min-height: auto;
  }

  .f1 .cborder {
    display: none;
  }

  .f1 .container.main-container {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .f1 .title-wrapper {
    margin-top: 0;
    padding-top: 0;
  }

  /* Scale hero images for small screens */
  .f1 .main-logo {
    margin-top: 0;
    margin-left: 0;
    height: auto;
    max-width: 80vw;
  }

  .f1 .title-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: auto;
    max-width: 100vw;
    top: -80px;
  }

  /* Improve CTA button tap target and centering */
  .btn-join-wrapper {
    margin-top: 0;
    justify-content: center;
  }

  .btn-download-app {
    width: 220px;
    height: 70px;
    background-size: contain;
  }
}

/* Mobile & tablet landscape: keep hero responsive and scrollable */
@media only screen and (max-width: 1024px) and (orientation: landscape) {

  :root {
    --font-default: 'Open Sans', sans-serif;
    --font-primary: 'Open Sans', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
  }

  .header .container-fluid,
  .f1 .container,
  .f1 .cborder,
  .f3 .container-fluid,
  .f4 .container-fluid,
  .footer {
    zoom: 45%;
  }

  .modal,
  .gslider {
    zoom: 60%;
  }

  .f1 {
    min-height: 375px;
  }

  .f3 {
    height: 500px;
    min-height: 500px;
  }

  .f3 .rank-container {
    gap: 40px;
  }

  #submission-list {
    gap: 40px 10px;
  }

  .footer-content .container {
    max-width: 90vw !important;
  }

  #infoPopup .modal-content {
    background-color: black;
  }

  .modal-dialog {
    max-width: 700px;
  }

  #infoPopup .popup-body {
    min-height: 370px;
  }

  #creatorInfoPopupContent .creator-popup-title, #creatorInfoPopupContent .creator-profile-name {
    font-size: 22px;
  }

  #creatorInfoPopupContent .creator-description {
    font-size: 14px;
  }
  .creator-info .creator-stats-text {
    font-size: 14px;
  }
  .creator-info .creator-profile-followers-count, .creator-info .creator-profile-views-count, .creator-info .creator-profile-content-type {
    font-size: 14px;
  }
  #creatorInfoPopupContent .creator-profile-id {
    font-size: 14px;
  }

  .top-creator-content .top-content-name {
    font-size: 18px;
  }

  .top-creator-content .top-content-point .total-point {
    font-size: 22px;
  }

  .top-wrapper .view-text {
    font-size: 11px;
  }

  .riotbar-footer-copyright-text {
    font-size: 11px;
  }

  .f4 .tiktok-view-count {
    font-size: 14px;
  }

  .f4 .vote-button {
    font-size: 14px;
  }

  .table-rank {
    font-size: 13px;
  }

  .f4 .tiktok-profile-id {
    font-size: 13px;
  }

  .f4 .tiktok-profile-desc {
    font-size: 11px;
  }

  .count-down-value {
    font-size: 18px;
  }

  .count-down-label {
    font-size: 11px;
  }
  

  /* iOS-specific font size adjustments */
  @supports (-webkit-touch-callout: none) {

    .riot-id-input {
      font-size: 11px;
    }

    #creatorInfoPopupContent .creator-profile-id {
      font-size: 14px;
    }

    .top-creator-content .top-content-name {
      font-size: 12px;
    }

    .top-creator-content .top-content-point .total-point {
      font-size: 14px;
    }

    .top-wrapper .view-text {
      font-size: 11px;
    }

    .riotbar-footer-copyright-text {
      font-size: 11px;
    }

    .f4 .tiktok-view-count {
      font-size: 12px;
    }

    .f4 .vote-button {
      font-size: 10px;
    }

    .table-rank {
      font-size: 10px !important;
    }

    .f4 .tiktok-profile-id {
      font-size: 12px;
    }
  
    .f4 .tiktok-profile-desc {
      font-size: 10px;
    }

    .card-custom .icon-text {
      font-size: 10px;
    }

    .count-down-value {
      font-size: 16px;
    }

    .count-down-label {
      font-size: 11px;
    }

  }

  #creatorInfoPopup .modal-dialog, #creatorInfoPopup .container, #joinPopup .modal-dialog, #joinPopup .container,
  #infoPopup .modal-dialog, #infoPopup .container {
    max-width: 90vw;
  }

  .header-text {
    font-size: 28px;
  }
}

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

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