* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #2c3e50 0%, #764ba2 100%);
min-height: 100vh;
padding: 2rem;
display: flex;
align-items: center;
justify-content: center;
}
.container {
max-width: 1200px;
width: 100%;
}
.header {
text-align: center;
color: white;
margin-bottom: 3rem;
}
.header h1 {
font-size: 3rem;
margin-bottom: 0.5rem;
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.header p {
font-size: 1.25rem;
opacity: 0.9;
}
.sections {
display: grid;
gap: 2rem;
}
.section {
background: white;
padding: 2.5rem;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.section-title {
font-size: 1.5rem;
color: #2c3e50;
margin-bottom: 2rem;
font-weight: 600;
}
.button-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
}
/* Primary Style Buttons */
.download-btn {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 1.5rem;
border: none;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
font-family: inherit;
}
.download-btn-primary {
background: #bfd200;
color: #2c3e50;
}
.download-btn-primary:hover {
background: #a8bb00;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(191, 210, 0, 0.4);
}
.download-btn-dark {
background: #2c3e50;
color: white;
}
.download-btn-dark:hover {
background: #1a252f;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}
.download-btn-outline {
background: transparent;
border: 2px solid #bfd200;
color: #2c3e50;
}
.download-btn-outline:hover {
background: #bfd200;
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(191, 210, 0, 0.3);
}
.btn-icon {
font-size: 2.5rem;
flex-shrink: 0;
}
.btn-content {
text-align: left;
flex: 1;
}
.btn-label {
font-size: 0.75rem;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 0.25rem;
}
.btn-text {
font-size: 1.25rem;
font-weight: 600;
}
/* Gradient Buttons */
.download-btn-gradient {
background: linear-gradient(135deg, #bfd200, #8fa500);
color: white;
}
.download-btn-gradient:hover {
background: linear-gradient(135deg, #8fa500, #bfd200);
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(191, 210, 0, 0.5);
}
/* Animated Glow Buttons */
.download-btn-glow {
background: #bfd200;
color: #2c3e50;
position: relative;
overflow: hidden;
}
.download-btn-glow::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: left 0.5s ease;
}
.download-btn-glow:hover::before {
left: 100%;
}
.download-btn-glow:hover {
box-shadow: 0 0 30px rgba(191, 210, 0, 0.6);
transform: translateY(-3px);
}
/* Icon Style Buttons */
.icon-button-group {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.icon-btn {
width: 60px;
height: 60px;
border-radius: 50%;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.75rem;
transition: all 0.3s ease;
background: #bfd200;
color: #2c3e50;
}
.icon-btn:hover {
transform: scale(1.1) rotate(5deg);
box-shadow: 0 8px 25px rgba(191, 210, 0, 0.5);
}
/* Compact Buttons */
.compact-btn {
display: inline-flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1.25rem;
background: #bfd200;
color: #2c3e50;
border: none;
border-radius: 8px;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
}
.compact-btn ion-icon {
font-size: 1.5rem;
}
.compact-btn:hover {
background: #a8bb00;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(191, 210, 0, 0.4);
}
/* Badge Buttons */
.badge-btn {
background: #2c3e50;
padding: 1rem 1.5rem;
border-radius: 10px;
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
border: none;
}
.badge-btn:hover {
background: #1a252f;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}
.badge-icon {
width: 50px;
height: 50px;
background: #bfd200;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.75rem;
color: #2c3e50;
}
.badge-content {
text-align: left;
color: white;
}
.badge-label {
font-size: 0.75rem;
opacity: 0.8;
margin-bottom: 0.25rem;
}
.badge-text {
font-size: 1.125rem;
font-weight: 600;
}
/* QR Code Section */
.qr-section {
display: flex;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
}
.qr-code {
width: 150px;
height: 150px;
background: white;
border: 3px solid #bfd200;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 6rem;
color: #bfd200;
}
.qr-content {
flex: 1;
min-width: 250px;
}
.qr-title {
font-size: 1.25rem;
font-weight: 600;
color: #2c3e50;
margin-bottom: 0.5rem;
}
.qr-description {
color: #6c757d;
margin-bottom: 1rem;
line-height: 1.6;
}
/* Stats Counter */
.stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
padding-top: 2rem;
border-top: 2px solid #f0f0f0;
}
.stat-item {
text-align: center;
}
.stat-value {
font-size: 2rem;
font-weight: 700;
color: #bfd200;
margin-bottom: 0.25rem;
}
.stat-label {
font-size: 0.875rem;
color: #6c757d;
text-transform: uppercase;
letter-spacing: 0.5px;
}
@media (max-width: 768px) {
.header h1 {
font-size: 2rem;
}
.button-grid {
grid-template-columns: 1fr;
}
}
let downloadCount = 0;
function handleDownload(platform) {
downloadCount++;
document.getElementById('downloads').textContent = downloadCount.toLocaleString();
// Create notification
const notification = document.createElement('div');
notification.style.cssText = `
position: fixed;
top: 20px;
right: 20px;
background: #bfd200;
color: #2c3e50;
padding: 1rem 1.5rem;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(191, 210, 0, 0.4);
z-index: 9999;
font-weight: 600;
animation: slideIn 0.3s ease-out;
`;
notification.textContent = `Downloading for ${platform}...`;
document.body.appendChild(notification);
setTimeout(() => {
notification.style.animation = 'slideOut 0.3s ease-out';
setTimeout(() => notification.remove(), 300);
}, 2000);
}
// Add animations
const style = document.createElement('style');
style.textContent = `
@keyframes slideIn {
from { transform: translateX(400px); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
from { transform: translateX(0); opacity: 1; }
to { transform: translateX(400px); opacity: 0; }
}
`;
document.head.appendChild(style);
// Animate download counter
function animateCounter() {
let count = 0;
const target = 2547892;
const duration = 2000;
const increment = target / (duration / 16);
const timer = setInterval(() => {
count += increment;
if (count >= target) {
count = target;
clearInterval(timer);
}
document.getElementById('downloads').textContent = Math.floor(count).toLocaleString();
}, 16);
}
window.addEventListener('load', () => {
setTimeout(animateCounter, 500);
});
No comments yet. Be the first!