* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.stat-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.label {
    font-weight: 600;
    color: #555;
    min-width: 80px;
}

.value {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.progress-bar {
    width: 150px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.percentage {
    font-weight: 600;
    color: #2c3e50;
    min-width: 40px;
    text-align: right;
}



/* Donation Section Styles */
.donation-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 20px;
    padding: 30px 25px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22, #d35400);
    border-radius: 20px 20px 0 0;
}

.donation-header {
    text-align: center;
    margin-bottom: 25px;
}

.bitcoin-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7931a, #ff8c00);
    border-radius: 50%;
    box-shadow: 
        0 8px 32px rgba(247, 147, 26, 0.3),
        0 4px 16px rgba(247, 147, 26, 0.2);
    transition: all 0.3s ease;
}

.bitcoin-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(247, 147, 26, 0.4),
        0 6px 20px rgba(247, 147, 26, 0.3);
}

.bitcoin-svg {
    width: 35px;
    height: 35px;
}

.donation-title {
    color: #2c3e50;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
}

.donation-content {
    text-align: center;
}



.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.qr-wrapper {
    position: relative;
    display: inline-block;
}

.qr-code {
    width: 180px;
    height: 180px;
    border-radius: 15px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid rgba(243, 156, 18, 0.2);
    background: white;
    padding: 8px;
}

.qr-code:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 15px 30px rgba(243, 156, 18, 0.3);
    border-color: rgba(243, 156, 18, 0.5);
}

.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 15px;
    overflow: hidden;
}

.qr-scan-line-vertical {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f39c12, #ff8c00, #f39c12, transparent);
    box-shadow: 0 0 8px rgba(247, 147, 26, 0.8);
    animation: scanVertical 2.5s ease-in-out infinite;
}

@keyframes scanVertical {
    0% { 
        transform: translateY(0); 
        opacity: 0;
    }
    15% { 
        opacity: 1;
    }
    50% { 
        transform: translateY(180px);
        opacity: 1;
    }
    85% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(0); 
        opacity: 0;
    }
}







.footer {
    margin-top: 30px;
    padding: 30px 20px 20px;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.card-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.stat-icon svg {
    width: 30px;
    height: 30px;
    color: #f39c12;
}

.footer-info {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 300;
}

.copyright a {
    color: #f39c12;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #e67e22;
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .donation-section {
        margin: 20px 15px;
        padding: 25px 20px;
    }
    
    .donation-title {
        font-size: 1.8rem;
    }
    
    .bitcoin-icon {
        width: 50px;
        height: 50px;
    }
    
    .bitcoin-svg {
        width: 30px;
        height: 30px;
    }
    
    .footer-info {
        font-size: 0.8rem;
    }
    
    .copyright p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .stat-header h3 {
        font-size: 1.2rem;
    }
    
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .value {
        text-align: left;
    }
    
    .progress-bar {
        width: 100%;
    }
    
    .donation-section {
        padding: 20px 15px;
    }
    
    .donation-title {
        font-size: 1.6rem;
    }
    
    .qr-code {
        width: 150px;
        height: 150px;
    }
    
    .qr-scan-line-vertical {
        animation: scanVertical 2.5s ease-in-out infinite;
    }
    
    @keyframes scanVertical {
        0% { 
            transform: translateY(0); 
            opacity: 0;
        }
        15% { 
            opacity: 1;
        }
        50% { 
            transform: translateY(150px);
            opacity: 1;
        }
        85% { 
            opacity: 1;
        }
        100% { 
            transform: translateY(0); 
            opacity: 0;
        }
    }
}

/* Animation Effects */
.stat-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.donation-section {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(30px);
}

/* Loading States */
.loading {
    opacity: 0.6;
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}


