File size: 32,296 Bytes
5a42629 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CryptMine - Earn Passive Crypto Income</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">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#ba0000',
secondary: '#8b5cf6',
dark: '#242105',
light: '#f8fafc',
mid: '#1c1c1c',
mid1: '#0a0a0a',
}
}
}
}
</script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #bc0000 0%, #ba0000 100%);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(109, 40, 217, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(109, 40, 217, 0);
}
}
.coin-spin {
animation: spin 5s linear infinite;
}
@keyframes spin {
0% { transform: rotateY(0deg); }
100% { transform: rotateY(360deg); }
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header -->
<header class="gradient-bg text-black 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="fas fa-coins text-3xl text-yellow-400"></i>
<h1 class="text-2xl font-bold">CryptMine</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="hover:text-yellow-300 transition">Home</a>
<a href="#" class="hover:text-yellow-300 transition">How It Works</a>
<a href="#" class="hover:text-yellow-300 transition">Dashboard</a>
<a href="#" class="hover:text-yellow-300 transition">Community</a>
</nav>
<div class="flex items-center space-x-4">
<button class="bg-black text-primary px-4 py-2 rounded-full font-semibold hover:bg-gray-100 transition">Sign In</button>
<button class="md:hidden text-2xl">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="gradient-bg text-black 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">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Start Mining Crypto Today</h1>
<p class="text-xl mb-8 opacity-90">Earn passive income with our revolutionary mining platform. Deposit crypto and watch your balance grow automatically.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-yellow-400 text-dark px-6 py-3 rounded-full font-bold hover:bg-yellow-300 transition flex items-center justify-center">
<i class="fas fa-play mr-2"></i> Start Mining Now
</button>
<button class="border-2 border-black px-6 py-3 rounded-full font-semibold hover:bg-black hover:text-primary transition flex items-center justify-center">
<i class="fas fa-info-circle mr-2"></i> Learn More
</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="relative">
<div class="w-64 h-64 bg-black bg-opacity-10 rounded-full flex items-center justify-center pulse-animation">
<div class="w-48 h-48 bg-black bg-opacity-10 rounded-full flex items-center justify-center">
<div class="w-32 h-32 bg-black bg-opacity-10 rounded-full flex items-center justify-center">
<div class="w-20 h-20 bg-black rounded-full flex items-center justify-center shadow-lg">
<i class="fas fa-coins text-4xl text-yellow-400 coin-spin"></i>
</div>
</div>
</div>
</div>
<div class="absolute -bottom-6 left-0 right-0 flex justify-center">
<div class="bg-black text-yellow-300 px-6 py-2 rounded-full shadow-lg font-bold">
<span class="text-primary">1,245,789</span> Active Miners
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-12 bg-mid1">
<div class="container mx-auto px-4">
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 text-center">
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="text-3xl font-bold text-primary mb-2">$24.5M+</div>
<div class="text-gray-400">Total Deposits</div>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="text-3xl font-bold text-primary mb-2">1.2%</div>
<div class="text-gray-400">Daily Growth</div>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="text-3xl font-bold text-primary mb-2">183</div>
<div class="text-gray-400">Countries</div>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="text-3xl font-bold text-primary mb-2">24/7</div>
<div class="text-gray-400">Support</div>
</div>
</div>
</div>
</section>
<!-- Mining Dashboard -->
<section class="py-16 bg-mid1">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-white text-center mb-12">Your Mining Dashboard</h2>
<div class="max-w-4xl mx-auto bg-mid rounded-xl shadow-lg overflow-hidden">
<div class="md:flex">
<!-- Mining Stats -->
<div class="md:w-1/2 p-8 gradient-bg text-black">
<h3 class="text-xl font-semibold mb-6">Your Mining Stats</h3>
<div class="space-y-6">
<div>
<div class="flex justify-between mb-2">
<span>Current Balance</span>
<span class="font-bold" id="currentBalance">0.00 MC</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-yellow-400 h-2.5 rounded-full" style="width: 45%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-2">
<span>Daily Earnings</span>
<span class="font-bold" id="dailyEarnings">0.00 MC</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-green-400 h-2.5 rounded-full" style="width: 75%"></div>
</div>
</div>
<div>
<div class="flex justify-between mb-2">
<span>Total Mined</span>
<span class="font-bold" id="totalMined">0.00 MC</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="bg-blue-400 h-2.5 rounded-full" style="width: 60%"></div>
</div>
</div>
</div>
<div class="mt-8 p-4 bg-black bg-opacity-15 rounded-lg">
<div class="flex justify-between items-center">
<div>
<div class="text-sm opacity-80">Next Reward In</div>
<div class="text-xl font-bold" id="nextRewardTimer">00:00:00</div>
</div>
<i class="fas fa-gift text-3xl text-yellow-400"></i>
</div>
</div>
</div>
<!-- Deposit Section -->
<div class="md:w-1/2 p-8">
<h3 class="text-xl font-semibold mb-6 text-light">Deposit & Grow</h3>
<div class="mb-6">
<label class="block text-light mb-2">Deposit Amount (USD)</label>
<div class="relative">
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">$</span>
<input type="number" id="depositAmount" class="w-full pl-8 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="150.00" min="50">
</div>
<div class="text-sm text-gray-400 mt-1">Minimum deposit: $50.00</div>
</div>
<div class="mb-6">
<label class="block text-gray-400 mb-2">Select Crypto</label>
<div class="grid grid-cols-4 gap-2">
<button class="crypto-option border rounded-lg p-2 flex flex-col items-center hover:bg-gray-100 transition" data-crypto="btc">
<img src="https://cryptologos.cc/logos/bitcoin-btc-logo.png" class="h-8 w-8" alt="Bitcoin">
<span class="text-xs mt-1">BTC</span>
</button>
<button class="crypto-option border rounded-lg p-2 flex flex-col items-center hover:bg-gray-100 transition" data-crypto="eth">
<img src="https://cryptologos.cc/logos/ethereum-eth-logo.png" class="h-8 w-8" alt="Ethereum">
<span class="text-xs mt-1">ETH</span>
</button>
<button class="crypto-option border rounded-lg p-2 flex flex-col items-center hover:bg-gray-100 transition" data-crypto="usdt">
<img src="https://cryptologos.cc/logos/tether-usdt-logo.png" class="h-8 w-8" alt="Tether">
<span class="text-xs mt-1">USDT</span>
</button>
<button class="crypto-option border rounded-lg p-2 flex flex-col items-center hover:bg-gray-100 transition" data-crypto="mc">
<img src="https://cryptologos.cc/logos/ethereum-eth-logo.png" class="h-8 w-8" alt="MineCrypto">
<span class="text-xs mt-1">MC</span>
</button>
</div>
</div>
<div class="mb-6 p-4 bg-black bg-opacity-35 rounded-lg">
<div class="flex justify-between mb-2">
<span class="text-gray-400">Projected Growth (6 months)</span>
<span class="font-bold text-primary" id="projectedGrowth">$0.00</span>
</div>
<div class="text-sm text-gray-300">Based on current 1.2% daily growth rate</div>
</div>
<button id="depositButton" class="w-full gradient-bg text-white py-3 rounded-lg font-bold hover:opacity-90 transition flex items-center justify-center">
<i class="fas fa-lock mr-2"></i> Secure Deposit
</button>
</div>
</div>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-16 bg-black">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-white text-center mb-12">How CryptMine Works</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-mid p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-16 h-16 gradient-bg text-white rounded-full flex items-center justify-center mb-4 mx-auto">
<i class="fas fa-user-plus text-2xl"></i>
</div>
<h3 class="text-xl font-semibold text-white text-center mb-3">1. Create Account</h3>
<p class="text-gray-400 text-center">Sign up in seconds with just your email address and start mining immediately.</p>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-16 h-16 gradient-bg text-white rounded-full flex items-center justify-center mb-4 mx-auto">
<i class="fas fa-coins text-2xl"></i>
</div>
<h3 class="text-xl font-semibold text-white text-center mb-3">2. Deposit Crypto</h3>
<p class="text-gray-400 text-center">Deposit any supported cryptocurrency to start earning daily rewards.</p>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm hover:shadow-md transition">
<div class="w-16 h-16 gradient-bg text-white rounded-full flex items-center justify-center mb-4 mx-auto">
<i class="fas fa-chart-line text-2xl"></i>
</div>
<h3 class="text-xl font-semibold text-white text-center mb-3">3. Watch It Grow</h3>
<p class="text-gray-400 text-center">Your balance grows automatically with our advanced mining algorithms.</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-16 bg-mid1">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-white text-center mb-12">What Our Miners Say</h2>
<div class="grid md:grid-cols-3 gap-8">
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-200 overflow-hidden">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User">
</div>
<div class="ml-4">
<h4 class="font-semibold text-white">Sarah K.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-400">"I started with just $100 and in 3 months I've earned over $300 in rewards. The platform is so easy to use!"</p>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-200 overflow-hidden">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User">
</div>
<div class="ml-4">
<h4 class="font-semibold text-white">James L.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
<p class="text-gray-400">"The daily rewards are consistent and the withdrawal process is smooth. Highly recommend for passive income."</p>
</div>
<div class="bg-mid p-6 rounded-xl shadow-sm">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-200 overflow-hidden">
<img src="https://randomuser.me/api/portraits/women/68.jpg" alt="User">
</div>
<div class="ml-4">
<h4 class="font-semibold text-white">Maria G.</h4>
<div class="flex text-yellow-400">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-400">"I love that I can mine from my phone. The app is well designed and the community is very supportive."</p>
</div>
</div>
</div>
</section>
<!-- FAQ -->
<section class="py-16 bg-mid1">
<div class="container mx-auto px-4 max-w-3xl">
<h2 class="text-3xl text-white font-bold text-center mb-12">Frequently Asked Questions</h2>
<div class="space-y-4">
<div class="border border-grey-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 text-white bg-mid1 hover:bg-mid transition font-semibold flex justify-between items-center">
<span>How does the mining process work?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-answer p-4 hidden">
<p class="text-gray-400">Our platform uses advanced cloud mining technology combined with proof-of-stake mechanisms to generate rewards. When you deposit crypto, it's allocated to our mining pools where it contributes to the network's security and earns rewards proportionally.</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 text-white bg-mid1 hover:bg-mid transition font-semibold flex justify-between items-center">
<span>What's the minimum deposit amount?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-answer p-4 hidden">
<p class="text-gray-600">The minimum deposit amount is $10 USD equivalent in any supported cryptocurrency. There's no maximum limit - you can deposit as much as you want to maximize your earnings potential.</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 text-white bg-mid1 hover:bg-mid transition font-semibold flex justify-between items-center">
<span>How often are rewards distributed?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-answer p-4 hidden">
<p class="text-gray-600">Rewards are calculated and added to your balance every 24 hours. The exact time depends on when you made your initial deposit, creating a personalized reward cycle for each user.</p>
</div>
</div>
<div class="border border-gray-200 rounded-lg overflow-hidden">
<button class="faq-question w-full text-left p-4 text-white bg-mid1 hover:bg-mid transition font-semibold flex justify-between items-center">
<span>Is there a fee for withdrawals?</span>
<i class="fas fa-chevron-down transition-transform"></i>
</button>
<div class="faq-answer p-4 hidden">
<p class="text-gray-600">We charge a small network fee for withdrawals that varies depending on the cryptocurrency you're withdrawing. This fee goes directly to the blockchain network, not to us. There are no hidden fees for deposits or account maintenance.</p>
</div>
</div>
</div>
</div>
</section>
<!-- CTA -->
<section class="py-16 gradient-bg text-white">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl text-black font-bold mb-6">Ready to Start Earning Crypto?</h2>
<p class="text-xl mb-8 max-w-2xl text-black mx-auto opacity-90">Join thousands of miners earning passive income every day. It takes less than a minute to get started.</p>
<button class="text-yellow-300 bg-mid1 text-primary px-8 py-4 rounded-full font-bold hover:bg-mid transition text-lg">
Start Mining Now <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</section>
<!-- Footer -->
<footer class="bg-dark text-gray-300 py-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i class="fas fa-coins text-2xl text-yellow-400"></i>
<h3 class="text-xl font-bold text-white">MineCrypto</h3>
</div>
<p class="mb-4">The easiest way to earn passive income through cryptocurrency mining.</p>
<div class="flex space-x-4">
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-telegram"></i></a>
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-discord"></i></a>
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-instagram"></i></a>
</div>
</div>
<div>
<h4 class="text-lg font-semibold text-white mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white transition">About Us</a></li>
<li><a href="#" class="hover:text-white transition">Careers</a></li>
<li><a href="#" class="hover:text-white transition">Press</a></li>
<li><a href="#" class="hover:text-white transition">Blog</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold text-white mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white transition">Help Center</a></li>
<li><a href="#" class="hover:text-white transition">Community</a></li>
<li><a href="#" class="hover:text-white transition">Tutorials</a></li>
<li><a href="#" class="hover:text-white transition">API</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold text-white mb-4">Legal</h4>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white transition">Terms of Service</a></li>
<li><a href="#" class="hover:text-white transition">Privacy Policy</a></li>
<li><a href="#" class="hover:text-white transition">Cookie Policy</a></li>
<li><a href="#" class="hover:text-white transition">Risk Disclosure</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center">
<p>© 2023 MineCrypto. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Deposit Modal -->
<div id="depositModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl max-w-md w-full mx-4 p-6 relative">
<button id="closeModal" class="absolute top-4 right-4 text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
<div class="text-center mb-6">
<i class="fas fa-check-circle text-5xl text-green-500 mb-4"></i>
<h3 class="text-2xl font-bold mb-2">Deposit Successful!</h3>
<p class="text-gray-600">Your deposit of <span id="depositAmountSuccess" class="font-bold">$0.00</span> has been received.</p>
</div>
<div class="bg-gray-50 p-4 rounded-lg mb-6">
<div class="flex justify-between mb-2">
<span class="text-gray-700">Projected Balance in 30 days:</span>
<span class="font-bold text-primary" id="projectedBalance">$0.00</span>
</div>
<div class="text-sm text-gray-500">Based on current 1.2% daily growth rate</div>
</div>
<button class="w-full gradient-bg text-white py-3 rounded-lg font-bold hover:opacity-90 transition">
View Dashboard <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
<script>
// Simulate mining growth
let balance = 0;
let dailyRate = 1.2; // 1.2% daily growth
let selectedCrypto = 'mc';
// Update timer every second
function updateTimer() {
const now = new Date();
const hours = 23 - now.getHours();
const minutes = 59 - now.getMinutes();
const seconds = 59 - now.getSeconds();
document.getElementById('nextRewardTimer').textContent =
`${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
}
setInterval(updateTimer, 1000);
updateTimer(); // Initial call
// Crypto selection
document.querySelectorAll('.crypto-option').forEach(option => {
option.addEventListener('click', function() {
document.querySelectorAll('.crypto-option').forEach(opt => {
opt.classList.remove('border-primary', 'bg-primary', 'bg-opacity-10');
});
this.classList.add('border-primary', 'bg-primary', 'bg-opacity-10');
selectedCrypto = this.getAttribute('data-crypto');
});
});
// Deposit button
document.getElementById('depositButton').addEventListener('click', function() {
const amount = parseFloat(document.getElementById('depositAmount').value);
if (isNaN(amount) || amount < 10) {
alert('Please enter a valid amount (minimum $10)');
return;
}
// Calculate projected balance
const projected = amount * Math.pow(1 + (dailyRate/100), 30);
// Update modal values
document.getElementById('depositAmountSuccess').textContent = `$${amount.toFixed(2)}`;
document.getElementById('projectedBalance').textContent = `$${projected.toFixed(2)}`;
// Show modal
document.getElementById('depositModal').classList.remove('hidden');
// Update balance (simulate)
balance += amount;
document.getElementById('currentBalance').textContent = `${balance.toFixed(2)} MC`;
// Calculate daily earnings
const dailyEarnings = balance * (dailyRate/100);
document.getElementById('dailyEarnings').textContent = `${dailyEarnings.toFixed(2)} MC`;
// Update total mined (simulate some previous mining)
const totalMined = balance * 0.3; // 30% of balance as mined
document.getElementById('totalMined').textContent = `${totalMined.toFixed(2)} MC`;
});
// Close modal
document.getElementById('closeModal').addEventListener('click', function() {
document.getElementById('depositModal').classList.add('hidden');
});
// Calculate projected growth when amount changes
document.getElementById('depositAmount').addEventListener('input', function() {
const amount = parseFloat(this.value) || 0;
if (amount >= 10) {
const projected = amount * Math.pow(1 + (dailyRate/100), 30);
document.getElementById('projectedGrowth').textContent = `$${projected.toFixed(2)}`;
} else {
document.getElementById('projectedGrowth').textContent = '$0.00';
}
});
// FAQ accordion
document.querySelectorAll('.faq-question').forEach(question => {
question.addEventListener('click', function() {
const answer = this.nextElementSibling;
const icon = this.querySelector('i');
if (answer.classList.contains('hidden')) {
answer.classList.remove('hidden');
icon.classList.add('rotate-180');
} else {
answer.classList.add('hidden');
icon.classList.remove('rotate-180');
}
});
});
</script>
<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=DoubleXp/cryptmine" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |