/* F1SYH_SPLASH_CSS_V1 */

html.f1syh-splash-pending,
html.f1syh-splash-pending body {
    overflow: hidden !important;
}

#f1syh-splash {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(22, 196, 255, 0.18) 0,
            rgba(22, 196, 255, 0.06) 28%,
            transparent 56%
        ),
        linear-gradient(
            145deg,
            #03101f 0%,
            #06192a 48%,
            #020a14 100%
        );
    opacity: 1;
    visibility: visible;
    transition:
        opacity 680ms ease,
        visibility 680ms ease;
}

html.f1syh-splash-pending #f1syh-splash {
    display: flex;
}

#f1syh-splash::before,
#f1syh-splash::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(74vw, 720px);
    aspect-ratio: 1;
    border: 1px solid rgba(64, 202, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: f1syh-splash-wave 2.4s ease-out infinite;
    pointer-events: none;
}

#f1syh-splash::after {
    animation-delay: 1.2s;
}

#f1syh-splash.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.f1syh-splash-inner {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 20px;
    width: min(92vw, 680px);
    text-align: center;
    animation: f1syh-splash-arrival 720ms ease both;
}

.f1syh-splash-logo-shell {
    display: grid;
    place-items: center;
    width: clamp(220px, 34vw, 430px);
    aspect-ratio: 1;
    border-radius: 34px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.015)
        );
    border: 1px solid rgba(101, 213, 255, 0.30);
    box-shadow:
        0 26px 90px rgba(0, 0, 0, 0.46),
        0 0 74px rgba(14, 174, 230, 0.18);
    overflow: hidden;
}

.f1syh-splash-logo {
    display: block;
    width: 88%;
    height: 88%;
    object-fit: contain;
    filter:
        drop-shadow(0 20px 34px rgba(0, 0, 0, 0.46))
        drop-shadow(0 0 18px rgba(31, 190, 255, 0.22));
    animation: f1syh-splash-logo-pulse 2s ease-in-out infinite;
}

.f1syh-splash-kicker {
    margin: 0;
    color: #4dd7ff;
    font-size: clamp(0.76rem, 1.3vw, 0.96rem);
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.f1syh-splash-title {
    margin: -6px 0 0;
    color: #f4f8ff;
    font-size: clamp(1.35rem, 3vw, 2.15rem);
    line-height: 1.05;
}

.f1syh-splash-enter {
    appearance: none;
    border: 1px solid rgba(96, 211, 255, 0.42);
    border-radius: 999px;
    padding: 12px 24px;
    color: #f4fbff;
    background: rgba(9, 31, 49, 0.82);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.f1syh-splash-enter:hover,
.f1syh-splash-enter:focus-visible {
    background: rgba(16, 70, 99, 0.92);
    border-color: rgba(102, 220, 255, 0.82);
    outline: none;
}

@keyframes f1syh-splash-arrival {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes f1syh-splash-logo-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.025);
    }
}

@keyframes f1syh-splash-wave {
    0% {
        opacity: 0.58;
        transform: translate(-50%, -50%) scale(0.58);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.18);
    }
}

@media (max-width: 640px) {
    .f1syh-splash-logo-shell {
        width: min(76vw, 330px);
        border-radius: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #f1syh-splash,
    .f1syh-splash-inner,
    .f1syh-splash-logo,
    #f1syh-splash::before,
    #f1syh-splash::after {
        animation: none !important;
        transition-duration: 120ms !important;
    }
}
