/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7fafc;
  color: #111827;
  display: flex;
  justify-content: center;
}

/* Page wrapper */
.page {
  background: #ffffff;
  min-height: 100vh;
  max-width: 480px;
  width: 100%;
  padding: 16px 16px 32px;
  margin: 0 auto;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 2;
}

/* Hero layout */
.hero {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-left {
  flex: 0 0 42%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 6px 4px 4px;
  border-radius: 16px;
  background: #f3f4f6;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.hero-winner {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Right side with promo banner style */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

/* Betalevel badge */
.betalevel-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.betalevel-logo {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.betalevel-logo span {
  font-weight: 500;
}

/* Hero text mimicking banner */
.hero-copy {
  background: #ffffff;
  border-radius: 12px;
  padding: 6px 8px;
  border: 2px solid #9333ea;
}

.play-win {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ec4899;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-prize {
  font-size: 0.9rem;
  line-height: 1.3;
  color: #111827;
}

.hero-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: #9333ea;
}

/* Center logo like offer page */
.center-logo {
  margin: 20px auto 10px;
  display: inline-flex;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.center-logo .betalevel-logo {
  font-size: 1rem;
}

/* Headline */
.headline {
  text-align: center;
  font-size: 0.98rem;
  margin: 8px 0 28px;
}

/* CTA button approximating the blue SUBSCRIBE bar */


/* Note under button */
.note {
  margin-top: 10px;
  font-size: 0.8rem;
  text-align: center;
  color: #4b5563;
}

/* Mobile tweaks */
@media (max-width: 420px) {
  .hero {
    gap: 6px;
  }
  .hero-left {
    flex-basis: 40%;
  }
}

/* Confetti / streamer container */
#confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}


.confetti {
  position: absolute;
  top: -10vh;
  width: 6px;
  height: 14px;
  border-radius: 999px;
  opacity: 0.9;
  animation: confetti-fall 3.2s linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotateZ(0deg);
  }
  100% {
    transform: translate3d(0, 110vh, 0) rotateZ(360deg);
  }
}

.top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  margin: -4px -4px 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, #9333ea, #ec4899);
  color: #f9fafb;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-strip-left {
  font-weight: 700;
}

.top-strip-right {
  font-weight: 800;
}

.urgency-box {
  margin: 4px auto 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f5f3ff;
  border: 1px solid #a855f7;
  color: #111827;
  max-width: 480px;
  text-align: left;
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.45);
}

.urgency-main {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.urgency-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.45);
}

.urgency-meta {
  margin-top: 8px;
  font-size: 0.95rem;
}



.urgency-meta span#countdown {
  font-weight: 700;
}

/* Slight pulse on CTA for higher CTR */
.btn-primary {
  width: 100%;
  padding: 13px 16px;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.5);
  cursor: pointer;
  animation: cta-pulse 1.25s ease-in-out infinite;
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.5);
}

@keyframes cta-pulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.5);
  }
  50% {
    transform: translateY(0) scale(1.03);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.7);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.5);
  }
}

.urgency-meta span#spots {
  font-weight: 900;
  animation: spots-pulse 1.1s ease-in-out infinite;
}

.hl-amount {
  color: #9333ea;
  font-weight: 900;
}

.hl-free {
  color: #a855f7;
  font-weight: 800;
}
