@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Disclaimer Card */
.disclaimer {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 320px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.disclaimer h3 {
    color: #fbbf24;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.disclaimer p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Donation Section */
.donation-section {
    margin: 40px 0;
    text-align: center;
}

.donation-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #94a3b8;
}

.crypto-addresses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.crypto-address {
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-address:hover {
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

/* Button Links */
.button-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-telegram {
    background: linear-gradient(135deg, #229ED9, #1b8ab8);
    color: white;
    padding: 12px 24px;

    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.4);
}

.btn-library {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;

    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-library:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-vpn img {
    height: 68px;
    transition: all 0.3s ease;
}

.btn-vpn:hover img {
    transform: scale(1.05);
}

/* Main Content */
main {
    padding: 0 20px 80px;
}

/* Source Cards */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.source-card {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.source-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.source-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(102, 126, 234, 0.1);
}

.source-card:hover::before {
    opacity: 1;
}

.source-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f1f5f9;
}

.source-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.stat-badge {
    background: rgba(102, 126, 234, 0.2);
    color: #a5b4fc;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.source-description {
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.6;
}

.source-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-install {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-copy {
    background: rgba(15, 15, 35, 0.8);
    color: #e2e8f0;
    padding: 12px 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-copy:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.btn-copy.copy-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    transform: scale(0.95);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    margin-top: 60px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-text {
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Text Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: #f1f5f9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .disclaimer {
        position: relative;
        width: 100%;
        margin: 20px 0;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .crypto-addresses {
        flex-direction: column;
        align-items: center;
    }
    
    .crypto-address {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .button-links {
        flex-direction: column;
        align-items: center;
    }
    
    .source-actions {
        flex-direction: column;
    }
    
    .btn-install,
    .btn-copy {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .source-card {
        padding: 20px;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
