<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Inviter des Amis - Récompenses TikTok</title>
    <link rel="stylesheet" href="assets/css/home.css?v=2">
    <link rel="stylesheet" href="assets/css/referral.css?v=2">
<script type="text/javascript">
    (function(c,l,a,r,i,t,y){
        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
        t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
    })(window, document, "clarity", "script", "w40soemo0v");
</script>
</head>
<body>
    <!-- Header -->
    <header class="header">
        <div class="header-content">
            <div class="header-logo">
                <div class="logo-icon-container">
                    <div class="logo-icon">
                        <svg class="logo-svg" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
                            <path d="M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-2.88 2.5 2.89 2.89 0 0 1-2.89-2.89 2.89 2.89 0 0 1 2.89-2.89c.28 0 .54.04.79.1v-3.5a6.37 6.37 0 0 0-.79-.05A6.34 6.34 0 0 0 3.15 15a6.34 6.34 0 0 0 6.34 6.34 6.34 6.34 0 0 0 6.34-6.34V8.71a8.21 8.21 0 0 0 4.76 1.52v-3.4a4.85 4.85 0 0 1-1-.14z"></path>
                        </svg>
                    </div>
                    <div class="logo-pulse"></div>
                </div>
                <div class="logo-text">
                    <span class="logo-title">TikTok</span>
                    <span class="logo-subtitle">Récompenses</span>
                </div>
            </div>
            <div class="header-right">
                <div class="level-badge" id="levelBadge">
                    <span class="level-icon" id="levelIcon"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg></span>
                    <span class="level-name" id="levelName">Débutant</span>
                </div>
                <div class="header-balance">
                    <span class="balance-text">€ <span id="balance">0.00</span></span>
                </div>
            </div>
        </div>
    </header>

    <main class="main-content referral-content">
        <!-- Hero Section -->
        <div class="referral-hero">
            <div class="hero-icon"><svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="#FE2C55" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 12v10H4V12"/><path d="M2 7h20v5H2z"/><path d="M12 22V7"/><path d="M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"/><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"/></svg></div>
            <h1 class="referral-title">Inviter des Amis</h1>
            <p class="referral-subtitle">Partagez votre lien et gagnez €50 par ami !</p>
        </div>

        <!-- Reward Info -->
        <div class="reward-info-card">
            <div class="reward-info-row">
                <div class="reward-info-item">
                    <span class="reward-info-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FE2C55" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="1" x2="12" y2="23"/><path d="M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"/></svg></span>
                    <span class="reward-info-value">€50</span>
                    <span class="reward-info-label"></span>
                </div>
                <div class="reward-info-divider"></div>
                <div class="reward-info-item">
                    <span class="reward-info-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FE2C55" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg></span>
                    <span class="reward-info-value" id="referralCount">0</span>
                    <span class="reward-info-label"></span>
                </div>
                <div class="reward-info-divider"></div>
                <div class="reward-info-item">
                    <span class="reward-info-icon"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FE2C55" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9H4.5a2.5 2.5 0 0 1 0-5H6"/><path d="M18 9h1.5a2.5 2.5 0 0 0 0-5H18"/><path d="M4 22h16"/><path d="M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20 7 22"/><path d="M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20 17 22"/><path d="M18 2H6v7a6 6 0 0 0 12 0V2Z"/></svg></span>
                    <span class="reward-info-value" id="referralEarnings">€0</span>
                    <span class="reward-info-label"></span>
                </div>
            </div>
        </div>

        <!-- Share Section -->
        <div class="share-card">
            <h3 class="share-title"></h3>
            <p class="share-subtitle">Je gagne de l&#039;argent en évaluant des vidéos TikTok ! Rejoins-moi :</p>

            <!-- Referral Code -->
            <div class="referral-code-box">
                <span class="code-label"></span>
                <div class="code-display">
                    <span class="code-text" id="referralCode">TK-XXXXXX</span>
                    <button class="copy-code-btn" id="copyCodeBtn">
                        <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                            <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
                            <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/>
                        </svg>
                    </button>
                </div>
            </div>

            <!-- Share Link -->
            <div class="share-link-box">
                <span class="code-label"></span>
                <div class="link-display">
                        <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                            <rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
                            <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/>
                        </svg>
                    </button>
                </div>
            </div>

            <!-- Share Buttons -->
            <div class="share-buttons">
                <button class="share-btn share-whatsapp" id="shareWhatsapp">
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>
                    WhatsApp
                </button>
                <button class="share-btn share-telegram" id="shareTelegram">
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.479.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
                    Telegram
                </button>
            </div>
        </div>

        <!-- How it works -->
        <div class="how-it-works-card">
            <h3 class="how-title">Comment ça marche ?</h3>
            <div class="how-steps">
                <div class="how-step">
                    <div class="how-step-number">1</div>
                    <p class="how-step-text">Partagez votre lien unique avec vos amis</p>
                </div>
                <div class="how-step">
                    <div class="how-step-number">2</div>
                    <p class="how-step-text">Votre ami s&#039;inscrit et commence à évaluer</p>
                </div>
                <div class="how-step">
                    <div class="how-step-number">3</div>
                    <p class="how-step-text">Vous recevez €50 pour chaque ami inscrit !</p>
                </div>
            </div>
        </div>
    </main>

    <!-- Copied Popup -->
    <div class="copied-popup" id="copiedPopup">Lien copié !</div>

    <!-- Bottom Navigation -->
    <nav class="bottom-nav">
        <a href="faq.php?pais=FR" class="nav-item" id="navFaq">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <circle cx="12" cy="12" r="10"/>
                <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
                <line x1="12" y1="17" x2="12.01" y2="17"/>
            </svg>
            <span>FAQ</span>
        </a>
        <a href="home.php?pais=FR" class="nav-item" id="navHome">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
                <polyline points="9 22 9 12 15 12 15 22"/>
            </svg>
            <span>Accueil</span>
        </a>
        <a href="referral.php?pais=FR" class="nav-item active" id="navReferral">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/>
                <circle cx="9" cy="7" r="4"/>
                <path d="M23 21v-2a4 4 0 0 0-3-3.87"/>
                <path d="M16 3.13a4 4 0 0 1 0 7.75"/>
            </svg>
            <span>Inviter des Amis</span>
        </a>
        <a href="saque.php?pais=FR" class="nav-item" id="navWithdraw">
            <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <rect x="1" y="3" width="22" height="18" rx="2" ry="2"/>
                <line x1="1" y1="10" x2="23" y2="10"/>
            </svg>
            <span>Retrait</span>
        </a>
    </nav>

    <script>
    var COUNTRY = 'FR';
    var REFERRAL_LINK = 'https://fuegonews.xyz/';
    var T = {
        referral_copied: "Lien copi\u00e9 !",
        referral_share_msg: "Je gagne de l'argent en évaluant des vidéos TikTok ! Rejoins-moi :",
        level_names: ["D\u00e9butant", "Bronze", "Argent", "Or", "Diamant", "\u00c9lite"]
    };
    </script>
    <script src="assets/js/referral.js?v=2"></script>
</body>
</html>
