/* =========================================
   1. Réinitialisation des Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   2. Styles Globaux
   ========================================= */
body {
    font-family: "Avenir";
    background-color: #121212;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 140px;
    /* Espace pour le footer */
}

.hidden {
    display: none;
}

/* =========================================
   3. Styles des Notifications
   ========================================= */
.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 95%;
    width: auto;
    min-width: 400px;
    max-width: 600px;
}

.notification {
    background: rgba(46, 46, 46, 0.95);
    color: #ffffff;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-family: Avenir, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideInDown 0.3s ease-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.info {
    border-left-color: #007bff;
}

.notification-close {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.notification-content {
    flex: 1;
    text-align: left;
    margin-right: 15px;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

/* =========================================
   4. Styles des Popups
   ========================================= */
.popup-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.popup-content {
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(46, 46, 46, 0.6);
    color: #ffffff;
    padding: 10%;
    border-radius: 30px;
    width: 80%;
    height: 80%;
    max-width: 80%;
    max-height: 80%;
    z-index: 11;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: auto;
    font-family: 'Avenir', sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
    margin: 0 auto;
    word-wrap: break-word;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.close-btn {
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #ffffff;
}

/* =========================================
   4. Containers Principaux
   ========================================= */
.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 20px;
    padding: 25px;
    background-color: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    box-shadow: 0 0 00px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    min-width: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* =========================================
   5. Styles de la Nouvelle Œuvre
   ========================================= */
.newartwork-container {
    font-family: 'Avenir', sans-serif;
    display: none;
    min-width: 50%;
    border-radius: 25px;
    margin: 5%;
    padding: 25px;
    padding-bottom: 100px;
    background-color: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newartwork-container #resultTitle {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.newartwork-container #result img {
    display: block;
    margin: 0 auto;
    padding: 5%;
    max-width: 60%;
}

.newartwork-container #critiqueContainer,
.newartwork-container #newsContainer {
    font-size: 16px;
}

.newartwork-container #emailcontent {
    margin: 5%;
}

/* =========================================
   6. Styles des Archives
   ========================================= */
.archive-containerTitre {
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px 25px;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.archive-container {
    background-color: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 25px;
    padding: 25px;
    margin: 20px auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 90%;
    max-width: 1000px;
}

.archive-containerTitre,
.archive-container,
.text-column,
.text-column * {
    font-family: 'Avenir', sans-serif;
}

#dataList {
    display: none;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

/* Autres */
.entry {
    display: flex;
    margin-bottom: 20px;
    flex-direction: row-reverse;
}


.artwork-wrapper {
    margin-bottom: 300px;
    padding: 15px;
    background-color: #1e1e1e;
    border-radius: 8px;
    border-radius: 40px;
    padding: 5%;
}



/* =========================================
   7. Titres
   ========================================= */
h1 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2,
h3 {
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 2em;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

h3 {
    font-size: 1.75em;
    margin-bottom: 15px;
}

h2 .arrow,
h3 .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
    color: #ffffff;
}

.arrow-down {
    transform: rotate(90deg);
}

/* Archive Toggle Specific Styles */
.archive-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.2em;
    font-family: 'Avenir', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: auto;
    min-width: 250px;
    backdrop-filter: blur(5px);
}

.archive-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.archive-toggle-btn .arrow {
    margin-left: 15px;
    font-size: 0.8em;
    transition: transform 0.3s;
}

.archive-toggle-btn .arrow-down {
    transform: rotate(90deg);
}

.archive-pagination {
    display: none;
    /* Hidden by default along with archives */
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#pageInfo {
    font-size: 14px;
    color: #999;
}

/* =========================================
   8. Formulaires et Inputs
   ========================================= */
form,
.text-inputs-container,
.checkboxes-container {
    display: flex;
    flex-direction: column;
    margin: 20px;
    padding: 10px;
}

label {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #ffffff;
}

select,
input[type="text"],
input[type="checkbox"],
input[type="email"],
button {
    padding: 4px;
    margin-bottom: 10px;
    border: 1px solid #555;
    background-color: #333;
    color: #ffffff;
    border-radius: 5px;
    font-size: 18px;
}

button {
    background-color: #444;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
    padding: 10px 20px;
}

button:hover {
    background-color: #555;
}



/* =========================================
   9. Messages et Feedback
   ========================================= */
.message {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

p {
    font-size: 15px;
    color: #ffffff;
}

.loadingMessage {
    display: none;
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-style: italic;
    font-size: 18px;
}

/* =========================================
   10. Images et Colonnes
   ========================================= */
.image-column {
    flex: 1;
    max-width: 30%;
    margin-left: 20px;
}

.image-column img {
    width: 100%;
    height: auto;
}

.text-column {
    flex: 2;
    max-width: 70%;
    text-align: justify;
    color: #ffffff;
}

.text-column p {
    margin: 0;
}

.text-column strong {
    font-weight: bold;
    color: #ffffff;
}

.text-line-break {
    white-space: pre-line;
}

/* =========================================
   11. Boutons Print et Generate PDF
   ========================================= */
/* Conteneur des boutons */
.buttons-container {
    display: flex;
    gap: 10px;
    /* Ajoute une marge de 10px entre chaque bouton */
    justify-content: flex-end;
    /* Aligne les boutons à droite */
    align-items: center;
    /* Centre verticalement les boutons */
    position: absolute;
    /* Pour permettre un placement en bas de la div */
    right: 10px;
    /* Aligne les boutons au bord droit */
    bottom: -40px;
    /* Place les boutons au bas de la div */
}

/* Styles partagés pour les boutons ShareButton */
.ShareButton {
    background: none;
    border: none;
    cursor: pointer;
    width: 20px;
    /* Largeur de l'icône */
    height: 20px;
    /* Hauteur de l'icône */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centrer l'icône à l'intérieur du bouton */
    padding: 0;
    /* Supprime les marges internes */
}

/* Icônes des boutons ShareButton */
.ShareButton i {
    font-size: 20px;
    /* Taille de l'icône */
    color: #999999;
    /* Couleur grise pour l'icône */
    transition: color 0.2s ease-in-out;
    /* Animation pour un changement de couleur fluide */
}

/* Au survol, on fonce légèrement le gris */
.ShareButton:hover i {
    color: #666666;
    /* Couleur grise légèrement plus foncée */
}

/* Suppression du background au survol */
.ShareButton:hover {
    background: none;
}

/* =========================================
   12. Styles des Spinners et Loaders
   ========================================= */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    z-index: 9999;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 5px solid #555;
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

/* =========================================
   13. Overlays
   ========================================= */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}


/* =========================================
   15. Importation de la Police Avenir
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Avenir:wght@400;700&display=swap');

/* Appliquer la police Avenir à tous les éléments de la section */
.newartwork-container,
.newartwork-container * {
    font-family: 'Avenir', sans-serif;
    color: #ffffff;
}

/* =========================================
   16. Autres Styles
   ========================================= */
/* Espacement après chaque paragraphe */
.popup-content p {
    margin-bottom: 15px;
}

/* Styles pour les flèches des titres */
.arrow {
    margin-left: 10px;
    transition: transform 0.3s;
    color: #ffffff;
}

.arrow-down {
    transform: rotate(90deg);
}


/* =========================================
   17. Containers de Réglages
   ========================================= */
.settings-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #1e1e1e;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.settings-columns {
    display: flex;
    justify-content: space-between;
}

.settings-column {
    flex: 1;
    margin: 0 10px;
}


/* =========================================
   17. PopUP MAIL
   ========================================= */
/* Style de la boîte de dialogue */
#emailPopup {
    display: none;
    /* Assurez-vous que le popup est masqué au chargement */
}

.email-popup {
    /* Changed from fixed popup to inline div style */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #ffffff;
    border-radius: 25px;
    border: none;
    /* Removed border as it is inside container */
    box-shadow: none;
    z-index: 10;
    padding: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    text-align: center;
    font-family: 'Avenir', sans-serif;
    margin-top: 50px;
    display: none;
    /* Managed by JS */
}

.email-popup-content {
    margin: 0 auto;
    text-align: center;
}

.email-popup-content h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    /* Augmentation de la taille du titre */
    color: #ffffff;
    font-weight: 500;
}

.email-popup-content input {
    width: calc(100% - 20px);
    padding: 12px;
    /* Augmentation du padding */
    margin: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Bordure plus visible */
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.9);
    /* Fond plus opaque */
    color: #ffffff;
    font-size: 1.1em;
    /* Augmentation de la taille de la police */
    outline: none;
}

.email-popup-content button {
    padding: 12px 20px;
    margin: 12px 4px;
    border-radius: 8px;
    background: rgba(68, 68, 68, 0.95);
    /* Fond plus opaque */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.1em;
    /* Augmentation de la taille de la police */
    transition: all 0.3s ease;
}

.email-popup-content button:hover {
    background: rgba(85, 85, 85, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
}

.email-popup .close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 1.3em;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    /* Plus visible */
    transition: color 0.3s;
}

.email-popup .close-btn:hover {
    color: #ffffff;
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -10;
    object-fit: cover;
    filter: brightness(35%);
    /* Pour ajuster la luminosité de la vidéo si nécessaire */
}

/* CSS pour placer le texte en arrière-plan */
#links-container {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    font-size: 18px;
    z-index: 2;
    background-color: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}



/* CSS pour le bouton flèche, toujours au-dessus de la vidéo */
#scrollToTopButton {
    display: none;
    position: fixed;
    top: 5%;
    right: 20px;
    font-size: 24px;
    padding: 10px;
    z-index: 1;
    /* Au-dessus de la vidéo */
}



/* =========================================
   14.login bouton
   ========================================= */


/* ==============================
   SECTION 2: Header & Boutons
============================== */
.bnoid-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

.bnoid-header__left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bnoid-header__center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bnoid-header__right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

/* Masquer la version plus tôt pour éviter les chevauchements */
@media (max-width: 1200px) {
    .version-display {
        opacity: 0;
        pointer-events: none;
        width: 0;
        height: 0;
        overflow: hidden;
    }
}

/* Ajustement des liens du header */
.bnoid-header__link span {
    display: inline-block;
}

@media (max-width: 1000px) {
    .bnoid-header__link span {
        display: none;
    }

    .bnoid-header__link i {
        font-size: 1.2em;
        margin: 0;
    }
}

.bnoid-header__account {
    background: none;
    border: none;
    padding: 8px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bnoid-header__account:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bnoid-header__account i {
    font-size: 18px;
}

.bnoid-header__link {
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bnoid-header__link:not(:last-child) {
    margin-right: 0;
}

.bnoid-header__link i {
    font-size: 16px;
}

.bnoid-header__link span {
    font-size: 13px;
}

.version-display {
    color: #686868;
    font-size: 0.79em;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
}

/* Masquer la version sur mobile et ajuster le header */
@media (max-width: 768px) {
    .version-display {
        display: none;
    }

    .bnoid-header__center {
        flex: 0;
        min-width: 0;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .version-display {
        display: none;
    }

    .bnoid-header__center {
        display: none;
    }
}

/* Styles spécifiques pour le bouton Soutenir B-noïd */
.bnoid-header__donate {
    background: transparent !important;
    border: 2px solid #00ffff;
    border-radius: 20px;
    padding: 8px 16px;
    color: #00ffff !important;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff;
    animation: neon-flicker 2s infinite alternate;
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bnoid-header__left {
        gap: 10px;
    }

    .bnoid-header__account {
        padding: 6px;
    }

    .bnoid-header__donate {
        padding: 6px 12px;
        font-size: 12px;
        margin-left: 3px;
    }
}

@media (max-width: 480px) {
    .bnoid-header__left {
        gap: 8px;
    }

    .bnoid-header__account {
        padding: 4px;
    }

    .bnoid-header__donate {
        padding: 4px 10px;
        font-size: 11px;
        margin-left: 2px;
    }
}

.bnoid-header__donate:hover {
    border-color: #00ffff;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.bnoid-header__donate i {
    color: #00ffff !important;
    font-size: 16px;
}

.bnoid-header__donate span {
    color: #00ffff !important;
    font-size: 13px;
}

.bnoid-header__donate.elegant {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.bnoid-header__donate.elegant:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.bnoid-header__donate.neon {
    background: transparent !important;
    border: 2px solid #00ffff;
    color: #00ffff !important;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff;
    animation: neon-flicker 2s infinite alternate;
}

.bnoid-header__donate.neon i,
.bnoid-header__donate.neon span {
    color: #00ffff !important;
}

@keyframes neon-flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.bnoid-header__donate.minimal {
    background: transparent !important;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding-bottom: 5px;
    box-shadow: none;
}

.bnoid-header__donate.minimal:hover {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    transform: none;
    box-shadow: none;
}

.bnoid-header__donate.glitch {
    background: #000 !important;
    color: #ff00ff !important;
    text-shadow: 1px 1px 0 #ff00ff, -1px -1px 0 #00ffff;
    animation: glitch 1s infinite;
    border: 1px solid #ff00ff;
}

.bnoid-header__donate.glitch i,
.bnoid-header__donate.glitch span {
    color: #ff00ff !important;
}

@keyframes glitch {
    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.bnoid-header__donate.cristal {
    background: linear-gradient(135deg, #ff6b6b, #ffcc00);
    background-size: 200% 200%;
    animation: cristal-animation 3s ease infinite;
}

@keyframes cristal-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Nouveaux styles pour le bouton */
.bnoid-header__donate.vintage {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    border: 2px solid #b8860b;
    color: #8b4513 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.bnoid-header__donate.vintage i,
.bnoid-header__donate.vintage span {
    color: #8b4513 !important;
}

.bnoid-header__donate.vintage:hover {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bnoid-header__donate.hologram {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    background-size: 300% 300%;
    animation: hologram-shift 2s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.bnoid-header__donate.hologram::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: hologram-scan 3s linear infinite;
}

@keyframes hologram-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes hologram-scan {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.bnoid-header__donate.plasma {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    animation: plasma-flow 4s ease infinite;
    border: none;
    position: relative;
}

@keyframes plasma-flow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bnoid-header__donate.matrix {
    background: #000 !important;
    color: #00ff00 !important;
    border: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff00;
    animation: matrix-flicker 0.1s infinite;
}

.bnoid-header__donate.matrix i,
.bnoid-header__donate.matrix span {
    color: #00ff00 !important;
}

@keyframes matrix-flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.bnoid-header__donate.rainbow {
    background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    animation: rainbow-shift 3s linear infinite;
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.bnoid-header__donate.rainbow i,
.bnoid-header__donate.rainbow span {
    color: #fff !important;
}

@keyframes rainbow-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bnoid-header__donate.pulse {
    background: radial-gradient(circle, #ff6b6b, #ff5252);
    border: none;
    animation: pulse-heartbeat 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
}

.bnoid-header__donate.pulse i,
.bnoid-header__donate.pulse span {
    color: #fff !important;
}

@keyframes pulse-heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}



.bnoid-header__donate i {
    color: #fff;
    margin-right: 6px;
}

.bnoid-header__donate span {
    color: #fff;
    font-size: 13px;
}

/* Hover states */
.bnoid-header__account:hover,
.bnoid-header__link:hover {
    color: #fff;
}

/* Reset any potential Bootstrap styles */
.bnoid-header button,
.bnoid-header a {
    outline: none !important;
    box-shadow: none !important;
}

/* ==============================
   SECTION 3: Lightbox & Popups (Classes spécifiques Account)
============================== */
.account-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.account-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 15px;
    z-index: 1001;
    width: 700px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    max-width: 90%;
}

.account-popup-content {
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.account-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.account-close-btn:hover {
    color: #fff;
}

/* ==============================
   SECTION 4: Formulaires de Connexion et Crédits (Classes spécifiques Account)
============================== */
#loginForm,
#registerForm,
#verifyEmailForm,
#addCreditsForm {
    display: flex;
    flex-direction: column;
}

#loginForm input,
#verifyEmailForm,
#registerForm input,
#addCreditsForm input {
    width: 100%;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(30, 30, 30, 0.6);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

#loginForm input:focus,
#verifyEmailForm input:focus,
#registerForm input:focus,
#addCreditsForm input:focus {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(30, 30, 30, 0.8);
    outline: none;
}

#loginForm button,
#verifyEmailForm button,
#registerForm button,
#addCreditsForm button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

#loginForm button:hover,
#verifyEmailForm button:hover,
#registerForm button:hover,
#addCreditsForm button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}


#logoutButton {
    margin-right: 10px;
    /* Espace entre les deux boutons */
}

#addCreditsButton {
    margin-left: 10px;
    /* Espace après le bouton "Ajouter des crédits" */
}

.popup-button {
    margin-top: 20px;
    /* Espace entre les crédits et les boutons */
}

#card-element {
    width: 100%;
    /* La largeur occupe tout l'espace disponible */
    padding: 15px;
    /* Padding pour agrandir l'intérieur du champ */
    border: 1px solid #ccc;
    /* Ajoute une bordure pour mieux délimiter le champ */
    border-radius: 5px;
    /* Pour arrondir légèrement les bords */
    font-size: 16px;
    /* Augmente la taille du texte à l'intérieur du champ */
    box-sizing: border-box;
    /* Assure que le padding et la largeur ne dépassent pas 100% */
    margin-bottom: 20px;
    /* Ajoute plus d'espace sous le champ de la carte */
}


.card-input {
    margin-top: 20px;
    /* Ajoute un peu d'espace au-dessus du champ de carte */
}


/* ==============================
   SECTION 5: Crédit Container (Classes spécifiques Account)
============================== */
#creditContainer {
    color: #444444;
    /* Gris foncé */
    margin-left: 10px;
    display: flex;
    align-items: center;
}

#userCreditsHeader {
    font-size: 18px;
    margin-left: 5px;
}

/* ==============================
   SECTION 6: Messages et Erreurs (Classes spécifiques Account)
============================== */
.account-error-message {
    color: #ff6b6b;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    display: none;
}


.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Assure que la div est centrée verticalement */
}

.email-content {
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrer le contenu horizontalement */
}

.centered-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #c0c0c0;
}

#server-popup-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* Lightbox en elle-même */
#server-popup {
    background: #1e1e1e;
    /* Fond sombre */
    color: #ffffff;
    /* Texte blanc */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: 1.2em;
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}


#loginForm input,
#verifyEmailForm,
#registerForm input,
#addCreditsForm input {
    color: white;
    margin-bottom: 10px;
    padding: 8px;
    border: none;
    border-radius: 5px;
    background-color: #2c2c2c;
}

#donateButton {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

#donateButton:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* =========================================
   14. Styles Responsifs
   ========================================= */
/* =========================================
   RESPONSIVE DESIGN - Mobile First Approach
   ========================================= */

/* Grands écrans - Desktop (1200px et plus) */
@media (min-width: 1200px) {
    .archive-container {
        width: 85%;
        max-width: 1200px;
        margin: 20px auto;
        padding: 30px;
    }

    .archive-containerTitre {
        width: 85%;
        max-width: 1200px;
        margin: 20px auto;
        padding: 20px 30px;
    }

    .main-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .container {
        max-width: 800px;
    }

    .newartwork-container {
        max-width: 900px;
        margin: 40px auto;
    }
}

/* Tablettes et petits écrans (800px et moins) */
@media (max-width: 800px) {

    /* Réduction générale des tailles de texte */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
        line-height: 1.5;
    }

    .main-container {
        width: 95%;
        max-width: 95%;
        padding: 10px;
        margin: 10px auto;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin: 10px auto;
        background-color: rgba(18, 18, 18, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #ffffff;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .newartwork-container {
        width: 95%;
        max-width: 95%;
        padding: 15px;
        margin: 10px auto;
        background-color: rgba(18, 18, 18, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Archives container - presque 100% de largeur */
    .archive-container {
        width: 99%;
        max-width: 99%;
        margin: 2px auto;
        padding: 10px;
        background-color: rgba(18, 18, 18, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .archive-containerTitre {
        width: 99%;
        max-width: 99%;
        margin: 2px auto;
        padding: 8px 10px;
        font-size: 18px;
    }

    /* Styles des inputs et boutons */
    input[type="text"],
    button {
        font-size: 13px;
        padding: 10px 14px;
        box-sizing: border-box;
        background-color: rgba(51, 51, 51, 0.8);
        color: #ffffff;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #userPrompt {
        width: 60%;
        max-width: 400px;
        text-align: center;
        font-size: 13px;
        box-sizing: border-box;
    }

    #authorName {
        width: 100%;
        max-width: 300px;
        text-align: center;
        font-size: 13px;
    }

    button {
        font-size: 14px;
        padding: 12px 20px;
    }

    #scrollToTopButton {
        display: none;
        position: fixed;
        top: 5%;
        right: 15px;
        font-size: 20px;
        padding: 8px;
        z-index: 1;
    }

    /* Responsive pour le header */
    .bnoid-header {
        padding: 10px 15px;
    }

    .bnoid-header__right {
        gap: 18px;
    }

    .bnoid-header__link:not(:last-child) {
        margin-right: 0;
    }

    .bnoid-header__donate {
        padding: 6px 12px;
        border-radius: 15px;
    }

    .bnoid-header__donate span {
        font-size: 12px;
    }

    .version-display {
        font-size: 1.5em;
    }

    .newartwork-container #result img {
        max-width: 100%;
        height: auto;
    }

    .newartwork-container #resultTitle {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /* Styles des entrées d'archives */
    .entry {
        flex-direction: column;
        padding: 8px;
        margin: 5px 0;
    }

    .image-column {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
    }

    .image-column img {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .text-column {
        max-width: 100%;
        color: #ffffff;
    }

    .text-column h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .text-column h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .text-column p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    #links-container {
        background-color: rgba(18, 18, 18, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        text-align: center;
        padding: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 14px;
    }

    #donateButton {
        font-size: 14px;
        padding: 6px 12px;
        margin-bottom: 6px;
    }

    /* Popup responsive */
    .popup-content {
        width: 95%;
        height: 90%;
        max-width: 95%;
        max-height: 90%;
        padding: 20px;
        font-size: 14px;
    }

    .popup-content p {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

/* Écrans moyens - Tablettes en mode paysage (1000px et moins) */
@media (max-width: 1000px) {

    /* Réduction modérée des tailles de texte */
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .main-container {
        width: 90%;
        padding: 15px;
    }

    .container {
        padding: 20px;
        margin: 15px auto;
    }

    .newartwork-container {
        width: 90%;
        padding: 20px;
        margin: 15px auto;
    }

    /* Archives container plus large */
    .archive-container {
        width: 97%;
        margin: 8px auto;
        padding: 15px;
        background-color: rgba(18, 18, 18, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .archive-containerTitre {
        width: 97%;
        margin: 8px auto;
        padding: 12px 15px;
        font-size: 20px;
    }

    .entry {
        flex-direction: column;
        padding: 20px;
    }

    .image-column {
        max-width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .image-column img {
        border-radius: 20px;
    }

    .text-column {
        max-width: 100%;
        color: #ffffff;
    }

    .text-column h2 {
        font-size: 20px;
    }

    .text-column h3 {
        font-size: 18px;
    }

    .text-column p {
        font-size: 15px;
        line-height: 1.6;
    }

    .newartwork-container #result img {
        max-width: 100%;
        height: auto;
    }

    .newartwork-container #resultTitle {
        font-size: 22px;
    }

    #links-container {
        background-color: rgba(18, 18, 18, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        text-align: center;
        padding: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 16px;
    }

    #donateButton {
        font-size: 15px;
        padding: 7px 14px;
        margin-bottom: 7px;
    }

    /* Inputs et boutons */
    input[type="text"],
    button {
        font-size: 14px;
        padding: 12px 16px;
    }

    #userPrompt {
        width: 70%;
        max-width: 500px;
        font-size: 14px;
    }

    /* Responsive pour le header sur écrans moyens */
    .bnoid-header {
        padding: 12px 20px;
    }

    .bnoid-header__right {
        gap: 20px;
    }

    .bnoid-header__link:not(:last-child) {
        margin-right: 0;
    }

    .bnoid-header__donate {
        padding: 7px 14px;
        border-radius: 18px;
    }

    .bnoid-header__donate span {
        font-size: 12px;
    }

    .version-display {
        font-size: 1.8em;
    }
}


/* Très petits écrans - Smartphones en mode portrait (683px et moins) */
@media (max-width: 683px) {

    /* Réduction maximale des tailles de texte */
    body {
        font-size: 13px;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }

    p {
        font-size: 13px;
        line-height: 1.4;
    }

    .main-container {
        width: 98%;
        padding: 5px;
        margin: 5px auto;
    }

    .container {
        padding: 12px;
        margin: 5px auto;
        border-radius: 15px;
    }

    .newartwork-container {
        width: 98%;
        padding: 12px;
        margin: 5px auto;
        border-radius: 15px;
    }

    /* Archives container - largeur maximale */
    .archive-container {
        width: 99.5%;
        margin: 1px auto;
        padding: 8px;
        border-radius: 12px;
    }

    .archive-containerTitre {
        width: 99.5%;
        margin: 1px auto;
        padding: 6px 8px;
        font-size: 16px;
    }

    .entry {
        padding: 6px;
        margin: 3px 0;
    }

    .text-column h2 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .text-column h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .text-column p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .newartwork-container #resultTitle {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* Inputs et boutons très compacts */
    input[type="text"],
    button {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 12px;
    }

    #userPrompt {
        width: 90%;
        max-width: 350px;
        font-size: 12px;
    }

    #authorName {
        width: 90%;
        max-width: 280px;
        font-size: 12px;
    }

    button {
        font-size: 13px;
        padding: 10px 16px;
    }

    /* Responsive pour le header sur très petits écrans */
    .bnoid-header {
        padding: 8px 10px;
    }

    .bnoid-header__right {
        gap: 12px;
    }

    .bnoid-header__link:not(:last-child) {
        margin-right: 0;
    }

    .bnoid-header__donate {
        padding: 4px 8px;
        border-radius: 12px;
    }

    .bnoid-header__donate span {
        font-size: 10px;
    }

    .bnoid-header__link span {
        font-size: 10px;
    }

    .bnoid-header__link i {
        font-size: 12px;
    }

    .version-display {
        font-size: 1em;
    }

    .popup-content {
        width: 98%;
        height: 95%;
        padding: 15px;
        font-size: 13px;
        border-radius: 20px;
    }

    .popup-content p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    #donateButton {
        font-size: 13px;
        padding: 5px 10px;
        margin-bottom: 5px;
        border-radius: 15px;
    }
}




/* version bnoid */


.version-container {
    background-color: #1e1e1e00;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 300px;
    width: 100%;
}

.version-container h1 {
    font-size: 1.5em;
    color: #BB86FC;
    margin: 0 0 10px;
}

.version-container p {
    font-size: 1em;
    color: #E0E0E0;
    margin: 0;
}

.build-info {
    font-weight: bold;
    color: #03DAC5;
}



#settingsLink {
    position: absolute;
    top: 10px;
    right: 10px;
}



#emailpopupcontent {
    display: none;
    /* Pour masquer initialement */
}



/* Popup email avec style sombre */
.email-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(18, 18, 18, 0.85);
    /* Augmentation de l'opacité */
    backdrop-filter: blur(12px);
    /* Augmentation du flou */
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Bordure plus visible */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    padding: 25px;
    width: 50%;
    min-width: 300px;
    max-width: 600px;
    text-align: center;
    font-family: 'Avenir', sans-serif;
}

.email-popup-content {
    margin: 0 auto;
    text-align: center;
}

.email-popup-content h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    /* Augmentation de la taille du titre */
    color: #ffffff;
    font-weight: 500;
}

.email-popup-content input {
    width: calc(100% - 20px);
    padding: 12px;
    /* Augmentation du padding */
    margin: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Bordure plus visible */
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.9);
    /* Fond plus opaque */
    color: #ffffff;
    font-size: 1.1em;
    /* Augmentation de la taille de la police */
    outline: none;
}

.email-popup-content button {
    padding: 12px 20px;
    margin: 12px 4px;
    border-radius: 8px;
    background: rgba(68, 68, 68, 0.95);
    /* Fond plus opaque */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.1em;
    /* Augmentation de la taille de la police */
    transition: all 0.3s ease;
}

.email-popup-content button:hover {
    background: rgba(85, 85, 85, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
}

.email-popup .close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 1.3em;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    /* Plus visible */
    transition: color 0.3s;
}

.email-popup .close-btn:hover {
    color: #ffffff;
}

#nftGalleryLink a {
    transition: color 0.3s ease;
}

#nftGalleryLink a:hover {
    color: #0066cc !important;
}

#nftGalleryLink i {
    transition: transform 0.3s ease;
}

#nftGalleryLink:hover i {
    transform: rotate(20deg);
}

/* Styles pour la page d'archives complètes */
.full-archives {
    margin-top: 80px;
    padding: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.artwork-wrapper {
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.artwork-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.entry {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.image-column {
    flex: 0 0 400px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.image-column img:hover {
    transform: scale(1.05);
}

.text-column {
    flex: 1;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.text-column h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.text-column h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #cccccc;
    font-weight: 500;
}

.text-column p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.archive-number {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.4;
}

.text-line-break {
    white-space: pre-line;
}

/* Style du bouton de retour */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.back-button i {
    font-size: 16px;
}

/* Style pour le lien "Voir toutes les archives" */
.archives-link {
    text-align: center;
    margin: 20px 0;
}

.view-all-archives {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
}

.view-all-archives:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.view-all-archives i {
    font-size: 18px;
}

/* Responsive design pour les archives */
@media (max-width: 1024px) {
    .entry {
        flex-direction: column;
    }

    .image-column {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .full-archives {
        padding: 5px;
        width: 99%;
        margin: 0 auto;
    }

    .artwork-wrapper {
        padding: 10px;
        margin: 5px auto;
        background-color: rgba(18, 18, 18, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }

    .artwork-wrapper:hover {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    }

    .text-column h2 {
        font-size: 18px;
        color: #ffffff;
        margin-bottom: 10px;
    }

    .text-column h3 {
        font-size: 16px;
        color: #cccccc;
        margin-bottom: 8px;
    }

    .text-column p {
        font-size: 14px;
        color: #ffffff;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .archive-number {
        font-size: 12px;
        color: #888888;
        font-style: italic;
        margin-bottom: 8px;
    }

    .image-column img {
        border-radius: 15px;
        transition: all 0.3s ease;
    }

    .image-column img:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

/* Modification du hover pour exclure archive-container */
.container:hover,
.popup-content:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Effet hover pour archive-container */
.archive-container:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.newartwork-container:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bnoid-header:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Styles pour les contrôles audio */
.audio-controls-container {
    margin: 15px 0;
    padding: 15px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.audio-btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loading-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    font-size: 14px;
}

.loading-indicator i {
    color: #cccccc;
}

.audio-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.audio-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 80px;
    justify-content: center;
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.audio-btn i {
    font-size: 12px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 5px;
}

.volume-control label {
    color: #cccccc;
    font-size: 14px;
    min-width: 60px;
}

.volume-control i {
    color: #cccccc;
    font-size: 14px;
}

.volume-slider {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.volume-slider:hover {
    background: rgba(255, 255, 255, 0.3);
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #f0f0f0;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pause-btn {
    background: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.4);
}

/* Style pour le lien du manifeste */
.manifesto-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.manifesto-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .manifesto-link {
        font-size: 0.8em;
        margin-top: 5px;
        padding: 3px 8px;
    }
}

/* Style pour le conteneur du manifeste */
.manifesto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Style pour les liens du manifeste */
.manifesto-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.manifesto-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.critique-intro {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.critique-intro i {
    font-size: 12px;
    opacity: 0.8;
}

.critique-intro:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .manifesto-container {
        width: 100%;
        padding: 0 10px;
    }

    .manifesto-link,
    .critique-intro {
        width: 100%;
        justify-content: center;
    }
}

.manifesto-section {
    padding: 15px 0%;
    margin-top: 80px;
    width: 100%;
}

.manifesto-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    width: fit-content;
}

.critique-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    line-height: 32px;
}

.separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0 3px;
    line-height: 32px;
}

.manifesto-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 20px;
}

.manifesto-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .manifesto-container {
        flex-wrap: wrap;
        gap: 3px;
    }

    .manifesto-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.account-popup h2 {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 20px;
    text-align: center;
}

.account-popup form {
    margin-bottom: 25px;
}

.account-popup input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.account-popup input:focus {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(30, 30, 30, 0.8);
    outline: none;
}

.account-popup button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-popup button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.account-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-close-btn:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

/* Styles alternatifs pour le bouton Créer */

/* Style Indicator */
.style-name-indicator {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* Style du bouton Créer */
.create-button-container {
    position: relative;
    display: inline-block;
    margin: 30px 0;
}

.create-button-base {
    font-size: 18px;
    padding: 15px 30px;
    cursor: pointer;
    color: white;
    border: none;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Style Pulse optimisé */
.create-button-pulse {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.12);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
        background: rgba(255, 255, 255, 0.15);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        background: rgba(255, 255, 255, 0.12);
    }
}

.create-button-pulse:hover {
    animation: pulse-hover 1s infinite;
}

@keyframes pulse-hover {
    0% {
        transform: scale(1.02);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.15);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
        background: rgba(255, 255, 255, 0.18);
    }

    100% {
        transform: scale(1.02);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Style Ripple */
.create-button-ripple {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.create-button-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.create-button-ripple:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Style Neon */
.create-button-neon {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2),
        inset 0 0 5px rgba(255, 255, 255, 0.2);
    animation: neon 1.5s ease-in-out infinite alternate;
}

@keyframes neon {
    from {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2),
            inset 0 0 5px rgba(255, 255, 255, 0.2);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.4);
    }
}

/* Style Magnetic */
.create-button-magnetic {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    border-radius: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.create-button-magnetic:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

/* Style Liquid */
.create-button-liquid {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.create-button-liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.create-button-liquid:hover::before {
    transform: translateX(100%);
}

/* Style Morph */
.create-button-morph {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.create-button-morph:hover {
    border-radius: 30px;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

/* Style Glitch */
.create-button-glitch {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.create-button-glitch:hover {
    animation: glitch 0.3s linear infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Style Bounce */
.create-button-bounce {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transform-origin: center bottom;
}

.create-button-bounce:hover {
    animation: bounce 0.5s cubic-bezier(0.36, 0, 0.66, -0.56) 3;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Styles pour les champs de saisie */

/* Conteneur pour les champs et leurs indicateurs */
.input-field-container {
    position: relative;
    display: inline-block;
    margin: 15px 0;
    width: 100%;
}

/* Indicateurs de style supprimés - style Glow permanent */

/* Styles de base partagés pour les inputs */
.input-field-base {
    font-size: 14px;
    padding: 12px 16px;
    color: white;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Ajustements pour le style Glow spécifiquement */
.input-field-base.input-field-glow {
    font-size: 13px;
    padding: 10px 14px;
    text-align: center;
}

.input-field-base::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Style Glow Input */
.input-field-glow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
}

.input-field-glow:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Style spécifique pour le champ prompt (plus étroit) */
#userPrompt.input-field-glow {
    width: 60%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Style Pulse Input */
.input-field-pulse {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: input-pulse 3s infinite;
}

@keyframes input-pulse {
    0% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.input-field-pulse:focus {
    animation: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

/* Style Minimal Input */
.input-field-minimal {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    padding: 12px 4px;
}

.input-field-minimal:focus {
    border-bottom-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.02);
}

/* Style Neon Input */
.input-field-neon {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    animation: input-neon 2s ease-in-out infinite alternate;
}

@keyframes input-neon {
    from {
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }

    to {
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

.input-field-neon:focus {
    animation: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Style Liquid Input */
.input-field-liquid {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.input-field-liquid::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;
    pointer-events: none;
}

.input-field-liquid:focus::before {
    left: 100%;
}

.input-field-liquid:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

/* Style Morph Input */
.input-field-morph {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.input-field-morph:focus {
    border-radius: 20px;
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Style Glitch Input */
.input-field-glitch {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.input-field-glitch:focus {
    animation: input-glitch 0.3s linear 3;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes input-glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-1px, 1px);
    }

    40% {
        transform: translate(-1px, -1px);
    }

    60% {
        transform: translate(1px, 1px);
    }

    80% {
        transform: translate(1px, -1px);
    }

    100% {
        transform: translate(0);
    }
}

/* Style Gradient Input */
.input-field-gradient {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.input-field-gradient:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* =========================================
   STYLES POUR LES ARCHIVES - TITRE
   ========================================= */

/* Style Minimal pour les archives */
.archive-containerTitre h2 {
    font-size: 20px;
    /* Réduit pour être plus petit que "Le Grand B-Noïd" */
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.archive-containerTitre h2:hover {
    letter-spacing: 4px;
}

/* =========================================
   STYLES POUR LES SPINNERS
   ========================================= */

/* Style Pulsation pour les spinners */
.loader {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-beat 1.5s ease-in-out infinite;
}

@keyframes pulse-beat {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* =========================================
   RESPONSIVE POUR LES POPUPS
   ========================================= */

/* Responsive pour le popup d'inscription */
@media (max-width: 800px) {
    .account-popup {
        width: 95%;
        max-width: 95%;
        padding: 20px;
        margin: 10px;
    }

    .account-popup-content {
        max-height: 85vh;
    }

    #loginForm input,
    #verifyEmailForm input,
    #registerForm input,
    #addCreditsForm input {
        font-size: 16px;
        padding: 15px;
        margin-bottom: 12px;
    }

    #loginForm button,
    #verifyEmailForm button,
    #registerForm button,
    #addCreditsForm button {
        font-size: 16px;
        padding: 15px;
        margin-top: 8px;
    }

    .account-close-btn {
        font-size: 28px;
        top: 8px;
        right: 12px;
    }

    #card-element {
        padding: 18px;
        font-size: 16px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .account-popup {
        width: 98%;
        max-width: 98%;
        padding: 15px;
        margin: 5px;
        border-radius: 10px;
    }

    .account-popup-content {
        max-height: 90vh;
    }

    #loginForm input,
    #verifyEmailForm input,
    #registerForm input,
    #addCreditsForm input {
        font-size: 16px;
        padding: 12px;
        margin-bottom: 10px;
    }

    #loginForm button,
    #verifyEmailForm button,
    #registerForm button,
    #addCreditsForm button {
        font-size: 16px;
        padding: 12px;
        margin-top: 5px;
    }
}

/* Responsive pour la div emailcontent */
@media (max-width: 800px) {
    .newartwork-container #emailcontent {
        margin: 2%;
        padding: 15px;
    }

    .newartwork-container #emailcontent h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .newartwork-container #emailcontent p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .newartwork-container #emailcontent input[type="email"] {
        font-size: 16px;
        padding: 12px;
        margin-bottom: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .newartwork-container #emailcontent button {
        font-size: 16px;
        padding: 12px 20px;
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .newartwork-container #emailcontent {
        margin: 1%;
        padding: 10px;
    }

    .newartwork-container #emailcontent h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }

    .newartwork-container #emailcontent p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .newartwork-container #emailcontent input[type="email"] {
        font-size: 16px;
        padding: 10px;
        margin-bottom: 12px;
    }

    .newartwork-container #emailcontent button {
        font-size: 16px;
        padding: 10px 15px;
        margin-top: 8px;
    }
}

/* =========================================
   PANNEAUX À ONGLETS POUR LES ŒUVRES
   ========================================= */
.artwork-tabs-container {
    margin: 20px 0;
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: none;
    /* Masqué par défaut */
}

.artwork-tabs-container.visible {
    display: block;
    /* Affiché quand la classe 'visible' est ajoutée */
}

.artwork-tabs-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.artwork-tab-button {
    background: none;
    border: none;
    color: #b0b0b0;
    padding: 6px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    font-family: 'Avenir', sans-serif;
}

.artwork-tab-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.artwork-tab-button.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #ffffff;
}

.artwork-tab-content {
    padding: 25px;
    display: none;
    font-family: 'Avenir', sans-serif;
}

.artwork-tab-content.active {
    display: block;
}

.artwork-tab-content h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Responsive pour les onglets */
@media (max-width: 768px) {
    .artwork-tab-button {
        padding: 4px 15px;
        font-size: 13px;
    }

    .artwork-tab-content {
        padding: 20px 15px;
    }

    .artwork-tab-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .artwork-tab-button {
        padding: 3px 12px;
        font-size: 12px;
    }

    .artwork-tab-content {
        padding: 15px 10px;
    }
}

/* Amélioration générale du responsive pour les containers */
@media (max-width: 800px) {
    .newartwork-container {
        padding: 15px;
        margin: 10px auto;
        width: 95%;
    }
}

/* Discreet Result Notification */
.result-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(30, 30, 30, 0.95);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px 35px 15px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 20000;
    font-family: 'Avenir', sans-serif;
    color: #eee;
    font-size: 14px;
    min-width: 250px;
    max-width: 350px;
    animation: slideIn 0.3s ease-out;
    backdrop-filter: blur(5px);
}

.result-notification .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.result-notification .close-btn:hover {
    color: #fff;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

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