* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

html,
body {
  background: #061d07;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  color: #fff;
}

.page {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: #061d07;
  min-height: 100vh;
  min-height: 100dvh;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@keyframes skelShine {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.skel {
  background-image: linear-gradient(90deg, #0b1f14 0%, #1a3d2a 50%, #0b1f14 100%);
  background-size: 200% 100%;
  animation: skelShine 1.4s linear infinite;
}

.hero.skel {
  min-height: 300px;
}

.spin-btn.skel {
  min-height: 64px;
  border-radius: 40px;
  overflow: hidden;
}

[data-asset] {
  opacity: 0;
}

[data-asset].is-loaded {
  opacity: 1;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.brand-logo {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  height: 28px;
  width: auto;
  display: block;
}

/* ===== Wheel ===== */
.wheel-section {
  position: relative;
  z-index: 2;
  margin-top: -120px;
  display: flex;
  justify-content: center;
  padding: 0;
}

.wheel-wrap {
  --wheel-cx: 49.315%;
  --wheel-cy: 49.041%;
  --wheel-size: 71.78%;
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  touch-action: manipulation;
  z-index: 1;
}

.wheel-wrap:focus,
.wheel-wrap:focus-visible {
  outline: none;
}

.wheel-spin {
  position: absolute;
  left: var(--wheel-cx);
  top: var(--wheel-cy);
  width: var(--wheel-size);
  height: var(--wheel-size);
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 4.6s cubic-bezier(0.12, 0.71, 0.12, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.wheel-spin.idle {
  animation: wheelIdle 20s linear infinite;
  transition: none;
}

.wheel-spin.idle .wheel-prize {
  animation: prizeIdle 20s linear infinite;
  transition: none;
}

@keyframes wheelIdle {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes prizeIdle {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.wheel-spin .rotor-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  pointer-events: none;
  user-select: none;
}

.wheel-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.wheel-hub {
  display: none;
}

.wheel-hub img {
  position: absolute;
  width: 521.43%;
  height: 521.43%;
  left: -207.14%;
  top: -205.71%;
  max-width: none;
  display: block;
}

#wheelLabels {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.wheel-wrap::after {
  content: '';
  position: absolute;
  left: var(--wheel-cx);
  top: var(--wheel-cy);
  width: 56%;
  height: 56%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 36px 8px rgba(232, 196, 74, 0.2);
  animation: wheelGlow 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes wheelGlow {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

.wheel-prize {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 4.6s cubic-bezier(0.12, 0.71, 0.12, 1);
}

.prize-coin {
  width: clamp(22px, 7.6vw, 30px);
  height: clamp(22px, 7.6vw, 30px);
  margin-bottom: 2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.prize-coin svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wheel-prize .lbl {
  font-size: clamp(13px, 4.1vw, 17px);
  font-weight: 800;
  color: #f0d36a;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

/* ===== CTA ===== */
.cta-section {
  padding: 0 10px 0;
  text-align: center;
}

.spin-btn {
  -webkit-tap-highlight-color: transparent;
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  position: relative;
  isolation: isolate;
}

.spin-btn img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  animation: btnPulse 2.8s ease-in-out infinite;
}

.btn-shine {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.modal-btn .btn-shine {
  inset: 0;
  border-radius: 40px;
}

.modal-btn .btn-shine::before {
  content: '';
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0;
  width: 42%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.06) 28%, rgba(255, 255, 255, 0.4) 44%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.4) 56%, rgba(255, 255, 255, 0.06) 72%, transparent 100%);
  mix-blend-mode: screen;
  animation: modalBtnShine 4.8s linear infinite;
}

.spin-btn:active {
  transform: scale(0.98);
}

@keyframes modalBtnShine {

  0%,
  12% {
    transform: translateX(-180%) skewX(-20deg);
  }

  78%,
  100% {
    transform: translateX(420%) skewX(-20deg);
  }
}

@keyframes btnPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 6px rgba(232, 196, 74, 0.28));
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(255, 220, 110, 0.75));
  }
}

.cta-note {
  margin-top: -6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Content ===== */
.content {
  padding: 22px 18px 28px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.winners-card {
  background: rgba(18, 46, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px 14px 10px;
}

.winners-head,
.winner-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr 0.7fr;
  gap: 8px;
  align-items: center;
}

.winners-head {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
}

.winners-viewport {
  height: 72px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.winners-track {
  animation: winnersScroll 16s linear infinite;
}

.winner-row {
  font-size: 12px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

.winner-row .prize {
  font-weight: 600;
}

.winner-row .time {
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

@keyframes winnersScroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 16px 0 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f8a4c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-check svg {
  display: block;
}

/* ===== Steps ===== */
.steps {
  margin-bottom: 22px;
}

.steps-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 6px;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 18%;
  right: 18%;
  height: 1px;
  background: rgba(212, 175, 55, 0.35);
}

.step {
  width: 33.33%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 1.5px solid #d4af37;
  background: #0b1f14;
  color: #e8c547;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
}

/* ===== Feature cards ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.feature-card {
  background: #0d2318;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 14px 18px;
  min-height: 112px;
}

.feature-card img {
  width: 24px;
  height: 24px;
  display: block;
  margin-bottom: 12px;
}

.feature-card strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 3px;
}

.feature-card span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.3;
}

/* ===== Empty prizes ===== */
.empty-card {
  background: rgba(18, 46, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
}

.empty-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: rgba(232, 197, 71, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.empty-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 22px 16px 28px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links .dot {
  opacity: 0.4;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 16px;
  padding: 0 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.modal.active {
  display: flex;
}

.modal-stage {
  position: relative;
  width: min(92vw, 360px);
  padding-top: 126px;
}

.modal-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 320px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(46, 140, 72, 0.45) 0%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

.modal-woman {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 148%;
  max-width: none;
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 48% 62% at 50% 42%, #000 38%, transparent 74%);
  mask-image: radial-gradient(ellipse 48% 62% at 50% 42%, #000 38%, transparent 74%);
}

.modal-coins {
  position: absolute;
  left: 50%;
  top: 48px;
  transform: translateX(-50%);
  width: 118%;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: screen;
}

.modal-card {
  position: relative;
  z-index: 2;
  padding: 86px 22px 24px;
  background: linear-gradient(180deg, #1c2c24 0%, #121c18 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-card::before,
.modal-card::after {
  content: '✦';
  position: absolute;
  color: #ffe08a;
  pointer-events: none;
  animation: twinkle 1.7s ease-in-out infinite;
}

.modal-card::before {
  left: 16%;
  top: 28%;
  font-size: 11px;
}

.modal-card::after {
  right: 15%;
  top: 34%;
  font-size: 9px;
  animation-delay: 0.55s;
}

@keyframes modalPop {
  0% {
    transform: scale(0.86);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes prizeGlow {

  0%,
  100% {
    filter: drop-shadow(0 2px 0 #7a5a12) drop-shadow(0 0 6px rgba(255, 210, 80, 0.35));
  }

  50% {
    filter: drop-shadow(0 2px 0 #7a5a12) drop-shadow(0 0 16px rgba(255, 220, 100, 0.9));
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-amount {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #fff4b0 0%, #ffd24a 42%, #c4921a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 0 #7a5a12);
  animation: prizeGlow 1.6s ease-in-out infinite;
}

.modal-unit {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  color: #e0b43a;
}

.modal-text {
  margin: 16px 0 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.modal-btn {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(180deg, #f6e7a8 0%, #e6c45c 48%, #d4a93a 100%);
  animation: btnPulse 2.8s ease-in-out infinite;
  color: #1a3d22;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow: 0 4px 0 #b48a28, 0 10px 24px rgba(212, 169, 58, 0.28);
}

.modal-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b48a28;
}

.modal-btn .btn-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.modal-stay {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.modal-legal {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
}