@font-face {
  font-family: "Builder Sans";
  src: local("Segoe UI"), local("Roboto"), local("Helvetica Neue"), sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: #ffffff;
  color: #111827;
  font-family: "Builder Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 32px;
}

.topbar {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1f2937;
}

.card {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.title {
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 22px;
  color: #0f172a;
}

.hero-scene {
  position: relative;
  margin: 0 auto 26px;
  width: min(300px, 88vw);
  height: min(280px, 72vw);
  perspective: 900px;
  perspective-origin: 50% 40%;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 78%;
  height: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(51, 95, 255, 0.22) 0%, rgba(51, 95, 255, 0) 68%);
  filter: blur(8px);
  animation: glowPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: giftFloat 4.2s ease-in-out infinite;
}

.hero-img {
  width: 78%;
  max-width: 240px;
  height: auto;
  display: block;
  transform: rotateX(14deg) rotateY(-18deg) translateZ(24px);
  transform-style: preserve-3d;
  animation: giftTilt 5.6s ease-in-out infinite;
  filter: drop-shadow(0 22px 28px rgba(51, 95, 255, 0.28))
    drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-shadow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 56%;
  height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(15, 23, 42, 0.22) 0%, transparent 72%);
  animation: shadowPulse 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes giftFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes giftTilt {
  0%,
  100% {
    transform: rotateX(12deg) rotateY(-20deg) translateZ(20px);
  }
  33% {
    transform: rotateX(16deg) rotateY(-8deg) translateZ(32px);
  }
  66% {
    transform: rotateX(10deg) rotateY(-24deg) translateZ(26px);
  }
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateX(-50%) scale(0.78);
    opacity: 0.45;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float,
  .hero-img,
  .hero-shadow,
  .hero-glow {
    animation: none !important;
  }
}

.desc {
  font-size: 15px;
  line-height: 1.55;
  color: #6b7280;
  margin: 0 auto 22px;
  max-width: 420px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 22px;
  background: #fff;
}

.pill-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cta {
  width: 100%;
  max-width: 420px;
  min-height: 52px;
  border: none;
  border-radius: 12px;
  background: #335fff;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, transform 0.1s ease;
}

.cta:active {
  transform: scale(0.98);
  background: #274ce0;
}

.cta:disabled {
  opacity: 0.65;
  cursor: wait;
}

.foot {
  margin-top: auto;
  padding-top: 40px;
  font-size: 12px;
  color: #9ca3af;
}
