* {
    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(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 100%;
    max-width: 400px;
}

.content {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.order-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.amount-item {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #dee2e6;
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #212529;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.amount {
    font-size: 24px;
    color: #ff6b6b;
    font-weight: 700;
}

.pay-button {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.pay-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.wechat-pay {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: white;
}

.wechat-pay:hover {
    background: linear-gradient(135deg, #06ad56 0%, #05994c 100%);
}

.wechat-pay:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.button-icon {
    font-size: 24px;
}

.button-text {
    font-size: 18px;
}

/* 移动端优化 */
@media (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .order-info {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .info-item {
        padding: 10px 0;
    }
    
    .info-label {
        font-size: 13px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .amount {
        font-size: 22px;
    }
    
    .pay-button {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* 防止双击缩放 */
@media (touch-action: manipulation) {
    * {
        touch-action: manipulation;
    }
}
