/* WOW HEART LOADER V1 */

#wow-heart-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(120, 0, 28, .16),
            transparent 38%
        ),
        #030304;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .75s ease,
        visibility .75s ease;
}

#wow-heart-loader.wow-heart-loader-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.wow-heart-loader-stage {
    position: relative;

    width: min(92vw, 620px);
    height: min(82vh, 620px);

    display: flex;
    align-items: center;
    justify-content: center;
}

#wow-heart-canvas {
    display: block;

    width: 100%;
    height: 100%;

    filter:
        drop-shadow(0 0 10px rgba(255, 45, 90, .28))
        drop-shadow(0 0 28px rgba(185, 0, 45, .18));

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1),
        filter .55s ease;
}

#wow-heart-loader.wow-heart-complete #wow-heart-canvas {
    transform: scale(1.035);

    filter:
        drop-shadow(0 0 13px rgba(255, 70, 112, .48))
        drop-shadow(0 0 42px rgba(205, 0, 52, .30));
}

.wow-heart-loader-caption {
    position: absolute;
    left: 50%;
    bottom: 9%;

    transform: translateX(-50%);

    color: rgba(255,255,255,.46);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;

    white-space: nowrap;

    opacity: 0;

    animation: wowHeartCaption .8s .25s forwards;
}

@keyframes wowHeartCaption {
    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .wow-heart-loader-stage {
        width: 96vw;
        height: 74vh;
    }

    .wow-heart-loader-caption {
        bottom: 5%;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #wow-heart-loader {
        transition-duration: .25s;
    }

    .wow-heart-loader-caption {
        animation: none;
        opacity: 1;
    }
}
