#cpp-preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#cpp-preloader-overlay.cpp-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cpp-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
}

.cpp-preloader-content {
    flex: 0 0 auto;
    max-width: 100px;
    max-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpp-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.cpp-svg-wrapper svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.pc-spin-square {
    transform-box: fill-box;
    transform-origin: center;
    animation: pcRotate360 1s linear infinite;
}

@keyframes pcRotate360 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cpp-anim-pulse {
    animation: cppPulse 1.6s infinite ease-in-out;
}

.cpp-anim-spin {
    animation: cppSpin 2s infinite linear;
}

.cpp-anim-bounce {
    animation: cppBounce 1.4s infinite ease-in-out;
}

@keyframes cppPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.75; }
}

@keyframes cppSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.cpp-preloader-text {
    margin: 0;
    max-width: 90vw;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.cpp-text-anim-pulse {
    animation: cppTextPulse 1.6s infinite ease-in-out;
}

.cpp-text-anim-blink {
    animation: cppTextBlink 1.2s infinite ease-in-out;
}

@keyframes cppTextPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.04); opacity: 0.7; }
}

@keyframes cppTextBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
    .cpp-anim-pulse,
    .cpp-anim-bounce,
    .cpp-text-anim-pulse,
    .cpp-text-anim-blink {
        animation: none;
    }
}
