/* ========================================
   TELECHARG_ER - STYLES MODERNES
   Design professionnel avec image de fond
   ======================================== */

/* Focus visible pour l'accessibilité */
*:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Réduire les animations pour les utilisateurs qui préfèrent moins de mouvement */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    position: relative;
    padding: 20px;
    background: transparent;
    /* Cacher les scrollbars */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE et Edge */
    overflow: hidden; /* Empêcher le scroll */
}

.background-overlay {
    display: none;
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
}

.header-block {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.header-block h1 {
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    font-weight: 400;
    color: #666;
    margin: 0;
}

.download-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
}

.download-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: hidden;
    max-width: 800px;
    padding: 30px;
}

.card-icon {
    font-size: 3em;
    text-align: center;
    padding: 30px;
    background: rgba(102, 126, 234, 0.1);
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 0;
    flex: 1;
    text-align: center;
}

.card-content h2 {
    color: #1e3a8a;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.description {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.file-info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.file-type,
.file-size {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    padding: 8px 15px;
    border-radius: 15px;
    font-weight: 500;
    color: #667eea;
    font-size: 0.9em;
}

.feature-icon {
    font-size: 1.1em;
}

.download-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    letter-spacing: 0.5px;
    max-width: 300px;
    margin: 0 auto;
}

.download-btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.download-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.3em;
    animation: bounce 1s infinite;
}

.info-section {
    margin-top: 20px;
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
}

.info-text {
    color: #667eea;
    font-size: 0.85em;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Cacher les scrollbars Chrome, Safari, Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Empêcher le scroll vertical et horizontal */
html, body {
    overflow: hidden;
}

.btn-text {
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-block {
        padding: 15px;
    }
    
    .header-block h1 {
        font-size: 1.6em;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .download-container {
        flex-direction: column;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .card-icon {
        padding: 20px;
        min-width: auto;
        width: 100%;
    }
    
    .card-content {
        padding: 20px;
        text-align: center;
    }
    
    .card-content h2 {
        text-align: center;
        font-size: 1.5em;
    }
    
    .description {
        text-align: center;
        font-size: 0.95em;
    }
    
    .file-info {
        justify-content: center;
    }
    
    .features {
        justify-content: center;
    }
    
    .download-btn {
        max-width: 100%;
    }
    
    .info-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header-block {
        padding: 12px;
    }
    
    .header-block h1 {
        font-size: 1.4em;
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    .card-icon {
        font-size: 2.5em;
        padding: 15px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-content h2 {
        font-size: 1.3em;
    }
    
    .description {
        font-size: 0.9em;
    }
    
    .file-type,
    .file-size {
        padding: 6px 15px;
        font-size: 0.8em;
    }
    
    .feature {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    .download-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .info-section {
        padding: 10px;
    }
    
    .info-text {
        font-size: 0.75em;
    }
}