@font-face {
    font-family: 'Axiforma'; 
    src: url('font/Kastelov\ -\ Axiforma\ Black.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    width: 100%;
    overflow-x: hidden; 
}

body {
    margin: 0; 
    padding: 0;
}


img {
    
    max-width: 200%; 
    height: auto; 
    display: block; 
}

a {
    color: inherit;
    text-decoration: none;
}


header {
    font-family: "Axiforma", sans-serif;
    background-image: linear-gradient(181deg,  #000000 0%, #210B3D 50%,#ac1741 100%);
    color: rgb(255, 219, 17);
}

a {
    color: inherit;
    text-decoration: none;
}

.event-banner {
    text-align: center;
    padding: 1px 0px;
    font-size: 24px;
}
.defilement_text_container {
        width: 100%;
        overflow: hidden; 
        white-space: nowrap;
    box-sizing: border-box;
}


.defilement_text {
    
    display: inline-block;
    animation: marquee 5s linear infinite;
    padding-left: 100%; 
    margin: 0; 
}

@keyframes marquee {
    0% {
       
        transform: translateX(0);
    }
    100% {
        
        transform: translateX(-100%); 
    }
}

.main-nav {
    display: flex;
    align-items: center; 
    padding: 12px 8px;
    justify-content: space-between;
    background-color: #000000;
    margin-bottom: 10px;
}

.main-nav .logo img {
    height: 146px;
    width: auto;
    margin-left: 0;
    max-width: 100%;
    max-height: 100%; 
}

.main-nav .logo img:hover{
    transform: scale(1.1);
}



.nav-lien {
    display: flex;
    list-style: none;
    gap: 34px;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 59px;
}

.nav-lien li:first-child a {

    display: flex;
    align-items: center;
    gap: 5px;            
    background-color: #ac1741; 
    padding: 10px 15px; 
    display: inline-flex; 
}

.nav-lien svg {
   
    width: 51px; 
    height: auto; 
    padding: 0; 
    border-radius: 0;
    display: block; 
}

.nav-lien svg {
    max-width: 100%; 
    height: auto;
    display: block;
}

.nav-lien li {
    margin: 0 15px;
    font-size: 2.2rem;
    font-family: "Axiforma", sans-serif;
    color: #d4cfcf;
}

.nav-lien a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center; 
    gap: 8px;
}


.brand-gauche img {
    transition: transform 0.3s ease-out;
}

.brand-gauche img:hover {
    /* L'icône grossit légèrement */
    transform: scale(1.1);
}

.brand-gauche {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative;
    top: 49px;
}

.brand-gauche img {
    height: 49px;
    margin-left: 12px;
    width: auto;
}

/* Barre de recherche */
.recherche_cadre {
    display: flex;
    align-items: center;
    width: 260px;
}

.recherche_cadre input[type="text"] {
    padding: 12px;
    border: 1px solid #ffff;
    flex-grow: 1;
    background-color: #000000;
    color: #ffffff;
    position: relative;
    top: 49px;
    border-radius: 6px;
}

.recherche_cadre button {
    background-color: transparent; 
    border: none;
    padding: 0; 
    position: relative;
    right: 25px; 
    top: 49px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.recherche_cadre button svg {
    height: 25px; 
    width: 24px; 
    stroke: #ffffff; 
    stroke-width: 2;  
    transition: stroke 0.3s ease;
}

hr {
    display: none;
}

main {
    font-family: "Axiforma", sans-serif;
}

.contenu {
    background-color: #0C0C0C;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-image: radial-gradient( circle farthest-corner at top,
        #383838 0%, 
        #0d0d0d 60% 
    );
}


.top-sections {
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    gap: 80px;
    padding: 40px 20px; 
    width: 90%; 
    max-width: 1400px; 
    height: auto;
    margin: 40px auto; 
    position: static; 
}

.idol-container {
    position: relative;
    flex: 2; 
    max-width: 750px;
    margin-right: 0; 
    overflow: hidden; 
    height: 450px; 
    border-radius: 10px;
    box-shadow: #383838;
}

/* Masquer les boutons radio HTML */
.idol-container input[type="radio"] {
    display: none;
}

/* Conteneur des images (pour la superposition) */
.slider-content {
    position: relative; 
    width: 100%;
    height: 100%;
}

/* --- Styles des Images (Logique de Fondu) --- */
.idol-container .idol-image-slider-image {
    
    position: absolute; 
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%; 
    object-fit: cover;
    
    /* Styles existants */
    background: #000000;
    padding: 0;
    
    /* Cœur de l'animation: Opacité et Flou */
    opacity: 0; 
    filter: blur(10px); /* Flou maximal au départ */
    
    transition: opacity 0.8s ease-in-out, filter 0.8s ease-in-out; 
}

/* --- Logique d'Animation d'Opacité et de Flou --- */

/* Quand #slide1 est coché, cible la première image (nth-child(1)) */
#slide1:checked ~ .slider-content > .idol-image-slider-image:nth-child(1) {
    opacity: 1; /* Rendre l'image visible */
    filter: blur(0); /* Rendre l'image nette */
}

/* Quand #slide2 est coché, cible la deuxième image */
#slide2:checked ~ .slider-content > .idol-image-slider-image:nth-child(2) {
    opacity: 1;
    filter: blur(0);
}

/* Quand #slide3 est coché, cible la troisième image */
#slide3:checked ~ .slider-content > .idol-image-slider-image:nth-child(3) {
    opacity: 1;
    filter: blur(0);
}

/* --- Styles et Affichage des Flèches (Fusion de vos règles) --- */
.idol-container .flèches {
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    /* Par défaut, toutes les flèches sont cachées */
    display: none; 
}

.flèches.gauche { left: 0; }
.flèches.droite { right: 0; }

.flèches img {
    height: auto;
    width: 30px; 
}

/* Règle d'affichage dynamique des flèches pertinentes */

#slide1:checked ~ .droite.next-1,
#slide1:checked ~ .gauche.prev-1 {
    display: block;
}

#slide2:checked ~ .droite.next-2,
#slide2:checked ~ .gauche.prev-2 {
    display: block;
}

#slide3:checked ~ .droite.next-3,
#slide3:checked ~ .gauche.prev-3 {
    display: block;
}


/* --- BANNER JUMP FESTA (Partie Droite) --- */
.jump-festa-2026-banner {
    flex: 1; /* Prend l'espace restant */
    max-width: 300px; 
    position: relative;
    left:350px;
   
}

.jump-festa-2026-banner:hover{
     transform: scale(1.1);
     cursor: pointer;
     
}

.jump-festa-2026-banner .banner-image {
    height: auto;
    width: 147%; 
    display: block;
    position: relative;
    top: 12px; 
    border-radius: 6px;
}
.jump-festa-2026-banner h3 {
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 9px;
    color: #e8e8e8;
    display: block;
    padding: 10px;
    text-align: center;
    margin: 10px auto;
    position: relative;
    bottom: 34px;
    width: 142%;
}


.reseaux-sociaux a img {
    height: 30px;
    width: auto;
    display: inline-block; 
    margin-left: 5px;
    position: static; 
}


/* --- SECTION ACTUALITÉS --- */
.animes-news {
    background-color: #ac1741; 
    border-radius: 24px;
    padding: 30px 20px; 
    max-width: 1110px; 
    margin: 0 auto 64px auto; 
    background-image: radial-gradient(circle farthest-corner at top left, 
        #e0078d 0%, 
        #ac1741 60% 
    );
}
.animes-news img{
    border: 20px;
}

.animes-news h3:hover{
    color: #ff010d;

}
.animes-news h2:nth-child(1){
    color: white;
    font-size: 3.5rem;
    text-align: left;
    position: static; 
    margin: 0;
}

.animes-news h2:nth-child(2) {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    left: 43%;

}

/* --- GRILLE D'ACTUALITÉS --- */
.new.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    width: 100%; 
}
/* Cartes d'actualités */
.news-items {
    position: relative;
    overflow: hidden;
}
.news-items:nth-child(1) {
    border: 4px solid #fda401;
}
.news-items:nth-child(2) {
    border: 4px solid #1a0240;
}
.news-items:nth-child(3) {
    border: 4px solid #8cc7e5;
}
.news-items:nth-child(4) {
    border: 4px solid #5a1417;
}
.news-items:nth-child(5) {
    border: 3px solid #0b2f36;
}
.news-items:nth-child(6) {
    border: 4px solid #f1bd8c;
}
.news-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
}

.news-overlay h3 {
    font-size: 2rem;
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
}

.site-footer {
    background-image: linear-gradient(#000000 0%, #210B3D 100%);
    color: white;
    padding: 20px 40px; 
    font-family: "IBM Plex Sans", sans-serif;
    margin: 0 auto;
}

/* --- Section Liens du Haut (Accueil, Infos, etc.) --- */
.lien-footer-top {
    display: flex;
    justify-content: space-around; 
    gap: 20px;
    align-items: center;
    font-size: 1.5rem;
    padding-bottom: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px; 
}

/* --- Séparateur pour la ligne du haut (basé sur le modèle) --- */
.site-footer hr {
    display: block;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 20px 0;
}

/* --- Conteneur Global du Bas --- */
.footer-bottom {
    display: flex;
    flex-direction: column; 
    width: 100%;
    gap: 15px;
}

/* --- Sponsors (Ligne 1) --- */
.sponsors {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start; 
    margin-bottom: 5px;
}

.sponsors p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 15px;
    white-space: nowrap; 
}

.sponsors img {
    height: auto;
    width: 60px; 
    max-width: 100%;
}

/* --- Liens Légaux (Ligne 2) --- */
.legal-links {
    display: flex;
    justify-content: space-around; 
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-links a {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* --- Barre du Bas (Ligne 3: Boutons vs. Icônes) --- */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between; 
    align-items: flex-end; 
    width: 100%;
    padding-top: 10px;
}

/* --- Boutons de Langue --- */
.langue-selection {
    display: flex;
    gap: 10px;
}

.langue-selection button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* --- Bloc Droits Réservés et Icônes --- */
.droits-reserves {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.droits-reserves p {
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
}

.social-icons-footer {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-icons-footer img {
    height: auto;
    width: 25px;
}

@media (max-width: 1024px) {
    .nav-lien {
        gap: 10px;
        margin: 0 10px;
    }

    .nav-lien li {
        font-size: 1.1rem;
    }

    .top-sections {
        padding: 120px 20px 40px 20px;
        gap: 15px;
    }

    .new.grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lien-footer-top {
        gap: 30px;
        font-size: 1.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons-footer {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
  @media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 10px 10px 10px; 
    }
    
    .nav-lien {
        order: 3;
        flex-basis: 100%;
        justify-content: space-around;
        margin: 10px 0;
        position: static; 
        top: auto; 
    }

    .recherche_cadre input[type="text"],
    .recherche_cadre button {
       
        top: auto;
    }
    
    .recherche_cadre {
        order: 2;
        width: 50%;
        margin-right: 10px;
    
        position: static;
        top: auto;
    }
    
    .brand-gauche {
        order: 1;
        margin-left: 0;
        position: static;
        top: auto;
    }

    .nav-lien li:first-child a {
        font-size: 0; 
        gap: 0; 
        padding-left: 10px; 
        padding-right: 10px;
    }
    
    .nav-lien li:first-child a svg {
        width: 25px; 
        height: 25px;
    }

    .nav-lien li:not(:first-child) {
         font-size: 1.1rem;
    }

    .main-nav .logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
}

    .top-sections {
        flex-direction: column;
        padding: 120px 10px 20px 10px;
    }

    .idol-container,
    .jump-festa-2026-banner {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .new.grid {
        grid-template-columns: 1fr;
    }

    .animes-news h2 {
        position: static;
        text-align: center;
        margin: 5px 0;
    }

    .lien-footer-top {
        flex-direction: column;
        gap: 10px;
    }
}
