* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #f5576c 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 动态背景形状 */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: white;
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: white;
    top: 50%;
    left: 10%;
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
    text-align: center;
    padding: 5px;
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

.logo {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease;
}

.logo h1 {
    font-size: 52px;
    color: white;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3),
                 0 0 40px rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
    letter-spacing: 2px;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3); }
    50% { text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 255, 255, 0.5); }
}

.logo p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.loading {
    margin: 10px 0;
    animation: fadeIn 1.5s ease;
}

.loader {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.loader-circle:nth-child(2) {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border-top-color: rgba(255, 255, 255, 0.9);
    animation: spin 1.5s linear infinite reverse;
    border-width: 4px;
}

.loader-circle:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-top-color: rgba(255, 255, 255, 0.7);
    animation: spin 1.5s linear infinite;
    border-width: 3px;
}

.loading-text {
    color: white;
    font-size: 16px;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 70px;
    animation: fadeInUp 1.5s ease;
}

.feature-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px 40px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 12px;
    animation: bounce 2s ease infinite;
    display: inline-block;
}

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

.feature-item:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-item:nth-child(2) .feature-icon { animation-delay: 0.2s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 0.4s; }
.feature-item:nth-child(4) .feature-icon { animation-delay: 0.6s; }

.feature-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.feature-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.enter-btn {
    margin-top: 60px;
    animation: fadeIn 2s ease;
}

.enter-btn a {
    display: inline-block;
    padding: 20px 70px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
    color: #667eea;
    text-decoration: none;
    font-size: 19px;
    font-weight: bold;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.enter-btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.enter-btn a:hover::before {
    left: 100%;
}

.enter-btn a:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(255, 255, 255, 0.5);
}

/* 备案号区域 */
.footer-info {
    position: fixed;
    bottom: 5px;
    left: 0;
    right: 0;
    z-index: 5;
    animation: fadeInUp 2s ease;
    text-align: center;
}

.icp-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.icp-info span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.copyright {
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    letter-spacing: 0.5px;
}

/* 粒子效果增强 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float 20s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.98); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 36px;
    }

    .logo p {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .loader {
        width: 80px;
        height: 80px;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-top: 50px;
    }

    .feature-item {
        width: 100%;
        max-width: 280px;
        padding: 25px 30px;
    }

    .footer-info {
        bottom: 5px;
    }

    .icp-info {
        gap: 15px;
        margin-bottom: 6px;
    }

    .icp-info span {
        font-size: 10px;
    }

    .copyright {
        font-size: 9px;
    }

    .enter-btn a {
        padding: 16px 50px;
        font-size: 17px;
    }

    .bg-shape {
        opacity: 0.05;
    }
}

/* 添加滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 鼠标光标发光效果 */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
}

/* 点击波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(2);
        opacity: 0;
    }
}
