/* Movie Slider promo site */
:root {
  color-scheme: dark;
  --bg: #060606;
  --bg-elevated: rgba(0, 0, 0, 0.25);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent-from: #60a5fa;
  --accent-to: #c084fc;
  --link: #a78bfa;
  --border: rgba(255, 255, 255, 0.05);
  --phone-border: #2c2b2c;
  --max: 62.5rem;
  --pad: clamp(1rem, 4vw, 2rem);
  --focus: #60a5fa;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fafafa;
    --bg-elevated: rgba(255, 255, 255, 0.85);
    --text: #18181b;
    --text-muted: #52525b;
    --accent-from: #2563eb;
    --accent-to: #7c3aed;
    --link: #5b21b6;
    --border: rgba(0, 0, 0, 0.08);
    --phone-border: #d4d4d8;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.bg-layers {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-layers__a {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(5, 136, 219, 0.3),
    var(--bg) 55%
  );
}

.bg-layers__b {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 0, 221, 0.06),
    transparent 50%
  );
}

.bg-layers__c {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(15, 239, 255, 0.15),
    transparent 55%
  );
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: var(--pad);
  top: var(--pad);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.gradient-text {
  background: linear-gradient(
    to bottom right,
    var(--accent-from),
    var(--accent-to)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (forced-colors: active) {
  .gradient-text {
    -webkit-text-fill-color: LinkText;
    color: LinkText;
    background: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.site-logo img {
  height: 3.5rem;
  width: auto;
  display: block;
}

.site-logo:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--accent-from) 70%, transparent);
  background: color-mix(in srgb, var(--accent-from) 35%, transparent);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.btn-download:hover {
  background: color-mix(in srgb, var(--accent-from) 55%, transparent);
}

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

@media (prefers-reduced-motion: reduce) {
  .btn-download {
    transition: none;
  }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  padding-bottom: 4rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 62.5rem;
  min-height: 85vh;
  padding-top: 1rem;
  text-align: center;
}

.hero__pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--bg) 30%, var(--text-muted));
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
}

.hero__pill:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.hero h1 {
  margin: 0;
  padding-inline: var(--pad);
  font-size: clamp(2.25rem, 8vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 56rem;
}

.hero h2 {
  margin: 0;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 40rem;
  padding-inline: var(--pad);
}

.hero__mockup-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.hero__mockup {
  max-width: min(28rem, 90vw);
  max-height: 50vh;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 1rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding-inline: var(--pad);
}

.store-badge-link {
  display: inline-block;
  min-height: 2.75rem;
  border-radius: 6px;
}

.store-badge-link img,
.store-badge-link svg {
  display: block;
  height: 3rem;
  width: auto;
}

.store-badge-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.feature {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--max);
  padding-inline: var(--pad);
}

@media (min-width: 48rem) {
  .feature {
    flex-direction: row;
    gap: 3rem;
    margin-block: 2rem;
  }

  .feature--right {
    flex-direction: row-reverse;
  }
}

.phone {
  flex-shrink: 0;
  width: min(200px, 45vw);
  margin: 0;
  border: 2px solid var(--phone-border);
  border-radius: 38px;
  overflow: hidden;
}

@media (min-width: 48rem) {
  .phone {
    width: 280px;
    border-radius: 44px;
  }
}

.phone video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border: 4px solid #000;
  border-radius: 36px;
  background: #000;
}

@media (min-width: 48rem) {
  .phone video {
    border-radius: 42px;
  }
}

.feature__copy {
  flex: 1;
  max-width: 36.875rem;
}

.feature__copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.feature__copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.feature__copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature__copy li {
  font-size: 1.125rem;
  font-weight: 700;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: calc(100% - 2 * var(--pad));
  max-width: var(--max);
  margin-inline: var(--pad);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: center;
}

@media (min-width: 64rem) {
  .download-card {
    flex-direction: row;
    justify-content: center;
    padding: 3rem;
    gap: 3rem;
  }
}

.download-card h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
}

.download-card__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.download-card__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.download-card__icon {
  height: 5.25rem;
  width: auto;
  border-radius: 22.5%;
  border: 1px solid var(--border);
}

.download-card__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.download-card__tagline {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.other-apps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.other-apps h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
}

.other-apps__link {
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}

.other-apps__link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.other-apps__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.other-apps__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer {
  margin-top: 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__copy a {
  color: var(--text-muted);
}
