/* v 260526.0000 UTC */

.landing-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    background-color: #020817;
    background-image: url('/assets/images/background.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    isolation: isolate;
}

.landing-page::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;
    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            rgba(0,0,0,0) 45%,
            rgba(0,0,0,0.18) 78%,
            rgba(0,0,0,0.42) 100%
        );
}

.sprite-field {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.sprite {
    position: absolute;
    width: var(--sprite-size);
    height: auto;

    transform: translate(-50%, -50%) rotate(var(--sprite-rotate));

    animation: sprite-drift var(--sprite-speed) ease-in-out infinite;
    animation-delay: var(--sprite-delay);

    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));
    pointer-events: none;
    user-select: none;
}

.sprite-moon {
    opacity: 0.96;

    filter:
        drop-shadow(0 0 18px rgba(140, 180, 255, 0.22))
        drop-shadow(0 0 36px rgba(140, 180, 255, 0.12));
}

.vardaxis-wordmark {
    position: absolute;
    z-index: 10;

    left: 50%;
    top: 50%;

    width: 75vw;

    height: auto;
    max-width: none;
    max-height: none;

    transform: translate(-50%, -50%);

    pointer-events: none;
    user-select: none;

    filter:
        drop-shadow(0 0 24px rgba(0,0,0,0.55))
        drop-shadow(0 12px 36px rgba(0,0,0,0.45));
}

@keyframes drift {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: var(--sprite-drift-x) var(--sprite-drift-y);
    }
}

@keyframes sprite-drift {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: var(--sprite-drift-x) var(--sprite-drift-y);
    }
}

.landing-thrown-artifact {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 30;

    width: clamp(72px, 9vw, 130px);
    height: auto;

    opacity: 0;
    pointer-events: none;

    transform:
        translate(-50%, -50%)
        rotate(0deg)
        scale(0.8);

    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

.landing-thrown-artifact.is-thrown {
    animation: artifactThrow 2.6s cubic-bezier(.18,.78,.22,1) forwards;
}

@keyframes artifactThrow {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(0deg) scale(0.65);
    }

    12% {
        opacity: 1;
    }

    55% {
        transform: translate(-8vw, -12vh) rotate(540deg) scale(1.05);
    }

    100% {
        opacity: 1;
        transform:
            translate(calc(-50vw + 7vw), calc(-50vh + 42vh))
            rotate(1080deg)
            scale(0.88);
    }
}

.landing-transition-wash {
    position: fixed;
    inset: 0;
    z-index: 200;

    background: #020817;
    opacity: 0;
    pointer-events: none;
}

.landing-transition-wash.is-active {
    animation: landingWash 900ms ease forwards;
}

@keyframes landingWash {
    to {
        opacity: 1;
    }
}