* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 48px;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    color: #666;
    font-size: 14px;
}

/* 微信号区域 */
.wechat-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.wechat-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.wechat-id {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.copy-btn:active {
    transform: scale(0.98);
}

.copy-btn:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 18px;
}

.copy-tip {
    margin-top: 12px;
    color: #52c41a;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-tip.show {
    opacity: 1;
}

/* 二维码区域 */
.qr-section {
    text-align: center;
    margin-bottom: 20px;
}

.qr-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

#qrCanvas {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.qr-tip {
    color: #999;
    font-size: 12px;
}

/* 操作提示区域 */
.action-section {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.action-item:last-child {
    margin-bottom: 0;
}

.action-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.action-text {
    flex: 1;
}

/* 打开微信按钮 */
.open-wechat-btn {
    width: 100%;
    padding: 14px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
}

.open-wechat-btn:active {
    transform: scale(0.98);
}

.open-wechat-btn:hover {
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
}

.wechat-tip {
    text-align: center;
    color: #999;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.wechat-tip.show {
    opacity: 1;
}

/* 响应式适配 */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 22px;
    }
    
    .wechat-id {
        font-size: 18px;
    }
}

