:root {
  --global-black: #000000;
  --global-white: #ffffff;
  --global-primary: #025be8;
  --global-green: #3ab555;
  --coin-icon: url('images/activity/sign/coin.webp');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f4f4f4;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.2);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}

#ruleBtn {
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-style: bold;
  cursor: pointer;
  border: 3px solid #4b3719;
  border-radius: 50%;
}

.free-sign {
  /* width: 697px;
  margin: 0 auto; */
  padding-bottom: 30px;
  border-radius: 10px;
  background: linear-gradient(1deg, #80e1a2, #a5e68e, #daeb76, #eded6b);
  position: relative;
}

.free-sign-page {
  margin-right: auto !important;
  margin-top: 50px !important;
}

.free-sign .header {
  padding: 33px 26px 0;
  text-align: left;
}

.free-sign .header .title {
  font-weight: bold;
  font-size: 48px;
  color: #4b3719;
  display: flex;
  align-items: center;
}

.free-sign .header .title i {
  font-size: 50px;
  margin-left: 10px;
  font-style: normal;
  cursor: pointer;
}

.free-sign .header .sub-title {
  margin-top: 10px;
  font-weight: 400;
  font-size: 30px;
  color: #4b3719;
  display: flex;
  align-items: center;
}

.free-sign .header .sub-title .time {
  width: 260px;
  white-space: nowrap;
  margin-left: 10px;
  padding: 0 10px;
  color: #ff522f;
  border: 1px solid #ff522f;
  border-radius: 4px;
  font-size: 24px;
  display: flex;
  justify-content: start;
  align-items: center;
  height: 34px;
}

.free-sign .header .sub-title .time span {
  margin-left: 5px;
}

.free-sign .close {
  font-size: 35px;
  background: none;
  border: none;
  color: #4b3719;
  padding: 6px;
  position: absolute;
  right: 20px;
  top: 30px;
  cursor: pointer;
}

.free-sign .banner {
  height: 245px;
  background-image: url('/images/activity/sign/banner.webp');
  background-size: cover;
  margin: 20px 26px 0;
  line-height: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.free-sign .banner h3 {
  line-height: 58px;
  padding-left: 20px;
  color: var(--global-black);
  font-size: 32px;
  margin-top: -24px;
}

.free-sign .banner h4 {
  padding-left: 20px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 60px;
  color: #f3623f;
}

.free-sign .banner p {
  width: 420px;
  font-weight: bold;
  font-size: 28px;
  color: #575529;
  margin-left: 20px;
  margin-top: 15px;
  line-height: 1.2;
}

.free-sign .banner p span {
  color: #f3623f;
}

.content-progress {
  border-radius: 10px;
  position: relative;
  padding: 30px 26px 0;
}

.content-progress .bx-list {
  display: flex;
  justify-content: space-between;
}

.content-progress .bx-list-item {
  text-align: center;
  width: 146px;
  height: 142px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.content-progress .bx-list-item.can {
  background: url('/activity/sign/light.webp') center center/100px no-repeat;
}

.content-progress .bx-list-item.can img {
  animation: scaleAnimation 2s infinite ease-in-out;
}

.content-progress .bx-list-item.clock::after {
  display: block;
  content: '';
  width: 18px;
  height: 22px;
  background-image: url('/activity/sign/lock.webp');
  background-size: 100%;
  position: absolute;
  top: 8px;
  left: 8px;
}

.content-progress .bx-list-item img {
  width: 98px;
  height: 81px;
  display: block;
}

.content-progress .bx-list-item p {
  width: 100%;
  height: 38px;
  line-height: 38px;
  font-size: 26px;
  color: #ffffff;
}

.content-tabs {
  margin: 18px 26px -1px;
  height: 58px;
  display: flex;
  align-items: center;
}

.content-tabs-item {
  flex: 1;
  line-height: 58px;
  text-align: center;
  border-radius: 5px 5px 0px 0px;
  position: relative;
  font-size: 30px;
  color: var(--global-black);
  cursor: pointer;
  font-weight: bold;
}

.content-tabs-item.active {
  background-color: var(--global-white);
  border-radius: 16px 16px 0px 0px;
}

.content-panel {
  border-radius: 0 0 30px 30px;
  padding: 32px 26px 30px;
  background-color: var(--global-white);
  margin: 0 26px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.card-list-item {
  height: 176px;
  background: #f8f8f8;
  border-radius: 16px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.card-list-item.active {
  background-image: url('/activity/sign/status3.webp');
  background-size: 100% 100%;
  box-shadow: 0 0 12px 1px #a6e68e80;
}

.card-list-item.active h3 {
  color: #f33e09;
}

.card-list-item.expire {
  background-image: url('/activity/sign/status1.webp');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
}

.card-list-item.receive {
  background: url('/activity/sign/status2.webp') no-repeat center / 100% 100%;
}

.card-list-item.receive p {
  color: var(--global-white);
  font-size: 40px;
}

.card-list-item h3 {
  width: 100%;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 24px;
  position: absolute;
  top: 12px;
  left: 0;
  color: #575529;
  font-weight: bold;
}

.card-list-item p {
  width: 100%;
  height: 44px;
  line-height: 44px;
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  color: #575529;
  font-style: italic;
}

.card-list-item p span {
  font-size: 26px;
  font-weight: 800;
}

.card-list-item img {
  width: 100px;
  height: 80px;
  object-fit: contain;
  margin-top: 10px;
}

.card-list-item:last-child {
  grid-column: span 2;
  height: 180px;
}

.card-list-item:last-child::after {
  content: '';
  width: 145px;
  height: 30px;
  background-image: url('/activity/sign/big-rewards.webp');
  background-size: 100%;
  position: absolute;
  top: -18px;
  left: 50%;
  margin-left: -72.5px;
}

.card-list-item:last-child.active {
  background: url('/activity/sign/status3-big.webp') no-repeat center / 100% 100%;
}

.card-list-item:last-child.receive {
  background: url('/activity/sign/status2-big.webp') no-repeat center / 100% 100%;
}

.card-list-item .hand {
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: -40px;
  right: -60px;
  z-index: 9;
  animation: scaleAnimation 2s infinite linear;
}

.links {
  height: 157px;
  background-color: var(--global-white);
  margin: 16px 26px 0;
  border-radius: 30px;
  position: relative;
  display: flex;
  padding: 40px 20px 20px;
}

.links-hook-left,
.links-hook-right {
  width: 12px;
  height: 57px;
  position: absolute;
  top: -35px;
}

.links-hook-left::before,
.links-hook-left::after,
.links-hook-right::before,
.links-hook-right::after {
  content: '';
  width: 20px;
  height: 20px;
  background: #92e498;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  left: -4px;
}

.links-hook-left::before,
.links-hook-right::before {
  top: -10px;
}
.links-hook-left::after,
.links-hook-right::after {
  bottom: -10px;
}

.links-hook-left span,
.links-hook-right span {
  display: block;
  height: 100%;
  width: 100%;
  background: #d3f8da;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 6px;
  z-index: 2;
}

.links-hook-left {
  left: 60px;
}
.links-hook-right {
  right: 60px;
}

.deposit,
.invite {
  flex: 1;
  border-radius: 15px;
  font-weight: bold;
  position: relative;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

.deposit::after,
.invite::after {
  content: '>>';
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 22px;
}

.deposit {
  color: #575529;
  margin-right: 20px;
  background-color: #b8fdd0;
  background-image: url('/images/activity/sign/deposit.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 20px center;
}

.deposit .text {
  margin-top: 16px;
  margin-right: 20px;
  text-align: right;
  font-size: 26px;
}

.invite {
  color: #575529;
  background-color: #dbfba5;
  background-image: url('/images/activity/sign/invite.webp');
  background-size: 140px;
  background-repeat: no-repeat;
  background-position: -40px 10px;
}

.invite .text {
  margin-top: 16px;
  margin-left: 80px;
  text-align: left;
  font-size: 26px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  position: relative;
  width: 660px;
  height: 479px;
  background: linear-gradient(to bottom, #81e1a2, #ffffff);
  border-radius: 40px;
  padding-top: 110px;
  color: var(--global-black);
  text-align: center;
}

.popup-reveice {
  width: 292px;
  height: 213px;
  position: absolute;
  left: 50%;
  top: -120px;
  margin-left: -146px;
}

.popup-content-coin {
  color: #486e32;
  font-size: 58px;
  font-weight: bold;
}

.popup h3 {
  font-size: 40px;
}
.popup h2 {
  font-size: 60px;
}

.popup-content-message {
  width: 582px;
  margin: 30px auto;
  font-size: 30px;
  line-height: 1.4;
}

.popup-content-btn {
  width: 580px;
  height: 80px;
  background: linear-gradient(to right, #35ed85, #a8d65a);
  font-weight: bold;
  font-size: 32px;
  color: #000000;
  border: none;
  border-radius: 40px;
  cursor: pointer;
}

.award-text {
  display: inline-flex;
  align-items: center;
}

.award-text img {
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

.tips-popup {
  position: relative;
  width: 660px;
  background: #1c1e29;
  border-radius: 40px;
  padding: 60px 40px;
  color: #ffffff;
  text-align: center;
}

.tips-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: lowercase;
}

.tips-content {
  text-align: left;
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 60px;
}

.tips-content p {
  margin-bottom: 20px;
}

.tips-confirm-btn {
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, #00ff8c 0%, #00d273 100%);
  border: none;
  border-radius: 8px;
  color: #000000;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}
