/* Moviebound website — Grand Cinema look. Shared by index, privacy and support. */
:root {
  --velvet: #2A0A12; --velvet-deep: #0E0306; --surface: #3A111B; --raised: #4A1824;
  --cream: #FBF1DC; --muted: #D3B9A0; --gold: #E8B84A; --gold-bright: #FFE08A; --stroke: #8C6A24;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--cream);
  font-family: "Libre Baskerville", Georgia, serif; line-height: 1.6;
  background: radial-gradient(ellipse at 50% -10%, rgba(255,224,138,.22), transparent 55%),
              repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 22px, rgba(255,255,255,.03) 22px 44px),
              linear-gradient(var(--velvet), var(--velvet-deep));
  background-attachment: fixed;
}
a { color: var(--gold-bright); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
main { max-width: 1040px; margin: 0 auto; padding: 24px 16px 64px; }
.narrow { max-width: 760px; }
nav.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 16px; flex-wrap: wrap; }
nav.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.25rem; }
nav.top .brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.top ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; font: 600 .95rem system-ui, sans-serif; }
nav.top ul a { color: var(--muted); text-decoration: none; }
nav.top ul a:hover, nav.top ul a[aria-current="page"] { color: var(--gold-bright); }
.marquee {
  position: relative; text-align: center; padding: 40px 22px; margin: 8px 0 36px;
  border-radius: 22px; background: rgba(14,3,6,.75);
}
/* The CSS dots are the fallback without JavaScript; site.js draws the app's bulbs over them. */
.marquee::before {
  content: ""; position: absolute; inset: 6px; border-radius: 18px; pointer-events: none;
  background: radial-gradient(circle, var(--gold-bright) 0 3.5px, transparent 4.5px) 0 0 / 22px 22px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask-composite: exclude; padding: 8px; animation: chase 1.4s steps(3) infinite;
}
@keyframes chase { to { background-position: 22px 0; } }
.marquee a { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .marquee::before { animation: none; } }
h1, h2, h3 { font-family: "Playfair Display", serif; line-height: 1.2; }
h1 { font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.6rem); margin: 0; color: var(--gold-bright); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--gold-bright); margin: 48px 0 12px; }
h3 { font-size: 1.2rem; margin: 0 0 6px; }
.lede { color: var(--muted); font-size: 1.1rem; margin: 12px auto 0; max-width: 34em; }
.label { font: 700 .74rem/1 system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 14px 40px rgba(0,0,0,.5); margin-bottom: 18px; }
.badge { display: inline-block; margin-top: 22px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-bright); font: 700 1rem system-ui, sans-serif; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-color: var(--stroke) transparent; }
.shots::-webkit-scrollbar { height: 8px; background: transparent; }
.shots::-webkit-scrollbar-thumb { background: var(--stroke); border-radius: 4px; }
.shots figure { margin: 0; flex: 0 0 auto; width: min(62vw, 240px); scroll-snap-align: center; }
.shots img { width: 100%; height: auto; display: block; border-radius: 26px; border: 1px solid var(--stroke); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.shots figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.card p { margin: 0; color: var(--muted); }
.premium { background: linear-gradient(135deg, #5a3a0e, #2a1404); border-color: var(--gold); }
.premium ul { margin: 10px 0 0; padding-left: 1.2em; }
.prose h2 { font-size: 1.45rem; margin-top: 36px; }
.prose p, .prose li { color: var(--cream); }
.prose .muted { color: var(--muted); }
details { background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; padding: 14px 18px; margin: 12px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { text-align: center; color: var(--muted); font-size: .85rem; margin: 56px auto 0; max-width: 46em; padding: 0 16px 32px; }
footer a { margin: 0 6px; }
/* Feedback form */
form.feedback { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
form.feedback label { font: 700 .9rem system-ui, sans-serif; color: var(--cream); margin-top: 10px; }
form.feedback .optional { font-weight: 400; color: var(--muted); margin-left: 4px; }
form.feedback input[type=text], form.feedback input[type=email], form.feedback textarea {
  width: 100%; font: 1rem system-ui, sans-serif; color: var(--cream); background: var(--velvet-deep);
  border: 1px solid var(--stroke); border-radius: 10px; padding: 11px 12px;
}
form.feedback textarea { resize: vertical; min-height: 9em; line-height: 1.45; }
form.feedback ::placeholder { color: var(--muted); opacity: .7; }
form.feedback input:focus, form.feedback textarea:focus { outline: 2px solid var(--gold-bright); outline-offset: 1px; border-color: var(--gold); }
form.feedback .kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
form.feedback legend { font: 700 .9rem system-ui, sans-serif; margin-bottom: 8px; padding: 0; }
form.feedback .kinds label { margin: 0; font-weight: 600; cursor: pointer; }
form.feedback .kinds input { position: absolute; opacity: 0; pointer-events: none; }
form.feedback .kinds span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--muted); }
form.feedback .kinds input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--velvet-deep); }
form.feedback .kinds input:focus-visible + span { outline: 3px solid var(--gold-bright); outline-offset: 2px; }
form.feedback .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
form.feedback .pair label { display: block; margin-bottom: 6px; }
form.feedback button {
  margin-top: 18px; align-self: flex-start; font: 700 1rem system-ui, sans-serif; color: var(--velvet-deep);
  background: linear-gradient(var(--gold-bright), var(--gold)); border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer;
}
form.feedback button:hover { filter: brightness(1.06); }
form.feedback .fine { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
form.feedback .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; font-weight: 700; }
.notice p { margin: 8px 0 0; font-weight: 400; }
.notice.ok { background: rgba(123,215,154,.14); border: 1px solid #7BD79A; color: #CFF3DA; }
.notice.error { background: rgba(255,120,110,.12); border: 1px solid #FF8A80; color: #FFD3CF; }

/* App Store button: gold, like the app's primary buttons. */
.store-button { display: inline-block; margin-top: 22px; padding: 14px 28px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(#FFE08A, #E8B84A); color: #2A0A12; font: 800 1.05rem system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 18px rgba(255,224,138,.35); }
.store-button:hover { filter: brightness(1.06); }
.store-button:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
.store-note { margin: 10px 0 0; color: var(--muted); font: 600 .9rem system-ui, sans-serif; }
.get-app { text-align: center; margin: 40px 0 0; }
