*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #120116;
  --bg-deep: #08000b;
  --panel: rgba(31, 3, 34, 0.9);
  --panel-soft: rgba(66, 7, 54, 0.76);
  --hot: #ff2f88;
  --gold: #ffd36c;
  --gold-2: #fff0a7;
  --text: #fff8ed;
  --muted: rgba(255, 248, 237, 0.72);
  --line: rgba(255, 211, 108, 0.28);
  --font: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 47, 136, 0.18), transparent 32%),
    radial-gradient(circle at 82% 6%, rgba(255, 211, 108, 0.14), transparent 28%),
    linear-gradient(90deg, #07000a 0%, #250226 52%, #07000a 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(100%, 750px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 10px;
  background:
    linear-gradient(180deg, rgba(12, 0, 16, 0.12), rgba(39, 3, 40, 0.92) 44%, #24011f 100%),
    var(--bg);
  box-shadow: 0 0 74px rgba(0, 0, 0, 0.52);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(80px, 15vw, 116px);
  padding: clamp(18px, 4.8vw, 34px) clamp(20px, 6vw, 46px);
  background: rgba(10, 0, 13, 0.94);
  border-bottom: 1px solid rgba(255, 211, 108, 0.38);
}

.brand img {
  width: clamp(150px, 32vw, 230px);
}

.site-header span {
  color: var(--gold-2);
  font-size: clamp(17px, 4.4vw, 32px);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.site-header span::before,
.site-header span::after {
  content: "◇";
  color: var(--gold);
  font-size: 0.72em;
}

.site-header span::before {
  margin-right: clamp(5px, 1.8vw, 13px);
}

.site-header span::after {
  margin-left: clamp(5px, 1.8vw, 13px);
}

.hero {
  position: relative;
  min-height: clamp(560px, 116vw, 840px);
  overflow: hidden;
  background: var(--bg-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 28% 46%, rgba(8, 0, 12, 0.84), transparent 58%),
    linear-gradient(90deg, rgba(11, 0, 15, 0.98) 0%, rgba(13, 0, 17, 0.94) 24%, rgba(16, 0, 21, 0.76) 48%, rgba(20, 0, 26, 0.42) 70%, rgba(10, 0, 12, 0.03) 100%),
    radial-gradient(circle at 58% 24%, rgba(255, 47, 136, 0.1), transparent 34%),
    linear-gradient(0deg, rgba(18, 0, 20, 0.62), transparent 34%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: clamp(86px, 20vw, 150px);
  background:
    radial-gradient(circle at 88% 100%, rgba(255, 47, 136, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(19, 0, 22, 0), rgba(37, 2, 38, 0.94) 76%, rgba(42, 2, 38, 0.98));
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-art::before {
  background:
    radial-gradient(ellipse at 82% 19%, rgba(255, 246, 184, 0.34), rgba(255, 211, 108, 0.14) 14%, transparent 34%),
    radial-gradient(ellipse at 81% 38%, rgba(255, 47, 136, 0.26), rgba(255, 47, 136, 0.1) 20%, transparent 46%),
    radial-gradient(ellipse at 89% 58%, rgba(255, 178, 42, 0.34), rgba(255, 178, 42, 0.14) 16%, transparent 40%);
  filter: blur(4px);
  opacity: 0.74;
  animation: heroAuraPulse 2.8s ease-in-out infinite;
}

.hero-art::after {
  background:
    radial-gradient(circle at 73% 22%, rgba(255, 255, 255, 0.65) 0 0.8%, transparent 1.8%),
    radial-gradient(circle at 88% 38%, rgba(255, 246, 184, 0.72) 0 0.9%, transparent 2%),
    radial-gradient(circle at 66% 56%, rgba(255, 211, 108, 0.64) 0 0.8%, transparent 1.9%),
    radial-gradient(circle at 94% 62%, rgba(255, 47, 136, 0.62) 0 0.9%, transparent 2.1%),
    radial-gradient(circle at 78% 72%, rgba(255, 246, 184, 0.62) 0 0.75%, transparent 1.8%);
  opacity: 0.7;
  animation: heroSparkDrift 2.4s linear infinite;
}

.floating-coin,
.spark-point {
  position: absolute;
  pointer-events: none;
}

.hero-slots {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.08);
  transform-origin: 78% center;
  animation: heroSlotBreath 5.6s ease-in-out infinite;
}

.floating-coin {
  z-index: 2;
  width: clamp(20px, 6vw, 48px);
  aspect-ratio: 1.55 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 23%, #fffad4, #ffd878 35%, #e98d20 64%, #8c3d08 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 246, 184, 0.34),
    inset 0 -4px 6px rgba(140, 61, 8, 0.28),
    0 0 22px rgba(255, 211, 108, 0.78);
  opacity: 0.9;
  transform: rotate(-18deg);
}

.floating-coin::after {
  content: "$";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(129, 57, 7, 0.78);
  font-size: 58%;
  font-weight: 950;
}

.coin-a {
  right: 2%;
  top: 52%;
  animation: coinFloatA 4.25s ease-in-out infinite;
}

.coin-b {
  right: 18%;
  top: 42%;
  width: clamp(16px, 4.8vw, 38px);
  animation: coinFloatB 3.75s ease-in-out infinite 0.42s;
}

.coin-c {
  right: 31%;
  top: 63%;
  width: clamp(15px, 4.2vw, 32px);
  animation: coinFloatC 4.1s ease-in-out infinite 0.9s;
}

.coin-d {
  right: 10%;
  top: 68%;
  width: clamp(16px, 4.6vw, 36px);
  animation: coinFloatD 3.55s ease-in-out infinite 0.2s;
}

.coin-e {
  right: -2%;
  top: 32%;
  width: clamp(14px, 4vw, 31px);
  animation: coinFloatE 3.95s ease-in-out infinite 0.72s;
}

.coin-f {
  right: 39%;
  top: 50%;
  width: clamp(13px, 3.8vw, 29px);
  animation: coinFloatF 4.4s ease-in-out infinite 1.05s;
}

.spark-point {
  z-index: 2;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff4a8;
  box-shadow:
    0 0 14px 4px rgba(255, 211, 108, 0.8),
    0 0 24px 9px rgba(255, 47, 136, 0.34);
  opacity: 0;
}

.spark-a {
  right: 20%;
  top: 28%;
  animation: sparkTwinkle 1.8s ease-in-out infinite;
}

.spark-b {
  right: 10%;
  top: 50%;
  animation: sparkTwinkle 2.3s ease-in-out infinite 0.45s;
}

.spark-c {
  right: 33%;
  top: 42%;
  animation: sparkTwinkle 2s ease-in-out infinite 0.9s;
}

.spark-d {
  right: 7%;
  top: 35%;
  animation: sparkTwinkle 1.65s ease-in-out infinite 0.22s;
}

.spark-e {
  right: 24%;
  top: 58%;
  animation: sparkTwinkle 1.95s ease-in-out infinite 1.08s;
}

.spark-f {
  right: 42%;
  top: 28%;
  animation: sparkTwinkle 2.15s ease-in-out infinite 0.68s;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(66%, 450px);
  min-height: clamp(560px, 116vw, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(62px, 11vw, 98px) clamp(14px, 5.8vw, 44px) clamp(20px, 5.4vw, 48px);
}

.hero-label-link {
  display: block;
  width: min(100%, clamp(188px, 50vw, 394px));
  margin-bottom: clamp(18px, 4.8vw, 38px);
  line-height: 1;
}

.hero-label-img {
  display: block;
  width: min(100%, clamp(188px, 50vw, 394px));
  height: auto;
}

.hero h1 {
  color: #fff9e8;
  font-size: clamp(39px, 11.5vw, 96px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 rgba(114, 64, 18, 0.54),
    0 0 28px rgba(255, 211, 108, 0.12);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-desc {
  width: max-content;
  max-width: 100%;
  margin-top: clamp(16px, 4.2vw, 34px);
  padding-top: clamp(12px, 3vw, 22px);
  border-top: 1px solid rgba(255, 211, 108, 0.28);
  color: #fff;
  font-size: clamp(18px, 5vw, 40px);
  font-weight: 850;
  white-space: nowrap;
}

.sticky-register a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #6f001e;
  font-weight: 950;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), transparent 18%),
    linear-gradient(180deg, #fff4b2 0%, #ffd36c 46%, #eda133 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.26),
    inset 0 -4px 0 rgba(168, 82, 15, 0.22),
    0 18px 34px rgba(10, 0, 12, 0.42);
}

.primary-cta {
  display: block;
  width: min(100%, clamp(250px, 60vw, 436px));
  margin-top: clamp(24px, 5.4vw, 46px);
  line-height: 1;
}

.cta-image {
  width: 100%;
  height: auto;
}

.feature-strip,
.slots-section,
.site-footer {
  width: min(100% - 24px, 722px);
  margin-inline: auto;
}

.feature-strip {
  display: block;
  position: relative;
  z-index: 3;
  margin-top: -32px;
  padding: 0;
}

.feature-strip::before {
  content: "";
  position: absolute;
  inset: -18px -12px -20px;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 47, 136, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(40, 2, 39, 0), rgba(42, 2, 38, 0.84) 42%, rgba(41, 2, 38, 0));
  pointer-events: none;
}

.feature-strip-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.feature-strip-link {
  display: block;
}

.slots-section {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title h2 {
  color: #fff8e4;
  font-size: clamp(24px, 5.6vw, 35px);
  font-weight: 950;
  line-height: 1.1;
  text-shadow: 0 2px 0 rgba(87, 0, 32, 0.62);
}

.section-title span {
  color: rgba(255, 211, 108, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 211, 108, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(23, 1, 26, 0.44);
}

.slot-link,
.slot-more {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 47, 136, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.slot-link {
  display: block;
  min-width: 0;
  overflow: hidden;
}

.slot-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slot-more {
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.site-footer {
  display: none;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 211, 108, 0.16);
  color: rgba(255, 248, 237, 0.58);
  font-size: 13px;
}

.sticky-register {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 750px);
  transform: translateX(-50%);
  padding: 12px clamp(16px, 4vw, 34px) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(15, 0, 18, 0), rgba(12, 0, 16, 0.96) 36%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sticky-register.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sticky-register a {
  width: 100%;
  min-height: 58px;
  font-size: clamp(18px, 4.7vw, 22px);
}

@keyframes heroSlotBreath {
  0%, 100% {
    filter: saturate(1.02) brightness(1);
  }
  48% {
    filter: saturate(1.28) brightness(1.12);
  }
}

@keyframes heroAuraPulse {
  0%, 100% {
    opacity: 0.46;
    transform: scale(0.99);
  }
  50% {
    opacity: 0.84;
    transform: scale(1.035);
  }
}

@keyframes heroSparkDrift {
  0% {
    background-position: 0 -28px, 0 -16px, 0 -40px, 0 -22px, 0 -10px;
    opacity: 0.36;
  }
  48% {
    opacity: 0.84;
  }
  100% {
    background-position: -28px 84px, 18px 96px, -18px 82px, 24px 112px, -10px 76px;
    opacity: 0.44;
  }
}

@keyframes coinFloatA {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-18deg);
    opacity: 0.48;
  }
  45% {
    transform: translate3d(-24px, -54px, 0) rotate(36deg);
    opacity: 1;
  }
}

@keyframes coinFloatB {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(14deg);
    opacity: 0.42;
  }
  55% {
    transform: translate3d(24px, -46px, 0) rotate(-34deg);
    opacity: 0.94;
  }
}

@keyframes coinFloatC {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-24deg);
    opacity: 0.34;
  }
  50% {
    transform: translate3d(14px, -34px, 0) rotate(26deg);
    opacity: 0.9;
  }
}

@keyframes coinFloatD {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(12deg);
    opacity: 0.4;
  }
  52% {
    transform: translate3d(-38px, -28px, 0) rotate(-38deg);
    opacity: 0.98;
  }
}

@keyframes coinFloatE {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
    opacity: 0.35;
  }
  44% {
    transform: translate3d(-18px, -50px, 0) rotate(30deg);
    opacity: 0.9;
  }
}

@keyframes coinFloatF {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(18deg);
    opacity: 0.28;
  }
  48% {
    transform: translate3d(-18px, -36px, 0) rotate(-26deg);
    opacity: 0.78;
  }
}

@keyframes sparkTwinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.45);
  }
  45% {
    opacity: 1;
    transform: scale(1.6);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 506px;
  }

  .hero-copy {
    min-height: 506px;
    width: 67%;
    padding: 58px 14px 20px;
  }

  .hero-label-img {
    width: min(100%, 198px);
  }

  .coin-f {
    right: 36%;
  }

  .feature-strip {
    margin-top: -34px;
  }

  .slots-section {
    margin-top: 16px;
  }
}

@media (max-width: 370px) {
  .feature-strip {
    margin-top: -32px;
  }
}

@media (min-width: 560px) {
  .feature-strip {
    margin-top: -44px;
  }

  .slots-section {
    margin-top: 20px;
    padding: 22px 14px 24px;
    border: 1px solid rgba(255, 211, 108, 0.28);
    border-radius: 8px;
    background:
      radial-gradient(circle at top left, rgba(255, 47, 136, 0.12), transparent 38%),
      rgba(25, 2, 28, 0.82);
  }

  .slot-grid {
    gap: 9px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slots,
  .floating-coin,
  .spark-point {
    animation: none;
  }
}
