@font-face {
    font-family: 'Bauhaus 93';
    src: local('Bauhaus 93'), local('BAUHS93');
    font-weight: normal;
    font-style: normal;
}

html.splash-active,
body.splash-active {
    overflow: hidden !important;
    height: 100%;
}

/* Pantalla de splash */
.splash-screen {
    --splash-logo-size: clamp(3.75rem, 11vw, 4.75rem);
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 1;
    transition: opacity 0.28s ease;
}

.splash-screen.is-hiding {
    opacity: 0;
    pointer-events: none;
}

.splash-main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-brand-logo {
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.splash-brand-logo-svg {
    display: block;
    width: var(--splash-logo-size);
    height: var(--splash-logo-size);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.splash-brand-logo-letter {
    font-family: 'Bauhaus 93', 'BAUHS93', sans-serif;
    font-weight: 400;
}

.splash-footer {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: var(--splash-logo-size);
    padding: 0 0 calc(2.75rem + env(safe-area-inset-bottom, 0px));
}

.splash-footer-from {
    margin: 0;
    width: 100%;
    color: #737373;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: center;
}

.splash-footer-brand {
    margin: 0;
    align-self: flex-start;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: left;
    background: linear-gradient(135deg, #ff5e62 0%, #ff9966 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 30em) {
    .splash-footer {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    }

    .splash-footer-brand {
        font-size: 1rem;
    }
}
