* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-width: 1500px;
  color: #164a66;
  background: #e7f8ff;
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.top-desc {
  display: none;
}

.btn {
  cursor: pointer;
  border: 0;
  padding: 0;
  text-decoration: none;
  font: inherit;
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    opacity 0.16s ease;
}

.btn:hover:not(:disabled):not(.is-claimed):not(.disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn:active:not(:disabled):not(.is-claimed):not(.disabled) {
  transform: translateY(0);
  filter: brightness(0.97);
}

.image-btn {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transition:
    filter 0.18s ease,
    transform 0.18s ease;
}

.image-btn:hover {
  filter: brightness(1.08) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.75));
  transform: translateY(-1px);
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    filter 0.55s ease;
  will-change: opacity, transform, filter;
}

.reveal-item.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.event-page {
  width: 100%;
  overflow: hidden;
}

.event-page .section {
  padding-top: 202px;
  position: relative;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px auto;
}

.event-page .section .section-inner {
  position: relative;
  width: 1424px;
  min-height: inherit;
  margin: 0 auto;
}

.event-page .section .activity-meta {
  display: flex;
  width: 1160px;
  margin: 0 auto;
  color: #184963;
  font-size: 18px;
  line-height: 1.9;
  flex-direction: column;
}

.event-page .section .activity-meta .row {
  display: flex;
  display: flex;
  flex-direction: row;
}

.event-page .section .activity-meta p {
  margin: 0;
}

.event-page .section .activity-meta a,
.event-page .section .activity-meta a:hover,
.event-page .section .activity-meta a:visited,
.event-page .section .activity-meta a:active,
.event-page .section .activity-meta a:focus {
  color: #ffe071 !important;
}

.event-page .section .activity-meta span {
  flex: none;
  margin-top: 5px;
  display: inline-block;
  width: 100px;
  height: 26px;
  margin-right: 12px;
  border-radius: 13px;
  color: #2153b7;
  background: #eefbff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 26px;
  box-shadow: 0 1px 0 rgba(82, 168, 255, 0.5);
}

.event-page .section.section-header {
  height: 995px;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/header.jpg');
}

.event-page .section.section-header .section-inner {
  padding-top: 652px;
}

.event-page .section.section-header .user-panel .btn-login {
  width: 240px;
  height: 79px;
  margin: auto;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/btn-login.png');
}

.event-page .section.section-header .user-panel .user-info {
  display: none;
  margin: 0 auto;
  color: #245fb9;
  font-weight: 700;
  text-align: center;
  line-height: 55px;
}

.event-page .section.section-header .user-panel .user-info a {
  color: #245fb9;
}

.event-page .section.section-header .user-panel .user-info .btn_logout {
  margin-left: 8px;
  color: #245fb9;
  text-decoration: none;
}

.event-page .section.section-header .user-panel.is-logged-in .btn-login {
  display: none;
}

.event-page .section.section-header .user-panel.is-logged-in .user-info {
  display: block;
}

.event-page .section.section-header .btn-header-rule {
  width: 240px;
  height: 79px;
  margin: -79px 176px 0 auto;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/btn-rules.png');
}

.event-page .section.section-upgrade {
  padding-top: 200px;
  height: 851px;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/section-1.jpg');
}

.event-page .section.section-challenge {
  height: 1065px;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/section-2.jpg');
}

.event-page .section.section-growth {
  height: 1175px;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/section-3.jpg');
  padding-top: 202px;
}

.event-page .section .luck-coin-balance {
  width: 1160px;
  margin: 10px auto -6px;
  color: #e04646;
  font-size: 20px;
  font-weight: 700;
  text-align: right;
  line-height: 1;
  position: absolute;
  top: 104px;
  right: 0;
}

.event-page .section .luck-coin-balance em {
  margin-left: 8px;
  color: #f44d4d;
  font-style: normal;
  font-weight: 800;
}

.event-page .section.section-gifts {
  height: 1013px;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/section-4.jpg');
  padding-top: 202px;
}

.info-board {
  margin-right: auto;
  margin-left: auto;
  pointer-events: none;
  /* width: 1192px; */
  /* border: 12px solid rgba(224, 251, 255, 0.9);
  background: rgba(65, 194, 220, 0.88);
  box-shadow:
    0 6px 0 rgba(13, 115, 166, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35); */
}

.info-board.upgrade-board {
  margin-top: -79px;
  height: 320px;
}

.info-board.challenge-board {
  margin-top: -104px;
  height: 380px;
}

.info-board.challenge-board h3 {
  height: 58px;
  margin: 0;
  color: #fff;
  background: #2534ba;
  font-size: 20px;
  line-height: 58px;
  text-align: center;
}

.info-board.challenge-board .reward-table {
  pointer-events: auto;
}

.info-board.challenge-board .challenge-table-wrap {
  will-change: transform, opacity;
}

.info-board.challenge-board .challenge-table-wrap.slide-left {
  animation: content-slide-left 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-board.challenge-board .challenge-table-wrap.slide-right {
  animation: content-slide-right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-board.upgrade-board,
.info-board.challenge-board {
  width: 1424px;
  height: 553px;
  padding: 144px 145px;
  background-image: url('https://static.web.sdo.com/dn/pic/202604xinfu/panel-reward-small.png');
}

.info-board.gift-board {
  margin-top: -102px;
  padding-top: 155px;
  padding-left: 146px;
  width: 1424px;
  height: 760px;
  background-image: url(https://static.web.sdo.com/dn/pic/202604xinfu/panel-reward-large.png);
}

.reward-table {
  width: 1134px;
  pointer-events: auto;
  border-collapse: collapse;
  table-layout: fixed;
  color: #14395d;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}

.reward-table p {
  padding: 0;
  margin: 0;
  font-size: 16px;
}

.reward-table th {
  height: 58px;
  color: #ffffff;
  background: #2534ba;
  font-size: 18px;
  font-weight: 700;
}

.reward-table td,
.reward-table th {
  border: 2px solid rgba(221, 251, 255, 0.75);
}

.reward-table .no-right-border {
  border-right: 0 !important;
}

.reward-table .no-left-border {
  border-left: 0 !important;
}

.reward-table td {
  padding: 8px 12px;
  background: rgba(67, 197, 220, 0.76);
}

.reward-table .reward-action-cell {
  position: relative;
  min-height: 48px;
  padding-right: 180px;
  text-align: center;
  vertical-align: middle;
}

.reward-table .reward-action-cell .reward-text {
  display: block;
  text-align: center;
}

.reward-table .reward-action-cell .pill-btn {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.reward-table .reward-action-cell .pill-btn:hover:not(:disabled):not(.is-claimed):not(.disabled) {
  transform: translateY(calc(-50% - 1px));
}

.reward-table .reward-action-cell .pill-btn:active:not(:disabled):not(.is-claimed):not(.disabled) {
  transform: translateY(-50%);
}

.reward-table .milestone-link {
  color: inherit;
  text-decoration: underline;
}

.reward-table .milestone-link:hover {
  color: #1f43bf;
}

.reward-table .reward-action-cell {
  position: relative;
  min-height: 48px;
  padding-right: 180px;
  text-align: center;
  vertical-align: middle;
}

.reward-table .reward-action-cell .reward-text {
  display: block;
  text-align: center;
}

.reward-table .reward-action-cell .pill-btn {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.reward-table .reward-action-cell .pill-btn:hover:not(:disabled):not(.is-claimed):not(.disabled) {
  transform: translateY(calc(-50% - 1px));
}

.reward-table .reward-action-cell .pill-btn:active:not(:disabled):not(.is-claimed):not(.disabled) {
  transform: translateY(-50%);
}

.reward-table.reward-table-upgrade th:nth-child(1) {
  width: 22%;
}

.reward-table.reward-table-upgrade th:nth-child(2) {
  width: 34%;
}

.reward-table.reward-table-upgrade th:nth-child(3) {
  width: 25%;
}

.reward-table.reward-table-gifts th:nth-child(1) {
  width: 26%;
}

.reward-table.reward-table-gifts th:nth-child(3) {
  width: 18%;
}

.challenge-tabs {
  display: flex;
  width: 1190px;
  margin: 36px auto 0;
  gap: 16px;
}

.challenge-tabs .challenge-tab {
  width: 150px;
  height: 53px;
  border: 0;
  color: #ffebb7;
  background: unset;
  font-size: 16px;
  font-weight: 700;
  background-size: contain;
  line-height: 1.1;
  background-repeat: no-repeat;
  cursor: pointer;
  background-image: url(https://static.web.sdo.com/dn/pic/202604xinfu/btn-blue-small.png);
}

.challenge-tabs .challenge-tab.is-active {
  filter: brightness(1.1);
}

.challenge-tabs .challenge-tab.disabled {
  filter: grayscale(0.5);
}

.pill-btn {
  width: 113px;
  height: 31px;
  border-radius: 18px;
  color: #bc4a1f;
  background-image: url(https://static.web.sdo.com/dn/pic/202604xinfu/btn-get.png);
  font-size: 16px;
  font-weight: 700;
}

.pill-btn.is-claimed,
.pill-btn:disabled {
  cursor: default;
  filter: grayscale(1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 251px);
  width: max-content;
  margin: 22px auto 0;
  gap: 44px 42px;
}

.product-grid .product-card {
  position: relative;
  z-index: 1;
  width: 251px;
  min-height: 366px;
  color: #2934b2;
  text-align: center;
  filter: drop-shadow(0 4px 4px rgba(49, 101, 169, 0.28));
  will-change: transform, opacity;
}

.product-grid .product-card.slide-left {
  animation: content-slide-left 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-grid .product-card.slide-right {
  animation: content-slide-right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-grid .product-card:hover {
  z-index: 4000;
}

.product-grid .product-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 251px;
  height: 292px;
  background: url('https://static.web.sdo.com/dn/pic/202604xinfu/reward-pack-1.png') no-repeat center top/251px 292px;
}

.product-grid .product-card h3 {
  position: relative;
  z-index: 2;
  height: 55px;
  margin: 0 8px;
  padding-top: 16px;
  color: #2f42bd;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow:
    1px 0 rgba(129, 217, 255, 0.65),
    0 1px rgba(255, 255, 255, 0.65);
}

.product-grid .product-card .product-tip {
  position: absolute;
  top: -10px;
  left: -100px;
  z-index: 4001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: 50% 100%;
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.28s;
}

.product-grid .product-card .product-icon {
  position: relative;
  z-index: 3;
  cursor: pointer;
}

.product-grid .product-card .product-icon:hover + .product-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.product-grid .product-card .product-icon img {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  margin: 46px auto 0;
  cursor: pointer;
  object-fit: cover;
  object-position: center;
  border: 9px solid rgba(173, 244, 246, 0.88);
  border-radius: 16px;
  background: rgba(174, 239, 243, 0.96);
  box-shadow:
    0 0 0 1px rgba(136, 217, 224, 0.9),
    0 5px 12px rgba(66, 62, 105, 0.34);
}

.product-grid .product-card p {
  position: relative;
  z-index: 2;
  margin: 17px 0 0;
  color: #5a47be;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-shadow:
    1px 0 rgba(255, 255, 255, 0.86),
    0 1px rgba(255, 255, 255, 0.86);
}

.product-grid .product-card .limit {
  margin-top: 12px;
  color: #5342b6;
  font-size: 23px;
  text-shadow:
    1px 0 rgba(255, 255, 255, 0.86),
    0 1px rgba(255, 255, 255, 0.86);
}

.product-grid .product-card .product-pages {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  opacity: 0;
}

.product-grid .product-card .product-pages span {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  color: #6d58c8;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(65, 79, 150, 0.18);
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  cursor: pointer;
}

.product-grid .product-card .product-pages.show {
  opacity: 1;
}

.product-grid .product-card .product-pages .is-active {
  color: #ffffff;
  background: #7b60d8;
}

.product-grid .product-card .product-pages .is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.product-grid .product-card .buy-btn {
  display: block;
  position: relative;
  z-index: 2;
  width: 149px;
  height: 36px;
  margin: 8px auto 0;
  color: #ffebb7;
  background: url('https://static.web.sdo.com/dn/pic/202604xinfu/buy-btn.png') no-repeat center/100% 100%;
  font-size: 19px;
  font-weight: 700;
  line-height: 36px;
  text-shadow: 0 1px rgba(52, 33, 134, 0.46);
}

.product-grid .product-card.is-sold-out .buy-btn {
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(90deg, transparent 0 22px, #9d9d9d 22px calc(100% - 22px), transparent calc(100% - 22px)),
    linear-gradient(135deg, transparent 0 16px, #adadad 16px calc(100% - 16px), transparent calc(100% - 16px));
  clip-path: polygon(13% 0, 87% 0, 100% 50%, 87% 100%, 13% 100%, 0 50%);
  filter: none;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.24s ease,
    visibility 0s linear 0.24s;
}

.modal-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.24s ease;
}

.modal-layer .modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 49, 0.65);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.modal-layer.is-open .modal-mask {
  opacity: 1;
}

.modal-layer .modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  opacity: 0;
  width: 1200px;
  min-height: 640px;
  padding: 148px 124px 104px;
  background: url('https://static.web.sdo.com/dn/pic/202604xinfu/modal-bg.png') no-repeat center/100% 100%;
  color: #30455d;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}

.modal-layer .modal-card .modal-title {
  margin-top: 10px;
  margin: 0;
  color: #3246c4;
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
}

.modal-layer .modal-card .modal-body {
  margin-top: 96px;
}

.modal-layer .modal-card .modal-message {
  margin: 0;
  color: #3a4f65;
  font-size: 18px;
  line-height: 1.5;
  padding: 0 70px;
  text-align: center;
}

.modal-layer .modal-card .modal-close {
  position: absolute;
  right: 60px;
  top: 40px;
  width: 56px;
  height: 56px;
  background: transparent;
  color: #4e7eb3;
  line-height: 1;
}

.modal-layer .modal-card .modal-close::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 56px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-layer .modal-card .modal-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 56px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-layer .modal-card .modal-actions {
  margin-top: 92px;
  text-align: center;
}

.modal-layer .modal-card .modal-confirm,
.modal-layer .modal-card .modal-cancel {
  display: inline-block;
}

.modal-layer .modal-card .modal-cancel {
  margin-left: 118px;
}

.modal-layer.is-open .modal-card {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.global-loading {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
}

.global-loading.is-open {
  display: block;
}

.global-loading .global-loading-mask {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.01);
}

.global-loading .global-loading-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  border: 4px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: global-loading-spin 0.8s linear infinite;
}

@keyframes global-loading-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes content-slide-left {
  from {
    opacity: 0.35;
    transform: translateX(26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes content-slide-right {
  from {
    opacity: 0.35;
    transform: translateX(-26px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sideNav {
  position: fixed;
  right: 0;
  top: 30%;
  padding-top: 100px;
}
.sideNav::before {
  content: '';
  background: url(https://static.web.sdo.com/dn/pic/202604xinfu/side-nav-sp.png) no-repeat;
  width: 116px;
  height: 129px;
  position: absolute;
  top: 0;
  left: 35px;
}
.sideNav a {
  position: relative;
  background: url(https://static.web.sdo.com/dn/pic/202604xinfu/side-nav.png) no-repeat;
  width: 200px;
  height: 50px;
  display: block;
  transition: 0.3s;
}
.sideNav a:hover {
  filter: brightness(1.1);
}
.sideNav a:nth-child(1) {
  background-position: 0 0;
}
.sideNav a:nth-child(2) {
  background-position: 0 -50px;
}
.sideNav a:nth-child(3) {
  background-position: 0 -100px;
}
.sideNav a:nth-child(4) {
  background-position: 0 100%;
}
