*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 100px; /* 100px = 1rem */
}
body {
  margin: 0;
  font-family: sans-serif;
  background-color: #1a1a1a; /* Default background */
  width: 100%;
  min-height: 100vh;
}
.white {
  color: #fff;
}
.spin {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #fff;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}

.spin-title {
  font-size: 0.2rem;
  color: #fff;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.8); /* For sticky header */
  width: 100%;
}
.spin-title h1 {
  font-size: 0.2rem;
  color: #fff;
  text-align: center;
  width: 100%;
}

.spin-title .right-icons {
  position: relative;
  top: 50%;
  right: 0.2rem;
  z-index: 10;
  transform: translateY(-50%);
  color: #fff;
  margin-left: 0.15rem;
}

.spin-container {
  position: relative;
}

.spin-container-content {
  position: relative;
 
}

.spin-container-content .luck-time {
  width: 100%;
  text-align: center;
  font-size: 0.14rem;
  color: #ffda3a;
}

.spin-content-placeholder {
  height: 3rem; /* Placeholder height */
  background-color: #333;
  color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  /* width: min(90vw, 700px); */
  border-radius: 0.1rem;
  font-size: 0.24rem;
}

.spin-container-share {
  display: block;
  width: 93%;
  height: 0.45rem;
  margin: 0.2rem 0.15rem 0.08rem 0.15rem;
  border: none;
  position: relative;
  background-size: 100%;
  font-size: 0.2rem;
  font-weight: bold;
  background: linear-gradient(180deg, #000000 0%, #3e321c 100%);
  box-shadow: 0 0 0.03rem 0.008rem #b38922;
  border-radius: 0.1rem;
  border: 0.01rem solid #d0b841;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spin-container-share-tips {
  position: absolute;
  width: 2.51rem;
  height: 0.2rem;
  line-height: 0.2rem;
  top: -0.26rem;
  right: 0.12rem;
  font-size: 0.12rem;
  background-color: #de4808bf;
  font-weight: 400;
  z-index: 1;
  border-radius: 0.04rem;
  text-align: center;
  color: #fff;
  /* position: relative; */
}
.spin-container-share-tips::after {
  content: '';
  position: absolute;
  bottom: -0.1rem;
  left: 0.2rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.06rem;
  border-color: #de4808bf transparent transparent transparent;
}

.spin-container-share-tips .pri {
  font-weight: bold;
  color: #f5e615;
}

.spin-container-share .share-icon {
  margin-left: 0.1rem;
  font-size: 0.24rem;
  vertical-align: middle;
  width: 0.24rem;
  height: 0.24rem;
  margin-right: 0.04rem;
}

.bank-card {
  margin: 0.02rem 0.15rem;
  border-radius: 0.08rem;
  overflow: hidden;
  background: linear-gradient(
    139deg,
    #ffeb60 0%,
    #e2cb57 20%,
    #c1a82f 49%,
    #e2c037 85%,
    #dcc61e 100%
  );
  padding-bottom: 0.2rem;
}

.bank-card-invite-title {
  border-radius: 0.2rem;
  margin: 0.14rem auto 0;
  font-weight: bold;
  font-size: 0.18rem;
  color: #885b00;
  text-align: center;
  line-height: 1;
  position: relative;
  padding: 0.1rem 0;
}
.bank-card-invite-title::after,
.bank-card-invite-title::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 0.01rem;
  background: #98751d; /* Simplified gradient */
}
.bank-card-invite-title::before {
  left: 0;
}
.bank-card-invite-title::after {
  right: 0;
}

.bank-card-invite-schedule {
  display: flex;
  align-items: center;
  margin-top: 0.1rem;
  margin-inline: 0.3rem;
}

.bank-card-invite-schedule .left {
  margin-right: 0.08rem;
  font-size: 0.26rem;
  color: #885b00;
  font-weight: bold;
}

.bank-card-invite-schedule .schedule {
  flex: 1;
  height: 0.16rem;
  background-color: #12201c;
  border-radius: 0.08rem;
  margin-left: 0.05rem;
  position: relative;
}

.bank-card-invite-schedule .schedule .center {
  background: #fff700;
  border-radius: 0.08rem;
  height: 100%;
  width: 30%; /* Example progress */
}

.bank-card-invite-schedule .num {
  color: #cc702a;
  text-align: center;
  line-height: 1;
  font-weight: bold;
  font-size: 0.2rem;
  margin-left: 0.1rem;
}

.bank-card-invite-info {
  font-size: 0.2rem;
  margin-top: 0.1rem;
  padding: 0 0.3rem;
  white-space: pre-wrap;
  word-spacing: -0.02rem;
  color: #825d13;
}

.spin-container-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: 0.2rem;
  margin-top: 0.24rem;
}

.spin-container-amount .left {
  flex: 1;
  height: 0.26rem;
  line-height: 0.26rem;
  margin-right: 0.12rem;
  font-weight: bold;
  text-shadow: 0 0.03rem 0 #ffed8b;
  font-size: 0.3rem;
  color: #8b4903;
}

.spin-container-amount .right {
  width: 1.37rem;
  height: 0.3rem;
  background: linear-gradient(180deg, #000000 0%, #545454 100%);
  box-shadow: 0 0.02rem 0 0.01rem #ffe358;
  border-radius: 0.06rem;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 0.14rem;
  cursor: pointer;
}

.spin-progress-tips {
  display: flex;
  margin-block-start: 0.065rem;
  margin-inline-start: 0.2rem;
  margin-inline-end: 0.2rem;
  justify-content: space-between;
  align-items: center;
}

.spin-progress-tips .left {
  font-size: 0.13rem;
  color: #cc702a;
  font-weight: bold;
}

.spin-progress-tips .right {
  background: #de4908;
  border-radius: 0.06rem;
  color: #fff;
  width: 1.16rem;
  height: 0.18rem;
  line-height: 0.18rem;
  font-size: 0.12rem;
  text-align: center;
  position: relative;
}

.spin-progress-tips .right::after {
  content: '';
  position: absolute;
  bottom: -0.12rem;
  right: 0.06rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.06rem;
  border-color: #de4908 transparent transparent transparent;
}

.spin-progress-tips .right span {
  color: #fad838;
}

.spin-progress {
  box-sizing: border-box;
  height: 0.1rem;
  background: #543313;
  border-radius: 0.07rem;
  margin-inline: 0.22rem;
  margin-top: 0.1rem;
}

.spin-progress .center {
  height: 0.09rem;
  background: rgb(255, 247, 0);
  border-radius: 0.07rem;
  width: 99.6%; /* Example progress */
}

.bank-card-bind {
  margin-top: 0.1rem;
  padding-inline: 0.2rem;
  display: flex;
  align-items: center;
  color: #885b00;
  font-size: 0.13rem;
}

.bank-card-bind .text {
  flex: 1;
  font-weight: 400;
  font-size: 0.13rem;
  font-weight: bold;
}
.bank-card-bind .edit-button {
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 0.06rem;
  cursor: pointer;
  background-color: #8b4903;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bank-card-bind .edit-button img {
  width: 0.14rem;
  height: 0.14rem;
}

.bank.bank-card-bind .text span {
  margin-right: 0.1rem;
}

.bank-card-bind .text .account {
  margin-top: 0.1rem;
}
.mr-1 {
  margin-right: 0.06rem;
}

.bank-card-bind a {
  background: #8b4903;
  border-radius: 0.1rem;
  width: 0.4rem;
  height: 0.4rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-card-bind .cardCore {
  margin-left: 0.18rem;
  width: 0.36rem;
  height: 0.28rem;
}

.notification-box {
  margin: 0.08rem 0.15rem;
  border-radius: 0.04rem;
  font-size: 0.2rem;
  color: #885b00;
  font-weight: bold;
  background-color: #46371a;
  padding: 0;
  height: 0.34rem;
  overflow: hidden;
  position: relative;
}
.notification-list {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.notification-item {
  height: 0.34rem;
  padding-inline: 0.12rem;
  color: #fff;
  display: flex;
  align-items: center;
}
.notification-item .avatar {
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 50%;
  margin-right: 0.1rem;
  font-size: 0.13rem;
}
.notification-item .notification-text {
  flex: 1;
  display: flex;
  align-items: center;
  width: 85%;
}
.notification-item .notification-phone {
  font-size: 0.13rem;
}
.notification-item .notification-desc {
  font-size: 0.13rem;
  font-weight: bold;
  color: #ffdc39;
  text-align: right;
}

.sipn-rule {
  padding-bottom: 0.5rem;
}

.activity_title {
  height: 0.38rem;
  font-weight: bold;
  font-size: 0.24rem;
  color: #0de18c;
  transition: 0.2s color;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.activity_title_item {
  position: relative;
  padding: 0 0.2rem;
  color: #0de18c;
}
.activity_title_item .pri {
  color: #0de18c;
}
.activity_title .icon-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.activity_title .icon {
  width: 0.2rem;
  height: 0.2rem;
  color: #0de18c;
}

.activity_title .icon-line::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 1.19rem;
  height: 0.01rem;
  background: linear-gradient(270deg, #0de18c 0%, rgba(0, 222, 140, 0) 100%);
}

.activity_title .icon-line::before {
  left: 0;
  transform: translateX(-99%) scaleY(0.5);
}

.activity_title .icon-line.on {
  left: auto;
  right: 0;
  transform: translateX(100%) scaleX(-1);
}
.activity_title_item {
  font-size: 0.13rem;
  color: #fff;
  line-height: 1.5;
}

.activity_title_item span {
  color: #0de18c;
}

.spin-container-content .container {
  height: 3.6rem;
  position: relative;
  user-select: none;
  margin-top: 0.2rem;
}

.mt-12 {
  margin-top: -0.08rem;
}

.spin-container-content .container .timeCard {
  width: fit-content;
  height: fit-content;
  background-size: 100%;
  position: absolute;
  right: 0.2rem;
  top: 2rem;
  z-index: 11;
}

.spin-container-content .container .timeCard img {
  width: 0.47rem;
  height: 0.47rem;
  vertical-align: middle;
}

.spin-container-content .container .timeCard .tips {
  width: 1.5rem;
  height: 0.38rem;
  background-size: 100%;
  position: absolute;
  font-size: 0.11rem;
  top: 0.99rem;
  left: 0.25rem;
  margin-left: -0.75rem;
  text-align: center;
  color: #fff;
}

.spin-container-content .container .timeCard .count-down {
  color: #ff8000;
  font-size: 0.15rem;
  line-height: 1.2;
  margin-top: -0.1rem;
}

.spin-container-content .container .luckyCard {
  width: fit-content;
  height: fit-content;
  background-size: 100%;
  position: absolute;
  left: 0.28rem;
  top: 2rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  z-index: 11;
}

.spin-container-content .container .luckyCard .tips {
  width: 0.9rem;
  height: 0.38rem;
  background-size: 100%;
  position: absolute;
  font-size: 0.1rem;
  top: 1.24rem;
  left: 0.58rem;
  margin-left: -0.75rem;
}

.spin-container-content .container .luckyCard .luckyCardItem {
  position: relative;
  margin: 0 auto;
}

.spin-container-content .container .luckyCard .luckyCardItem img {
  width: 0.47rem;
  height: 0.47rem;
  vertical-align: middle;
}

.spin-container-content .container .luckyCard .luckyCardNum {
  position: absolute;
  top: 1.06rem;
  text-align: center;
  width: 100%;
  font-size: 0.12rem;
  border-radius: 0.04rem;
}

.spin-container-content .container .rule-tips {
  padding-block: 0.02rem;
  padding-inline: 0.05rem;
  border-radius: 0.04rem;
  font-size: 0.18rem;
  color: #ccab6c;
  position: absolute;
  top: -0.12rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  z-index: 12;
}

.spin-container-content .container .content {
  width: 2.6rem;
  height: 2.6rem;
  background-size: 100%;
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
}

.spin-container-content .container .content-panel {
  background-image: url('/spin/v3/spin-border.webp');
  background-size: 100%;
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  top: -0.38rem;
  left: 50%;
  margin-left: -1.625rem;
}

.spin-container-content .container .canvasSpin {
  width: 2.31rem;
  height: 2.31rem;
  position: absolute;
  left: 50%;
  top: 0.09rem;
  margin-left: -1.155rem;
  background-image: url('/spin/v3/bg.webp');
  background-size: 100%;
}

.spin-container-content .container .light-border {
  width: 2.5rem;
  height: 2.5rem;
  background-image: url('/spin/v3/light.png');
  background-size: 100%;
  position: absolute;
  left: 50%;
  top: 0rem;
  margin-left: -1.25rem;
  animation: rotateLight 2.5s steps(1) infinite;
}

@keyframes rotateLight {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(90deg); }
  50% { transform: rotate(180deg); }
  75% { transform: rotate(270deg); }
  100% { transform: rotate(360deg); }
}

.spin-container-content .container .bingo-border {
  width: 1.82rem;
  height: 1.36rem;
  background-image: url('/spin/v3/bingo-border.webp');
  background-size: 100%;
  position: absolute;
  top: -0.14rem;
  left: 50%;
  margin-left: -0.91rem;
}

.spin-container-content .container .pointer {
  width: 0.75rem;
  height: 0.75rem;
  background-image: url('/spin/v3/pointer.webp');
  background-size: 100%;
  position: absolute;
  left: 50%;
  top: 0.87rem;
  transform: translateX(-50%);
  box-sizing: border-box;
  font-size: 0.13rem;
  color: #fff;
  text-align: center;
  padding-top: 0.13rem;
  cursor: pointer;
}

.spin-container-content .container .pointer h2 {
  text-shadow: 0 0 0.02rem #a73d12, 0 0 0.02rem #a73d12, 0 0 0.02rem #a73d12, 0 0 0.02rem #a73d12,
    0 0 0.02rem #a73d12, 0 0 0.02rem #a73d12;
  margin-top: 0.31rem;
  font-size: 0.13rem;
}
