body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0e11;
}

/* Bloque tout défilement horizontal et contenu vide sur les côtés */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Fullscreen background overlay matching the exact dark vignette aesthetic */
.bg-custom-overlay {
    background-image: 
    radial-gradient(circle at center, rgba(13, 14, 17, 0.3) 0%, rgba(13, 14, 17, 0.5) 100%),                
    url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Sous-titre "Custom Keyboard Enthusiast" */
.sub-title {
    font-size: 20px !important;
    font-weight: 300 !important; /* Fin / Light */
    letter-spacing: 0.5px;
    color: #e4e4e7;
}

/* Exact minimalist button styles from reference image */
.btn-d3smo {
    background: rgba(20, 21, 26, 0.55);
    backdrop-filter: blur(2px);
    max-width: 600px;     
    margin-left: auto;  
    margin-right: auto; 
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease-in-out;
    padding-top: 1.25rem !important;    
    padding-bottom: 1.25rem !important; 
    padding-left: 2rem !important;      
    padding-right: 2rem !important;     
    font-size: 18px !important;
    font-weight: 500 !important; /* Medium / Semi-bold léger */
    letter-spacing: 0.2px;
    border-radius: 4px !important;
}

.btn-d3smo:hover {
    background: rgba(35, 37, 45, 0.75);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Social buttons & QR button */
.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.social-btn i {
    color: #ffffff;
    font-size: 18px;
}

.social-btn:hover {
    background-color: #262626;
}

/* Accordion transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, opacity 0.25s ease-in-out;
    opacity: 0;
    width: calc(100% - 50px) !important; /* Réduit seulement de 50px par rapport au menu principal (600px - 50px = 550px) */
    margin-left: auto !important;
    margin-right: auto !important;
}

.accordion-content.open {
    max-height: 800px;
    opacity: 1;
}

/* Copy toast notification */
#toast {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Classes dynamiques pour l'affichage de la modale QR Code */
#qr-modal.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#qr-modal.active > div {
    transform: scale(1) !important;
}