/*
Theme Name: JAMVERSE
Author: Bo Bondekwe
Version: 1.0.0
Text Domain: project-end-of-year
License: GNU General Public License v2 or later

*/

/* Reset et styles de base */
•⁠  ⁠{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: #4E1610;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Fond étoilé - Image PNG */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(Images/PRÉSENTATION\ JAMVERSE.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    pointer-events: none;
}

/* Header */
.header {
    background-color: #FAE1AC; /* Jaune spécifié */
    padding: 1rem 2rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 60px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #99481A; /* Couleur spécifiée */
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Tous les éléments du header grossissent au survol */
.nav-link:hover {
    transform: scale(1.15);
}

.profile-icon {
    color: #99481A; /* Couleur spécifiée */
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon:hover {
    transform: scale(1.15);
}

/* Contenu principal */
.main-content {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: calc(100vh - 200px);
}

/* Cadre principal transparent avec couleur F26419 */
.card {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    background-color: rgba(98, 28, 20, 0.5); /* F26419 avec transparence */
    border-radius: 25px;
    padding: 3.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border : 2px solid;
    border-color: rgba(255, 111, 8, 0.2)
}

.card-content {
    position: relative;
    z-index: 3;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.highlight {
    color: #FF6F08; /* Orange spécifié */
}

.card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: white;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
}

/* Boutons */
.buttons-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: #FF6F08; /* Orange spécifié */
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 8, 0.4);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

/* Boutons grossissent au survol */
.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 111, 8, 0.6);
}

/* Boutons grossissent au clic */
.btn:active {
    transform: scale(1.15);
}

/* Footer */
.footer {
    background-color: #FAE1AC; /* Jaune spécifié */
    padding: 3rem 2rem 2rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    color: #99481A; /* Brun spécifié */
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #99481A;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    color: #99481A;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

/* Animation de soulignement au survol pour les liens du footer */
.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #99481A;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 60% ;
}

.footer-right {
    text-align: right;
    align-items: flex-end;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #99481A;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-right {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .card {
        padding: 2.5rem 2rem;
    }

    .card-title {
        font-size: 2.2rem;
    }

    .card-text {
        font-size: 1rem;
    }

    .buttons-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }
    
    .footer-right {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}
/* ============================================
   STYLES POUR LA PAGE DISCOVER
   ============================================ */

/* Contenu principal Discover */
.discover-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

/* Titre Discover */
.discover-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Barre de recherche */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 600px;
    background-color: rgba(128, 128, 128, 0.3); /* Gris transparent */
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(5px);
}

.search-icon {
    color: #99481A;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #99481A;
}

.search-input::placeholder {
    color: rgba(153, 72, 26, 0.6);
}

/* Container des boutons utilisateurs (rectangles arrondis transparents) */
.users-buttons-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

/* Bouton utilisateur (rectangle arrondi transparent) */
.user-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background-color: rgba(98, 28, 20, 0.5); /* Fond transparent */
    padding: 0.5rem 0.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    width: 100%;
    max-width: 350px;
    justify-content: center;
    border : 2px solid;
    border-color: rgba(255, 111, 8, 0.2);
}

/* Bouton grossit au survol */
.user-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Bouton grossit au clic */
.user-button:active {
    transform: scale(1.15);
}

/* Photo de profil circulaire */
.user-profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.user-button:hover .user-profile-img {
    transform: scale(1.1);
}

/* Nom d'utilisateur */
.user-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-align: center;
}

/* Container des cases avec images */
.users-images-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; 
    justify-items: center;
}

/* Case pour l'image */
.image-case {
    width: 100%;
    max-width: 300px;
    background-color: rgba(98, 28, 20, 0.5);
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border : 2px solid;
    border-color: rgba(255, 111, 8, 0.2);
    height: fit-content;
}

.image-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Image principale de l'utilisateur dans la case */
.user-main-image {
    width: 100%;
    height: 25rem;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

/* Responsive pour Discover */
@media (max-width: 1024px) {
    .users-buttons-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .users-images-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .discover-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .discover-content {
        padding: 2rem 1.5rem 3rem;
    }
    
    .discover-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .search-bar {
        max-width: 100%;
        padding: 0.8rem 1.2rem;
    }
    
    .users-buttons-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .users-images-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .user-button {
        max-width: 100%;
    }
    
    .image-case {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .discover-title {
        font-size: 2rem;
    }
    
    .user-profile-img {
        width: 50px;
        height: 50px;
    }
    
    .user-name {
        font-size: 0.95rem;
    }
    
    .user-button {
        padding: 0.8rem 1.2rem;
        gap: 0.8rem;
    } 
}
/* Contenu principal Concours */
.concours-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

/* Titre Concours */
.concours-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Container des boutons */
.concours-buttons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 900px;
}

/* Bouton concours */
.concours-button {
    background-color: rgba(98, 28, 20, 0.5); /* #621C14 avec 50% d'opacité */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 50% opacité */
    border-radius: 25px;
    padding: 3rem 2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.concours-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.concours-button:active {
    transform: scale(1.02);
}

/* Texte du bouton */
.concours-button-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Responsive pour Concours */
@media (max-width: 1024px) {
    .concours-title {
        font-size: 3.5rem;
    }
    
    .concours-buttons-container {
        gap: 2rem;
    }
    
    .concours-button {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .concours-content {
        padding: 2rem 1.5rem 3rem;
        gap: 2rem;
    }
    
    .concours-title {
        font-size: 2.5rem;
    }
    
    .concours-buttons-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .concours-button {
        padding: 2rem 1.5rem;
    }
    
    .concours-button-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .concours-title {
        font-size: 2rem;
    }
    
    .concours-button {
        padding: 1.5rem 1rem;
    }
    
    .concours-button-text {
        font-size: 1.1rem;
    }
}

/* ============================================
   STYLES POUR LA PAGE ÉVÈNEMENTS
   ============================================ */

/* Contenu principal Évènements */
.evenements-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Titre Évènements */
.evenements-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Cadre principal de l'évènement */
.main-event-card {
    background-color: rgba(98, 28, 20, 0.5); /* FF6F08 avec 50% d'opacité */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange 50% opacité */
    border-radius: 25px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Contenu gauche (texte) */
.event-content-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 30%;
}

.event-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    color: white;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.event-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    padding-bottom: 5%;
}

/* Bouton "En savoir plus" */
.event-button {
    display:flex;
    padding: 1rem 2.5rem;
    background-color: #FF6F08; /* Orange */
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    align-self:center;
}

.event-button:hover {
    transform: scale(1.1);
}

/* Contenu droit (image) */
.event-content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper pour l'image de l'évènement */
.event-image-wrapper {
    background-color: #99481A; /* Fond brun */
    padding: 10px; /* Espace pour les bordures visibles */
    border-radius: 20px;
    display: inline-block;
}

.event-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    display: block;
    object-fit: cover;
}

/* Titre "AUTRES ÉVÈNEMENTS" */
.other-events-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
}

/* Liste des autres évènements */
.other-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Rectangle pour chaque évènement */
.event-item {
    background-color: rgba(98, 28, 20, 0.5); /* 621C14 avec 50% d'opacité */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange 50% opacité */
    border-radius: 500px; /* Très arrondi */
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.event-item:hover {
    transform: scale(1.02);
}

/* Wrapper pour l'image de l'évènement dans la liste */
.event-item-image-wrapper {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
}

.event-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Texte de l'évènement */
.event-item-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    flex: 1;
}

/* Responsive pour Évènements */
@media (max-width: 1024px) {
    .evenements-title {
        font-size: 3.5rem;
    }
    
    .main-event-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .event-content-right {
        order: -1; /* Image en haut sur mobile */
    }
    
    .event-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .evenements-content {
        padding: 2rem 1.5rem 3rem;
        gap: 2rem;
    }
    
    .evenements-title {
        font-size: 2.5rem;
    }
    
    .main-event-card {
        padding: 2rem 1.5rem;
    }
    
    .event-title {
        font-size: 2rem;
    }
    
    .event-description {
        font-size: 1rem;
    }
    
    .event-item {
        padding: 1.2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .event-item-image-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .event-item-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .evenements-title {
        font-size: 2rem;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .event-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .other-events-title {
        font-size: 1.2rem;
    }
    
    .event-item {
        padding: 1rem;
        gap: 1rem;
        border-radius: 25px; /* Moins arrondi sur très petit écran */
    }
    
    .event-item-image-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .event-item-text {
        font-size: 0.9rem;
    }
}

/* ============================================
   STYLES POUR LA PAGE PROFIL
   ============================================ */

/* Contenu principal Profil */
.profil-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Cadre profil */
.profil-card {
    background-color: rgba(98, 28, 20, 0.2); /* #621C14 avec 20% d'opacité */
    border-radius: 25px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Container pour la photo de profil avec effet lune */
.profil-header {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Cercle orange derrière la photo (effet lune) */
.profile-circle-background {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #F26419; /* Orange spécifié */
    border-radius: 50%;
    z-index: 1;
    transform: translateX(15px); /* Décalé à droite pour effet lune */
}

/* Photo de profil */
.profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Nom d'utilisateur */
.profile-username {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    color: #F26419; /* Orange spécifié */
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

/* Biographie */
.profile-bio {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Statistiques (Abonnés / Abonnements) */
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 400px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: #F26419; /* Orange spécifié */
    font-weight: 600;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
}

/* Cadre galerie */
.gallery-card {
    background-color: rgba(98, 28, 20, 0.2); /* #621C14 avec 20% d'opacité */
    border-radius: 25px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Container des images de la galerie */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Wrapper pour chaque image (dimensions fixes pour éviter le déplacement) */
.gallery-image-wrapper {
    width: 100%;
    height: 300px; /* Hauteur fixe */
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Image de la galerie */
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit le cadre sans déformation */
    display: block;
    transition: transform 0.3s ease;
}

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

/* Responsive pour Profil */
@media (max-width: 1024px) {
    .profile-username {
        font-size: 2rem;
    }
    
    .profile-stats {
        gap: 3rem;
    }
    
    .gallery-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .profil-content {
        padding: 2rem 1.5rem 3rem;
    }
    
    .profil-card {
        padding: 2rem 1.5rem;
    }
    
    .profile-circle-background,
    .profile-picture {
        width: 150px;
        height: 150px;
    }
    
    .profile-username {
        font-size: 1.8rem;
    }
    
    .profile-bio {
        font-size: 0.9rem;
    }
    
    .profile-stats {
        gap: 2rem;
        flex-direction: column;
    }
    
    .gallery-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-image-wrapper {
        height: 250px;
    }
    
    .gallery-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-circle-background,
    .profile-picture {
        width: 120px;
        height: 120px;
    }
    
    .profile-username {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .gallery-image-wrapper {
        height: 200px;
    }
}
/* ============================================
   STYLES POUR LA PAGE ANCIENS CONCOURS
   ============================================ */

/* Contenu principal Anciens concours */
.anciens-concours-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Titre Anciens concours */
.anciens-concours-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Sous-titre */
.anciens-concours-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: white;
    text-align: left;
    font-weight: 400;
    margin: 0;
    margin-bottom: 1rem;
}

/* Liste des concours */
.concours-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Carte de concours */
.concours-card {
    background-color: rgba(98, 28, 20, 0.5); /* #621C14 avec transparence */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 transparence 50% */
    border-radius: 50px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concours-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Wrapper pour l'image du concours - Dimensions fixes */
.concours-image-wrapper {
    width: 120px;
    height: 120px; /* Dimensions fixes pour éviter le déplacement */
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Image du concours - Dimensions fixes */
.concours-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

/* Nom du concours */
.concours-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    flex: 1;
}

/* Bouton TERMINÉ */
.concours-status-btn {
    background-color: #F08592; /* Rose spécifié */
    border: none;
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(240, 133, 146, 0.3);
}

.concours-status-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(240, 133, 146, 0.5);
}

.concours-status-btn:active {
    transform: scale(1.08);
}

.concours-status-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

/* Responsive pour Anciens concours */
@media (max-width: 1024px) {
    .anciens-concours-title {
        font-size: 3.5rem;
    }
    
    .concours-card {
        gap: 1.5rem;
    }
    
    .concours-image-wrapper {
        width: 100px;
        height: 100px; /* Dimensions fixes maintenues */
    }
}

@media (max-width: 768px) {
    .anciens-concours-content {
        padding: 2rem 1.5rem 3rem;
        gap: 1.5rem;
    }
    
    .anciens-concours-title {
        font-size: 2.5rem;
    }
    
    .anciens-concours-subtitle {
        font-size: 1rem;
    }
    
    .concours-list {
        gap: 1rem;
    }
    
    .concours-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .concours-image-wrapper {
        width: 100%;
        height: 200px; /* Hauteur fixe pour éviter le déplacement */
        align-self: center;
    }
    
    .concours-name {
        font-size: 1.3rem;
        width: 100%;
        text-align: center;
    }
    
    .concours-status-btn {
        align-self: center;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .anciens-concours-title {
        font-size: 2rem;
    }
    
    .concours-card {
        padding: 1rem;
    }
    
    .concours-image-wrapper {
        height: 150px; /* Hauteur fixe pour éviter le déplacement */
    }
    
    .concours-name {
        font-size: 1.1rem;
    }
    
    .concours-status-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}/* ============================================
   STYLES POUR LA PAGE CONCOURS DU MOIS
   ============================================ */

/* Contenu principal Concours du mois */
.concours-mois-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

/* Titre Concours du mois */
.concours-mois-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Carte du concours */
.concours-mois-card {
    background-color: rgba(98, 28, 20, 0.7); /* Fond sombre */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 transparence 50% */
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Wrapper pour l'image - Dimensions fixes */
.concours-mois-image-wrapper {
    width: 150px;
    height: 150px; /* Dimensions fixes pour éviter le déplacement */
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Image du concours */
.concours-mois-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

/* Nom du concours */
.concours-mois-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    color: white;
    font-weight: 600;
    flex: 1;
}

/* Bouton EN COURS */
.concours-status-btn-en-cours {
    background-color: #F08592; /* Rose clair spécifié */
    border: none;
    border-radius: 20px;
    padding: 0.8rem 1.5rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(240, 133, 146, 0.3);
}

.concours-status-btn-en-cours:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(240, 133, 146, 0.5);
}

.concours-status-btn-en-cours:active {
    transform: scale(1.15);
}

.concours-status-btn-en-cours svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

/* Responsive pour Concours du mois */
@media (max-width: 1024px) {
    .concours-mois-title {
        font-size: 3.5rem;
    }
    
    .concours-mois-card {
        gap: 1.5rem;
    }
    
    .concours-mois-image-wrapper {
        width: 120px;
        height: 120px; /* Dimensions fixes maintenues */
    }
}

@media (max-width: 768px) {
    .concours-mois-content {
        padding: 2rem 1.5rem 3rem;
        gap: 2rem;
    }
    
    .concours-mois-title {
        font-size: 2.5rem;
    }
    
    .concours-mois-card {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .concours-mois-image-wrapper {
        width: 200px;
        height: 200px; /* Dimensions fixes maintenues */
    }
    
    .concours-mois-name {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .concours-status-btn-en-cours {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .concours-mois-title {
        font-size: 2rem;
    }
    
    .concours-mois-card {
        padding: 1.2rem;
    }
    
    .concours-mois-image-wrapper {
        width: 150px;
        height: 150px; /* Dimensions fixes maintenues */
    }
    
    .concours-mois-name {
        font-size: 1.3rem;
    }
    
    .concours-status-btn-en-cours {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}
/* ============================================
   STYLES POUR LA PAGE MESSAGERIE
   ============================================ */

/* Contenu principal Messagerie */
.messagerie-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Titre Messagerie */
.messagerie-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Liste des messages */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* Item message */
.message-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

/* Container avatar avec cercle derrière */
.message-avatar-container {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cercle de fond derrière l'avatar */
.avatar-circle-background {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #E27F8B; /* Couleur spécifiée */
    border-radius: 50%;
    filter: blur(10px); /* Effet layer blur */
    opacity: 0.8;
    z-index: 1;
}

/* Avatar circulaire */
.message-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Bouton message */
.message-button {
    flex: 1;
    background-color: rgba(98, 28, 20, 0.5); /* #621C14 avec 50% d'opacité */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 50% opacité */
    border-radius: 500px; /* Très arrondi comme spécifié */
    padding: 1.5rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    min-height: 80px;
}

/* Bouton grossit au survol */
.message-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

/* Bouton grossit au clic */
.message-button:active {
    transform: scale(1.08);
}

/* Texte du message */
.message-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    font-weight: 400;
    line-height: 1.5;
    flex: 1;
}

/* Timestamp dans le coin supérieur droit */
.message-timestamp {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: white;
    font-weight: 400;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    opacity: 0.9;
}

/* Responsive pour Messagerie */
@media (max-width: 1024px) {
    .messagerie-title {
        font-size: 3.5rem;
    }
    
    .message-item {
        gap: 1.5rem;
    }
    
    .message-avatar-container {
        width: 80px;
        height: 80px;
    }
    
    .avatar-circle-background {
        width: 80px;
        height: 80px;
    }
    
    .message-avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .messagerie-content {
        padding: 2rem 1.5rem 3rem;
        gap: 2rem;
    }
    
    .messagerie-title {
        font-size: 2.5rem;
    }
    
    .messages-list {
        gap: 1.5rem;
    }
    
    .message-item {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .message-avatar-container {
        width: 70px;
        height: 70px;
    }
    
    .avatar-circle-background {
        width: 70px;
        height: 70px;
    }
    
    .message-avatar {
        width: 70px;
        height: 70px;
    }
    
    .message-button {
        width: 100%;
        padding: 1.2rem 1.5rem;
    }
    
    .message-text {
        font-size: 0.95rem;
    }
    
    .message-timestamp {
        font-size: 0.8rem;
        top: 0.8rem;
        right: 1.2rem;
    }
}

@media (max-width: 480px) {
    .messagerie-title {
        font-size: 2rem;
    }
    
    .message-avatar-container {
        width: 60px;
        height: 60px;
    }
    
    .avatar-circle-background {
        width: 60px;
        height: 60px;
    }
    
    .message-avatar {
        width: 60px;
        height: 60px;
    }
    
    .message-button {
        padding: 1rem 1.2rem;
        min-height: 70px;
    }
    
    .message-text {
        font-size: 0.9rem;
    }
    
    .message-timestamp {
        font-size: 0.75rem;
        top: 0.7rem;
        right: 1rem;
    }
}
/* ============================================
   STYLES POUR LA PAGE ÉVÈNEMENT 2
   ============================================ */

/* Contenu principal Évènement 2 */
.evenement2-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* Container de l'image */
.event-image-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Image principale de l'évènement */
.event-main-image {
    width: 50%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(255, 111, 8, 0.4); /* Drop shadow orange #FF6F08 transparence 40% */
}

/* Titre de l'évènement */
.event2-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 400; /* Regular */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

/* Sous-titre Informations */
.event2-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: white;
    text-align: center;
    font-weight: 600;
    margin: 1rem 0;
}

/* Cadre d'informations */
.event-info-card {
    background-color: rgba(98, 28, 20, 0.3); /* #621C14 transparence 30% */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 transparence 50% */
    border-radius: 50px;
    padding: 3rem;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    backdrop-filter: blur(5px);
}

/* Ligne d'information (Horaire, Où) */
.info-row {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.info-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #FAE1AC; /* Jaune spécifié */
    font-weight: 600;
}

.info-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: white;
    font-weight: 400;
}

/* Texte d'invitation */
.event-invitation-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    line-height: 1.6;
    margin: 1rem 0;
}

/* Grille des détails (DRESSCODE, OUVERTURE, ÂGE) */
.event-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 1rem 0;
}

.event-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    text-align: center;
}

.detail-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #FAE1AC; /* Jaune spécifié */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    font-weight: 400;
}

/* Bouton PARTICIPER */
.participate-button {
    background-color: #FF6F08; /* Orange */
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 1.2rem 3rem;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 111, 8, 0.3);
}

.participate-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 111, 8, 0.5);
}

.participate-button:active {
    transform: scale(1.15);
}

/* Responsive pour Évènement 2 */
@media (max-width: 1024px) {
    .event2-title {
        font-size: 3.5rem;
    }
    
    .event-details-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .evenement2-content {
        padding: 2rem 1.5rem 3rem;
        gap: 1.5rem;
    }
    
    .event2-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .event2-subtitle {
        font-size: 1.5rem;
    }
    
    .event-info-card {
        padding: 2rem 1.5rem;
        border-radius: 30px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .participate-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .event2-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .event2-subtitle {
        font-size: 1.3rem;
    }
    
    .event-info-card {
        padding: 1.5rem 1rem;
        border-radius: 25px;
    }
    
    .info-label,
    .info-value {
        font-size: 1rem;
    }
    
    .event-invitation-text {
        font-size: 1rem;
    }
    
    .detail-label,
    .detail-value {
        font-size: 0.9rem;
    }
    
    .participate-button {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }
}
/* ============================================
   PAGE COVER CHALLENGE
   ============================================ */

/* Contenu principal Cover Challenge */
.cover-challenge-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Titre Cover challenge */
.cover-challenge-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

/* Contenu principal en deux colonnes */
.cover-challenge-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Colonne gauche */
.cover-challenge-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Colonne droite */
.cover-challenge-right {
    display: flex;
    flex-direction: column;
}

/* Cartes transparentes (Description et Explications) */
.cover-card {
    background-color: rgba(98, 28, 20, 0.3); /* #621C14 avec transparence */
    border: 1px solid rgba(242, 100, 25, 0.5); /* #F26419 50% opacité */
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cover-card-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #F26419; /* Orange spécifié */
    font-weight: 600;
    margin: 0;
}

.cover-card-subtitle {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #F26419; /* Orange spécifié */
    font-weight: 600;
    margin: 0;
}

.cover-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    line-height: 1.8;
    margin: 0;
}

.sparkle-icons {
    display: inline-block;
    margin-left: 0.5rem;
}

.cover-card-list {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    line-height: 1.8;
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.cover-card-list li {
    margin-bottom: 0.5rem;
}

/* Carte de soumission (beige/jaune) */
.cover-submission-card {
    background-color: #FAE1AC; /* Jaune/beige spécifié */
    border-radius: 25px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Zone de téléchargement */
.upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed rgba(242, 100, 25, 0.5);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.upload-section:hover {
    background-color: rgba(255, 255, 255, 0.7);
    border-color: rgba(242, 100, 25, 0.8);
}

.upload-icon-wrapper {
    color: #F26419;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #F26419;
    font-weight: 600;
    text-align: center;
}

.file-input {
    display: none;
}

.upload-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #99481A;
    margin: 0;
    text-align: center;
}

/* Champs de formulaire */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #99481A;
    font-weight: 600;
}

.form-input,
.form-textarea {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #4E1610;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(242, 100, 25, 0.3);
    border-radius: 10px;
    background-color: white;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #F26419;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Bouton soumettre */
.submit-button {
    background-color: #FF6F08; /* Orange */
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 111, 8, 0.3);
}

.submit-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 111, 8, 0.5);
}

.submit-button:active {
    transform: scale(1.1);
}

/* Texte de disclaimer */
.disclaimer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #99481A;
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* Section Participants */
.participants-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.participants-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Avatars des participants */
.participants-avatars {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

/* Wrapper pour chaque avatar (dimensions fixes) */
.participant-avatar-wrapper {
    width: 120px;
    height: 120px; /* Dimensions fixes pour éviter le déplacement */
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 3px solid rgba(242, 100, 25, 0.3);
}

/* Avatar du participant */
.participant-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bouton VOIR PLUS */
.voir-plus-button {
    background-color: rgba(98, 28, 20, 0.7); /* #621C14 avec transparence */
    border: 1px solid rgba(255, 111, 8, 0.5); /* #FF6F08 50% opacité */
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1px;
}

.voir-plus-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 111, 8, 0.3);
}

.voir-plus-button:active {
    transform: scale(1.15);
}

/* Responsive pour Cover Challenge */
@media (max-width: 1024px) {
    .cover-challenge-content {
        padding: 2.5rem 1.5rem 3rem;
        gap: 2.5rem;
    }
    
    .cover-challenge-title {
        font-size: 3.5rem;
    }
    
    .cover-challenge-main {
        gap: 1.5rem;
    }
    
    .cover-card {
        padding: 1.5rem;
    }
    
    .cover-submission-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .cover-challenge-content {
        padding: 2rem 1rem 3rem;
        gap: 2rem;
    }
    
    .cover-challenge-title {
        font-size: 2.5rem;
    }
    
    .cover-challenge-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cover-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .cover-card-title {
        font-size: 1.5rem;
    }
    
    .cover-card-subtitle {
        font-size: 1.2rem;
    }
    
    .cover-submission-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .upload-section {
        padding: 1.5rem;
    }
    
    .participants-avatars {
        gap: 1.5rem;
    }
    
    .participant-avatar-wrapper {
        width: 100px;
        height: 100px; /* Dimensions fixes maintenues */
    }
    
    .participants-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cover-challenge-title {
        font-size: 2rem;
    }
    
    .cover-card {
        padding: 1.2rem;
        border-radius: 15px;
    }
    
    .cover-card-title {
        font-size: 1.3rem;
    }
    
    .cover-card-subtitle {
        font-size: 1.1rem;
    }
    
    .cover-card-text,
    .cover-card-list {
        font-size: 0.9rem;
    }
    
    .cover-submission-card {
        padding: 1.2rem;
        border-radius: 15px;
    }
    
    .upload-section {
        padding: 1.2rem;
    }
    
    .upload-text {
        font-size: 1rem;
    }
    
    .upload-hint {
        font-size: 0.8rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-input,
    .form-textarea {
        font-size: 0.9rem;
        padding: 0.75rem 0.875rem;
    }
    
    .submit-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .disclaimer-text {
        font-size: 0.7rem;
    }
    
    .participants-title {
        font-size: 1.3rem;
    }
    
    .participants-avatars {
        gap: 1rem;
    }
    
    .participant-avatar-wrapper {
        width: 80px;
        height: 80px; /* Dimensions fixes maintenues */
    }
    
    .voir-plus-button {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}
/* ============================================
   STYLES POUR LA PAGE DISCOVER 2
   ============================================ */

/* Contenu principal Discover 2 */
.discover2-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
}

/* Titre Discover */
.discover2-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
}

/* Breadcrumb */
.discover2-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Layout principal (gauche/droite) */
.discover2-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Section gauche */
.discover2-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Bouton utilisateur */
.user-button-discover2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(98, 28, 20, 0.5); /* #621C14 transparence 50% */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 opacité 50% */
    border-radius: 50px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    align-self: flex-start;
}

.user-button-discover2:hover {
    transform: scale(1.05);
}

.user-button-discover2:active {
    transform: scale(1.08);
}

.user-button-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-button-name {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

/* Container vidéo/image */
.video-container {
    background-color: #E27F8B; /* Fond rose */
    border-radius: 50px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-image {
    width: 100%;
    height: auto;
    border-radius: 50px;
    object-fit: cover;
    display: block;
}

.video-info {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
}

.video-info-item {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: white;
    font-weight: 400;
}

/* Section droite */
.discover2-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Sous-titres */
.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-icon {
    color: white;
    width: 20px;
    height: 20px;
}

/* Cadre description */
.description-box {
    background-color: rgba(98, 28, 20, 0.5); /* #621C14 transparence 50% */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 transparence 50% */
    border-radius: 50px;
    padding: 2rem;
    min-height: 150px;
}

.description-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    margin: 0;
}

/* Cadre commentaires */
.comments-box {
    background-color: rgba(98, 28, 20, 0.5); /* #621C14 transparence 50% */
    border: 1px solid rgba(255, 111, 8, 0.5); /* Contour orange #FF6F08 transparence 50% */
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Section ajout commentaire */
.add-comment-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Avatar inline à côté de chaque commentaire */
.comment-avatar-inline {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Ligne commentaire avec avatar */
.comment-item-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.add-comment-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-comment-input {
    background-color: white;
    border: none;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15); /* Inner shadow */
    outline: none;
}

.add-comment-input::placeholder {
    color: #999;
}

.publish-button {
    background-color: #F08592; /* Rose spécifié */
    border: none;
    border-radius: 25px; /* Corner radius pour le bouton */
    padding: 0.8rem 1.5rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.publish-button:hover {
    transform: scale(1.05);
}

.publish-button:active {
    transform: scale(1.08);
}

.publish-button svg {
    width: 16px;
    height: 16px;
}

/* Commentaires existants - Nouveau style */
.comment-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comment-author-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: white;
    text-transform: lowercase;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.comment-card {
    background-color: white;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15); /* Inner shadow */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-time {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
}

.comment-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
    margin-top: 1.5rem;
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.comment-stats {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #333;
}

.comment-stats svg {
    width: 18px;
    height: 18px;
    color: #333;
}

.comment-stats span {
    margin-right: 0.5rem;
}

.comment-report-btn {
    background-color: #E27F8B; /* Rose spécifié */
    border: none;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    color: #000; /* Noir */
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Drop shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-report-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.comment-report-btn:active {
    transform: scale(1.08);
}

/* Responsive pour Discover 2 */
@media (max-width: 1024px) {
    .discover2-title {
        font-size: 3.5rem;
    }
    
    .discover2-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .discover2-content {
        padding: 2rem 1.5rem 3rem;
    }
    
    .discover2-title {
        font-size: 2.5rem;
    }
    
    .video-container {
        padding: 10px;
        border-radius: 30px;
    }
    
    .video-image {
        border-radius: 30px;
    }
    
    .description-box {
        border-radius: 30px;
        padding: 1.5rem;
    }
    
    .comments-box {
        border-radius: 20px;
        padding: 1.5rem;
    }
    
    .add-comment-section {
        flex-direction: column;
    }
    
    .comment-item-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-avatar-inline {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .discover2-title {
        font-size: 2rem;
    }
    
    .user-button-discover2 {
        padding: 0.8rem 1.2rem;
    }
    
    .user-button-avatar {
        width: 40px;
        height: 40px;
    }
    
    .video-container {
        border-radius: 25px;
        padding: 8px;
    }
    
    .video-image {
        border-radius: 25px;
    }
    
    .video-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .description-box {
        border-radius: 25px;
        padding: 1.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}
/* ============================================
   STYLES POUR LA PAGE MESSAGERIE 2
   ============================================ */

/* Contenu principal Messagerie 2 */
.messagerie2-content {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Titre Messagerie */
.messagerie2-title {
    font-family: 'Lora', serif;
    font-size: 4rem;
    color: #F26419; /* Orange spécifié */
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

/* Header du contact */
.contact-header {
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.contact-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
}

.contact-arrow {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.contact-arrow:hover {
    transform: scale(1.2);
}

.contact-arrow:active {
    transform: scale(1.3);
}

.contact-arrow svg {
    width: 20px;
    height: 20px;
}

/* Container de conversation */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    min-height: 400px;
    padding: 2rem 0;
}

/* Ligne de message */
.message-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.message-left {
    justify-content: flex-start;
}

.message-right {
    justify-content: flex-end;
}

/* Avatars à côté des messages - Dimensions fixes */
.message-avatars {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
    width: 50px;
}

.message-avatar-small {
    width: 40px;
    height: 40px; /* Dimensions fixes pour éviter le déplacement */
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: block;
}

/* Bulle de message */
.message-bubble {
    max-width: 60%;
    padding: 1rem 1.5rem;
    border-radius: 500px; /* Très arrondi comme spécifié */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
}

/* Message reçu (gauche) - Sombre */
.message-received {
    background-color: rgba(98, 28, 20, 0.7); /* Fond sombre */
    color: white;
}

/* Message envoyé (droite) - Clair/rose */
.message-sent {
    background-color: rgba(240, 133, 146, 0.6); /* Rose clair */
    color: white;
}

.message-text {
    margin: 0;
    color: white;
}

/* Zone de saisie de message */
.message-input-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.message-input {
    flex: 1;
    background-color: rgba(226, 127, 139, 0.6); /* #E27F8B transparence 60% */
    border: none;
    border-radius: 50px; /* Corner radius 50 comme spécifié */
    padding: 1rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    outline: none;
}

.message-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.send-button {
    width: 50px;
    height: 50px;
    background-color: #F08592; /* Rose */
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(240, 133, 146, 0.3);
}

.send-button:hover {
    transform: scale(1.1);
}

.send-button:active {
    transform: scale(1.15);
}

.send-button svg {
    width: 20px;
    height: 20px;
}

/* Responsive pour Messagerie 2 */
@media (max-width: 1024px) {
    .messagerie2-title {
        font-size: 3.5rem;
    }
    
    .message-bubble {
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .messagerie2-content {
        padding: 2rem 1.5rem 3rem;
        gap: 1.5rem;
    }
    
    .messagerie2-title {
        font-size: 2.5rem;
    }
    
    .contact-avatar {
        width: 50px;
        height: 50px;
    }
    
    .contact-name {
        font-size: 1rem;
    }
    
    .message-avatars {
        width: 40px;
    }
    
    .message-avatar-small {
        width: 35px;
        height: 35px; /* Dimensions fixes maintenues */
    }
    
    .message-bubble {
        max-width: 75%;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .message-input {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .send-button {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .messagerie2-title {
        font-size: 2rem;
    }
    
    .contact-info {
        gap: 0.8rem;
    }
    
    .contact-avatar {
        width: 45px;
        height: 45px;
    }
    
    .contact-name {
        font-size: 0.9rem;
    }
    
    .message-avatars {
        width: 35px;
        gap: 0.2rem;
    }
    
    .message-avatar-small {
        width: 30px;
        height: 30px; /* Dimensions fixes maintenues */
    }
    
    .message-bubble {
        max-width: 80%;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .message-input {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .send-button {
        width: 40px;
        height: 40px;
    }
    
    .send-button svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   STYLES POUR LA PAGE CONCOURS DU MOIS
   ============================================ */

/* Concours du mois - Styles avec système de vote et entonnoir */

/* Concours du mois - Styles avec système de vote et entonnoir */

.concours-mois-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.concours-mois-title {
    font-size: 42px;
    font-weight: 700;
    color: #d4a574;
    text-align: center;
    margin-bottom: 40px;
}

/* Carte du concours */
.concours-mois-card {
    display: block;
    background-color: rgba(42, 31, 21, 0.6);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concours-mois-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Section Ma Participation */
.my-participation-card {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(212, 165, 116, 0.1));
    border: 2px solid #d4a574;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.my-participation-title {
    font-size: 24px;
    color: #d4a574;
    margin-bottom: 20px;
    text-align: center;
}

.my-participation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.my-participation-stats .stat-item {
    text-align: center;
    padding: 15px;
    background-color: rgba(42, 31, 21, 0.6);
    border-radius: 12px;
}

.my-participation-stats .stat-label {
    display: block;
    font-size: 14px;
    color: #d4a574;
    margin-bottom: 8px;
}

.my-participation-stats .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* Message de confirmation de vote */
.vote-confirmation-message {
    background-color: rgba(76, 175, 80, 0.2);
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    text-align: center;
    color: #4CAF50;
}

/* Toggle Vue */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.toggle-btn {
    padding: 12px 24px;
    background-color: rgba(42, 31, 21, 0.6);
    border: 2px solid #d4a574;
    border-radius: 8px;
    color: #d4a574;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    background-color: rgba(212, 165, 116, 0.2);
}

.toggle-btn.active {
    background-color: #d4a574;
    color: #3a2a1f;
}

/* Participants View */
.participants-view {
    display: none !important;
}
.participants-view.active {
    display: block;
}

.participants-section-title {
    font-size: 28px;
    color: #d4a574;
    text-align: center;
    margin-bottom: 30px;
}

/* Grille des participants - Style image 2 */
.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.participant-card-new {
    background-color: rgba(42, 31, 21, 0.8);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.participant-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.participant-card-new.my-participation {
    border: 2px solid #4A90E2;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(42, 31, 21, 0.8));
}

.participant-avatar-wrapper-new {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d4a574;
}

.participant-avatar-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-title-new {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 500;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-votes-new {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.votes-label-new {
    font-size: 14px;
    color: #e0d5c7;
}

.votes-count-new {
    font-size: 24px;
    font-weight: 700;
    color: #d4a574;
}

.participant-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.listen-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: #ffb6c1;
    color: #3a2a1f;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.listen-btn:hover:not(:disabled) {
    background-color: #ff9fb0;
    transform: translateY(-2px);
}

.listen-btn:disabled {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
}

.vote-btn-new {
    flex: 1;
    padding: 12px 20px;
    background-color: #d4a574;
    color: #3a2a1f;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-btn-new:hover:not(.disabled):not(.voted) {
    background-color: #c8965f;
    transform: translateY(-2px);
}

.vote-btn-new.voted {
    background-color: #4CAF50;
    color: white;
    cursor: default;
}

.vote-btn-new.disabled {
    background-color: #666;
    color: #999;
    cursor: not-allowed;
}

/* Vue Entonnoir / Classement - Style image 3 */
.funnel-view {
    padding: 20px 0;
}

.funnel-main-title {
    font-size: 32px;
    color: #d4a574;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.ranking-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(42, 31, 21, 0.9);
    border: 2px solid #d4a574;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.ranking-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 400px 300px at 80% 70%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 300px 200px at 20% 30%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ranking-list {
    position: relative;
    z-index: 1;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-position {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    min-width: 60px;
    text-align: center;
}

.ranking-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #d4a574;
}

.ranking-username {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.ranking-votes {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    min-width: 80px;
    text-align: right;
}

.no-participants-ranking {
    text-align: center;
    padding: 40px;
    color: #e0d5c7;
    font-size: 18px;
}

.funnel-section {
    margin-bottom: 40px;
}

.funnel-title {
    font-size: 24px;
    color: #d4a574;
    text-align: center;
    margin-bottom: 30px;
}

/* Section Gagnant */
.winner-section {
    margin-bottom: 50px;
}

.winner-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(212, 165, 116, 0.2));
    border: 3px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.crown-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.winner-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #FFD700;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
}

.winner-name {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 10px;
}

.winner-title {
    font-size: 16px;
    color: #d4a574;
    margin-bottom: 20px;
}

.winner-votes {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700;
}

/* Top 3 */
.top-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.top-3-card {
    background-color: rgba(42, 31, 21, 0.6);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    position: relative;
}

.medal-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.top-3-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #d4a574;
    margin: 0 auto 15px;
    display: block;
    object-fit: cover;
}

.top-3-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.top-3-votes {
    font-size: 20px;
    font-weight: 700;
    color: #d4a574;
}

/* Top 5 */
.top-5-list {
    max-width: 600px;
    margin: 0 auto;
}

.top-5-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(42, 31, 21, 0.6);
    border-radius: 12px;
    margin-bottom: 10px;
}

.top-5-item .position {
    font-weight: 700;
    color: #d4a574;
    font-size: 18px;
    min-width: 50px;
}

.top-5-item .name {
    flex: 1;
    color: #ffffff;
    font-size: 16px;
    margin-left: 20px;
}

.top-5-item .votes {
    color: #d4a574;
    font-weight: 600;
}

/* Top 10 */
.top-10-list {
    max-width: 600px;
    margin: 0 auto;
}

.top-10-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: rgba(42, 31, 21, 0.4);
    border-radius: 8px;
    margin-bottom: 8px;
}

.top-10-item .position {
    font-weight: 600;
    color: #d4a574;
    font-size: 16px;
    min-width: 40px;
}

.top-10-item .name {
    flex: 1;
    color: #e0d5c7;
    font-size: 14px;
    margin-left: 15px;
}

.top-10-item .votes {
    color: #d4a574;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .top-3-grid {
        grid-template-columns: 1fr;
    }
    
    .participants-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .my-participation-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .concours-mois-title {
        font-size: 32px;
    }
    
    .participants-grid {
        grid-template-columns: 1fr;
    }
    
    .my-participation-stats {
        grid-template-columns: 1fr;
    }
}


/* Section header profil */
.profil-header-section {
    max-width: 1200px;
    margin: 0 auto 50px;
}

.profil-main-title {
    font-size: 42px;
    font-weight: bold;
    color: rgba(255, 111, 8, 1);
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    backdrop-filter: blur(1px);
}

.settings-icon {
    color: rgba(255, 111, 8, 0.5);
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.settings-icon:hover {
    opacity: 1;
}

/* Container info profil */
.profil-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(1px);
}

.profil-picture-wrapper {
    flex-shrink: 0;
}

.profil-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 111, 8, 0.5);
}

/* Statistiques */
.profil-stats-container {
    display: flex;
    gap: 50px;
    padding: 20px 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-label {
    font-size: 35px;
    color: #F26419;
    font-weight: 500;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

/* Actions profil */
.profil-actions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(1px);
}

.profil-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: #F26419;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.profil-action-btn:hover {
    background-color: #c8965f;
    transform: translateY(-2px);
}

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

.profil-action-btn svg {
    flex-shrink: 0;
}

/* Grille de publications */
.profil-posts-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.profil-post-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Ratio 1:1 pour des images carrées */
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(255, 111, 8, 0.5);
    background-color: #2a1f15;
}

.profil-post-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.profil-post-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profil-post-item:hover .profil-post-image {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 968px) {
    .profil-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profil-info-container {
        gap: 40px;
    }
    
    .profil-stats-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mon-profil-content {
        padding: 30px 15px;
    }
    
    .profil-main-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .profil-picture {
        width: 120px;
        height: 120px;
    }
    
    .profil-info-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .profil-stats-container {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .profil-actions-container {
        flex-direction: column;
        width: 100%;
    }
    
    .profil-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .profil-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .profil-main-title {
        font-size: 28px;
        flex-direction: column;
        gap: 10px;
    }
    
    .profil-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}
/* Politique de Confidentialité Page Styles */

.politique-content {
    min-height: 100vh;

    background-size: 40px 40px;
    padding: 60px 20px;
    color: #e0d5c7;
}

.politique-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background-color: rgba(98, 28, 20, 0.2);
    border: 2px solid rgba(255, 111, 8, 0.2);
}

.politique-title {
    font-size: 42px;
    font-weight: 700;
    color: #d4a574;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);

}

.politique-date {
    text-align: center;
    color: #d4a574;
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.politique-intro {
    margin-bottom: 40px;
    padding: 25px;
    background-color: rgba(42, 31, 21, 0.4);
    border-radius: 12px;
    border-left: 4px solid #d4a574;
}

.politique-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #e0d5c7;
    margin: 0;
}

.politique-sections {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.politique-section {
    background-color: rgba(42, 31, 21, 0.4);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #d4a574;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: #d4a574;
    margin-top: 25px;
    margin-bottom: 15px;
}

.politique-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #e0d5c7;
    margin-bottom: 15px;
}

.politique-section ul {
    margin: 15px 0;
    padding-left: 25px;
    list-style-type: disc;
}

.politique-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #e0d5c7;
    margin-bottom: 10px;
}

.contact-link {
    color: #d4a574;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffb74d;
}

/* Responsive */
@media (max-width: 768px) {
    .politique-content {
        padding: 40px 15px;
    }
    
    .politique-container {
        padding: 35px 25px;
    }
    
    .politique-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .subsection-title {
        font-size: 18px;
    }
    
    .politique-intro,
    .politique-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .politique-title {
        font-size: 28px;
    }
    
    .politique-date {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .subsection-title {
        font-size: 17px;
    }
    
    .politique-section p,
    .politique-section li {
        font-size: 15px;
    }
    
    .politique-container {
        padding: 25px 20px;
    }
}
/* Login Page Styles */

.login-page-content {
    min-height: 100vh;
    background-size: 40px 40px;
    padding: 0;
    margin: 0;
    backdrop-filter: blur(1px);
}


.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

/* Logo principal */
.login-logo-container {
    margin-bottom: 50px;
}

.login-main-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Messages d'erreur/succès */
.login-error-message {
    background-color: #f44336;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.login-success-message {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.login-success-message a {
    color: white;
    text-decoration: underline;
}

/* Formulaire */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    width: 100%;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    background-color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.3);
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder {
    color: #999;
}

/* Checkbox "Se souvenir de moi" */
.remember-me-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #e0d5c7;
    font-size: 14px;
    cursor: pointer;
    gap: 8px;
}

.remember-me-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ff9800;
}

/* Bouton de connexion */
.login-submit-btn {
    width: 100%;
    padding: 16px 20px;
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 10px;
}

.login-submit-btn:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
}

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

/* Lien d'inscription */
.register-link {
    margin-top: 30px;
    color: #e0d5c7;
    font-size: 15px;
    text-align: center;
}

.register-link-text {
    color: #ff9800;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link-text:hover {
    color: #ffb74d;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .login-main-logo {
        max-width: 250px;
    }
    
    .login-form-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .login-form input[type="text"],
    .login-form input[type="password"],
    .login-submit-btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .login-main-logo {
        max-width: 200px;
    }
    
    .login-logo-container {
        margin-bottom: 40px;
    }
}
/* Register Page Styles – Jamverse */

.register-page-content {
    min-height: 100vh;
    background-size: 40px 40px;
    padding: 0;
    margin: 0;
    color: #e0d5c7;
    backdrop-filter: blur(1px);
}

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px); /* laisse la place au header/footer */
    padding: 40px 20px;
}

.register-form-wrapper {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

/* Logo */

.register-logo-container {
    margin-bottom: 50px;
}

.register-main-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Messages */

.register-error-message,
.register-success-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.register-error-message {
    background-color: #f44336;
    color: #fff;
}

.register-success-message {
    background-color: #4CAF50;
    color: #fff;
}

.register-success-message a {
    color: #fff;
    text-decoration: underline;
}

/* Formulaire */

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    width: 100%;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
    width: 100%;
    padding: 16px 22px;
    background-color: #ffffff;
    border: none;
    border-radius: 999px; /* forme de pilule comme sur la maquette */
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.register-form input::placeholder {
    color: #999;
}

.register-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,152,0,0.35);
}

/* Bouton */

.register-submit-btn {
    margin-top: 20px;
    width: 260px;
    max-width: 100%;
    padding: 16px 20px;
    background-color: #ff7f23;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    margin: auto;
}

.register-submit-btn:hover {
    background-color: #ff962f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}

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

/* Responsive */

@media (max-width: 768px) {
    .register-main-logo {
        max-width: 260px;
    }

    .register-form-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }

    .register-form input,
    .register-submit-btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .register-main-logo {
        max-width: 220px;
    }

    .register-logo-container {
        margin-bottom: 40px;
    }
}


