* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f8fafc;
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* 背景装饰 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -50px;
    left: -100px;
    animation-delay: 2s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* 主卡片 */
.payment-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片头部 */
.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.logo svg {
    width: 30px;
    height: 30px;
    color: white;
}

.card-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 支付渠道卡片 */
.payment-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.channel-card {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    flex-wrap: wrap;
}

.channel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



/* 渠道徽章 */
.channel-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-gradient);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.channel-badge.backup {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

/* 渠道图标 */
.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-card.primary .channel-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: #667eea;
}

.channel-card.secondary .channel-icon {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.2) 0%, rgba(75, 85, 99, 0.2) 100%);
    color: #6b7280;
}

.channel-icon svg {
    width: 24px;
    height: 24px;
}

/* 渠道信息 */
.channel-info {
    flex: 1;
}

.channel-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.channel-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.channel-features {
    display: flex;
    gap: 12px;
}

.channel-features span {
    font-size: 12px;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.channel-features i {
    font-style: normal;
    font-weight: bold;
}

/* 渠道内支付按钮 */
.channel-pay-btn {
    width: 100%;
    margin-top: 12px;
    padding: 14px 24px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.channel-pay-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.channel-pay-btn:hover::before {
    left: 100%;
}

.channel-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.45);
}

.channel-pay-btn:active {
    transform: translateY(0);
}

.channel-pay-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.channel-pay-btn:hover svg {
    transform: translateX(4px);
}

.channel-pay-btn.secondary-btn {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: 0 8px 20px rgba(107, 114, 128, 0.35);
}

.channel-pay-btn.secondary-btn:hover {
    box-shadow: 0 12px 28px rgba(107, 114, 128, 0.45);
}


/* 注意事项区域 */
.notice-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #f59e0b;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #92400e;
    font-weight: 600;
    font-size: 14px;
}

.notice-header svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.notice-list {
    list-style: none;
    padding-left: 0;
}

.notice-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.notice-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: #f59e0b;
    font-weight: bold;
}

.notice-list strong {
    color: #dc2626;
    font-weight: 600;
}

/* 支付按钮 */
.pay-button {
    width: 100%;
    padding: 18px 32px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.pay-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.pay-button:hover::before {
    left: 100%;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.pay-button:active {
    transform: translateY(0);
}

.pay-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.pay-button:hover svg {
    transform: translateX(4px);
}

/* 安全提示 */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 13px;
}

.security-badge svg {
    width: 16px;
    height: 16px;
    color: var(--success-color);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .payment-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .card-header h1 {
        font-size: 20px;
    }

    .channel-card {
        padding: 16px;
    }

    .channel-icon {
        width: 44px;
        height: 44px;
    }

    .channel-info h3 {
        font-size: 15px;
    }

    .channel-features {
        flex-direction: column;
        gap: 4px;
    }

    .pay-button {
        padding: 16px 28px;
        font-size: 16px;
    }
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading .pay-button {
    pointer-events: none;
    animation: pulse 1.5s ease-in-out infinite;
}


