<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Luxeify Jewelry - Exclusive Offer</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #f9f7f3 0%, #f1ede5 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 15px;
        }
        
        .mobile-promo-card {
            width: 100%;
            max-width: 420px;
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            border: 1px solid #e8e0d0;
        }
        
        .promo-header {
            background: linear-gradient(135deg, #2c1e0f 0%, #1a1208 100%);
            padding: 35px 25px 25px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .promo-header::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
            transform: rotate(25deg);
        }
        
        .brand-logo {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #d4af37;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            z-index: 2;
            position: relative;
        }
        
        .brand-logo i {
            font-size: 28px;
        }
        
        .promo-title {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 10px;
            background: linear-gradient(to right, #d4af37, #f9f6b0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            z-index: 2;
            position: relative;
        }
        
        .promo-subtitle {
            font-size: 17px;
            color: #e5d9bc;
            margin-bottom: 20px;
            z-index: 2;
            position: relative;
        }
        
        .promo-content {
            padding: 25px;
        }
        
        .offer-card {
            background: linear-gradient(135deg, #fff9e6 0%, #fff3d2 100%);
            border-radius: 18px;
            padding: 25px;
            text-align: center;
            border: 1px solid #e8e0d0;
            margin-bottom: 25px;
            position: relative;
            overflow: hidden;
        }
        
        .offer-card::before {
            content: "";
            position: absolute;
            top: -30px;
            right: -30px;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, #d4af37 0%, transparent 70%);
            opacity: 0.08;
            border-radius: 50%;
        }
        
        .offer-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #d4af37 0%, #c19e30 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            color: white;
            font-size: 26px;
            box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
        }
        
        .offer-title {
            font-size: 24px;
            font-weight: 700;
            color: #2c1e0f;
            margin-bottom: 8px;
        }
        
        .offer-desc {
            font-size: 16px;
            color: #7a6e5c;
            margin-bottom: 22px;
            line-height: 1.5;
        }
        
        .interactive-button {
            background: linear-gradient(135deg, #d4af37 0%, #c19e30 100%);
            color: white;
            border: none;
            padding: 18px 25px;
            font-size: 17px;
            font-weight: 700;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            position: relative;
            overflow: hidden;
        }
        
        .interactive-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(212, 175, 55, 0.45);
        }
        
        .interactive-button:active {
            transform: translateY(1px);
        }
        
        .interactive-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: 0.5s;
        }
        
        .interactive-button:hover::before {
            left: 100%;
        }
        
        .code-container {
            display: none;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-top: 25px;
            animation: fadeIn 0.6s ease;
        }
        
        .discount-code {
            background: white;
            border: 2px dashed #d4af37;
            padding: 15px 30px;
            border-radius: 14px;
            font-size: 22px;
            font-weight: 800;
            letter-spacing: 3px;
            color: #2c1e0f;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            width: 100%;
            max-width: 280px;
            justify-content: center;
        }
        
        .copy-btn {
            background: #2c1e0f;
            color: white;
            border: none;
            padding: 14px 30px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            max-width: 280px;
            justify-content: center;
        }
        
        .copy-btn:hover {
            background: #1a1208;
            transform: translateY(-2px);
        }
        
        .copy-success {
            color: #d4af37;
            font-weight: 600;
            font-size: 16px;
            display: none;
            text-align: center;
            padding: 10px;
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-top: 25px;
        }
        
        .benefit-card {
            background: white;
            border-radius: 14px;
            padding: 20px 15px;
            border: 1px solid #f0e8d8;
            text-align: center;
        }
        
        .benefit-icon {
            font-size: 24px;
            color: #d4af37;
            margin-bottom: 12px;
        }
        
        .benefit-title {
            font-size: 15px;
            color: #2c1e0f;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .benefit-desc {
            font-size: 13px;
            color: #7a6e5c;
        }
        
        .footer-note {
            font-size: 13px;
            color: #a89f8d;
            text-align: center;
            padding: 20px 25px 25px;
            line-height: 1.6;
        }
        
        .instagram-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: #d4af37;
            font-weight: 600;
            margin-top: 8px;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
    </style>
</head>
<body>
    <div class="mobile-promo-card">
        <div class="promo-header">
            <div class="brand-logo">
                <i class="fas fa-gem"></i>
                LUXEIFY
            </div>
            <h1 class="promo-title">Get Your Discount First</h1>
            <p class="promo-subtitle">Claim your exclusive offer before shopping</p>
        </div>
        
        <div class="promo-content">
            <div class="offer-card">
                <div class="offer-icon">
                    <i class="fas fa-crown"></i>
                </div>
                <h2 class="offer-title">FIRST-TIME OFFER</h2>
                <p class="offer-desc">Get <strong>10% OFF</strong> your first jewelry purchase. Limited time only!</p>
                
                <button id="promoButton" class="interactive-button">
                    <i class="fas fa-gift"></i> 
                    UNLOCK YOUR DISCOUNT NOW
                </button>
                
                <div id="codeContainer" class="code-container">
                    <div class="discount-code">
                        <i class="fas fa-tag"></i>
                        LUXEIFY
                    </div>
                    <button id="copyButton" class="copy-btn">
                        <i class="fas fa-copy"></i> 
                        COPY DISCOUNT CODE
                    </button>
                    <div id="copySuccess" class="copy-success">
                        <i class="fas fa-check-circle"></i> Code copied! Ready to use at checkout
                    </div>
                </div>
            </div>
            
            <div class="benefits-grid">
                <div class="benefit-card">
                    <div class="benefit-icon">
                        <i class="fas fa-shipping-fast"></i>
                    </div>
                    <h3 class="benefit-title">Free Shipping</h3>
                    <p class="benefit-desc">Orders over $300</p>
                </div>
                
                <div class="benefit-card">
                    <div class="benefit-icon">
                        <i class="fas fa-gift"></i>
                    </div>
                    <h3 class="benefit-title">Luxury Packaging</h3>
                    <p class="benefit-desc">Premium gift wrapping</p>
                </div>
                
                <div class="benefit-card">
                    <div class="benefit-icon">
                        <i class="fas fa-shield-alt"></i>
                    </div>
                    <h3 class="benefit-title">Secure Payment</h3>
                    <p class="benefit-desc">SSL encrypted</p>
                </div>
                
                <div class="benefit-card">
                    <div class="benefit-icon">
                        <i class="fas fa-globe"></i>
                    </div>
                    <h3 class="benefit-title">Worldwide</h3>
                    <p class="benefit-desc">Ships globally</p>
                </div>
            </div>
        </div>
        
        <div class="footer-note">
            <p>Discount applies to first-time customers only. Enter code <strong>LUXEIFY</strong> at checkout to redeem your 10% discount.</p>
            <a href="#" class="instagram-link">
                <i class="fab fa-instagram"></i> Follow us for exclusive offers
            </a>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const promoButton = document.getElementById('promoButton');
            const codeContainer = document.getElementById('codeContainer');
            const copyButton = document.getElementById('copyButton');
            const copySuccess = document.getElementById('copySuccess');
            
            // 添加点击动画效果
            promoButton.addEventListener('click', function() {
                // 添加按钮点击动画
                promoButton.style.transform = 'scale(0.96)';
                promoButton.style.boxShadow = '0 4px 12px rgba(212, 175, 55, 0.25)';
                
                setTimeout(() => {
                    // 更改按钮文本和样式
                    promoButton.innerHTML = `<i class="fas fa-check"></i> DISCOUNT UNLOCKED!`;
                    promoButton.style.background = 'linear-gradient(135deg, #2c1e0f 0%, #1a1208 100%)';
                    promoButton.style.boxShadow = '0 4px 12px rgba(0, 0, 0, 0.15)';
                    
                    // 显示折扣码区域
                    codeContainer.style.display = 'flex';
                    
                    // 添加脉冲动画到折扣码
                    const discountCode = document.querySelector('.discount-code');
                    discountCode.style.animation = 'pulse 1s ease 2';
                    
                    // 自动滚动到折扣码区域
                    codeContainer.scrollIntoView({behavior: 'smooth', block: 'center'});
                }, 300);
            });
            
            // 添加复制功能
            copyButton.addEventListener('click', function() {
                // 复制代码到剪贴板
                navigator.clipboard.writeText('LUXEIFY').then(() => {
                    // 显示成功消息
                    copySuccess.style.display = 'block';
                    copyButton.style.display = 'none';
                    
                    // 3秒后恢复按钮
                    setTimeout(() => {
                        copySuccess.style.display = 'none';
                        copyButton.style.display = 'flex';
                    }, 3000);
                });
            });
            
            // 添加触摸效果
            document.querySelectorAll('button').forEach(button => {
                button.addEventListener('touchstart', function() {
                    this.style.transform = 'scale(0.96)';
                });
                
                button.addEventListener('touchend', function() {
                    this.style.transform = '';
                });
            });
        });
    </script>
</body>
</html>帮我对移动版位优化，你要知道手机的宽度通常是多少 当然你可以设置一个可变宽度的UI