@layer utilities {
    .content-auto {
        content-visibility: auto;
    }

    .text-gradient {
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .animate-float {
        animation: float 6s ease-in-out infinite;
    }

    .bg-grid {
        background-size: 40px 40px;
        background-image: linear-gradient(to right, rgba(22, 93, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(22, 93, 255, 0.05) 1px, transparent 1px);
    }
}

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

/* 加载进度条样式 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    z-index: 1000;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 93, 255, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(22, 93, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 93, 255, 0);
    }
}

.loader-text {
    font-size: 18px;
    color: #1D2129;
    margin-top: 20px;
}
    