/* 网站加载动画样式 */
.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    padding: 20px;
}

.loader-logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.loader-text {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 300;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* 动画效果 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* 移动端适配 */
@media (max-width: 768px) {
    .loader-logo {
        width: 150px;
        margin-bottom: 20px;
    }
    
    .loader-text {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .loader-logo {
        width: 120px;
        margin-bottom: 15px;
    }
    
    .loader-text {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .loader-spinner {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }
}