/* FileShare Modern CSS */

/* Global Styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-purple: 0 10px 25px -5px rgb(99 102 241 / 0.3);
}

/* Container improvements for mobile */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Touch improvements for mobile */
@media (max-width: 768px) {
    .download-btn, .copy-link-btn, .contact-btn, .vpn-btn {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .nav-tabs .nav-link {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .file-card, .contact-card, .vpn-card {
        touch-action: manipulation;
    }
    
    /* Mobile-specific copy button improvements */
    .copy-link-btn {
        position: relative;
        overflow: hidden;
    }
    
    .copy-link-btn:active {
        transform: scale(0.95);
    }
    
    .copy-link-btn.copied {
        background: var(--gradient-success) !important;
        border-color: transparent !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(20px);
    background: rgba(99, 102, 241, 0.95) !important;
    box-shadow: var(--shadow-purple);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Files Section */
.files-section {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Tab Navigation */
.nav-tabs {
    border: none;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .nav-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .nav-tabs::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }
    
    .nav-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
}

.nav-tabs .nav-link {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

.nav-tabs .nav-link:not(.active) {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.nav-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: var(--shadow-purple);
    font-weight: 600;
    z-index: 2;
    position: relative;
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* File Cards - Improved Design */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.file-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.file-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.file-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.file-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.file-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    margin-right: 1.5rem;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.file-card:hover .file-logo {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.file-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.file-card:hover .file-icon {
    transform: scale(1.05);
}

.file-icon.android { background: var(--gradient-secondary); }
.file-icon.windows { background: linear-gradient(135deg, #0078d4, #106ebe); }
.file-icon.macos { background: linear-gradient(135deg, #000000, #333333); }
.file-icon.utilities { background: var(--gradient-accent); }

.file-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.file-info .os-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.os-badge.windows { 
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
}

.os-badge.macos { 
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
}

.os-badge.android { 
    background: linear-gradient(135deg, #3ddc84, #2bb673);
    color: white;
}

.os-badge.linux { 
    background: linear-gradient(135deg, #fcc624, #f7b731);
    color: #333;
}

/* OS Classes for admin panel */
.os-windows {
    background: linear-gradient(135deg, #0078d4, #106ebe) !important;
    color: white !important;
}

.os-macos {
    background: linear-gradient(135deg, #000000, #333333) !important;
    color: white !important;
}

.os-android {
    background: linear-gradient(135deg, #3ddc84, #2bb673) !important;
    color: white !important;
}

.os-linux {
    background: linear-gradient(135deg, #fcc624, #f7b731) !important;
    color: #333 !important;
}

.os-default {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: white !important;
}

.file-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.file-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
}

.file-size {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.download-count {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-count i {
    font-size: 0.8rem;
}

/* Improved Action Buttons */
.file-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.download-btn, .copy-link-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-purple);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.copy-link-btn {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.copy-link-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.copy-link-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.copy-link-btn:hover::before {
    width: 300px;
    height: 300px;
}

.copy-link-btn.copied {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.copy-link-btn.copied i {
    animation: checkmark 0.3s ease;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.feature-icon.security { background: var(--gradient-secondary); }
.feature-icon.speed { background: var(--gradient-accent); }
.feature-icon.support { background: var(--gradient-primary); }

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    opacity: 0.8;
}

/* VPN Section */
.vpn-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.vpn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vpn-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vpn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.vpn-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vpn-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.vpn-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vpn-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.vpn-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ping-status {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 10px;
}

.ping-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.ping-value {
    font-weight: 600;
    color: var(--primary-color);
}

.ping-value.loading {
    color: var(--warning-color);
}

.ping-value.success {
    color: var(--success-color);
}

.ping-value.error {
    color: var(--danger-color);
}

.vpn-btn {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.vpn-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
    color: white;
    text-decoration: none;
}

.vpn-btn i {
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.contact-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-btn {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
    color: white;
}

.contact-btn i {
    margin-right: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.online {
    background: var(--success-color);
    color: white;
}

.status-badge.offline {
    background: var(--danger-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .files-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        margin: 0 0.25rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .file-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .file-card {
        padding: 1.5rem;
    }
    
    .file-header {
        flex-direction: column;
        text-align: center;
    }
    
    .file-logo, .file-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .vpn-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .vpn-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .vpn-header h3,
    .contact-content h3 {
        font-size: 1.3rem;
    }
    
    /* Mobile Navigation Improvements */
    .navbar-collapse {
        background: rgba(99, 102, 241, 0.98);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        border-radius: 8px;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-title p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .file-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .file-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .download-btn, .copy-link-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    /* Additional mobile copy button improvements for small screens */
    .copy-link-btn {
        position: relative;
        overflow: hidden;
    }
    
    .copy-link-btn:active {
        transform: scale(0.95);
    }
    
    .copy-link-btn.copied {
        background: var(--gradient-success) !important;
        border-color: transparent !important;
    }
    
    /* Contact Grid Small Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    /* Stats Section Small Mobile */
    .stats-section .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-section .stat-card {
        padding: 1.5rem;
    }
    
    .stats-section .stat-card .stat-number {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    /* VPN Banner Small Mobile */
    .vpn-banner {
        padding: 1rem;
        margin-top: 2rem;
        border-radius: 15px;
    }
    
    .vpn-banner-title h3 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .vpn-banner-title p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* VPN Services Mobile Layout */
    .vpn-services-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 0.5rem 0;
    }
    
    .vpn-service-item {
        width: 100%;
        max-width: 400px;
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        border-radius: 12px;
    }
    
    .vpn-service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    
    .vpn-service-info {
        flex: 1;
        margin-right: 1rem;
    }
    
    .vpn-service-info h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .vpn-service-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .ping-status {
        justify-content: flex-start;
        font-size: 0.8rem;
    }
    
    .ping-value {
        min-width: 60px;
        padding: 0.15rem 0.4rem;
    }
    
    .vpn-service-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        align-self: center;
        white-space: nowrap;
    }
    

    
    /* Navigation Mobile */
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        margin: 0 0.25rem;
        font-size: 0.9rem;
    }
    
    /* File Meta Mobile */
    .file-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .file-size, .download-count {
        font-size: 0.85rem;
    }
    
    /* Section spacing improvements */
    .hero-section {
        padding: 3rem 0;
    }
    
    .files-section {
        padding: 2rem 0;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    /* Modal improvements for mobile */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
}

/* Admin Panel Styles */
.admin-sidebar {
    background: var(--dark-color);
    min-height: 100vh;
    color: white;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.admin-sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.admin-content {
    background: var(--light-color);
    min-height: 100vh;
    padding: 2rem;
}

.admin-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.admin-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Real-time Statistics Styling */
#realtime-stats .stat-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#realtime-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

#realtime-stats .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

#realtime-stats .stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
}

/* Different colors for different stat items */
#realtime-stats .stat-item:nth-child(1) .stat-number {
    color: #10b981 !important;
    -webkit-text-fill-color: #10b981 !important;
}

#realtime-stats .stat-item:nth-child(2) .stat-number {
    color: #3b82f6 !important;
    -webkit-text-fill-color: #3b82f6 !important;
}

#realtime-stats .stat-item:nth-child(3) .stat-number {
    color: #8b5cf6 !important;
    -webkit-text-fill-color: #8b5cf6 !important;
}

#realtime-stats .stat-item:nth-child(4) .stat-number {
    color: #f59e0b !important;
    -webkit-text-fill-color: #f59e0b !important;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    background: var(--light-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.upload-area.has-file {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-input {
    display: none;
}

.search-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-filter input,
.search-filter select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    flex: 1;
    min-width: 200px;
}

.file-row {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.file-row:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Fixed Toggle Switch CSS */
.form-check-input {
    width: 3rem !important;
    height: 1.5rem !important;
    margin-top: 0 !important;
    background-color: var(--border-color) !important;
    border-color: var(--border-color) !important;
    border-radius: 1rem !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.form-check-input:checked {
    background-color: var(--success-color) !important;
    border-color: var(--success-color) !important;
}

.form-check-input::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.1rem;
    height: 1.1rem;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.form-check-input:checked::before {
    transform: translateX(1.5rem);
}

.form-check-label {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-delete {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.settings-form {
    max-width: 600px;
}

.settings-form .form-group {
    margin-bottom: 1.5rem;
}

.settings-form label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.settings-form input,
.settings-form textarea,
.settings-form select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.settings-form input:focus,
.settings-form textarea:focus,
.settings-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.btn-save {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
}

/* Upload Progress Styles */
#uploadProgress {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.upload-status {
    font-weight: 600;
    color: var(--primary-color);
}

.upload-percentage {
    font-weight: 700;
    color: var(--success-color);
    font-size: 1.1rem;
}

.progress {
    height: 12px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.1);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.upload-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.upload-info small {
    color: var(--text-secondary);
}

.upload-info .row {
    width: 100%;
    margin: 0;
}

.upload-info .col-md-6 {
    padding: 0 0.5rem;
}

.upload-info .text-end {
    text-align: right;
}

.upload-info .mt-1 {
    margin-top: 0.25rem;
}

.upload-info i {
    width: 14px;
    text-align: center;
}

.time-remaining, .estimated-completion {
    font-weight: 600;
    color: var(--primary-color);
}

.time-remaining.completed {
    color: var(--success-color);
}

.time-remaining.error {
    color: var(--danger-color);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* WeChat Contact Card */
.contact-card.wechat .contact-icon {
    background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
    transition: all 0.3s ease;
}

.contact-card.wechat .contact-icon .wechat-logo {
    width: 32px;
    height: 32px;
}

.contact-card.wechat:hover .contact-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

.contact-card.wechat .contact-content h3 {
    color: #07C160;
    margin-bottom: 8px;
}

.contact-card.wechat .contact-btn {
    background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.contact-card.wechat .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
}

/* WeChat Logo CSS */
.wechat-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.contact-card.wechat:hover .wechat-logo {
    transform: scale(1.1);
}

/* Telegram Contact Card */
.contact-card.telegram .contact-icon {
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    color: white;
}

.contact-card.telegram:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.3);
}

.contact-card.telegram .contact-content h3 {
    color: #0088cc;
}

.contact-card.telegram .contact-btn {
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    border-color: #0088cc;
}

.contact-card.telegram .contact-btn:hover {
    background: linear-gradient(135deg, #0077b3, #0099e6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* Zalo Contact Card */
.contact-card.zalo .contact-icon {
    background: linear-gradient(135deg, #0068ff, #4d94ff);
    color: white;
}

.contact-card.zalo:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 104, 255, 0.3);
}

.contact-card.zalo .contact-content h3 {
    color: #0068ff;
}

.contact-card.zalo .contact-btn {
    background: linear-gradient(135deg, #0068ff, #4d94ff);
    border-color: #0068ff;
}

.contact-card.zalo .contact-btn:hover {
    background: linear-gradient(135deg, #0057e6, #3d83e6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 104, 255, 0.3);
}

/* WhatsApp Contact Card */
.contact-card.whatsapp .contact-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.contact-card.whatsapp:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.contact-card.whatsapp .contact-content h3 {
    color: #25d366;
}

.contact-card.whatsapp .contact-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: #25d366;
}

.contact-card.whatsapp .contact-btn:hover {
    background: linear-gradient(135deg, #20c55d, #0f7a6b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Support Contact Card */
.contact-card.support .contact-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.contact-card.support:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.contact-card.support .contact-content h3 {
    color: #6366f1;
}

/* Edit Modal Styles */
#editFileModal .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

#editFileModal .modal-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

#editFileModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#editFileModal .modal-body {
    padding: 2rem;
}

#editFileModal .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

#editFileModal .form-control,
#editFileModal .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

#editFileModal .form-control:focus,
#editFileModal .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

#editFileModal .form-control::placeholder {
    color: var(--text-secondary);
}

#editFileModal .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-radius: 0 0 16px 16px;
}

#editFileModal .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

#editFileModal .btn-primary {
    background: var(--gradient-primary);
    color: white;
}

#editFileModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

#editFileModal .btn-secondary {
    background: var(--secondary-color);
    color: white;
}

#editFileModal .btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
}

#currentLogoDisplay {
    background: #f8fafc;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

#currentLogoDisplay:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

#currentLogoImage {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

#currentLogoImage:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Edit button styling */
.edit-file {
    transition: all 0.3s ease;
}

.edit-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.edit-file i {
    transition: all 0.3s ease;
}

.edit-file:hover i {
    transform: scale(1.1);
}

/* Floating Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.notification {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00d4ff, #ff6b6b);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

.notification.success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-left: 4px solid #00ff88;
}

.notification.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-left: 4px solid #ff4757;
}

.notification.warning {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    border-left: 4px solid #ffa502;
    color: #2c3e50;
}

.notification.info {
    background: linear-gradient(135deg, #48dbfb 0%, #0abde3 100%);
    border-left: 4px solid #54a0ff;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-icon {
    font-size: 16px;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.7;
    font-size: 14px;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.notification-message {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.95;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.1s linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.notification.bounce {
    animation: bounce 0.6s ease-in-out;
}

/* Responsive notifications */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 14px 16px;
        border-radius: 10px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-message {
        font-size: 12px;
    }
    
    .vpn-banner {
        padding: 1.5rem;
    }
    
    .vpn-banner-title h3 {
        font-size: 1.5rem;
    }
    
    /* VPN Services Mobile Layout for 768px */
    .vpn-services-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 0.5rem 0;
    }
    
    .vpn-service-item {
        width: 100%;
        max-width: 400px;
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        border-radius: 12px;
    }
    
    .vpn-service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    
    .vpn-service-info {
        flex: 1;
        margin-right: 1rem;
    }
    
    .vpn-service-info h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .vpn-service-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .ping-status {
        justify-content: flex-start;
        font-size: 0.8rem;
    }
    
    .ping-value {
        min-width: 60px;
        padding: 0.15rem 0.4rem;
    }
    
    .vpn-service-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        align-self: center;
        white-space: nowrap;
    }
    
    /* Contact Grid Mobile */
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    /* Stats Section Mobile */
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stats-section .stat-card {
        padding: 1.5rem;
    }
    
    .stats-section .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* VPN Banner Styles */
.vpn-banner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2rem;
    margin: 2rem 0;
}

.vpn-banner-title {
    text-align: center;
    margin-bottom: 2rem;
}

.vpn-banner-title h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.vpn-banner-title p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: white;
}

.vpn-services-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

.vpn-service-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vpn-service-item::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 ease;
}

.vpn-service-item:hover::before {
    left: 100%;
}

.vpn-service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.vpn-service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.vpn-service-info {
    flex: 1;
    margin-bottom: 1rem;
}

.vpn-service-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.vpn-service-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    color: white;
}

.vpn-service-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vpn-service-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stats-section .stat-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-section .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stats-section .stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.stats-section .stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-section .stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
