
/*
 * Blur Fade adaptation: https://21st.dev/@dillionverma/components/blur-fade
 * Copyright (c) Magic UI
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
:root { background: #05030a; }
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: 620ms; }
::view-transition-old(root), ::view-transition-new(root) {
  mix-blend-mode: normal;
  animation-fill-mode: both;
}
::view-transition-old(root) { animation: vr-entry-out 400ms cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vr-entry-in 580ms cubic-bezier(.16, 1, .3, 1) 40ms both; }
@keyframes vr-entry-out {
  from { opacity: 1; filter: blur(0); transform: translateY(0); }
  to { opacity: 0; filter: blur(6px); transform: translateY(-6px); }
}
@keyframes vr-entry-in {
  from { opacity: 0; filter: blur(6px); transform: translateY(6px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
/* Progressive enhancement: native form navigation still works without this API. */
@supports not (view-transition-name: root) {
  .page { animation: vr-entry-in 580ms cubic-bezier(.16, 1, .3, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*), .page {
    animation: none !important;
  }
}
