* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

html {
  scroll-behavior: smooth;
}

img {
  border: 0;
  vertical-align: top;
  max-width: 100%;
}

.btn:hover {
  transform: scale(1.05);
}

#scale-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  min-width: 1690px;
}

.bg-section {
  position: relative;
  margin: 0 auto;
  max-width: 1920px;
  min-width: 1690px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-1 {
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/bg-01.jpg');
  width: 100%;
  height: 1664px;
}

.bg-2 {
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/bg-02.jpg');
  width: 100%;
  height: 2198px;
}

.bg-3 {
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/bg-03.jpg');
  width: 100%;
  height: 2429px;
}

/* ===== 第1部分 ===== */
.s1-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 90px;
}

.btn-login {
  width: 276px;
  height: 97px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/btn-login.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.s1-content .btn-rule {
  width: 278px;
  height: 97px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/btn-rule.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.s1-user-info {
  display: none;
}
.s1-user-info.show {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s1-stone {
  width: 330px;
  height: 100px;
  position: absolute;
  top: 89%;
  left: 54%;
  transform: translate(-50%, -50%);
}

/* ===== 第2部分（空壳） ===== */
.s2-content {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  height: 1525px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/s2-content-bg.png');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 1920px;
}

.s2-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
}

.s2-task-list {
  position: absolute;
  top: 61%;
  left: 56%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  width: 63%;
}

.s2-task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 2.3;
  font-size: 42px;
}

.s2-task-text {
  width: 75%;
  color: rgb(91, 50, 10);
  font-weight: 700;
}

.s2-task-progress {
  color: rgb(91, 50, 10);
  font-weight: 700;
}

.s2-bottom {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  height: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s2-circle-wrap {
  position: relative;
  width: 1575px;
  height: 680px;
}

.s2-user-info {
  display: flex;
  position: absolute;
  top: 20px;
  left: 0px;
  font-size: 26px;
  color: red;
  z-index: 10;
  column-gap: 10px;
}
.s2-user-info.show {
  display: flex;
  align-items: center;
  gap: 8px;
}
.s2-user-info a {
  color: red;
  text-decoration: none;
  text-decoration: underline;
}
.s2-user-info a:hover {
  color: #762704;
}

.s2-circle {
  position: absolute;
  width: 664px;
  height: 680px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/s2-circle.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.s2-arrow {
  position: absolute;
  width: 54px;
  height: 106px;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 5;
}

.s2-slot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.s2-slot-1 {
  top: 13%;
  left: 50%;
  transform: translateX(-50%);
}
.s2-slot-2 {
  top: 27%;
  right: 18%;
}
.s2-slot-3 {
  top: 51%;
  right: 18%;
}
.s2-slot-4 {
  top: 62%;
  left: 50%;
  transform: translateX(-50%);
}
.s2-slot-5 {
  top: 51%;
  left: 18%;
}
.s2-slot-6 {
  top: 27%;
  left: 18%;
}

.s2-icon {
  width: 83px;
  height: 83px;
}
.s2-slot span {
  max-width: 128px;
  text-overflow: ellipsis;
  margin-top: 5px;
  font-size: 17px;
  color: #fff;
  display: inline-block;
  overflow-wrap: break-word;
  text-align: center;
}

.s2-view-all {
  position: absolute;
  top: 92%;
  left: 65%;
  transform: translateX(-50%);
  font-size: 26px;
  color: rgb(91, 50, 10);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 700;
}
.s2-view-all:hover {
  opacity: 0.85;
}

.btn-record {
  position: absolute;
  top: 0;
  right: 0;
  width: 322px;
  height: 113px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/btn-record.png');
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all 0.3s;
}

.s2-gun-info {
  margin-top: -23px;
}
.s2-gun-text {
  font-family: 'SourceHanSerifCN';
  color: rgb(28, 12, 5);
  font-size: 68px;
  font-weight: 700;
}

.btn-throw {
  margin-top: 15px;
  width: 280px;
  height: 83px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/btn-throw.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all 0.3s;
}

/* ===== 第3部分 ===== */
.s3-content {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s3-grid {
  margin-top: 263px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 90px 45px;
  width: 100%;
}

.s3-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 599px;
}

.s3-item-title {
  width: 95%;
  font-size: 45px;
  color: #fce462;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.s3-frame {
  position: relative;
  width: 599px;
  height: 490px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/s3-frame.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.s3-frame-2 {
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/s3-frame-2.png');
}

.s3-prize-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.s3-prize-row {
  font-size: 34px;
  color: rgb(91, 50, 10);
  text-align: center;
  font-weight: 700;
}
.s3-prize-row a {
  text-decoration: underline;
  color: rgb(91, 50, 10);
}

.s3-prize-row a:hover {
  opacity: 0.85;
}

.s3-item-info {
  margin-top: 30px;
  font-size: 38px;
  color: #fce462;
}

.s3-unlock-text {
  font-size: 25px;
  color: #ff6b6b;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.4;
}

.s3-item-price {
  margin-top: 20px;
  font-size: 36px;
  color: #ff6b6b;
  font-weight: 700;
  text-align: center;
}

.btn-get {
  width: 380px;
  height: 124px;
  margin-top: 40px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/btn-get.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn-buy {
  width: 380px;
  height: 123px;
  margin-top: 20px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/btn-buy.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.15s;
}

/* ===== 弹窗 ===== */
.pop-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.pop-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 720px;
}

.pop-close-btn {
  z-index: 10000;
  position: absolute;
  top: 12px;
  right: 23px;
  width: 39px;
  height: 39px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/pop-close.png');
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.15s;
}

.pop-bg-wrap {
  position: relative;
  width: 720px;
  height: 405px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/pop-bg.png?123');
  background-size: contain;
  background-repeat: no-repeat;
}
.pop-body {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3% 5% 4%;
}

.pop-title-img {
  height: auto;
}

/* 各title尺寸 */
#pop1 .pop-title-img {
  width: 295px;
}
#pop2 .pop-title-img {
  width: 348px;
}
#pop3 .pop-title-img,
#pop4 .pop-title-img,
#pop5 .pop-title-img {
  width: 361px;
}

/* pop1: 活动规则 */
.rule-text {
  margin-top: 0px;
  width: 98%;
  text-align: left;
  font-size: 17px;
  color: #e9d0a9;
  line-height: 1.6;
}

/* pop2: 中奖记录 */
.record-table-wrap {
  width: 100%;
  margin-top: 23px;
}
.record-table-head {
  display: flex;
  justify-content: space-between;
  font-size: 30px;
  color: #f2d9ae;
  font-weight: 700;
  padding-bottom: 5px;
  margin-bottom: 8px;
}
.record-table-head span {
  text-align: center;
}
.record-table-body .record-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.record-table-body .record-row:last-child {
  border-bottom: none;
}
.record-table-body span {
  text-align: center;
  font-size: 21px;
  color: #ebc27d;
}

.record-table-head span,
.record-table-body span {
  width: 130px;
}
.record-table-head span:nth-child(2),
.record-table-body span:nth-child(2) {
  width: 350px;
}
.record-table-body a {
  text-decoration: underline;
  color: #ebc27d;
}

.pagination {
  position: absolute;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.page-btn {
  width: 36px;
  height: 36px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.15s;
  flex-shrink: 0;
}
.page-btn:hover {
  transform: scale(1.15);
}
.page-prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ebc27d'%3E%3Cpath d='M15 4l-8 8 8 8' stroke='%23ebc27d' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}
.page-next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ebc27d'%3E%3Cpath d='M9 4l8 8-8 8' stroke='%23ebc27d' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}
.page-btn-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.page-numbers {
  display: flex;
  gap: 8px;
}
.page-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ebc27d;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
}
.page-num:hover {
  background: rgba(235, 194, 125, 0.2);
}
.page-num-active {
  background: #ebc27d;
  color: #1a0f0a;
  font-weight: 700;
}
.page-num-active:hover {
  background: #ebc27d;
}

/* pop3/4/5: 恭喜获得 */
.prize-name,
.prize-name-1,
.prize-name-2,
.prize-link,
.card-label,
.card-code {
  font-family: 'SourceHanSerifCN';
  font-size: 38px;
  margin-top: 3%;
  background: linear-gradient(180deg, #f8e8cf 0%, #ebc27d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}
.prize-name-1 {
  margin-top: 73px;
  margin-left: 20px;
}
.prize-name-2 {
  margin-top: 120px;
  margin-left: 20px;
}
.prize-desc {
  font-family: 'SourceHanSerifCN';
  font-size: 22px;
  margin-top: 12px;
  background: linear-gradient(180deg, #f8e8cf 0%, #ebc27d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  line-height: 2;
}
/* .pop-body a {
  text-decoration: none;
  color: #f0d19c;
  background: linear-gradient(180deg, #f8e8cf 0%, #ebc27d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
} */
.card-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-copy {
  width: 87px;
  height: 23px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/pop-btn-copy.png');
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  font-size: 0;
  background-color: transparent;
}
.card-label,
.card-code {
  margin-top: 0%;
}

.pop-confirm-btn {
  width: 153px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.15s;
  margin-top: 34px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/pop-btn-confirm.png');
}

/* pop6: 全部奖励 */
.pop-title {
  width: 361px;
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
  color: #f0d19c;
  background: linear-gradient(180deg, #f8e8cf 0%, #ebc27d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prize-list-wrap {
  width: 100%;
  display: flex;
  gap: 30px;
}
.prize-category {
  flex: 1;
}
.prize-category-title {
  font-size: 20px;
  color: #ebc27d;
  font-weight: 700;
  padding: 4px 0;
  border-bottom: 1px solid rgba(201, 193, 149, 0.3);
  margin-bottom: 4px;
}
.prize-item {
  font-size: 18px;
  color: #f5e6d3;
  padding: 3px 0 3px 10px;
  line-height: 1.6;
}

#pop6 .pop-confirm-btn {
  margin-top: 10px;
}

/* 右侧悬浮图片 */
.float-right {
  position: fixed;
  right: 20px;
  top: 38%;
  transform: translateY(-50%);
  width: 143px;
  height: 301px;
  background-image: url('https://static.web.sdo.com/dn//pic/dn_26act/2605wxbz/float-r.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 100;
}
