html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  --dl-bg: #f7f8fa;
  --dl-bg-soft: #eef3f7;
  --dl-ink: #0f1419;
  --dl-muted: #5c6670;
  --dl-line: rgba(15, 20, 25, 0.08);
  --dl-accent: #0d9488;
  --dl-accent-deep: #0f766e;
  --dl-surface: rgba(255, 255, 255, 0.82);
  --dl-shadow: 0 24px 60px rgba(15, 20, 25, 0.08);
  --dl-radius: 24px;

  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--dl-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 600px at 12% -10%, #d9f3ef 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e8eef8 0%, transparent 50%),
    linear-gradient(180deg, var(--dl-bg) 0%, var(--dl-bg-soft) 100%);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 24px 24px;
  padding-top: max(40px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.float-stage {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.product {
  position: absolute;
  will-change: transform, filter;
  opacity: 0.68;
  filter: blur(5px);
}

.product img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product--whey {
  left: auto;
  right: 10%;
  top: 8%;
  width: 220px;
  animation: float-a 7s ease-in-out infinite;
}

.product--bar {
  left: 8%;
  top: 8%;
  width: 230px;
  opacity: 0.6;
  filter: blur(6px);
  animation: float-b 8s ease-in-out infinite;
}

.product--omega {
  left: -3%;
  top: 38%;
  width: 180px;
  opacity: 0.64;
  filter: blur(5px);
  animation: float-e 7.4s ease-in-out infinite;
}

.product--joints {
  right: 4%;
  top: 42%;
  width: 170px;
  opacity: 0.58;
  filter: blur(6px);
  animation: float-c 7.8s ease-in-out infinite;
}

.product--d3k2 {
  left: 12%;
  bottom: 8%;
  width: 180px;
  opacity: 0.66;
  filter: blur(5px);
  animation: float-f 8.2s ease-in-out infinite;
}

.product--collagen {
  right: 16%;
  bottom: 6%;
  width: 190px;
  opacity: 0.56;
  filter: blur(7px);
  animation: float-d 7.6s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  margin: 0 auto;
  flex: 1;
  display: flex;
  align-items: center;
}

.copy {
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease forwards;
}

.logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: transparent;
}

.brand-name {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.tagline {
  margin: 0 0 18px;
  max-width: 28ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
  color: var(--dl-muted);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease 0.08s forwards;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--dl-muted);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease 0.14s forwards;
}

.stars {
  color: #f5a524;
  letter-spacing: 1px;
}

.stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease 0.2s forwards;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--dl-line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 20, 25, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 14px 28px rgba(15, 20, 25, 0.08);
}

.store-btn:focus-visible {
  outline: 2px solid var(--dl-accent);
  outline-offset: 3px;
}

.store-btn .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

.store-btn .rustore-icon {
  border-radius: 7px;
}

.store-btn .meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-btn .eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dl-muted);
}

.store-btn .label {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-btn.apk {
  margin-top: 4px;
  min-height: 64px;
  border: none;
  background: linear-gradient(135deg, var(--dl-accent) 0%, var(--dl-accent-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.28);
}

.store-btn.apk .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.store-btn.apk .label {
  font-size: 1.12rem;
}

.store-btn.apk:hover {
  border: none;
  background: linear-gradient(135deg, #14b8a6 0%, var(--dl-accent) 100%);
  box-shadow: 0 18px 34px rgba(13, 148, 136, 0.34);
}

.qr-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--dl-surface);
  border: 1px solid var(--dl-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15, 20, 25, 0.05);
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease 0.26s forwards;
}

.qr-image {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}

.qr-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qr-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.qr-copy span {
  font-size: 0.86rem;
  color: var(--dl-muted);
  line-height: 1.35;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--dl-line);
  color: var(--dl-muted);
  font-size: 0.85rem;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

@keyframes float-c {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }
  50% {
    transform: translateY(-9px) rotate(5deg);
  }
}

@keyframes float-d {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

@keyframes float-e {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-11px) rotate(1deg);
  }
}

@keyframes float-f {
  0%,
  100% {
    transform: translateY(0) rotate(4deg);
  }
  50% {
    transform: translateY(-13px) rotate(2deg);
  }
}

@media (max-width: 860px) {
  .page {
    padding: 12px 20px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .shell {
    align-items: flex-start;
    padding-top: 0;
  }

  .brand {
    margin-bottom: 16px;
  }

  .rating {
    margin-bottom: 20px;
  }

  .product--whey {
    right: -10%;
    top: 6%;
    width: 160px;
  }

  .product--bar {
    display: none;
  }

  .product--omega {
    left: -6%;
    top: 42%;
    width: 130px;
  }

  .product--joints {
    right: -4%;
    top: 40%;
    width: 125px;
  }

  .product--d3k2 {
    left: 8%;
    bottom: 6%;
    width: 135px;
  }

  .product--collagen {
    right: 18%;
    bottom: 4%;
    width: 145px;
  }

  .qr-inline {
    display: none;
  }

  .footer {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .tagline,
  .rating,
  .stores,
  .qr-inline,
  .product {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
