
/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    overflow: hidden;
}

.page-loader.shutter-close {
    animation: shutterClose 0.8s ease-in-out forwards;
}
.interaction-wrapper h4{
    font-family: 'Manrope';
}

@keyframes shutterClose {
    0% {
        clip-path: inset(0% 0% 0% 0%);
    }
    50% {
        clip-path: inset(45% 0% 45% 0%);
    }
    100% {
        clip-path: inset(50% 0% 50% 0%);
        opacity: 0;
    }
}

.loader-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 64px;
    /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    animation: cardFadeIn 0.5s ease-out;
}

.santa-container-progress-bar{

}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo {
    width: 200px;
    height: auto;
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f1f5f9;
    border-top-color: #1E1E1E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Santa Animation Container */
.santa-container {
    width: 500px;
    max-width: 600px;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Fade gradient on left edge */
.santa-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

/* Fade gradient on right edge */
.santa-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    pointer-events: none;
}

.santa-image {
    width: 300px;
    height: auto;
    position: absolute;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    animation: santaMove 5s ease-in-out infinite;
}

@keyframes santaMove {
    0% {
        left: -300px;
        opacity: 0;
        transform: translateY(-50%) scale(0.7);
        filter: blur(20px);
    }
    5% {
        opacity: 0.3;
        filter: blur(15px);
    }
    15% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        filter: blur(0px);
    }
    85% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        filter: blur(0px);
    }
    95% {
        opacity: 0.3;
        filter: blur(15px);
    }
    100% {
        left: calc(100% + 0px);
        opacity: 0;
        transform: translateY(-50%) scale(0.7);
        filter: blur(20px);
    }
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    max-width: 600px;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 16px;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background-color: #16A34A;
    border-radius: 4px;
    width: 0%;
    animation: progressFill 5s linear infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loader-card {
        padding: 40px 48px;
        min-width: 240px;
    }

    .loader-logo {
        width: 100px;
    }

    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}