.splash {
    height: 100dvh;
    width: 100%;
    background: #1e3a8a;
    display: flex;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.ai-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 2.3s ease forwards;
}

.ai-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    opacity: 0.6;
}

.ai-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08), transparent 50%);
    animation: glowMove 15s ease-in-out infinite alternate;
}

.ai-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 2.3s ease forwards;
}

.neural-net {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.connection {
    fill: none;
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 0.2;
    stroke-dasharray: 40;
    animation: dashFlow 25s linear infinite;
}

.node {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6);
    animation: floatNode 6s ease-in-out infinite alternate;
}

.n1 {
    top: 20%;
    left: 25%;
}

.n2 {
    top: 40%;
    left: 70%;
    animation-delay: 1.5s;
}

.n3 {
    top: 70%;
    left: 20%;
    animation-delay: 3s;
}

.n4 {
    top: 55%;
    left: 80%;
    animation-delay: 2s;
}

.pulse-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: pulseEffect 7s ease-out infinite;
}

.pr1 {
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
}

.pr2 {
    top: 25%;
    left: 75%;
    width: 45px;
    height: 45px;
    transform: translate(-50%, -50%);
    animation-delay: 3s;
}

.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 100%;
    width: 100%;
}

.center-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo {
    width: 200px;
    opacity: 0;
    animation: fadeIn 2.3s ease forwards;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
}

.title {
    font-size: 28px;
    font-weight: bold;
    margin-top: 50px;
    opacity: 0;
    animation: fadeIn 2.3s ease forwards;
}

.subtitle {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeIn 2.3s ease forwards;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 2.3s ease forwards;
}

.loader-splash {
    width: 35px;
    height: 35px;
    border: 5px solid rgba(255,255,255,0.25);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1.8s linear infinite;
    margin-bottom: 10px;
}

.powered-logo {
    width: 100px;
    object-fit: contain;
    padding: 5px;
    border-radius: 5px;
    background-color: white;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes gridMove {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(50px, 50px);
    }
}

@keyframes glowMove {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -800;
    }
}

@keyframes floatNode {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translateY(-12px) scale(1.3);
        opacity: 1;
    }
}

@keyframes pulseEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(4.5);
        opacity: 0;
    }
}
