/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #07c160 0%, #00d4aa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
}

/* 主卡片 */
.main-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

/* 头部 */
.header {
    background: linear-gradient(135deg, #07c160, #00d4aa);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* 内容区域 */
.content {
    padding: 40px 30px;
}

/* 状态展示区域 */
.status-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.status-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.status-item.old {
    background: #fff5f5;
    border: 2px solid #fed7d7;
}

.status-item.new {
    background: #f0fff4;
    border: 2px solid #c6f6d5;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.status-icon svg {
    width: 24px;
    height: 24px;
}

.status-icon .service-icon {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.status-item.old .status-icon {
    background: #fed7d7;
    color: #e53e3e;
}

.status-item.new .status-icon {
    background: #c6f6d5;
    color: #38a169;
}

.status-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #2d3748;
}

.status-content p {
    font-size: 0.9rem;
    color: #718096;
}

.arrow {
    color: #07c160;
    flex-shrink: 0;
}

.arrow svg {
    width: 24px;
    height: 24px;
}

/* 二维码区域 */
.qrcode-section {
    text-align: center;
    margin-bottom: 30px;
}

.qrcode-wrapper {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #07c160;
    display: inline-block;
    margin-bottom: 15px;
}

.qrcode-wrapper img {
    display: block;
    border-radius: 8px;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.qrcode-text {
    color: #07c160;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qrcode-text svg {
    width: 20px;
    height: 20px;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .status-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .status-item {
        width: 100%;
    }
    
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .header {
        padding: 25px 15px;
    }
    
    .content {
        padding: 25px 15px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .status-content h3 {
        font-size: 1rem;
    }
    
    .status-content p {
        font-size: 0.8rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-card {
    animation: fadeInUp 0.6s ease-out;
}

.status-item {
    animation: fadeInUp 0.6s ease-out;
}

.status-item.old { animation-delay: 0.1s; }
.status-item.new { animation-delay: 0.2s; }
.qrcode-section { animation-delay: 0.3s; }

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(7, 193, 96, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(7, 193, 96, 0.7);
}