* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
  color: #fff;
  overflow-x: hidden;
  background-color: black;
}

/* 背景包裹层 */
.wrap {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 1440px;
  background: #000;
  z-index: 1;
  overflow: hidden;
  background: url('https://static.web.sdo.com/dn/pic/dn_25act/251110yuyue_test/bg.jpg') center center no-repeat;
}

/* 背景视频 */
.bg-video {
  top: 0;
  left: 0;
  width: 2560px;
  height: 1440px;
  position: absolute;
  left: 50%;
  margin-left: -1280px;
  /* object-fit: cover; */
  z-index: 0;
}

/* 桌面端视频 */
.bg-video-pc {
  display: block;
}

/* 移动端视频 */
.bg-video-mobile {
  display: none;
}

/* 移动端背景视频 */
@media (max-width: 768px) {
  .bg-video-pc {
    display: none;
  }

  .bg-video-mobile {
    display: block;
  }

  .wrap {
    min-height: 1334px;
    height: 1334px;
    /* height: 100%; */
    background: url('../images/bg_m.jpg') no-repeat top center;
    /* background-size: cover; */
  }
}

/* 用户状态栏 */
.user-bar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  height: 85px;
  padding: 30px 30px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-name {
  font-size: 24px;
  color: #a39fc6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.logout-btn {
  width: 88px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logout-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logout-btn:hover {
  transform: scale(1.05);
}

/* 移动端用户栏 */
@media (max-width: 768px) {
  .user-bar {
    height: 90px;
    padding: 15px 15px;
    gap: 10px;
  }

  .user-name {
    font-size: 20px;
  }

  .logout-btn {
    width: 88px;
    height: 44px;
  }
}

/* 内容容器 */
.container {
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  z-index: 2;
  width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.canvasStar {
  opacity: 0;
}

/* 移动端容器 */
@media (max-width: 768px) {
  .container {
    width: 100%;
    height: 1180px;
    top: 0;
    min-height: auto;
  }

  .canvasStar {
    opacity: 1;
  }
}

/* 预约奖励模块 */
.rewards-section {
  position: absolute;
  width: 100%;
  margin-bottom: 60px;
  top: 760px;
}

/* 移动端预约奖励模块 */
@media (max-width: 768px) {
  .rewards-section {
    position: relative;
    top: calc(50% + 180px);
    transform: translateY(-50%);
    width: 90%;
    margin-bottom: 30px;
  }
}

.rewards-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* 移动端奖励网格 */
@media (max-width: 768px) {
  .rewards-grid {
    gap: 5px;
    margin-bottom: 20px;
  }
}

.reward-item {
  /* flex: 0 0 calc(20% - 16px); */
  min-width: 100px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.reward-image {
  width: 153px;
  height: 208px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* 移动端奖励项目 */
@media (max-width: 768px) {
  .reward-item {
    /* flex: 0 0 calc(50% - 8px); */
    min-width: auto;
  }

  .reward-image {
    width: 100%;
    height: auto;
    aspect-ratio: 153 / 208;
    max-width: 120px;
  }
}

/* 预约信息行 */
.reserve-info {
  background: url('https://static.web.sdo.com/dn/pic/dn_25act/251110yuyue_test/bg-number.png') center center no-repeat;
  background-size: 100% 100%;
  height: 70px;
  text-align: center;
  margin-top: 30px;
}

.reserve-info p {
  font-size: 34px;
  color: #ffffff;
  font-weight: bold;
  line-height: 70px;
  letter-spacing: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #cdefff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#reserve-count {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  line-height: 70px;
  -webkit-text-stroke: 2px rgb(90, 26, 228);
  vertical-align: bottom;
  display: inline-block;
}

/* 移动端预约信息 */
@media (max-width: 768px) {
  .reserve-info {
    height: 50px;
    margin-top: 20px;
  }

  .reserve-info p {
    font-size: 25px;
    line-height: 50px;
    letter-spacing: 4px;
  }

  #reserve-count {
    font-size: 34px;
    line-height: 50px;
    -webkit-text-stroke: 1px rgb(90, 26, 228);
  }
}

/* 预约按钮 */
.reserve-btn {
  width: 468px;
  height: 160px;
  margin-bottom: 40px;
  position: absolute;
  top: 1063px;
  background: url('https://static.web.sdo.com/dn/pic/dn_25act/251110yuyue_test/button.png') center center no-repeat;
  background-size: contain;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reserve-btn:hover {
  transform: scale(1.01);
}

.reserve-btn:active {
  transform: scale(0.98);
}

/* 移动端预约按钮 */
@media (max-width: 768px) {
  .reserve-btn {
    position: absolute;
    top: calc(50% + 300px);
    margin-bottom: 0;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 468 / 160;
  }
}

/* 社交按钮 */
.social-section {
  position: fixed;
  right: 70px;
  bottom: 20%;
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 100;
}

.social-btn-wrapper {
  position: relative;
  display: inline-block;
}

.social-btn {
  width: 120px;
  height: 117px;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 15px rgba(100, 150, 255, 0.5));
}

/* 二维码弹窗 */
.qrcode-popup {
  position: absolute;
  bottom: 140px;
  right: -60px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.qrcode-popup img {
  width: 200px;
  height: 200px;
  display: block;
  border-radius: 8px;
}

.social-btn-wrapper:hover .qrcode-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 移动端社交按钮 */
@media (max-width: 768px) {
  .social-section {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 90px;
    transform: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    /* margin-top: 40px;
        margin-bottom: 40px; */
    gap: 10px;
    z-index: 10;
  }

  .social-btn {
    width: 120px;
    height: 120px;
  }

  .qrcode-popup {
    bottom: 100px;
    right: -50px;
  }

  .qrcode-popup img {
    width: 150px;
    height: 150px;
  }
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    height: 1180px;
    width: 100%;
  }

  .reward-item {
    /* flex: 0 0 calc(25% - 15px); */
  }

  .main-title {
    font-size: 36px;
  }

  .subtitle {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    height: 1180px;
    width: 100%;
  }

  .reward-item {
    /* flex: 0 0 calc(20% - 12px); */
    min-width: 80px;
  }

  .main-title {
    font-size: 28px;
  }

  .subtitle {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    height: 1180px;
    width: 100%;
  }

  .reward-item {
    flex: 0 0 calc(20% - 10px);
    min-width: 60px;
  }

  .main-title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 16px;
  }
}

.gameMessFooter {
  display: none;
  width: 100%;
  height: 259px;
  background: url('../../251110yuyue_m/images/footer.gif') 0 0 no-repeat;
  background-size: 100% auto;
  position: relative;
  overflow: hidden;
  height: 150px;
}

.gameMessFooter {
  /* height: 421px; */
  /* background: url('https://static.web.sdo.com/dnworld/pic/Order2022/web/GameMessFooterIng.jpg') 0 0 no-repeat; */
  background-size: 100% auto;
}

.gameMessFooter ul {
  width: 666px;
  height: 70px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.gameMessFooter ul {
  top: 12px;
}

.gameMessFooter ul li {
  display: block;
  width: 130px;
  height: 100%;
}

.gameMessFooter ul li.footerLogo1 {
  width: 150px;
  margin-right: 10px;
}

.gameMessFooter ul li.footerLogo2 {
  width: 80px;
  margin-right: 10px;
}

.gameMessFooter ul li.footerLogo3 {
  width: 170px;
  margin-right: 50px;
}

.gameMessFooter ul li a {
  width: 100%;
  height: 100%;
  display: block;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: #242222;
}