/* The shared moving parts for the hand-built public pages (blog, booking, privacy notice).
   The generated landing pages carry the same rules inside qc-seo.css. Works with assets/js/qc-fx.js. */
@view-transition { navigation: auto; }

.aurora { position: absolute; top: 0; left: 0; right: 0; height: min(820px, 110vh); z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.aurora::before { content: ""; position: absolute; inset: -20% -10% 0; opacity: .9;
  background: radial-gradient(42% 46% at 16% 18%, rgba(14,143,131,.2), transparent 70%),
              radial-gradient(38% 44% at 84% 8%, rgba(124,111,219,.18), transparent 70%),
              radial-gradient(40% 40% at 62% 58%, rgba(47,143,209,.12), transparent 72%);
  animation: fx-drift 26s ease-in-out infinite alternate; }
.aurora canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.aurora.live canvas { opacity: 1; } .aurora.live::before { opacity: 0; transition: opacity 1.2s ease; animation: none; }
@keyframes fx-drift { to { transform: translate3d(3%, 4%, 0) scale(1.08) rotate(3deg); } }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1000; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #0e8f83, #2f8fd1, #7c6fdb); pointer-events: none; }

html.fx .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 60ms); }
html.fx .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { .aurora::before { animation: none; } html.fx .rv { opacity: 1; transform: none; transition: none; } }
@media print { .aurora, .progress { display: none !important; } html.fx .rv { opacity: 1; transform: none; } }
