@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/Poppins-Medium.woff2") format("woff2");
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/Poppins-ExtraBold.woff2") format("woff2");
}

:root {
  --bg: #0b0018;
  --bg-2: #140622;
  --text: #f5f3f7;
  --muted: #c9b8d6;
  --pink: #ff4eb8;
  --line: rgba(255, 255, 255, 0.12);
  --bar: #111111;
  --white: #ffffff;
  --max: 40rem;
  --pad: 24px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }
a:hover { color: var(--pink); }
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

/* Landing */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) var(--pad) 36px;
  text-align: center;
}
.app-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  border-radius: 27px;
  box-shadow: 0 12px 40px rgba(255, 78, 184, 0.35);
}
.hero h1 {
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.subtitle {
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--text);
}
.blurb {
  margin: 0 0 16px;
  color: var(--text);
  text-wrap: pretty;
}
.blurb:last-of-type { margin-bottom: 28px; }
.store {
  display: inline-block;
}
.store img {
  width: 168px;
  height: auto;
}

.shots {
  padding: 8px 0 12px;
}
.shots-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px var(--pad) 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.shots-track figure {
  margin: 0;
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
}
.shots-track img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.watch {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) 48px;
  display: flex;
  justify-content: center;
}
.video-wrap {
  width: min(280px, 100%);
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
.video-wrap video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
  vertical-align: middle;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--pad) calc(32px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.site-footer a:hover { color: var(--text); }
.site-footer p { margin: 0; }

@media (min-width: 800px) {
  .hero { padding-top: 72px; }
  .hero h1 { font-size: 3.1rem; }
  .shots-track {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    max-width: 44rem;
    margin: 0 auto;
  }
  .shots-track figure { width: 180px; }
  .video-wrap { width: 300px; }
}

/* Legal / support pages */
.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top)) var(--pad) 0;
}
.page-head a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-head img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.prose {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--pad) 40px;
}
.prose h1 {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.prose .meta {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 0.95rem;
}
.prose h2 {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0 0 6px; }
.prose a { color: var(--pink); }

/* Share preview */
body.share {
  background: #000;
  min-height: 100dvh;
}
#empty, #stage { min-height: 100dvh; }
#empty {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) var(--pad) 36px;
  text-align: center;
}
#empty h1 {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 16px 0 12px;
}
#empty p { margin: 0 0 16px; }
#stage { position: relative; }
.light {
  position: fixed;
  inset: 0;
  background: #000;
}
.split {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.split-half { flex: 1 1 0; }
.split-line {
  flex: 0 0 8px;
  background: #000;
  z-index: 1;
}
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  background: rgba(10, 0, 24, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
#note {
  margin: 0 4px 4px;
  font-weight: 500;
  text-align: center;
  color: var(--text);
}
.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  padding: 18px 16px;
  border-radius: 28px;
  color: var(--bar);
  background: var(--white);
}
.btn:hover { color: var(--bar); filter: brightness(0.95); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.btn-secondary:hover { color: var(--text); filter: none; background: rgba(255, 255, 255, 0.08); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#empty .about-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
#empty .about-link:hover { color: var(--text); }
#empty .btn { margin: 8px 0 16px; }
