@font-face {
    font-family: 'Signika';
    src: url('/fonts/Signika-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.loading-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    height: 100dvh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.loading-header {
    position: relative;
    text-align: center;
    background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
    color: white;
    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.loading-inner-header {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
}

.loading-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: min(32vw, 375px);
    margin: 0 auto;
}

.loading-logo-image {
    max-height: 25.5vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

.loading-brand-word {
    display: inline-block;
    margin: 0;
    width: auto;
    text-align: center;
    white-space: nowrap;
    font-family: "Signika", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "GRAD" 0;
    font-size: clamp(4.7rem, 6.7vw, 6.4rem);
    letter-spacing: 0.06em;
    margin-right: -0.06em;
    color: #ffffff;
}

.loading-waves {
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: clamp(64px, 14vh, 150px);
    margin: 0;
}

.loading-parallax > use {
    animation: loading-move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.loading-parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.loading-parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.loading-parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.loading-parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes loading-move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

@media (max-width: 768px) {
    .loading-header-content {
        max-width: min(63vw, 375px);
    }

    .loading-inner-header {
        padding: 0 0.75rem;
    }

    .loading-logo-image {
        max-height: 28vh;
    }

    .loading-brand-word {
        font-size: clamp(2rem, 7.2vw, 3.2rem);
        letter-spacing: 0.04em;
    }

    .loading-waves {
        height: clamp(44px, 9vh, 78px);
    }
}

@media (max-width: 460px) {
    .loading-logo-image {
        max-height: 22vh;
    }

    .loading-brand-word {
        font-size: clamp(1.4rem, 5.2vw, 2rem);
        letter-spacing: 0.03em;
    }

    .loading-waves {
        height: clamp(36px, 7.5vh, 62px);
    }
}
