/* The get-the-app page shown before a link opens on a phone's browser: the link site's show and program links and the
   karaoke ballot links share it (gate.js). */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap");

.gate {
  --purple: #703faf;
  --purple-deep: #44217a;
  --bg: #f9fafd;
  --surface: #ffffff;
  --ink: #2f2a2b;
  --muted: #5f5866;
  --tint: rgba(112, 63, 175, 0.09);
  --accent: var(--purple);
  --label: var(--purple-deep);
}
@media (prefers-color-scheme: dark) {
  .gate {
    --bg: #100d14;
    --surface: #17131c;
    --ink: #f1edf6;
    --muted: #aba3b6;
    --tint: rgba(185, 154, 232, 0.14);
    --accent: #b99ae8;
    --label: #b99ae8;
  }
}

.gate, .gate * { box-sizing: border-box; }
.gate {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}
.gate main { width: 100%; max-width: 350px; margin: auto 0; }
.gate [hidden] { display: none !important; }
.gate h1, .gate h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; margin: 0; }
.gate .brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 20px; }
.gate .brand img { width: 40px; height: 40px; border-radius: 9px; }
.gate .brand span { font-family: "Playfair Display", Georgia, serif; font-size: 20px; font-weight: 700; }
.gate .show { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 14px;
  padding: 10px; margin-bottom: 22px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.gate .show img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.gate .show .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); font-weight: 700; }
.gate .show h2 { font-size: 20px; line-height: 1.2; }
.gate .show .run { font-size: 14px; color: var(--muted); }
.gate .pitch { text-align: center; }
.gate .pitch h1 { font-size: 26px; line-height: 1.2; margin-bottom: 20px; }
.gate .feature { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.gate .feature .icon { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--tint);
  color: var(--accent); display: grid; place-items: center; }
.gate .feature .icon svg { width: 18px; height: 18px; }
.gate .feature strong { display: block; font-size: 15px; }
.gate .feature span { font-size: 14px; color: var(--muted); }
.gate .actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.gate .stores { display: flex; flex-direction: column; gap: 10px; }
.gate .store { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 2px;
  text-decoration: none; font-size: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24), 0 1px 3px rgba(0, 0, 0, 0.12); }
.gate .store[hidden] { display: none; }
.gate .store.apple { background: #fff; color: rgba(0, 0, 0, 0.9); }
.gate .store.apple svg { width: 20px; height: 20px; margin: 0 13px; fill: #000; }
.gate .store.google { background: #4285f4; color: #e3e3e3; }
.gate .store.google .g { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  background: #fff; margin: 0 10px 0 13px; }
.gate .store.google .g svg { width: 18px; height: 18px; }
.gate .soon { text-align: center; font-size: 14px; color: var(--muted); margin: 0; }
.gate .continue { display: block; text-align: center; background: none; border: 0; color: var(--accent);
  font: inherit; font-weight: 600; padding: 10px; cursor: pointer; }
