:root {
    --primary: #FF4D8D;
    --background: #0D0D0D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    z-index: 9999;
}

.splash-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

#loading-status {
    font-size: 2.5rem;
    /* Letras grandes */
    font-weight: 800;
    /* Letras gruesas */
    color: white;
    letter-spacing: -0.02em;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    text-align: center;
    animation: pulseText 2s infinite ease-in-out;
}

/* Animación elegante: Un anillo giratorio con estela */
.loader-animation {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 77, 141, 0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    box-shadow: 0 0 20px rgba(255, 77, 141, 0.2);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

#app {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}