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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f9ff 0%, #e6f0ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a365d;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 15s ease-in-out infinite;
}

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



.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    margin-bottom: 60px;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.1),
        0 10px 30px rgba(59, 130, 246, 0.05);
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.03) 100%);
    pointer-events: none;
}

.main-text {
    margin-bottom: 48px;
}

.title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 18px;
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
    padding: 16px 32px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.status-text {
    font-size: 16px;
    color: #475569;
    font-weight: 500;
}

.qr-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 56px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* QR Code Image Styles */
.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.95);
    background: white;
    padding: 14px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.qr-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.qr-pattern {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.15) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(59, 130, 246, 0.15) 50%, transparent 100%);
    background-size: 10px 10px;
    border-radius: 4px;
}

.qr-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 0;
}

.footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.copyright {
    font-size: 14px;
    color: rgba(59, 130, 246, 0.6);
    font-weight: 400;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .content {
        padding: 60px 40px;
    }
    
    .title {
        font-size: 32px;
    }
    

    
    .qr-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .footer {
        bottom: 15px;
    }
}

/* Professional Loading Icon */
.loading-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    height: 80px;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spinner-rotate 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 60px;
    height: 60px;
    border-top-color: #3B82F6;
    border-right-color: #3B82F6;
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
    width: 45px;
    height: 45px;
    border-left-color: #60A5FA;
    border-bottom-color: #60A5FA;
    animation-duration: 1.2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 30px;
    height: 30px;
    border-top-color: #93C5FD;
    border-right-color: #93C5FD;
    animation-duration: 0.9s;
}

@keyframes spinner-rotate {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: rotate(360deg);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 48px 24px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .qr-placeholder {
        width: 90px;
        height: 90px;
    }
    
    .qr-text {
        font-size: 14px;
    }
    
    .copyright {
        font-size: 12px;
    }
}