* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #eee7ff;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  color: #7e56c8;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.mobile-shell {
  position: relative;
  width: 750px;
  height: var(--stage-height, 3470px);
  overflow: hidden;
  background: #eee7ff;
}

.stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 750px;
  height: var(--stage-height, 3470px);
  overflow: hidden;
  transform: scale(var(--page-scale, 1));
  transform-origin: top left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 980px),
    linear-gradient(180deg, #efe8ff 0%, #f6f1ff 45%, #eee6ff 100%);
  box-shadow: 0 0 36px rgba(91, 48, 169, 0.18);
}

.asset,
.casino-card,
.download-link {
  position: absolute;
  display: block;
}

.top-header {
  position: absolute;
  left: 0;
  top: var(--sticky-header-top, 0px);
  width: 750px;
  height: 165px;
  z-index: 20;
  filter: drop-shadow(0 18px 18px rgba(116, 54, 182, 0.26));
}

.top-header-bg {
  left: 0;
  top: 0;
  width: 750px;
  height: 165px;
  pointer-events: none;
}

.nav-logo {
  left: 70px;
  top: 18px;
  width: 204px;
  height: 96px;
}

.top-nav {
  position: absolute;
  left: 317px;
  top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 39px;
  height: 95px;
  color: #6f5a9a;
  font-family: "MicrosoftYaHei", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 94px;
  height: 92px;
  cursor: pointer;
  user-select: none;
}

.nav-link::before {
  content: "";
  width: 63px;
  height: 62px;
  background: url("./assets/images/头部按钮01.png") no-repeat center / contain;
  filter: saturate(0.9);
}

.nav-link:nth-child(2)::before {
  background-image: url("./assets/images/头部按钮02.png");
}

.nav-link:nth-child(3)::before {
  background-image: url("./assets/images/头部按钮03.png");
}

.nav-link-active {
  min-width: 94px;
  padding: 0;
  color: #8d42e8;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 2px 10px rgba(143, 66, 232, 0.24);
}

.nav-link-active::before {
  filter: saturate(1.22) brightness(1.06) drop-shadow(0 8px 12px rgba(137, 67, 225, 0.26));
}

.nav-link-active::after {
  display: none;
}

.asset,
.feature img,
.casino-card img,
.download-link img {
  user-select: none;
  -webkit-user-drag: none;
}

.logo {
  left: 38px;
  top: 18px;
  width: 184px;
  height: 87px;
}

.hero-title {
  left: 28px;
  top: 105px;
  width: 367px;
  height: 153px;
}

.hero-slogan {
  left: 14px;
  top: 272px;
  width: 395px;
  height: 49px;
}

.intro {
  position: absolute;
  left: 25px;
  top: 351px;
  width: 430px;
  color: #d8c184;
  font-size: 21px;
  font-weight: 700;
  line-height: 41px;
  letter-spacing: 0;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.65);
}

.intro p {
  margin: 0;
  white-space: nowrap;
}

.intro strong {
  color: #fbf0bd;
  font-weight: 900;
}

.feature {
  height: 68px;
}

.feature img {
  display: block;
  width: 100%;
  height: 100%;
}

.feature-site {
  left: 41px;
  top: 614px;
  width: 188px;
}

.feature-news {
  left: 281px;
  top: 615px;
  width: 193px;
}

.feature-guide {
  left: 519px;
  top: 616px;
  width: 197px;
}

.feature-benefit {
  left: 41px;
  top: 722px;
  width: 188px;
}

.feature-community {
  left: 281px;
  top: 721px;
  width: 194px;
}

.download-link {
  left: 37px;
  top: var(--download-link-top, 1571px);
  width: 286px;
  height: 62px;
  border-radius: 31px;
  z-index: 3;
  filter: none;
  cursor: pointer;
}

.download-link:focus-visible,
.casino-card:focus-visible,
.nav-link:focus-visible,
.refresh-badge:focus-visible,
.refresh-btn:focus-visible,
.copy-btn:focus-visible {
  outline: 3px solid rgba(255, 226, 124, 0.95);
  outline-offset: 4px;
}

.download-link img {
  display: none;
  width: 286px;
  height: 62px;
}

.recommend-title {
  position: absolute;
  left: 72px;
  top: 185px;
  width: 175px;
  height: 34px;
  filter: drop-shadow(0 3px 4px rgba(135, 76, 210, 0.18));
}

.casino-card {
  left: var(--card-left);
  top: var(--card-top);
  width: var(--card-width, 312px);
  height: var(--card-height, 187px);
  overflow: hidden;
  border: 0;
  border-radius: 21px;
  background: #eee7ff;
  box-shadow:
    0 14px 24px rgba(99, 57, 166, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 30px rgba(99, 57, 166, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.casino-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.card-888-entertainment {
  --card-left: 51px;
  --card-top: 252px;
  --card-width: 312px;
}

.card-888-electronic {
  --card-left: 384px;
  --card-top: 252px;
  --card-width: 312px;
}

.card-vegas {
  --card-left: 51px;
  --card-top: 472px;
  --card-width: 312px;
}

.card-bofa {
  --card-left: 384px;
  --card-top: 472px;
  --card-width: 312px;
}

.card-legend {
  --card-left: 51px;
  --card-top: 692px;
  --card-width: 312px;
}

.card-macau {
  --card-left: 384px;
  --card-top: 692px;
  --card-width: 312px;
}

.card-bofa-usdt {
  --card-left: 51px;
  --card-top: 912px;
  --card-width: 312px;
}

.card-888-physicaleducation {
  --card-left: 384px;
  --card-top: 912px;
  --card-width: 312px;
}

.world-cup {
  position: absolute;
  left: 0;
  top: 1198px;
  width: 750px;
  height: 526px;
}

.world-cup-hero {
  left: 0;
  top: 0;
  width: 750px;
  height: 526px;
}

.intro-heading {
  left: 125px;
  top: 1767px;
  width: 500px;
  height: 103px;
  filter: drop-shadow(0 4px 8px rgba(122, 73, 205, 0.18));
}

.intro-copy {
  position: absolute;
  left: 59px;
  width: 632px;
  margin: 0;
  color: #8e58df;
  font-size: 28px;
  font-weight: 900;
  line-height: 46px;
  letter-spacing: 5px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 3px 8px rgba(255, 255, 255, 0.72);
}

.intro-copy-line-1 {
  top: 1886px;
}

.intro-copy-line-2 {
  top: 1946px;
}

.redeem-title {
  left: 43px;
  top: var(--redeem-title-top, 2055px);
  width: 343px;
  height: 104px;
  filter: drop-shadow(0 5px 8px rgba(128, 72, 208, 0.18));
}

.today-title {
  left: 107px;
  top: var(--today-title-top, 2190px);
  width: 536px;
  height: 84px;
  filter: drop-shadow(0 5px 8px rgba(128, 72, 208, 0.18));
}

.refresh-badge {
  left: 632px;
  top: calc(var(--today-title-top, 2190px) + 22px);
  width: 102px;
  height: 53px;
  cursor: pointer;
  filter: drop-shadow(0 7px 10px rgba(122, 44, 210, 0.24));
}

.refresh-btn {
  left: 633px;
  top: calc(var(--today-title-top, 2074px) + 14px);
  width: 106px;
  height: 56px;
  padding: 0;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.refresh-btn img {
  display: block;
  width: 106px;
  height: 56px;
}

.code-board {
  position: absolute;
  left: 7px;
  top: var(--code-board-top, 2284px);
  width: 732px;
  height: 940px;
  overflow: visible;
  border: 2px solid rgba(165, 111, 244, 0.82);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(221, 205, 255, 0.96) 0%, rgba(210, 192, 248, 0.98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 16px 28px rgba(111, 65, 185, 0.18);
}

.code-row {
  position: absolute;
  left: 16px;
  top: var(--row-top);
  width: 699px;
  height: 114px;
  margin: 0;
  background: var(--code-row-bg) no-repeat center / 699px 114px;
  border-radius: 8px;
  filter: drop-shadow(0 7px 9px rgba(118, 63, 199, 0.18));
}

.code-row h3,
.code-row p,
.code-value {
  position: absolute;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.55);
}

.code-row h3 {
  left: 106px;
  top: 24px;
  max-width: 236px;
  overflow: hidden;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 25px;
  text-overflow: ellipsis;
}

.code-row p {
  left: 106px;
  top: 58px;
  max-width: 236px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-overflow: ellipsis;
}

.code-value {
  left: 358px;
  top: 34px;
  width: 148px;
  color: #f5ccff;
  font-size: 34px;
  font-weight: 900;
  line-height: 40px;
  text-align: center;
  text-shadow: 0 0 14px rgba(124, 43, 221, 0.48);
}

.copy-btn {
  position: absolute;
  display: block;
  left: 509px;
  top: 11px;
  width: 190px;
  height: 93px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  background: transparent var(--copy-button-bg) no-repeat center / 190px 93px;
  filter: drop-shadow(0 7px 10px rgba(101, 38, 194, 0.28));
  transition: filter 0.18s ease, transform 0.18s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05) drop-shadow(0 9px 12px rgba(101, 38, 194, 0.32));
}

.copy-btn.is-copied {
  filter: brightness(1.14);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  max-width: calc(100vw - 48px);
  padding: 10px 18px;
  border: 1px solid rgba(161, 101, 238, 0.95);
  border-radius: 10px;
  color: #ffffff;
  background: #8a36ee;
  box-shadow: 0 8px 24px rgba(102, 46, 185, 0.28);
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer {
  position: absolute;
  left: 0;
  top: var(--footer-top, 3394px);
  width: 750px;
  color: #8f6bd0;
  font-size: 19px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  white-space: nowrap;
  text-align: center;
}
