
/* =====================================================
   EASYCAR MANAGER
   PREMIUM MOBILE SPLASH SCREEN
   ===================================================== */

#ecm-premium-splash {

    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 43%,
            rgba(160, 218, 255, 0.50) 0%,
            transparent 43%
        ),
        linear-gradient(
            145deg,
            #2866c5 0%,
            #1768cb 48%,
            #10428f 100%
        );

    opacity: 1;

    transition: opacity .4s ease;
}


/* AFFICHAGE */

#ecm-premium-splash.ecm-visible {

    display: flex;

}


/* SORTIE */

#ecm-premium-splash.ecm-leaving {

    opacity: 0;

    pointer-events: none;

}


/* HALO LUMINEUX */

.ecm-splash-glow {

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(190, 230, 255, 0.35);

    filter: blur(70px);

    animation: ecmGlow 2.8s ease-in-out infinite alternate;

}


/* ORBITE TECHNOLOGIQUE */

.ecm-splash-orbit {

    position: absolute;

    width: 310px;
    height: 310px;

    border: 1px solid rgba(255, 255, 255, 0.20);

    border-radius: 50%;

    transform: rotate(-25deg) scaleY(.65);

    box-shadow:
        0 0 25px rgba(180, 225, 255, 0.15);

}


.ecm-splash-orbit::after {

    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 20px;
    left: 45px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 15px 5px rgba(220, 245, 255, 0.75);

}


/* CONTENU CENTRAL */

.ecm-splash-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    flex-direction: column;

    text-align: center;

    padding: 25px;

    animation: ecmAppear .9s ease both;

}


/* LOGO */

.ecm-splash-logo {

    font-size: 35px;

    font-weight: 700;

    letter-spacing: -1.5px;

    color: #ffffff;

    text-shadow:
        0 3px 20px rgba(0, 35, 100, 0.30);

}


/* PARTIE SECONDAIRE DU LOGO */

.ecm-splash-logo span {

    font-weight: 400;

    color: #d9efff;

}


/* REFLET */

.ecm-splash-line {

    width: 75px;

    height: 2px;

    margin: 22px 0;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ffffff,
            transparent
        );

    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.85);

}


/* SIGNATURE */

.ecm-splash-tagline {

    color: rgba(255, 255, 255, 0.96);

    font-size: 14px;

    font-weight: 400;

    letter-spacing: 1.1px;

}


/* BARRE DE CHARGEMENT */

.ecm-splash-loading {

    position: absolute;

    bottom: 13%;

    width: 95px;
    height: 2px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.25);

    border-radius: 5px;

}


.ecm-splash-loading::after {

    content: "";

    display: block;

    width: 40%;
    height: 100%;

    background: #ffffff;

    box-shadow:
        0 0 10px #ffffff;

    animation: ecmLoading 1.5s ease-in-out infinite;

}


/* ANIMATIONS */

@keyframes ecmAppear {

    from {

        opacity: 0;

        transform: translateY(15px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


@keyframes ecmGlow {

    from {

        transform: scale(.85);

        opacity: .55;

    }

    to {

        transform: scale(1.15);

        opacity: 1;

    }

}


@keyframes ecmLoading {

    from {

        transform: translateX(-110%);

    }

    to {

        transform: translateX(260%);

    }

}


/* PETITS ÉCRANS */

@media (max-width: 380px) {

    .ecm-splash-logo {

        font-size: 30px;

    }

    .ecm-splash-tagline {

        font-size: 12px;

    }

}


/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {

    #ecm-premium-splash,
    #ecm-premium-splash * {

        animation: none !important;

        transition: none !important;

    }

}
