/* Isolated splash design: the Elementor page remains intact underneath. */
.ampooul-welcome {
    display: none;
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    max-height: 100dvh;
    /* Decorative glows extend outside the canvas; never let them create scrollbars. */
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
    background: radial-gradient(ellipse 65% 77% at 50% 46%, #0a86b7 0%, #0a5d9d 29%, #0b397e 57%, #0a1d58 82%, #06123b 100%);
    color: #fff;
    text-align: center;
    font-family: Tahoma, Arial, sans-serif;
    transition: opacity 420ms ease, visibility 420ms ease;
}

.ampooul-welcome::before,
.ampooul-welcome::after {
    position: absolute;
    z-index: -1;
    width: min(40vw, 560px);
    aspect-ratio: 1;
    border-radius: 50%;
    content: "";
    filter: blur(95px);
    pointer-events: none;
}

.ampooul-welcome::before {
    top: 18%;
    right: -16%;
    background: rgb(31 218 130 / 12%);
}

.ampooul-welcome::after {
    bottom: -37%;
    left: -12%;
    background: rgb(20 158 235 / 23%);
}

html.ampooul-welcome-active,
html.ampooul-welcome-active body,
html.ampooul-welcome-exiting,
html.ampooul-welcome-exiting body {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: none !important;
}

html.ampooul-welcome-active .ampooul-welcome,
html.ampooul-welcome-exiting .ampooul-welcome {
    display: grid;
    place-items: center;
}

html.ampooul-welcome-exiting .ampooul-welcome {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ampooul-welcome__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(25px, 5vh, 52px);
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    padding: 42px 22px;
    box-sizing: border-box;
    overflow: hidden;
}

.ampooul-welcome__logo {
    display: block;
    flex: none;
    width: min(55vw, 53vh, 510px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 42px rgb(1 13 56 / 19%));
    animation: ampooul-logo-arrive 760ms cubic-bezier(.2,.8,.2,1) both;
}

.ampooul-welcome__enter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 15px;
    min-width: 195px;
    min-height: 57px;
    padding: 13px 26px;
    border: 1px solid rgb(255 255 255 / 34%);
    border-radius: 999px;
    background: linear-gradient(115deg, #4cdb23 0%, #19bd64 100%);
    box-shadow: 0 11px 35px rgb(1 36 64 / 24%), inset 0 1px 0 rgb(255 255 255 / 36%);
    color: #06325a;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    animation: ampooul-button-arrive 650ms 150ms ease both;
}

.ampooul-welcome__enter:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 37px rgb(1 36 64 / 33%);
    filter: brightness(1.04);
}

.ampooul-welcome__enter:active {
    transform: translateY(0);
}

.ampooul-welcome__enter:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

.ampooul-welcome__enter svg {
    flex-shrink: 0;
}

@keyframes ampooul-logo-arrive {
    from { opacity: 0; transform: translateY(18px) scale(.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ampooul-button-arrive {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    .ampooul-welcome {
        background: radial-gradient(ellipse 94% 61% at 50% 46%, #087eac 0%, #0a4c91 45%, #0a235e 75%, #06123b 100%);
    }

    .ampooul-welcome__content {
        gap: clamp(30px, 7vh, 64px);
        padding: 24px 18px;
    }

    .ampooul-welcome__logo {
        width: min(85vw, 45vh, 430px);
    }

    .ampooul-welcome__enter {
        min-height: 55px;
        min-width: 188px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ampooul-welcome,
    .ampooul-welcome__logo,
    .ampooul-welcome__enter {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
