/* animate2 - one night-sky look across the site, taken from the film itself. */
@import url("film.css");

:root {
  --deep: #131038; --night: #1E1959; --indigo: #2A2670; --violet: #4A3C8E;
  --lilac: #DFC8F2; --cream: #FFF1D0; --paper: #FFF8EA; --gold: #FFC93C; --coral: #FF8FA3; --sky: #8EE3EF;
  --ink: #14143A;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --tap: 104px;                       /* about 2 cm: the size small hands need */
  --display: "Fredoka", ui-rounded, system-ui, sans-serif;
  --text: "Nunito", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--deep); color: var(--cream); font-family: var(--display); }
body { overscroll-behavior: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--sky); outline-offset: 4px; border-radius: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* big round buttons: an outline, a flat fill, a ledge underneath. Press pushes them down. */
.btn { display: grid; place-items: center; width: var(--tap); height: var(--tap); border-radius: 50%; background: var(--gold);
       border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out); }
.btn:active { transform: translateY(6px); box-shadow: 0 2px 0 var(--ink); }
.btn svg { width: 46%; height: 46%; }
.btn.small { --tap: 68px; box-shadow: 0 6px 0 var(--ink); }
.btn.lilac { background: var(--lilac); } .btn.cream { background: var(--cream); } .btn.coral { background: var(--coral); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--ink); } .btn:active { transform: translateY(6px); box-shadow: 0 2px 0 var(--ink); } }
.withLabel { display: grid; justify-items: center; gap: 14px; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; text-decoration: none; }

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