* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.1), transparent 50%),
        linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0c0c0c 100%);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, transparent 12%, rgba(212, 175, 55, 0.05) 12%, rgba(212, 175, 55, 0.05) 14%, transparent 14%, transparent 35%, rgba(212, 175, 55, 0.05) 35%, rgba(212, 175, 55, 0.05) 37%, transparent 37%),
        linear-gradient(90deg, rgba(0,0,0,0.03) 50%, transparent 50%);
    background-size: 100px 100px, 2px 2px;
    animation: backgroundMove 30s linear infinite;
    opacity: 0.7;
}

@keyframes backgroundMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(100px) translateY(100px); }
}

.loading-content {
    text-align: center;
    color: #d4af37;
    z-index: 1;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

/* Logo 区域 */
.logo {
    margin-bottom: 40px;
    position: relative;
}

.pulse-circle {
    width: 120px;
    height: 120px;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a) padding-box,
                linear-gradient(45deg, #d4af37, #f4d03f, #d4af37) border-box;
    border-radius: 50%;
    margin: 0 auto 25px;
    position: relative;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 
        0 0 50px rgba(212, 175, 55, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.8),
        inset 0 2px 10px rgba(212, 175, 55, 0.2);
}

.pulse-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: 
        radial-gradient(circle, #f4d03f 0%, #d4af37 70%, #b8860b 100%);
    border-radius: 50%;
    animation: innerPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.9),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
        box-shadow: 
            0 0 50px rgba(212, 175, 55, 0.4),
            inset 0 0 30px rgba(0, 0, 0, 0.8),
            inset 0 2px 10px rgba(212, 175, 55, 0.2);
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.95;
        box-shadow: 
            0 0 80px rgba(212, 175, 55, 0.6),
            inset 0 0 30px rgba(0, 0, 0, 0.8),
            inset 0 2px 10px rgba(212, 175, 55, 0.3);
    }
}

@keyframes innerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 25px rgba(212, 175, 55, 0.9),
            inset 0 2px 5px rgba(255, 255, 255, 0.3),
            inset 0 -2px 5px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 35px rgba(212, 175, 55, 1),
            inset 0 2px 5px rgba(255, 255, 255, 0.4),
            inset 0 -2px 5px rgba(0, 0, 0, 0.4);
    }
}

.logo h1 {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 15px;
    margin: 0;
    opacity: 1;
    background: linear-gradient(45deg, #b8860b 0%, #d4af37 25%, #f4d03f 50%, #d4af37 75%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: goldShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.6));
}

/* 进度条区域 */
.progress-container {
    margin: 40px 0;
    width: 400px;
    max-width: 90vw;
}

.progress-bar {
    width: 100%;
    height: 16px;
    background: 
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 50%, rgba(0,0,0,0.9) 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 
        inset 0 3px 8px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(0, 0, 0, 0.9),
        0 1px 0 rgba(212, 175, 55, 0.2),
        0 0 20px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: 
        linear-gradient(90deg, 
            #b8860b 0%, 
            #d4af37 25%, 
            #f4d03f 50%, 
            #d4af37 75%, 
            #b8860b 100%
        );
    border-radius: 7px;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    background-size: 200% 100%;
    animation: goldFlow 3s ease-in-out infinite;
}

.progress-glow {
    position: absolute;
    top: -1px;
    left: 0;
    height: calc(100% + 2px);
    width: 80px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent
    );
    animation: shimmer 3s infinite;
    opacity: 0;
    border-radius: 8px;
}

.progress-fill.loading .progress-glow {
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-80px); }
    100% { transform: translateX(480px); }
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes goldFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.progress-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    opacity: 1;
    color: #d4af37;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    font-weight: 400;
}

.progress-percentage {
    font-weight: 600;
    font-size: 1.3rem;
    margin-right: 20px;
    color: #f4d03f;
    text-shadow: 0 0 10px rgba(244, 208, 63, 0.6);
}

.loading-status {
    font-weight: 400;
    color: #d4af37;
    opacity: 0.9;
}

/* 加载点动画 */
.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: 
        radial-gradient(circle, #f4d03f 0%, #d4af37 70%, #b8860b 100%);
    border-radius: 50%;
    margin: 0 6px;
    animation: bounce 1.6s ease-in-out infinite both;
    box-shadow: 
        0 0 15px rgba(212, 175, 55, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
        box-shadow: 
            0 0 10px rgba(212, 175, 55, 0.5),
            inset 0 1px 2px rgba(255, 255, 255, 0.2),
            inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 
            0 0 20px rgba(212, 175, 55, 0.9),
            inset 0 1px 2px rgba(255, 255, 255, 0.4),
            inset 0 -1px 2px rgba(0, 0, 0, 0.4);
    }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .progress-container {
        width: 300px;
    }
    
    .pulse-circle {
        width: 60px;
        height: 60px;
    }
}

/* 加载完成动画 */
.fade-out {
    animation: fadeOut 0.8s ease-in-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}