:root {
  --hl: #ff5a2a;
  --blue-deep: #08268a;
  --blue: #0a2f9a;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  font-family: var(--font);
  color: #fff;
  background: #061a5c;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* 顶部原型条（对齐竞猜） */
.proto-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
  color: #5f6b76;
}
.proto-bar strong { color: #1677ff; }
.proto-links a {
  color: #1677ff;
  padding: 4px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  margin-left: 6px;
}
.proto-links a:hover { background: #eff6ff; }

/* 整页铺满 */
.page {
  position: relative;
  min-height: calc(100vh - 37px);
  overflow: hidden;
}
.page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(90, 160, 255, 0.35), transparent 42%),
    radial-gradient(circle at 70% 70%, rgba(40, 100, 220, 0.3), transparent 48%),
    linear-gradient(180deg, #0d3bb5 0%, #0a2f9a 45%, #061a5c 100%);
  background-size: cover;
  background-position: center top;
}
.page-bg.has-img {
  background-color: #061a5c;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}
.page-bg.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,26,92,0.15) 0%, rgba(6,26,92,0.35) 55%, rgba(6,26,92,0.75) 100%);
  pointer-events: none;
}
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 50% 20%, transparent 0 58px, rgba(255,255,255,0.03) 59px 60px);
  opacity: 0.55;
  pointer-events: none;
}

/* 顶部头图整幅 */
.hero-banner {
  position: relative;
  z-index: 1;
  min-height: 460px;
  padding: 56px 40px 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 38, 138, 0.2) 0%, rgba(8, 38, 138, 0.55) 100%);
  background-size: cover;
  background-position: center top;
}
.hero-banner.has-img {
  background-color: transparent;
}
.hero-banner.has-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,26,92,0.72) 0%, rgba(6,26,92,0.35) 48%, rgba(6,26,92,0.15) 100%);
  pointer-events: none;
}
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 24%, #ffd24a 0 5px, transparent 6px),
    radial-gradient(circle at 86% 18%, #ff4d4d 0 7px, transparent 8px),
    radial-gradient(circle at 72% 70%, #ffd24a 0 4px, transparent 5px);
  opacity: 0.85;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-copy h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 0 rgba(255, 196, 0, 0.35), 0 12px 28px rgba(0,0,0,0.28);
  margin-bottom: 16px;
}
.ribbon {
  display: inline-block;
  position: relative;
  padding: 9px 30px;
  background: linear-gradient(180deg, #ffe566, #ffc107);
  color: #d42020;
  font-weight: 800;
  font-size: 16px;
  border-radius: 4px;
  box-shadow: 0 5px 0 #c48a00, 0 12px 22px rgba(0,0,0,0.22);
}
.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #ffc107;
  transform: translateY(-50%) rotate(45deg);
  z-index: -1;
}
.ribbon::before { left: -5px; }
.ribbon::after { right: -5px; }
.hero-sub {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
}

.hero-illust {
  width: 280px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}
.hands { width: 100%; height: 100%; position: relative; }
.hands::before,
.hands::after {
  content: "";
  position: absolute;
  bottom: 12px;
  width: 84px;
  height: 62px;
  background: linear-gradient(180deg, #f6c9a8, #e8a878);
  border-radius: 28px 28px 16px 16px;
  box-shadow: inset 0 -8px 0 rgba(0,0,0,0.08);
}
.hands::before { left: 12px; transform: rotate(-18deg); }
.hands::after { right: 12px; transform: rotate(18deg); }
.phone-mock {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 112px;
  height: 158px;
  border-radius: 14px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border: 3px solid #334155;
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
  padding: 9px 7px;
}
.screen-card {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, #f6d36a, #e8a820 55%, #c47a10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.screen-card .vip { font-size: 11px; letter-spacing: 0.2em; color: #7a3b00; opacity: 0.85; }
.screen-card .amt { font-size: 26px; margin-top: 4px; color: #fff; }

/* 内容区：居中卡片层，背景仍铺满 */
.page-body {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: -36px auto 0;
  padding: 0 24px 64px;
}
.block { margin-top: 28px; }

.sec-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-title em {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.sec-title .line {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
  position: relative;
}
.sec-title.dark em {
  background: #0b2f8f;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  padding: 5px 16px;
  font-size: 13px;
}
.sec-title.sport .line::before,
.sec-title.sport .line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 2px;
  height: 7px;
  background: rgba(255,255,255,0.7);
}
.sec-title.sport .line::before { left: 18px; }
.sec-title.sport .line::after { right: 18px; }

.desc-box {
  background: rgba(255,255,255,0.97);
  color: #1e293b;
  border-radius: 12px;
  border: 1px solid rgba(120, 180, 255, 0.55);
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.75;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}
.blocks-wrap .desc-box + .desc-box,
.blocks-wrap .block-img + .desc-box,
.blocks-wrap .desc-box + .block-img,
.blocks-wrap .block-img + .block-img { margin-top: 12px; }
.block-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(120, 180, 255, 0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}
.block-img img { display: block; width: 100%; height: auto; }
.rule-photo {
  margin-bottom: 12px;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.rule-photo img { border-radius: 12px; }

.prize {
  background: linear-gradient(180deg, #eef6ff, #d9ebff);
  border-radius: 16px;
  padding: 32px 36px 26px;
  position: relative;
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
}
.rings {
  position: absolute;
  top: -8px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
}
.rings i {
  width: 16px;
  height: 20px;
  border: 3px solid #f5c542;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff6c8, #e3a812);
}
.prize-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 180px;
}
.prize-txt .tag {
  display: inline-block;
  background: #fff;
  color: #e11d48;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.prize-txt h2 {
  margin: 0 0 8px;
  color: #1d4ed8;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
}
.prize-sub {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 14px;
}
.claim {
  min-width: 152px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  box-shadow: 0 6px 0 #c2410c, 0 12px 20px rgba(234, 88, 12, 0.35);
}
.claim:active { transform: translateY(2px); box-shadow: 0 4px 0 #c2410c; }
.claim.view {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  box-shadow: 0 6px 0 #1e40af, 0 12px 20px rgba(37, 99, 235, 0.35);
}
.claim.has-img {
  min-width: 180px;
  height: 56px;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: none;
}
.claim.has-img.view { box-shadow: none; }

.prize.has-photo .prize-inner,
.prize.has-photo .rings { display: none; }
.prize-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.flow.has-photo {
  display: block;
}
.flow-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

.prize-art { position: relative; height: 168px; }
.hb {
  position: absolute;
  right: 56px;
  top: 10px;
  width: 74px;
  height: 90px;
  border-radius: 8px 8px 12px 12px;
  background: linear-gradient(180deg, #ff6b5a, #e11d48);
  color: #ffe566;
  font-weight: 800;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 2;
}
.gift {
  position: absolute;
  right: 18px;
  top: 58px;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #a78bfa, #7c3aed);
  border-radius: 6px;
  z-index: 1;
}
.gift::after {
  content: "";
  position: absolute;
  inset: 0 42%;
  background: #fde047;
}
.tk {
  position: absolute;
  left: 28px;
  top: 52px;
  width: 52px;
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: rotate(-12deg);
  z-index: 2;
}
.coins-stack {
  position: absolute;
  left: 40px;
  bottom: 34px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe566, #f59e0b 60%, #b45309);
  box-shadow: 12px -6px 0 #f59e0b, 18px 2px 0 #d97706;
}
.base {
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 6px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #93c5fd, #1d4ed8 70%);
}

.flow { display: flex; align-items: stretch; gap: 12px; }
.flow .card {
  flex: 1;
  background: linear-gradient(180deg, #fff, #e8f2ff);
  border-radius: 14px;
  padding: 22px 14px 16px;
  text-align: center;
  min-height: 132px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}
.flow .card p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #1e3a8a;
  font-weight: 650;
}
.flow .chev {
  align-self: center;
  color: #93c5fd;
  font-size: 28px;
  font-weight: 700;
}
.ico {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, #dbeafe, #93c5fd);
  position: relative;
}
.i-user::before {
  content: "";
  position: absolute;
  left: 50%; top: 10px;
  width: 15px; height: 15px;
  margin-left: -7.5px;
  border-radius: 50%;
  background: #1d4ed8;
  box-shadow: 0 13px 0 -2px #1d4ed8;
}
.i-user::after {
  content: "+";
  position: absolute;
  right: 4px; bottom: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  line-height: 15px;
  text-align: center;
  font-weight: 700;
}
.i-gift::before {
  content: "";
  position: absolute;
  inset: 11px 10px 9px;
  background: #f59e0b;
  border-radius: 3px;
}
.i-gift::after {
  content: "";
  position: absolute;
  left: 50%; top: 9px;
  width: 4px; height: 26px;
  margin-left: -2px;
  background: #ef4444;
}
.i-mail::before {
  content: "";
  position: absolute;
  inset: 13px 9px 11px;
  background: #fff;
  border: 2px solid #1d4ed8;
  border-radius: 3px;
}
.i-mail::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; top: 15px;
  height: 0;
  border-top: 9px solid #1d4ed8;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.promo-carousel { position: relative; }
.promo-viewport {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}
.promo-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.promo-track .slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.banner {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  min-height: 180px;
  overflow: hidden;
  background: linear-gradient(90deg, #0b2f7a, #123a96 45%, #0d327f);
  cursor: pointer;
}
.ban-art {
  position: relative;
  min-height: 180px;
  background: linear-gradient(160deg, #74c0ff, #1d4ed8 55%, #0b2f7a);
  overflow: hidden;
}
.ban-art.theme-deposit { background: linear-gradient(160deg, #fde68a, #f59e0b 45%, #b45309); }
.ban-art.theme-vip { background: linear-gradient(160deg, #fef3c7, #d4a017 40%, #7c2d12); }
.ban-art.theme-match { background: linear-gradient(160deg, #86efac, #16a34a 50%, #14532d); }
.ban-art.theme-rebate { background: linear-gradient(160deg, #a5b4fc, #6366f1 50%, #312e81); }
.ban-art.theme-wc { background: linear-gradient(160deg, #74c0ff, #1d4ed8 55%, #0b2f7a); }
.ban-art.has-photo { background: #0b2f7a; }
.ban-art.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.player {
  position: absolute;
  bottom: 0;
  width: 64px;
  height: 120px;
  border-radius: 24px 24px 8px 8px;
  background: linear-gradient(180deg, #f8fafc 0 28%, #74c0ff 28% 62%, #0ea5e9 62%);
}
.player::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  width: 26px; height: 26px;
  margin-left: -13px;
  border-radius: 50%;
  background: #f1c27d;
}
.p1 { left: 24px; transform: scale(0.92); }
.p2 { left: 84px; z-index: 2; height: 132px; }
.p3 { left: 148px; transform: scale(0.9); }
.ban-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.ban-body p {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 650;
}
.ban-body em {
  font-style: normal;
  color: var(--hl);
  font-weight: 800;
}
.ban-body i.g,
.ban-body i.b {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  vertical-align: -1px;
  border-radius: 2px;
}
.ban-body i.g { background: linear-gradient(145deg, #fb923c, #ea580c); }
.ban-body i.b {
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #94a3b8 40%, #1e293b);
}
.ban-btn {
  align-self: flex-end;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 0 #c2410c;
}
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 22px;
  z-index: 4;
  display: grid;
  place-items: center;
}
.promo-arrow.prev { left: 12px; }
.promo-arrow.next { right: 12px; }
.promo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.promo-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.promo-dots button.active {
  width: 20px;
  background: #ff9a3c;
}

.rules {
  position: relative;
  background: rgba(8, 36, 120, 0.55);
  border: 1.5px solid #f6c343;
  border-radius: 14px;
  padding: 22px 24px 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}
.rules .dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe9a0, #d4a017);
}
.rules .dot.tl { top: 10px; left: 10px; }
.rules .dot.tr { top: 10px; right: 10px; }
.rules .dot.bl { bottom: 10px; left: 10px; }
.rules .dot.br { bottom: 10px; right: 10px; }
.rules ul { list-style: none; }
.rules li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.rules li b {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.rules li span {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}
.rule-img {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.rule-img b {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9a3c, #ff5a00);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.rule-img img {
  flex: 1;
  max-width: calc(100% - 34px);
  border-radius: 10px;
  display: block;
}

.toast {
  position: fixed;
  left: 50%;
  top: 72px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 200;
  max-width: min(86vw, 360px);
  text-align: center;
}
.toast.show { opacity: 1; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy h1 { font-size: 40px; }
  .hero-banner { min-height: 380px; padding: 40px 20px 56px; }
  .prize-inner { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; }
  .ban-art { min-height: 120px; }
  .page-body { margin-top: -24px; }
}
