.pwa-start-splash {
    position: fixed;
    inset: 0;
    z-index: 2147482500;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 107, 44, 0.14), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #eef6fa 100%);
    transition: opacity 160ms ease, visibility 160ms ease;
}

.pwa-start-splash.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pwa-start-splash.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pwa-start-splash-inner {
    display: grid;
    justify-items: center;
    gap: .45rem;
    text-align: center;
    transform: translateY(-4.5vh);
}

.pwa-start-splash-logo {
    width: clamp(168px, 44vw, 204px);
    height: clamp(168px, 44vw, 204px);
    background: url('/splash/reservafit-logo.svg') center / contain no-repeat;
    filter: drop-shadow(0 18px 30px rgba(22, 57, 79, 0.15));
}

.pwa-start-splash-text {
    margin: 0;
    color: #15394E;
    max-width: min(82vw, 360px);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .pwa-start-splash-inner {
        gap: .6rem;
        transform: translateY(-3vh);
    }

    .pwa-start-splash-logo {
        width: clamp(220px, 20vw, 260px);
        height: clamp(220px, 20vw, 260px);
    }

    .pwa-start-splash-text {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .pwa-start-splash.is-visible .pwa-start-splash-logo {
        animation: pwa-start-splash-pulse 720ms ease-in-out both;
    }
}

@keyframes pwa-start-splash-pulse {
    0% {
        opacity: .86;
        transform: scale(.96);
    }

    55% {
        opacity: 1;
        transform: scale(1.025);
    }

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

@media (prefers-reduced-motion: reduce) {
    .pwa-start-splash {
        transition: none;
    }

    .pwa-start-splash-logo {
        animation: none;
    }
}
