* {
    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;
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* 安全徽章 */
.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(7, 193, 96, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    color: #07C160;
    font-size: 14px;
}

.security-icon {
    width: 20px;
    height: 20px;
}

/* 主要内容 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* 微信图标 */
.wechat-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2DC100 0%, #07C160 100%);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(7, 193, 96, 0.3);
}

.wechat-logo svg {
    width: 60px;
    height: 60px;
}

/* 跳转按钮 */
.jump-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 240px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2DC100 0%, #07C160 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(7, 193, 96, 0.4);
}

.jump-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.5);
}

.jump-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(7, 193, 96, 0.4);
}

.btn-icon {
    font-size: 20px;
    animation: rotate 2s linear infinite;
    animation-play-state: paused;
}

.jump-btn.loading .btn-icon {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 提示文字 */
.tips {
    color: #999;
    font-size: 14px;
}

/* 底部信息 */
.footer {
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.wechat-id {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.wechat-id .label {
    color: #999;
}

.wechat-id .value {
    color: #07C160;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.copy-btn {
    padding: 4px 12px;
    background: #07C160;
    color: white;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #06ae56;
}

/* Toast 提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* 加载遮罩 */
.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.loading-mask.show {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f0f0f0;
    border-top-color: #07C160;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-content p {
    color: #666;
    font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 375px) {
    .main-content {
        padding: 30px 20px;
    }

    .wechat-logo {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .wechat-logo svg {
        width: 48px;
        height: 48px;
    }

    .jump-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
}
