* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #050505;
  color: #fff;
  overflow: hidden;
}

/* Background */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.phone-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 100vw);
  height: 100vh;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 120px rgba(0,0,0,0.65);
}

.track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: scrollY 50s linear infinite; /* SPEED HERE */
}

.track img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

@keyframes scrollY {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-1 * var(--scroll-distance))); }
}

.side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc((100vw - min(420px, 100vw)) / 2 + 40px);
  pointer-events: none;
}

.side.left {
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.9), transparent);
}

.side.right {
  right: 0;
  background: linear-gradient(270deg, rgba(0,0,0,.9), transparent);
}

.shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(0,0,0,.2), rgba(0,0,0,.75));
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Content */
.wrap {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
}

.card {
  width: min(520px, 92vw);
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(20,20,20,.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 12px;
}

.card h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 900;
  text-decoration: none;
  margin-top: 10px;
}

.fineprint {
  margin-top: 12px;
  font-size: 12px;
  opacity: .7;
}

@media (max-width: 520px) {
  .phone-frame { width: 100vw; border-radius: 0; }
  .side { display: none; }
}
