body {
    margin: 0;
    padding: 0;
    background: #05070D;
    overflow: hidden;
    font-family: sans-serif;
}

#viewport-overlay p {
    font-size: 2rem;
    line-height: 1.5;
    width: 80%;
}

.rive {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.unicorn {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: color-dodge;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

#progress-bar {
    width: 50%;
    height: 1px;
    background-color: #fff;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}

#preloader.loaded {
    transform: translateY(100%);
}

/* Make sure the canvas is visible */
.rive {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}
