
/* EXPERT International — white splash screen + liquid SVG logo */

.expert-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: splash-failsafe 1ms linear 4.5s forwards;
}

.expert-splash.splash-hidden {
    animation: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility .45s ease;
}

/* Soft orange halo */
.splash-glow {
    position: absolute;
    width: min(68vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(244, 123, 32, .10) 0%,
        rgba(244, 123, 32, .045) 42%,
        rgba(244, 123, 32, 0) 72%
    );
    filter: blur(24px);
    animation: splash-glow 2.8s ease-in-out infinite alternate;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(94%, 900px);
    text-align: center;
}

/* Original logo SVG with liquid filling animation */
.splash-logo {
    display: block;
    width: auto;
    height: clamp(170px, 25vh, 245px);
    max-width: 80vw;
    max-height: 58vh;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 9px 18px rgba(244, 123, 32, .12));
    animation: splash-logo-entry .65s cubic-bezier(.2, .75, .25, 1) both;
}

/* Loading bar */
.splash-progress {
    width: min(210px, 48vw);
    height: 4px;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 999px;
    background: #eeeeee;
    box-shadow: inset 0 1px 2px rgba(16, 18, 20, .06);
}

.splash-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #ed701e 0%,
        #f47b20 55%,
        #ffb16c 100%
    );
    box-shadow: 0 0 10px rgba(244, 123, 32, .34);
    animation: splash-progress-fill 2.35s cubic-bezier(.2, .72, .25, 1) forwards;
}

/* Caption */
.splash-caption {
    margin: 17px 0 0;
    color: #59616b;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
}

@keyframes splash-progress-fill {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes splash-glow {
    from { transform: scale(.92); opacity: .65; }
    to   { transform: scale(1.08); opacity: 1; }
}

@keyframes splash-logo-entry {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes splash-failsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 600px) {
    .splash-content {
        width: 94%;
    }

    .splash-logo {
        height: clamp(155px, 25vh, 205px);
        max-width: 76vw;
    }

    .splash-progress {
        width: min(180px, 52vw);
        margin-top: 21px;
    }

    .splash-caption {
        margin-top: 14px;
        font-size: 8px;
        letter-spacing: 2.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .splash-glow,
    .splash-logo,
    .splash-progress span {
        animation: none;
    }

    .splash-progress span {
        width: 100%;
    }
}


/* =========================================
   EXPERT GROUP - RESPONSIVE SPLASH LOGO
========================================= */

.expert-splash .splash-content {
    position: relative;
    z-index: 2;
    width: min(90%, 480px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 15px;
    box-sizing: border-box;
}

.expert-splash .splash-logo {
    display: block;
    width: min(72vw, 340px);
    height: auto;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 25px;
}

/* Tablet */
@media (max-width: 768px) {
    .expert-splash .splash-logo {
        width: min(76vw, 280px);
        max-height: 155px;
        margin-bottom: 22px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .expert-splash .splash-content {
        width: 94%;
        padding: 20px 10px;
    }

    .expert-splash .splash-logo {
        width: min(78vw, 230px);
        max-height: 125px;
        margin-bottom: 20px;
    }
}


#expert-splash .splash-content img.splash-logo {
    width: 220px !important;
    height: 110px !important;
    max-width: 75vw !important;
    max-height: 110px !important;
    object-fit: contain !important;
}

@media (max-width: 480px) {
    #expert-splash .splash-content img.splash-logo {
        width: 180px !important;
        height: 90px !important;
        max-width: 75vw !important;
        max-height: 90px !important;
    }
}
