.home-top-bg {
  background-image: url(/assets/images/module-project/bg-home.svg);
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Aimate tick left and right */
@keyframes tickTack {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(-10deg);
  }
}
.whell-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wheel {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: start;
  overflow: hidden;
  border: 7px solid #fff;
  /* animation: rotate 8s infinite linear; */
}
@media screen and (max-width: 550px) {
  .wheel {
    width: 306px;
    height: 306px;
  }
}

.center-action {
  display: flex;
  position: absolute;
  border-radius: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  /* animation: tickTack 0.5s infinite linear; */
}

.segment-content {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  margin-bottom: auto;
  gap: 5px;
  padding-top: 20px;
}
@media screen and (max-width: 550px) {
  .segment-content {
    padding-top: 10px;
    gap: 0px;
  }
}

.segment-content .title {
  font-size: 12px;
  max-width: 90%;
  text-align: center;
}
@media screen and (max-width: 550px) {
  .segment-content .title {
    font-size: 10px;
  }
}

.segment-content .value {
  font-size: 24px;
  font-weight: bold;
  max-width: 60%;
  text-align: center;
}
@media screen and (max-width: 550px) {
  .segment-content .value {
    font-size: 18px;
  }
}

.segment-content .description {
  font-size: 12px;
  max-width: 30%;
  text-align: center;
}
@media screen and (max-width: 550px) {
  .segment-content .description {
    font-size: 10px;
  }
}

.segment-content .image {
  width: 20px;
  object-fit: contain;
}

.center-action::after {
  height: 100%;
  width: 100%;
  background-color: #fff;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 100%;
}

.center-action::before {
  /* Make trianglle */
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 50px solid #ec4943;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
}

.center-trigger {
  height: 36px;
  width: 36px;
  background-color: #454443;
  border-radius: 100%;
  position: absolute;
  z-index: 20;
}

/* Keyfrmes infinite rotation */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.segment {
  /* width: 200px; */
  /* Make auto formula usiht phi */
  width: 45%;
  height: 250px;
  position: relative;
  /* border-radius: 50%; */
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  font-weight: bold;
  transform-origin: 50% 100%;
  position: absolute;
}
@media screen and (max-width: 550px) {
  .segment {
    height: 153px;
  }
}

.segment:nth-child(odd) .segment-content {
  color: #4096FF;
  background-color: #E6F4FF;
}

.segment:nth-child(even) .segment-content {
  color: #E6F4FF;
  background-color: #4096FF;
}

.spin-bg {
  background-image: url(/assets/images/spinner-bg.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 500px;
  background-position: top;
}

.card-spinner {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.top-voucher-collected {
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -16px;
  border-radius: 11px 11px 0 0;
  height: 167px;
  background: linear-gradient(180deg, #4096FF 0%, #DEEDFF 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-voucher-collected .star {
  position: absolute;
  left: 30px;
  top: 20px;
}

.voucher-modal-1 {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--neutral-20);
  background: white;
  width: 75%;
  height: 93px;
  display: flex;
}
.voucher-modal-1 .left-panel {
  height: 100%;
  width: 126px;
  border-right: 1px dashed var(--neutral-20);
}
.voucher-modal-1 .left-panel img {
  width: 100%;
}
.voucher-modal-1 .right-panel {
  height: 100%;
  width: 100%;
  display: flex;
}
.voucher-modal-1 .right-panel .content {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.voucher-modal-1 .right-panel .content .bottom {
  display: flex;
  justify-content: end;
}

.voucher-modal-2 {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--neutral-20);
  background: white;
  width: 75%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  text-align: center;
  justify-content: space-between;
}
.voucher-modal-2 .bottom {
  border-top: 1px dashed var(--neutral-30);
  padding-top: 10px;
  margin-top: 10px;
}