/* public/splash.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&family=Space+Mono:wght@400;700&family=Unbounded:wght@300;500&display=swap');

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;

    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.splash-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;

    padding: 0 20px;

    gap: 1rem;

    color: #fff;
}

.splash-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.25rem);

    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0;

    opacity: 0;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


.splash-slogan {
    font-family: "Unbounded", sans-serif;
    font-size: 0.6rem;

    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);

    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.3s;
}

.splash-slogan span {
    font-weight: 500;
    color: #fff;
}


.rotator-wrapper {
    height: 24px;

    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.5s;
}

.keyword {
    position: absolute;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;

    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;

    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.keyword.active {
    opacity: 0.9;
    transform: translateY(0);
    filter: blur(0);
}

.keyword.exit {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(2px);
}


.loader-wrapper {
    position: relative;
    width: 40px;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;

    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.7s;
}

.svg-loader {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}


.loader-track {
    fill: none;
    stroke: #fff;
    stroke-width: 1.3;

    opacity: 0.1;
}

.loader-progress {
    fill: none;
    stroke: #fff;
    stroke-width: 1.3;

    stroke-linecap: round;

    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 0.1s linear;
}

.percent-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;

    font-weight: 700;
    position: absolute;
    color: #fff;
}

@keyframes slideUpFade {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}