body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0a0a0a;
    color: #F9FAFB;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body fuse-splash-screen img {
    position: absolute;
    z-index: 10;
    width: 80px;
    height: auto;
    animation: bobbing 10s ease-out infinite;
}

@keyframes bobbing {
    /* Pulse 1 - 0ms */
    0% { transform: translateY(0) scale(1); }
    3% { transform: translateY(4px) scale(0.95); }
    6% { transform: translateY(0) scale(1); }

    /* Pulse 2 - 500ms (10%) */
    10% { transform: translateY(0) scale(1); }
    13% { transform: translateY(4px) scale(0.95); }
    16% { transform: translateY(0) scale(1); }

    /* Pulse 3 - 1000ms (20%) */
    20% { transform: translateY(0) scale(1); }
    23% { transform: translateY(4px) scale(0.95); }
    26% { transform: translateY(0) scale(1); }

    /* Pulse 4 - 1500ms (30%) */
    30% { transform: translateY(0) scale(1); }
    33% { transform: translateY(4px) scale(0.95); }
    36% { transform: translateY(0) scale(1); }

    /* Pulse 5 - 2000ms (40%) */
    40% { transform: translateY(0) scale(1); }
    43% { transform: translateY(4px) scale(0.95); }
    46% { transform: translateY(0) scale(1); }

    /* Rest - no movement */
    50%, 100% { transform: translateY(0) scale(1); }
}

body fuse-splash-screen .ripple-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

body fuse-splash-screen .ripple {
    position: absolute;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, #111111, #050505);
    box-shadow:
        inset 8px 8px 16px #000000,
        inset -8px -8px 16px #1a1a1a,
        4px 4px 12px #000000,
        -4px -4px 12px #1f1f1f;
    animation: ripple 10s ease-out infinite;
    opacity: 0;
    will-change: width, height, opacity;
}

body fuse-splash-screen .ripple:nth-child(1) {
    animation-delay: 0ms;
}

body fuse-splash-screen .ripple:nth-child(2) {
    animation-delay: 1000ms;
}

body fuse-splash-screen .ripple:nth-child(3) {
    animation-delay: 2000ms;
}

body fuse-splash-screen .ripple:nth-child(4) {
    animation-delay: 3000ms;
}

body fuse-splash-screen .ripple:nth-child(5) {
    animation-delay: 4000ms;
}

@keyframes ripple {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: min(800px, 90vmin);
        height: min(800px, 90vmin);
        opacity: 0;
    }
}

body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
}
