/* 抖音跳转微信页面样式 */

/* 基础重置 */
* {
    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;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

/* 主容器 */
.container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
}

/* 图标样式 */
.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #07c160, #06ad56);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 8px 20px rgba(7, 193, 96, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 标题样式 */
.title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
    font-size: 16px;
}

/* 按钮样式 */
.btn {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #f5f5f5, #e5e5e5);
    color: #333;
}

.btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 状态标签 */
.status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.douyin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.status.wechat {
    background: linear-gradient(135deg, #07c160, #06ad56);
    color: white;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
}

.status.other {
    background: linear-gradient(135deg, #f1f3f4, #e8eaed);
    color: #666;
}

/* 提示框样式 */
.tips {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #856404;
    text-align: left;
    position: relative;
}

.tips::before {
    content: '💡';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 18px;
}

.tips strong {
    display: block;
    margin-bottom: 8px;
    margin-left: 25px;
}

.tips br + • {
    margin-left: 25px;
}

/* 指南样式 */
.guide {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.guide h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide ol {
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
}

.guide li {
    margin-bottom: 8px;
    position: relative;
}

.guide li::marker {
    color: #07c160;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .guide {
        padding: 20px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeInUp 0.6s ease-out;
}

/* 按钮点击效果 */
.btn-clicked {
    animation: buttonClick 0.3s ease;
}

@keyframes buttonClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* 成功提示样式 */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* 错误提示样式 */
.error-message {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}