html.wpcp-active, body.wpcp-active {
    overflow: hidden !important;
}

#wpcp-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Solid background */
    z-index: 999999; /* Higher than elementor */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#wpcp-preloader.wpcp-loaded {
    opacity: 0;
    visibility: hidden;
}

.wpcp-blurred-backdrop {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.9;
    z-index: 0;
}

.wpcp-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.wpcp-fullscreen-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.wpcp-fullscreen-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.wpcp-fullscreen-fg-wrapper {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.wpcp-fullscreen-fg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.wpcp-logo {
    max-width: 250px;
    max-height: 250px;
    margin-bottom: 30px;
}

.wpcp-brand-logo {
    max-width: 180px;
    max-height: 100px;
    margin-bottom: 30px;
}

.wpcp-anim-pulse { animation: wpcp-pulse 2s infinite ease-in-out; }
.wpcp-anim-spin { animation: wpcp-spin 4s linear infinite; }
.wpcp-anim-float { animation: wpcp-float 3s infinite ease-in-out; }
.wpcp-anim-bounce { animation: wpcp-bounce 2s infinite; }
.wpcp-anim-heartbeat { animation: wpcp-heartbeat 1.5s infinite ease-in-out; }
.wpcp-anim-fade { animation: wpcp-fade 3s ease-in-out infinite; }
.wpcp-anim-none { animation: none; }

.wpcp-quote {
    font-size: 1.2rem;
    font-family: sans-serif;
    color: #333333;
    min-height: 3rem;
    transition: opacity 0.3s ease-in-out;
}

.wpcp-quote.wpcp-fade-out {
    opacity: 0;
}

.wpcp-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(150, 150, 150, 0.25);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: wpcp-spin 1s linear infinite;
    margin-bottom: 30px;
}

@keyframes wpcp-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes wpcp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wpcp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes wpcp-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes wpcp-fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes wpcp-heartbeat {
    0%, 28%, 70% { transform: scale(1); }
    14%, 42% { transform: scale(1.1); }
}
