body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

a {
    text-decoration: none !important;
}

p {
    font-size: 1rem;
    margin: .5rem;
}

b {
    font-size: 1rem;
    font-weight: 600;
}

span {
    font-weight: 700 !important;
}

button:focus {
    outline: none !important;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Pour les navigateurs WebKit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 16px;
    /* Largeur plus raisonnable pour un défilement plus naturel */
}

::-webkit-scrollbar-track {
    background: #3c2c1f;
    /* Fond marron foncé pour le track */
    border-radius: 10px;
    border: 1px solid #d4af37;
    /* Bordure dorée subtile pour encadrer */
}

::-webkit-scrollbar-thumb {
    background-color: #d4af37;
    /* Pouce doré pour le scroll */
    border-radius: 10px;
    /* Coins arrondis pour un effet doux */
    border: 2px solid #3c2c1f;
    /* Bordure marron foncé pour le pouce */
    transition: background-color 0.3s ease;
    /* Animation de transition */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #f8d399;
    /* Pouce doré plus clair au survol */
}

/* Pour Firefox */
* {
    scrollbar-color: #d4af37 #3c2c1f;
    /* Pouce doré et fond marron foncé */
}

/* Pour Edge et Internet Explorer */
::-ms-scrollbar {
    width: 16px;
}

::-ms-scrollbar-track {
    background: #3c2c1f;
    border-radius: 10px;
}

::-ms-scrollbar-thumb {
    background-color: #d4af37;
    border-radius: 10px;
}


/*-----------------------------------------
                 MENU
-----------------------------------------*/

header {
    position: fixed;
    display: block;
    height: 120px;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: height 0.3s ease-in-out;

}

.ak-nav {
    height: 40px;
    display: block;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
    background-color: rgb(25, 25, 25);
}

.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.ak-nav-idbar {
    margin: 0 auto;
    max-width: 1100px;
    display: flex;
}

.ak-nav-left {
    flex: 1;
    text-align: left;
    height: 40px;
    display: inline-block;
}

.ak-nav-right {
    flex: 1;
    text-align: right;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.ak-nav-right .ak-button {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-right: 0.5rem;
}

.ak-nav-right .ak-button img {
    width: 40px;
    height: 40px;
    margin: 0 0 0 0.5rem
}

.ak-nav-right .ak-flag {
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    height: 40px;
    background-color: rgba(40, 40, 40, 1);
    transition: 0.3s ease-in-out;
}

.ak-nav-right .ak-flag:hover {
    background-color: rgba(50, 50, 50, 1);
    color: rgba(255, 0, 0, 1);
}

.ak-nav-right .ak-flag img {
    width: 40px;
    height: 20px;
}

.ak-flag {
    position: relative;
}

.flag-selection {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    z-index: 999;
    text-align: center;
    padding: 0.5rem 0;
}

.flag-selection img {
    width: 40px;
    height: 20px;
    cursor: pointer;
}

.ak-nav-idbar a {
    background-color: rgba(40, 40, 40, 1);
    font-size: 1rem;
    padding: 0 1.2rem;
    display: inline-block;
    line-height: 40px;
    vertical-align: top;
    text-transform: uppercase;
    color: #fff;
    transition: 0.3s ease-in-out;
}

.ak-nav-idbar a:hover {
    background-color: rgba(50, 50, 50, 1);
    color: rgba(251, 151, 33, 1);
}

.nav-bar {
    height: 80px;
    background-color: rgb(0, 0, 0, 1);
}

.menu-main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-item {
    width: auto;
}

.menu-button {
    height: 80px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 170px;
    color: rgb(250 250 250);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: 0.3s ease-in-out;
    font-weight: bold;
}

.menu-button:hover {
    color: rgba(231, 151, 33, 1);
}

.menu-item .submenu {
    position: fixed;
    top: 120px;
    /* Ensure it sticks to the top of the page */
    background-color: #000000;
    height: auto;
    width: 100%;
    left: 0;
    box-sizing: border-box;
    display: none;
    /* Hidden by default */
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.menu-item .submenu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, #e7bd56, rgba(255, 255, 255, 0));
}

.menu-item:hover .submenu {
    height: 300px;
    /* Define the height when hovered */
    display: flex;
    /* Show the submenu on hover */
}

.menu-item .submenu-content {
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 100px;
    padding-top: 20px;
    /* Added padding to prevent overlap */
}

.menu-item .submenu .submenu-button-container {
    display: flex;
    flex-direction: column;
    width: 30%;
    padding: 30px 0;
    box-sizing: border-box;
}

.submenu-button-container h1 {
    color: #888;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 500;
}

.submenu-button-container i {
    margin: 0 10px 0 0;
    color: rgba(60, 60, 60, 1);
    font-size: 0.9rem;
}

.submenu-button-container a {
    transition: all ease-in-out 0.3s;
    color: rgba(250, 250, 250, 1);
    font-size: 1.2rem;
    margin: 0.5rem 0;
    text-decoration: none;
}

.submenu-button-container a:hover {
    color: rgb(231, 201, 33);
}

.submenu-button-container img {
    position: absolute;
    bottom: 0px;
    height: 270px;
    opacity: 0.1;
}

.submenu-button-container-media {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.submenu-button-container-media a {
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.submenu-button-container-media i {
    font-size: 2.5rem;
    transition: transform 0.3s;
}

.submenu-button-container-media i:hover {
    transform: scale(1.2);
}

.menu-item .submenu .submenu-image-container {
    display: flex;
    flex-basis: 30%;
    height: 250px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(15deg);
    box-sizing: border-box;
    margin: 1.125rem 30px;
    padding: 1.875rem 1.875rem;
}

header .logo {
    display: flex;
    width: 170px;
    height: 80px;
    justify-content: center;
    z-index: 9999;
    margin: 0 20px;
}

header .logo img {
    margin-top: -45px;
    width: 170px;
    height: auto;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

header .logo img:hover {
    filter: brightness(1.1);
}

/* Default button styles */
.user-button {
    background-color: rgba(40, 40, 40, 1);
    color: #fff;
    /* Current text color */
}

/* Styles when the panel is open */
.user-button-active {
    background-color: #f2f2f2 !important;
    /* White background */
    color: #000 !important;
    /* Black text */
}

.user-menu {
    width: 300px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    right: 0.5rem;
    position: absolute;
    z-index: 9999;
}

.user-menu h3 {
    margin: 10px 0 5px;
    font-size: 18px;
    color: #000;
}

.user-menu a {
    color: #888;
    text-decoration: none;
    background: transparent;
    line-height: 20px;
    display: block;
}

.user-menu a:hover {
    text-decoration: underline !important;
    background: transparent;
    color: #999;
}

.account-info {
    padding-top: 15px;
}

.account-info a {
    font-size: 1rem;
    padding: 0;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.info-text {
    margin-left: 10px;
    line-height: 1.4;
    text-align: left;
}

.info-text p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.management-container {
    margin: 10px 0;
}

.management-container a {
    font-size: 1rem;
    padding: 5px 0;
}

.user-menu-container img {
    display: block;
    margin: 0 auto;
}

.nav-bar-opener {
    display: none;
}

@media screen and (max-width: 1100px) {
    .menu-main {
        display: none;
    }

    .nav-bar-opener {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
    }

    .menu-opener {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 24px;
        width: 30px;
        cursor: pointer;
        position: relative;
        margin: 0 20px;
        right: 0;
    }

    .bar {
        display: block;
        width: 100%;
        height: 4px;
        background-color: #f8f8f8;
        transition: transform 0.3s ease, opacity 0.3s ease;
        position: relative;
    }

    .bar:nth-child(1),
    .bar:nth-child(3) {
        transform-origin: center center;
    }

    .menu-opener.open .bar:nth-child(1) {
        transform: rotate(45deg) translateY(15px);
    }

    .menu-opener.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-opener.open .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-15px);
    }

    .logo-opener {
        height: 60px;
        margin: 0 20px;
        display: flex;
    }

    .logo-opener img {
        height: 60px;
        overflow: hidden;
        transition: 0.3s ease-in-out;
    }

    .logo-opener img:hover {
        filter: brightness(1.2);
    }

    .menu-main-opener {
        display: flex;
        flex-direction: column;
        background-color: rgb(20, 20, 20);
        /* Slightly lighter dark background for better contrast */
        position: absolute;
        top: 120px;
        left: 0;
        right: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.5s ease;
        z-index: 999;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        /* Add shadow for depth */
    }

    .menu-main-opener.visible {
        height: 100vh;
        padding: 20px 0;
        /* Increase padding for more breathing room */
        overflow-y: auto;
    }

    .menu-main-opener::before {
        content: "";
        position: absolute;
        top: -100px;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to left, #e7bd56, rgba(255, 255, 255, 0));
        /* Improved gradient */
    }

    .menu-main-opener hr {
        width: 80%;
        /* Adjust width for better layout */
        margin: 15px auto;
        /* Adjust spacing */
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        /* Slightly more opaque */
    }

    .menu-item-opener {
        padding: 20px 0;
        /* Increase padding for spacing */
    }

    .menu-button-opener {
        border: none;
        background: transparent;
        font-size: 1.5rem;
        color: #ffffff;
        transition: transform 0.5s ease-in-out, color 0.3s ease;
        font-weight: 600;
        /* Make the text more prominent */
    }

    .menu-button-opener:hover {
        color: rgba(231, 151, 33, 1);
        transform: scale(1.1);
        /* Slightly enlarge on hover for effect */
    }

    /* Submenu styling */
    .submenu-opener {
        display: flex;
        flex-direction: column;
        background-color: rgb(30, 30, 30);
        /* Slightly different shade for contrast */
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        padding: 5px 0;
        border-top: 1px solid #e7bd56;
        /* Add a golden top border */
    }

    .submenu-opener.visible {
        max-height: 500px;
    }

    .submenu-button-container-opener {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }

    .submenu-button-container-opener a {
        color: #f8f8f8;
        text-decoration: none;
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
        text-align: center;
        transition: color 0.3s ease, transform 0.5s ease-in-out;
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin: 10px auto;
    }

    .submenu-button-container-opener a:hover {
        color: #9b9b9b;
        transform: scale(1.05);
        /* Slightly enlarge on hover for effect */
    }

    /* Subcategory container */
    .subcategory-title {
        background: none;
        border: none;
        color: #f8f8f8;
        font-size: 1.3rem;
        cursor: pointer;
        text-align: center;
        padding: 15px;
        width: 100%;
        transition: color 0.3s ease, transform 0.3s ease;
        font-weight: 500;
    }

    .subcategory-title:hover {
        color: rgba(231, 151, 33, 1);
        transform: perspective(10px);
    }

    .subcategory-title i {
        position: absolute;
        right: 0;
        margin: 0 20px;
    }

    .subcategory-content {
        position: fixed;
        top: 125px;
        left: 0;
        width: 0;
        height: 100vh;
        background-color: rgb(30, 30, 30);
        /* Matching submenu background color */
        transition: width 0.5s ease, opacity 0.5s ease-in-out;
        z-index: 1000;
        padding: 30px;
        /* Increase padding for better content spacing */
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
    }

    /* Visible state for the subcategory */
    .subcategory-content.visible {
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
    }

    /* Back button styling */
    .back-button {
        background-color: #e7bd56;
        /* Golden background for contrast */
        color: #000;
        border: none;
        padding: 10px;
        margin-bottom: 10px;
        cursor: pointer;
        font-size: 1rem;
        transition: background-color 0.3s ease, transform 0.3s ease;
        width: 20%;
    }

    .back-button:hover {
        background-color: #d1a545;
        transform: scale(1.05);
    }
}

/*-----------------------------------------
                 Footer
-----------------------------------------*/

#footer {
    padding: 30px 20px;
    /* Réduction du padding pour réduire l'espace vide */
    color: rgb(236, 150, 24);
    background-color: #000000;
    font-size: 14px;
    text-align: center;
    position: relative;
}

#footer .footer-top {
    text-align: center;
    margin-bottom: 20px;
    /* Espacement réduit */
}

#footer .footer-top img {
    max-width: 160px;
    /* Légère réduction de la taille du logo */
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
    /* Effet ombre pour ressortir */
}

#footer hr {
    max-width: 300px;
    margin: 20px auto;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Ligne plus fine */
}

#footer .copyright {
    margin-bottom: 10px;
    color: #f6eed6;
    font-weight: bold;
    font-size: 1rem;
}

#footer .credits {
    margin: 0 auto;
    color: #f6eed6;
    font-size: 13px;
    max-width: 1200px;
    line-height: 1.6;
}

#footer .credits p {
    margin-bottom: 10px;
}

#footer a {
    color: #e7bd56;
    text-decoration: none;
    font-weight: bold;
}

#footer a:hover {
    text-decoration: underline;
    color: #ffcc00;
    /* Ajoute un effet hover doré pour attirer l'attention */
}

/* Bordure supérieure stylisée */
#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #e7bd56, rgba(255, 255, 255, 0));
    /* Effet gradient doré */
}

/* Responsivité */
@media (max-width: 768px) {
    #footer {
        font-size: 12px;
    }

    #footer .footer-top img {
        max-width: 120px;
        /* Réduction du logo sur petits écrans */
    }

    #footer .credits {
        max-width: 100%;
        padding: 0 10px;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    background: url(../images/home/background1.jpg) top center no-repeat;
    background-size: cover;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    /* Centers the content vertically */
    justify-content: space-between;
    /* Space between text and button */
}

/* Text styling */
.hero-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #eae6d7;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f5a623, #ff7800);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
}

/* Button styling */
.hero-button {
    position: absolute;
    bottom: 50px;
    right: 50px;
    box-shadow: 0 2px 2px 0 #000;
    color: #FFF;
    background: linear-gradient(to bottom, #f7e199 1%, #f9db77 7%, #fac612 14%, #f19e12 41%, #f19e12 52%, #f19e12 88%, #fac612 99%);
    text-shadow: 0 1px 1px #333;
    border: none;
    text-align: center;
    cursor: pointer;
    font-size: 2.0rem;
    padding: 1.2rem 3.4rem;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.hero-button:hover {
    background: linear-gradient(to bottom, #f7e199 1%, #f9db77 7%, #fac612 14%, #f19e12 88%, #fac612 99%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    /* Augmente l'ombre au hover */
}

@media (max-width: 991px) {
    #hero {
        padding-top: 80px;
    }
}


/*-----------------------------------------
                 HOME
-----------------------------------------*/

.NewsHome {
    border-top: 5px #000 solid;
    padding: 80px 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 75%),
        url(../images/home/background-section1.jpg) top center no-repeat;
    background-size: cover;
    position: relative;
    height: auto;
    transition: margin-top 0.5s ease-in-out;
    border-bottom: #9B613C 1px solid;
}

.NewsHome::before {
    content: '';
    position: absolute;
    top: 0;
    /* Ajuste la position pour que la bordure soit au-dessus de la première */
    left: 0;
    right: 0;
    height: 1px;
    /* Épaisseur de la seconde bordure */
    background-color: #9B613C;
    /* Couleur plus vive de la seconde bordure */
}

.section-title-home {
    text-align: left;
}

.section-title-home h2 {
    color: #F9C312;
    /* Doré subtil pour un côté enchanté */
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    /* Ajoute une ombre subtile pour la profondeur */
}

@media (max-width: 768px) {
    .section-title-home h2 {
        font-size: 2.5rem;
    }
}

.section-title-home p {
    color: #d3d3d3;
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    /* Même traitement pour le texte secondaire */
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1500px;
    margin: 0 auto;
}

.Article {
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

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

.HeaderNews {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.HeaderNews h2 {
    font-size: 1.5rem;
    color: #e7bd56;
    /* Texte doré pour mieux s'harmoniser avec le fond */
    background-color: rgba(0, 0, 0, 0.6);
    /* Plus de contraste pour le texte */
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
}

.HeaderNews img {
    width: 50px;
    height: auto;
}

.ContentNews {
    padding: 20px;
    color: #f1e8d1;
    font-size: 1.3rem;
    line-height: 1.6;
    background: rgba(83, 67, 58, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.FooterNews {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(122, 94, 72, 0.9);
    border-radius: 0 0 15px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.FooterNews .leftFooter {
    color: #f1e8d1;
}

.FooterNews .leftFooter img {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.FooterNews .rightFooter {
    color: #e29c1e;
}

.ButtonNews {
    background-color: #9B613C;
    /* Marron clair pour correspondre au thème général */
    color: #ffffff;
    padding: 15px 30px;
    border: 1px solid #e7bd56;
    /* Bordure dorée pour l'accentuation */
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease-in-out;
    margin-top: 40px;
}

.ButtonNews:hover {
    background-color: #7e4f2e;
    /* Teinte plus sombre au survol */
    color: #f1e8d1;
    /* Couleur plus douce au survol */
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .HeaderNews h2 {
        font-size: 1.4rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Server Section */
.ServerHome {
    border-top: 5px solid #000;
    padding: 80px 0;
    background:
        linear-gradient(to bottom, rgba(45, 45, 78, 0.7), rgba(45, 45, 78, 0.5) 50%, rgba(45, 45, 78, 0.3) 90%),
        url(../images/home/background-section2.jpg) top center no-repeat;
    background-size: cover;
    position: relative;
    height: auto;
    transition: margin-top 0.5s ease-in-out;
    border-bottom: 1px solid #0C67B8;
}

.ServerHome::before {
    content: '';
    position: absolute;
    top: 0;
    /* Ajuste la position pour que la bordure soit au-dessus de la première */
    left: 0;
    right: 0;
    height: 1px;
    /* Épaisseur de la seconde bordure */
    background-color: #0C67B8;
    /* Couleur plus vive de la seconde bordure */
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Adapte la grille en fonction de la taille de l'écran */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ServerBlock {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.Server {
    background-color: rgba(12, 103, 184, 0.9);
    /* Légèrement translucide pour mieux s’intégrer au background */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #0C67B8;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.Server:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.5);
    /* Ombre renforcée au survol */
}

.HeaderServer {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.Ak-Text {
    background-color: rgba(0, 0, 0, 0.6);
    /* Un peu plus de contraste */
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.Ak-Title {
    font-size: 1.5rem;
    /* Taille légèrement plus grande pour mieux ressortir */
    color: #eae6d7;
    font-weight: bold;
}

.Ak-Info {
    color: #ffcc29;
    /* Jaune doré pour contraster avec le fond sombre */
    font-size: 1.2rem;
}

/* Server Description */
.ServerText {
    background-color: rgba(0, 0, 0, 0.5);
    /* Un fond légèrement translucide pour mieux s'adapter à l'arrière-plan */
    color: #eae6d7;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    /* Un espace pour séparer la section des serveurs */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    /* Ajoute une légère ombre */
}

.TitleServerText {
    font-size: 2.2rem;
    color: #ffcc29;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    /* Pour donner un peu plus de structure */
}

.ContentServerText p {
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    color: #e0e0e0;
    /* Couleur un peu plus claire pour une meilleure lisibilité */
}

.FooterServerText {
    text-align: center;
    margin-top: 20px;
}



/* Shop Section */
.ShopHome {
    border-top: 5px #000 solid;
    padding: 80px 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.0) 80%),
        url(../images/home/background-section3.jpg) top center no-repeat;
    background-size: cover;
    position: relative;
    height: auto;
    transition: margin-top 0.5s ease-in-out;
    border-bottom: #5E402B 1px solid;
}

.ShopHome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #5E402B;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Shop Item Cards */
.eshop-item {
    background: rgba(83, 67, 58, 0.9);
    /* Slightly darker warm tone */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
    transition: transform 0.3s ease, box-shadow 0.3s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    /* Atténuation de l'ombre pour une apparence plus douce */
}

.eshop-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

.shop-link {
    text-decoration: none;
    color: inherit;
}

.HeaderShop {
    height: 220px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.Ak-TextShop {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    width: 100%;
    color: #f0e1c4;
}

.Ak-TitleShop {
    font-size: 1.7rem;
    margin-bottom: 5px;
}

.Ak-InfoShop {
    font-size: 1.2rem;
}

.AncienPrice {
    text-decoration: line-through;
    margin-right: 10px;
    color: #f9b234;
    /* Couleur dorée plus vive */
}

.NewPrice {
    color: #00B0BB;
    /* Or plus lumineux pour attirer l’attention */
}

.FooterShop {
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #f9f6f3;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.FooterShop:hover {
    background-color: #856f5c;
    color: #ffffff;
}


/* Launcher Section */
.LauncherHome {
    border-top: 5px #000 solid;
    padding: 100px 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 50, 0.6), rgba(0, 0, 50, 0.4) 40%, rgba(0, 0, 50, 0.2) 80%),
        url(../images/home/background-section4.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    height: auto;
    transition: margin-top 0.5s ease-in-out;
    border-bottom: #4E5761 1px solid;
}

.LauncherHome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #4E5761;
}

.launcher-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Adapte la grille en fonction de la taille de l'écran */
    gap: 40px;
    align-items: center;
}

.launcher-image img {
    width: 100%;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    /* Donne du relief à l'image */
}

.launcher-text {
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    /* Légèrement transparent pour mieux intégrer l'image */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    /* Ombre subtile pour plus de profondeur */
}

.launcher-text h3 {
    font-size: 2rem;
    color: #ffda77;
    margin-bottom: 20px;
}

.launcher-text p,
.launcher-text ul {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f0e1c4;
    /* Couleur dorée plus douce pour un effet harmonieux */
}

.launcher-text ul li {
    margin-bottom: 10px;
}

/* Nouveau style pour le bouton */
.ButtonDownload {
    display: inline-block;
    background: linear-gradient(135deg, #f5a623, #ff7800);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    /* Donne un effet de relief */
    text-transform: uppercase;
    border: none;
}

.ButtonDownload:hover {
    background: linear-gradient(135deg, #e29c1e, #d36400);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    /* Augmente l'ombre au hover */
    transform: translateY(-3px);
    /* Effet de soulèvement lors du survol */
}

.ButtonDownload:active {
    transform: translateY(1px);
    /* Effet lors du clic */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.download-btn-container {
    margin-top: 30px;
    text-align: center;
    /* Centrage du bouton */
}

/* Responsive Design */
@media (max-width: 768px) {
    .launcher-container {
        grid-template-columns: 1fr;
        /* Affichage en colonne sur petits écrans */
    }

    .launcher-text {
        margin-top: 20px;
    }

    .ButtonDownload {
        width: 100%;
        padding: 15px;
    }
}

/*-----------------------------------------
                LOGIN
-----------------------------------------*/
.procedure-login {
    padding: 120px 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%),
        url(../images/background1.jpg) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* Background fixed for a parallax effect */
    position: relative;
    transition: margin-top 0.5s ease-in-out;
}

.procedure-login #loginPanel {
    margin: 200px auto;
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    /* Lighter background to reduce dark tone */
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
    /* Softer shadow */
}

.procedure-login #loginPanel .headerPanel {
    background-color: rgba(122, 94, 72, 1);
    /* Softer grey for the header */
    padding: 20px 0;
    border-radius: 15px 15px 0 0;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.procedure-login #loginPanel .headerPanel h2 {
    color: #f0c74e;
    /* Soft off-white for the title */
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.procedure-login .akContainer {
    background: rgba(83, 67, 58, 1);
    /* Default warm background */
    border: 1px solid rgba(0, 0, 0, 0.2);
    /* Subtle border for separation */
    border-radius: 15px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    /* Softer shadow */
    text-align: center;
}

.procedure-login form {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 40px 30px;
}

.procedure-login .akContainer label {
    text-align: left;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f1e8d1;
    /* Softer yellowish-gold color for the labels */
}

.procedure-login .akContainer .inputContainer {
    background: #f5f5f5;
    height: 50px;
    color: #000;
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 15px;
}

.procedure-login input[type="text"],
.procedure-login input[type="password"],
.procedure-login input[type="email"] {
    width: 100%;
    font-size: 1rem;
    color: #000;
    /* Softer yellowish-gold color for the labels */
    height: 50px;
    background-color: transparent;
    border: none;
    flex-grow: 1;
    outline: none;
}

.procedure-login input:-webkit-autofill,
.procedure-login input:-webkit-autofill:hover,
.procedure-login input:-webkit-autofill:focus,
.procedure-login input:-webkit-autofill:active {
    transition: background-color 9999s ease-in-out 0s;
    background-color: transparent !important;
    color: #f1e8d1 !important;
}

.buttonView {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    font-size: 1.5rem;
}

.icon-eye,
.icon-eye-slash {
    display: inline-block;
}

.procedure-register .buttonView:focus {
    outline: none;
}

.procedure-login #messageContainer {
    margin: 10px auto;
    padding: 15px 50px;
    background: rgb(217 85 85);
    color: rgba(250, 250, 250, 1);
    font-size: 1.2rem;
    max-width: 800px;
    border-radius: 5px;
}

.procedure-login .footerContainer {
    text-align: left;
    background-color: rgba(122, 94, 72, 1);
    border-radius: 0 0 15px 15px;
    padding: 20px 15px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.procedure-login .footerContainer a {
    text-decoration: none;
    color: #f1e8d1;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.procedure-login .footerContainer a:hover {
    color: #f5a623;
    /* Slightly lighter gold on hover */
}


/*-----------------------------------------
                GENERAL
-----------------------------------------*/

.general {
    padding: 120px 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%),
        url(../images/background1.jpg) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* Background fixed for a parallax effect */
    position: relative;
    transition: margin-top 0.5s ease-in-out;
}

.container-general {
    max-width: 1200px;
    margin: 150px auto 0 auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    /* Adjusted transparency for a softer blend */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* Add subtle shadow for depth */
}

.section-title {
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    /* Permet au contenu de s'empiler sur petits écrans */
}

.iconTitle {
    background: url(../images/icons/sprite.png);
    background-size: 65px auto;
    background-repeat: no-repeat;
    width: 65px;
    height: 65px;
    display: inline-block;
    margin-right: 10px;
    flex-shrink: 0;
    /* Empêche l'icône de se réduire sur petits écrans */
}

.section-title h2 {
    color: #F9C312;
    /* Doré subtil pour un côté enchanté */
    font-size: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    /* Ajoute une ombre subtile pour la profondeur */
    display: flex;
    align-items: center;
    margin: 0;
    word-wrap: break-word;
    /* Assure que le texte ne déborde pas */
    text-transform: uppercase;
}

/* Ajustements pour petits écrans */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
        /* Réduit légèrement la taille de la police sur petits écrans */
    }
}

.headerContainer {
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    /* Subtle border for separation */
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    /* Softer shadow */
    text-align: center;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    /* Allows pagination items to wrap on small screens */
    justify-content: center;
    /* Center the pagination items */
}

.pagination a {
    padding: 12px 18px;
    margin: 6px;
    /* Adjusted for better spacing on small screens */
    border: 2px solid #e7bd56;
    /* Soft copper-brown tone */
    background-color: rgba(0, 0, 0, 0.6);
    /* Dark opaque background for better integration */
    color: rgba(245, 222, 179, 0.9);
    /* Golden beige for better contrast */
    text-decoration: none;
    border-radius: 50%;
    /* Circular shape for a unique look */
    transition: background-color 0.3s ease, transform 0.2s, box-shadow 0.3s ease;
}

.pagination a:hover {
    background-color: rgba(139, 69, 19, 1);
    /* Intense copper on hover */
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0px 4px 10px rgba(139, 69, 19, 0.6);
    /* Copper glow effect */
}

.pagination .page-item.active .page-link {
    background-color: rgba(204, 85, 0, 1);
    /* Burnt orange for a dynamic yet harmonious effect */
    color: #fff !important;
    border-color: rgba(204, 85, 0, 1);
    pointer-events: none;
    cursor: default;
}

.pagination a.disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* Responsive design */
@media (max-width: 600px) {
    .pagination a {
        padding: 10px 14px;
        /* Reduced padding for smaller screens */
        font-size: 14px;
        /* Slightly smaller text for better fit */
    }

    .pagination {
        margin-top: 15px;
        /* Adjusted margin for better spacing */
    }
}


.btn-primary {
    cursor: pointer;
    background-color: #97a800;
    color: #fff;
    text-shadow: 0 1px 1px #333;
    font-family: "bebas_neueregular", sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    margin: 10px auto;
    transition: all .3s ease;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #b6ca02;
}

.btn-secondary {
    background-color: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-secondary:hover {
    background: #ad392d;
}

/* Navigation Menu */
.ak-page-menu {
    background-color: rgba(0, 0, 0, 0.1);
    /* Un fond très léger pour réduire la lourdeur visuelle */
    border-radius: 12px;
    text-align: center;
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    padding: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
}

.ak-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    /* Espacement uniforme */
}

.ak-nav-links li a {
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
    color: #f6e1b5;
    /* Couleur de texte doré clair */
    background-color: rgba(122, 94, 72, 1);
    /* Marron pour les boutons */
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    /* Légère ombre */
}

.ak-nav-links li a:hover {
    background-color: #d4a34e;
    /* Survol doré */
    color: #2b1d0e;
    /* Texte foncé */
    border-color: #d4a34e;
}

.ak-nav-links li.on a {
    background-color: #FFB935;
    /* Élément actif en doré */
    color: #2b1d0e;
    border-color: #ffd07a;
    font-weight: bold;
}

/* Styles pour les autres boutons (comme le bouton "Rechercher") */
.button {
    color: #f6e1b5;
    background-color: #795548;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.button:hover {
    background-color: #d4a34e;
    color: #2b1d0e;
    border-color: #d4a34e;
}

/* Responsivité */
@media (max-width: 768px) {
    .ak-page-menu {
        padding: 30px 20px;
    }

    .ak-nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .ak-nav-links li a,
    .button {
        font-size: 14px;
        padding: 8px 15px;
    }
}

.section-title-category {
    background: rgba(122, 94, 72, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.section-title-category h2 {
    background: url(../images/bg-title.png) left center no-repeat;
    color: #f1e8d1;
    font-size: 1.5rem;
    padding: 1.2rem;
    padding-left: 1.5rem;
    text-transform: uppercase;
    text-align: left;
}

/*-----------------------------------------
                GESTION
-----------------------------------------*/

.account-section {
    padding: 15px;
    background-color: rgba(60, 44, 31, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
}

.account-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f8d399;
    padding: 5px;
    text-align: left;
}

.account-name span {
    margin-left: 5px;
    color: #d36400;
}

.no-characters {
    font-size: 0.95em;
    color: #f1e8d1;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    border-radius: 5px;
}

#infos {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    overflow: hidden;
    background-color: rgba(60, 44, 31, 0.9);
    /* Fond marron foncé transparent pour correspondre à l'ambiance */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Bordure dorée subtile */
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
}

#infos tbody {
    margin: 50px;
}

#infos th,
#infos td {
    padding: 15px 20px;
    text-align: left;
    vertical-align: middle;
}

#infos th {
    color: #f8d399;
    /* Couleur dorée clair pour le texte */
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    /* Bordure dorée pour séparer les colonnes */
}

#infos tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Bordure dorée subtile entre les lignes */
    font-size: 1rem;
}

#infos tr:last-child {
    border-bottom: none;
}

#infos td {
    text-align: center;
    color: #f1e8d1;
    /* Couleur claire pour le texte */
}

#infos img {
    vertical-align: middle;
    width: 100px;
    height: auto;
    border: outset 5px;
    border-color: rgba(242, 201, 76, 0.8);
}

@media screen and (max-width: 600px) {
    #infos {
        font-size: 0.9em;
    }

    #infos th,
    #infos td {
        padding: 10px 15px;
    }
}

.alert-failure {
    margin: 10px auto;
    padding: 15px 50px;
    background: rgb(217 85 85);
    color: rgba(250, 250, 250, 1);
    font-size: 1.2rem;
    max-width: 800px;
    border-radius: 5px;
}

.alert-success {
    margin: 10px auto;
    padding: 15px 50px;
    background: rgb(85 175 85);
    color: rgba(250, 250, 250, 1);
    font-size: 1.2rem;
    max-width: 800px;
    border-radius: 5px;
}

.SelectAvatar {
    border: outset 3px rgba(242, 201, 76, 0.8);
    background: transparent;
    width: 70px;
    height: 94px;
    position: relative;
    display: inline-block;
    margin: 5px;
}

.labelavatar {
    cursor: pointer;
    transition: 0.3s ease-in-out;
    filter: brightness(0.9);
}

.labelavatar:hover {
    filter: brightness(1.1);
}

.labelavatar img {
    width: 100%;
    height: auto;
}

.inputavatar[type="radio"]:checked+.labelavatar {
    filter: grayscale(0);
}

.shopContainer .form-group-gestion {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto
}

.shopContainer label {
    text-align: left;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f1e8d1;
}

.form-group-gestion input[type="password"],
.form-group-gestion input[type="email"] {
    background: #f5f5f5;
    height: 50px;
    color: #000;
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.form .btn-primary {
    margin: 20px auto;
}

/*-----------------------------------------
                NEWS
-----------------------------------------*/

/* View Switcher Buttons */
.view-switcher {
    justify-content: flex-end;
    display: flex;
    margin-bottom: 20px;
}

.view-switcher button {
    background-color: rgba(76, 70, 61, 0.9);
    /* Darker warm tone to match the site */
    border: 2px solid #d4af37;
    /* Golden border to align with theme */
    border-radius: 10px;
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    color: #f4f4f4;
    /* Light text color for readability */
}

.view-switcher button:hover {
    transform: scale(1.05);
    /* Slight scale-up on hover */
    background-color: #d4af37;
    /* Golden background on hover */
    color: #2b2b2b;
    /* Darker text for contrast on hover */
}

.view-switcher button.active {
    background-color: #d4af37;
    /* Golden background for active state */
    color: #2b2b2b;
    /* Darker text for better readability */
}

.view-switcher button img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    /* Invert color to make icons match */
}

#news-container-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    /* Responsive grid */
    gap: 20px;
    /* Space between the articles */
}

#news-container-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Responsive grid */
    gap: 20px;
    /* Space between the articles */
}

.ArticleList {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
}

/* Alternating background colors for variety */
.ArticleList:nth-child(even) {
    background: rgba(83, 67, 58, 0.9);
    /* Slightly darker warm tone */
}

.ArticleList:hover {
    transform: scale(1.02);
    /* Slight lift on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}

.ArticleList a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f6dba7;
    /* Warm beige text for readability */
    width: 100%;
}

.ArticleList a:hover {
    color: #f9d28c;
    /* Brighter hover color for interactive elements */
}

.iconNewsList {
    width: 50px;
    margin-right: 15px;
}

.iconNewsList img {
    width: 50px;
    height: auto;
}

.contentNewsList {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.titleNewsList h2 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    color: #f8e8c8;
    /* Lighter warm tone for better visibility */
}

/* Subtle contrast for date and metadata */
.dateNewsList h2 {
    font-size: 0.9rem;
    font-weight: normal;
    color: #d4b080;
    /* Softer warm color for metadata */
    margin: 5px 0 0;
}

.rightNewsList {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #97a800;
    /* Keep the green accent */
}

.rightNewsList h2 {
    margin: 0;
    display: flex;
    align-items: center;
    color: #97a800;
}

.rightNewsList i {
    margin-right: 5px;
    color: #97a800;
}

.ArticleNews {
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

/* News Content */
.newsContainer {
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
}

.newsContainer img {
    width: 100%;
    height: auto;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
}

.newsText {
    font-size: 1.1rem;
    color: #f1e8d1;
    line-height: 1.6;
}

/* News Footer */
.newsFooter {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    color: #f1e8d1;
    background: rgba(83, 67, 58, 0.9);
    /* Slightly darker warm tone */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
    border-top: none;
}

.newsFooterLeft,
.newsFooterRight {
    font-size: 1rem;
}



/* Comment Section */
.contentPage {
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    /* Fond sombre mais avec un peu plus d'opacité */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.8);
}

/* Comment Container */
.commentContainer {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 20px;
    background-color: rgba(122, 94, 72, 0.9);
    /* Fond brun chaud pour un meilleur contraste */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Légère ombre pour donner du relief */
    transition: transform 0.3s, background-color 0.3s;
}

.commentContainer:hover {
    transform: scale(1.02);
    background-color: #856f5c;
    /* Mise en avant au survol avec une légère variation de teinte */
}

/* Avatar Styling */
.commentAvatar {
    margin-right: 15px;
}

.avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ffcc33;
    /* Bordure dorée pour correspondre à l'esthétique */
}

/* Comment Content */
.commentContent {
    max-width: 80%;
}

.User-Commentaire-Ak {
    margin-bottom: 10px;
}

.User-Commentaire-Ak strong {
    font-size: 1.2rem;
    color: #e7bd56;
    /* Texte doré lumineux pour les noms d'utilisateur */
}

.Ak-Time {
    font-size: 1rem;
    color: #b3b3b3;
    /* Couleur plus douce pour la date */
}

.Content-Commentaire-Ak {
    font-size: 1rem;
    color: #f5f5f5;
    /* Texte légèrement plus clair pour une meilleure lisibilité */
    line-height: 1.5;
}

/* Comment Form */
.Ak-Comment-Post {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.Ak-Comment-Post-Content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.Avatar-Ak img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ffcc33;
    margin-right: 15px;
}

.Ak-Comment-Submit {
    width: 100%;
}

.Ak-Comment-Submit textarea {
    height: 80px;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(83, 67, 58, 0.9);
    /* Arrière-plan brun chaud pour correspondre aux cartes */
    color: #f5f5f5;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
}

.Ak-Comment-Submit input[type="submit"] {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #ff6633;
    /* Couleur vive pour contraster */
    color: #fff;
    font-size: 1.1rem;
    font-family: 'MedievalSharp', cursive;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.Ak-Comment-Submit input[type="submit"]:hover {
    background-color: #e64a19;
}

.btn-comment {
    border: none;
    display: inline-block;
    background: linear-gradient(135deg, #b36733, #8b4d29);
    /* Dégradé bronze/cuivré */
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    /* Effet de relief */
    text-transform: uppercase;
}

.btn-comment:hover {
    background: linear-gradient(135deg, #a55c2e, #7a4423);
    /* Couleur cuivré légèrement plus foncée au survol */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    /* Augmente l'ombre au hover */
    transform: translateY(-3px);
    /* Effet de soulèvement lors du survol */
}

.btn-comment:active {
    transform: translateY(1px);
    /* Effet lors du clic */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

/*-----------------------------------------
                ENCYCLOPEDIE
-----------------------------------------*/
.ak-nav-expand-wiki {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    margin-bottom: 20px;
    background: rgba(83, 67, 58, 1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    flex-wrap: wrap;
    /* Allows wrapping of items on small screens */
}

.ak-nav-expand-wiki a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 70px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    margin: 5px;
    /* Add some spacing between items */
}

.ak-link-nav-on {
    background-color: rgba(203, 153, 80, 0.8);
    /* Golden highlight for the active link */
    border-radius: 8px;
    transform: scale(1.1);
    /* Slight zoom for active icon */
}

.ak-link-nav {
    background-color: rgba(122, 94, 72, 0.9);
    /* Neutral background for inactive icons */
    border-radius: 8px;
    filter: brightness(0.9);
    /* Slight dimming to make active link stand out */
}

.ak-link-nav:hover {
    transform: scale(1.05);
    /* Zoom effect on hover */
    background-color: rgba(203, 153, 80, 0.5);
    /* Slightly brighter gold on hover */
}

.icone-nav-wiki {
    width: 65px;
    height: 65px;
    transition: filter 0.3s ease;
    background-image: url(../images/icons/sprite-encyclopedie.png);
}

.ak-link-nav-on .icone-nav-wiki {
    filter: brightness(1.2) sepia(0.3);
    /* Brighten active icon */
}

.ak-link-nav:hover .icone-nav-wiki {
    filter: brightness(1.1) sepia(0.2);
    /* Brighten on hover */
}

/* Responsive design */
@media (max-width: 600px) {
    .ak-nav-expand-wiki {
        padding: 10px;
        /* Adjust padding for smaller screens */
        justify-content: space-around;
        /* Center items for better alignment */
    }

}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.wiki-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.wiki-header {
    padding: 5px;
    background: rgba(122, 94, 72, 1);
    /* Default warm background */
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    /* Subtle border for separation */
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    /* Softer shadow */
    text-align: center;
    margin-bottom: 20px;
}

.wiki-header img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
}

a:nth-child(even) .menu-wiki-ak {
    background: rgba(83, 67, 58, 0.9);
    /* Slightly darker warm tone */
}

a:nth-child(odd) .menu-wiki-ak {
    background: rgba(122, 94, 72, 0.9);
    /* Default warm background */
}

.menu-wiki-ak {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border for separation */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-wiki-ak:nth-child(even) {
    background: rgba(83, 67, 58, 0.9);
    /* Slightly darker warm tone */
}

.menu-wiki-ak:hover {
    transform: scale(1.02);
    /* Slight lift on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
    filter: sepia(0);
}

.ak-illu {
    background-image: url(../images/icons/sprite-encyclopedie.png);
    width: 65px;
    height: 65px;
}

.ak-title-illu {
    font-weight: 500;
    color: #f8e8c8;
    text-transform: uppercase;
    text-align: center;
}

.menu-wiki:hover {
    background: #97a800;
    filter: sepia(0);
}

.Panel-classe {
    background: rgba(122, 94, 72, 0.9);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.Panel-classe:hover {
    transform: scale(1.02);
    /* Slight lift on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
    filter: sepia(0);
}

.Panel-classe-Title {
    background: rgba(122, 94, 72, 1);
    color: #f0c74e;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
    text-align: center;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.Panel-classe-Title h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.Panel-classe-Img {
    background-size: cover;
    width: 100%;
    height: 300px;
}

.Metier {
    position: relative;
    min-height: 1px;
    width: calc(25% - 12px);
    float: left;
    padding: 6px 0;
}

@media (max-width: 999px) {
    .Metier {
        width: calc(33.3333% - 12px);
        margin: 10px 0 0 0;
    }
}

.MetierContent {
    background: url(../images/home/bg-item.jpg) center center no-repeat;
    background-size: cover;
    cursor: pointer;
    text-align: center;
    padding: 1.5rem;
    border: 4px inset;
    border-color: #c9c6bb;
    position: relative;
    text-align: center;
    border-radius: 0;
    overflow: hidden;
}

.MetierContent:hover {
    background: linear-gradient(0deg, rgb(65, 23, 3) 0%, rgb(216, 77, 8) 50%, rgb(65, 23, 3) 100%);
}

.MetierContent img {
    width: 100%;
    height: auto;
    display: block;
}

.TitleMetier {
    padding: 12px 12px 12px 12px;
    text-align: left;
    position: relative;
    background: #FFFFFF;
    height: auto;
    width: auto;
    float: bottom;
    border: 1px solid #dfdbcd;
    color: #000000;
    font-size: 15px;
}

.TitleMetier:hover {
    text-decoration: underline;
}


/*-----------------------------------------
                TELECHARGER
-----------------------------------------*/

.download {
    padding: 120px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%), url(../images/telecharger/background.jpg) top center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    transition: margin-top 0.5s ease-in-out;
}

.container-download {
    max-width: 1200px;
    margin: 120px auto 0 auto;
    padding: 15px;
}

.section-title-download {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title-download h2 {
    margin: 0 auto;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 0;
}

.sepration-download {
    margin: 24px auto;
    height: 5px;
    width: 213px;
    background: url(../images/telecharger/separator.png) center center no-repeat transparent;
}

.ButtonDlJoin {
    box-shadow: 0 2px 2px 0 #000;
    color: #FFF;
    background: linear-gradient(to bottom, #f7e199 1%, #f9db77 7%, #fac612 14%, #f19e12 41%, #f19e12 52%, #f19e12 88%, #fac612 99%);
    text-shadow: 0 1px 1px #333;
    border: none;
    text-align: center;
    cursor: pointer;
    font-size: 2.0rem;
    padding: 1.2rem 3.4rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.ButtonDlJoin:hover {
    background: linear-gradient(to bottom, #f7e199 1%, #f9db77 7%, #fac612 14%, #f19e12 88%, #fac612 99%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    /* Augmente l'ombre au hover */
    transform: translateY(-3px);
    /* Effet de soulèvement lors du survol */
}

.ButtonDlJoin span {
    line-height: 10px;
    color: #362712;
    text-shadow: none;
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: none;
}

.TextJoin {
    text-align: center;
    max-width: 430px;
    margin: auto;
    position: relative;
    padding: 5px;
}

.TextJoin a {
    color: #FFFFFF;
    font-size: 18px;
}

.TextJoin b {
    color: #FFFFFF;
    font-style: italic;
    text-decoration: underline;
    font-size: 1.2rem;
}

.TextJoin p {
    color: #aaa;
    font-size: 12px;
    line-height: 15px;
}

.TextJoin a:hover {
    color: #97a800;
}

.TitleInstru {
    color: #fda90c;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin: 24px 0;
}

/* Parent Container */
.InstructionJoin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Additional styles for internal content */
.InstructionTitle {
    position: relative;
    margin: 12px auto;
    box-sizing: border-box;
    max-width: 334px;
}

.InstructionTitle img {
    border: 10px solid rgba(0, 0, 0, 0.6);
    max-width: 334px;
    width: 100%;
    display: block;
    height: auto;
}

.InstruText {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: "bebas_neueregular", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    z-index: 2;
    box-sizing: border-box;
}

.InstruContent {
    position: relative;
    color: #fff;
    font-size: 14px;
    line-height: 15px;
    text-align: justify;
    text-align-last: left;
    max-width: 334px;
    margin: 12px auto;
    box-sizing: border-box;
}

/*-----------------------------------------
                LADDERS
-----------------------------------------*/

#ladder {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: rgba(60, 44, 31, 0.9);
    /* Fond transparent pour garder l'harmonie */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Bordure dorée subtile */
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
}

#ladder tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* Séparation subtile entre les lignes */
    color: #f1e8d1;
    font-size: 1rem;
}

#ladder tr:last-child {
    border-bottom: none;
}

#ladder td {
    padding: 15px 20px;
    vertical-align: middle;
}

#ladder img {
    vertical-align: middle;
}

#ladder .ak-icon-position {
    text-align: center;
    display: block;
    position: relative;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.5rem;
    font-weight: bold;
}

#ladder .ak-position-1 {
    background: #ffba00;
    color: #fff;
    box-shadow: inset 0 0 3px 2px #ffe300;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1.5rem;
    font-weight: bold;
}

#ladder .ak-position-2 {
    background: #b6b6b6;
    color: #eee;
    box-shadow: inset 0 0 3px 2px #ddddcd;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1.5rem;
    font-weight: bold;
}

#ladder .ak-position-3 {
    background: #ff6100;
    color: #ffbb3f;
    box-shadow: inset 0 0 3px 2px #ff9b00;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 1.5rem;
    font-weight: bold;
}

#ladder .ak-icon-level {
    background: url(../images/icons/omega.png) center center no-repeat;
    width: 42px;
    display: inline-block;
    line-height: 27px;
    color: #222;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 2px;
    padding: 0;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    #ladder {
        font-size: 0.9em;
    }

    #ladder th,
    #ladder td {
        padding: 10px 5px;
        font-size: 0.85rem;
    }

    #ladder td img {
        width: 40px;
        /* Reduce icon size for smaller screens */
    }

    #ladder .ak-icon-position {
        margin: 0 10px;
    }
}

.ladder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ladderContainer {
    background: rgba(83, 67, 58, 1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: inset 0 0px 6px rgba(255, 255, 255, 0.3);
    margin: 0;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

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

.ladderHeader {
    background: rgba(122, 94, 72, 1);
    color: #f0c74e;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
    text-align: center;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.ladderHeader h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ladderContainer #ladder {
    margin: 0;
}

.ladderImg {
    background-size: cover;
    width: 100%;
    height: 250px;
}

.ladderFooter {
    background: rgba(122, 94, 72, 0.9);
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 12px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    text-align: center;
}

/*-----------------------------------------
                BOUTIQUE
-----------------------------------------*/

.shopContainer {
    background: rgba(83, 67, 58, 1);
    border: 1px solid rgba(0, 0, 0, 0.2);    
    border-radius: 12px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.shopContainer p {
    margin: 0;
    padding: 20px 0;
}

.shopContainer .form {
    padding: 20px;
}

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

.shopContainer .filter-group label {
    margin: 5px 10px;
}

.shopContainer input[type="text"] {
    background: #f5f5f5;
    height: 50px;
    color: #000;
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.shop-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Shop Item Container */
.Shop {
    background-color: rgba(122, 94, 72, 1);
    /* Dark semi-transparent background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    /* Deep shadow for a floating effect */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.Shop:hover {
    transform: scale(1.05);
    /* Slight scale-up on hover */
}


.promo-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-20deg);
    z-index: 1;
}

.ShopContent {
    position: relative;
}

.PriceShop .original-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.PriceShop .promo-price {
    color: #03CAD8;
    font-weight: bold;
}

/* Image container */
.ShopContent img {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
    max-width: 200px;
    background: rgba(83, 67, 58, 0.9);
}

/* Shop title */
.TitleShop {
    color: #f2c94c;
    /* Gold color for shop titles */
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    padding: 10px 0;
}

/* Price section */
.PriceShop {
    color: #03CAD8;
    /* Light text color */
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.PriceShop img {
    margin-left: 5px;
    width: 40px;
    /* Adjust size of ogrine icon */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .Shop {
        width: 100%;
        margin-bottom: 15px;
    }

    .ShopContent img {
        width: 80%;
    }
}

.modal[aria-modal="true"] {
    padding-right: 0 !important;
    display: block !important;
    /* If you want to force the modal to be displayed */
}

/* Modal Overlay */
.modal {
    background-color: rgba(0, 0, 0, 0.6);
    /* Darker overlay for more contrast */
    padding: 0;
}

/* Modal Dialog */
.modal-dialog {
    max-width: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Full viewport height */
    margin: 0 auto;
    /* Remove default margin */
}

/* Modal Content */
.modal-content {
    background: rgba(83, 67, 58, 1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    box-shadow: inset 0 0px 6px rgba(255, 255, 255, 0.3);
    /* Enhanced shadow for depth */
}

/* Modal Header */
.modal-header {
    background-color: rgba(122, 94, 72, 1);
    /* Dark brown */
    color: #F9C312;
    /* Gold text for contrast */
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.modal-header h5 {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.modal-header .close {
    color: #ff0000;
    /* Gold close icon */
    font-size: 3rem;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 1)
}

.modal-header .close:hover {
    color: #7f0000;
    opacity: 1;
}

/* Modal Body */
.modal-body {
    padding: 20px;
    color: #dddddd;
    /* Light gray text for readability */
    font-size: 1.1rem;
}

.description-container {
    padding: 12px;
    border-radius: 8px;
    color: #f1e8d1;
    /* Gold highlights for important details */
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 0px 12px rgba(0, 0, 0, 0.4);
}

.ogrines-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ogrines-img {
    width: 150px;
    height: auto;
    border-radius: 10px;
}

.ogrines-info p {
    font-size: 1.3rem;
    margin: 0;
}

/* Modal Footer */
.modal-footer {
    background: rgba(122, 94, 72, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    padding: 15px;
    color: #f1e8d1;
    /* Gold text */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 12px 12px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
}

.modal-footer p {
    margin: 0;
    font-size: 1.2rem;
    color: #f1e8d1;
}

.modal-footer strong {
    color: #03CAD8;
}

.modal-footer img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
}

.btn-achat {
    cursor: pointer;
    background-color: #97a800;
    color: #fff;
    text-shadow: 0 1px 1px #333;
    font-family: "bebas_neueregular", sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    transition: all .3s ease;
    border-radius: 10px;
}

.btn-achat:hover {
    background-color: #b6ca02;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 90%;
    }

    .modal-header h5 {
        font-size: 1.5rem;
    }

    .modal-body {
        font-size: 1rem;
    }
}


/*-----------------------------------------
                PAIEMENT
-----------------------------------------*/

.recapitulatif {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 20px;
    gap: 12px;
}

.recapitulatif .ShopContent {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.recapitulatif .text-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.recapitulatif p {
    font-size: 1.1em;
    color: #f1e8d1;
    padding: 0;
}

.recapitulatif p strong {
    color: #f8d399;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .recapitulatif .ShopContent {
        width: 25%;
    }

    .recapitulatif .text-container {
        width: 70%;
    }
}

@media screen and (min-width: 1024px) {
    .recapitulatif {
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .recapitulatif .ShopContent {
        width: 20%;
        margin-bottom: 0;
    }

    .recapitulatif .text-container {
        width: 80%;
    }
}

.selectPaiement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 20px;
}

.selectPaiement .paiementAudio {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800, #e65100);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    border: none;
}

.selectPaiement .paiementAudio:hover {
    background: linear-gradient(135deg, #ffb347, #ff6f00);
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
}

.selectPaiement .paiementPaypal {
    display: inline-block;
    background: linear-gradient(135deg, #0070ba, #005ea6);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    border: none;
}

.selectPaiement .paiementPaypal:hover {
    background: linear-gradient(135deg, #009cde, #0077b5);
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
}

.selectPaiement .paiementCb {
    display: inline-block;
    background: linear-gradient(135deg, #008080, #006666);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    border: none;
}

.selectPaiement .paiementCb:hover {
    background: linear-gradient(135deg, #00a3a3, #007a7a);
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.4);
    transform: scale(1.02);
}

.blockAudiotel,
.blockPaypal,
.blockCb {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    box-shadow: inset 0px 6px 12px rgba(0, 0, 0, 0.4), inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    border-radius: 0 0 15px 15px;
    color: #f1e8d1;
}

.btn-stripe {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6772e5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-stripe:hover {
    transform: translateY(-3px);
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.4);
}

/*-----------------------------------------
              VOTER & GAGNER
-----------------------------------------*/

.selectVote {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 20px;
}

.selectVote-container {
    display: flex;
    flex-direction: column;
}

.btn-ServeurPrive {
    height: 100px;
    background: url(../images/voter/logo_sp.png) #161622 no-repeat;
    background-position: center;
    border: 1px solid #FF2C60;
    /* Orange border */
    border-radius: 5px;
    /* Slightly rounded corners */
    padding: 10px 20px;
    /* Padding for size */
    cursor: pointer;
    /* Change cursor on hover */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth transition */
}

.btn-ServeurPrive:hover {
    background-color: rgb(89, 89, 122);
    /* Change background to orange on hover */
}

.btn-RpgParadize {
    height: 100px;
    background: url(../images/voter/Rpg-Paradize.png) #333333 no-repeat;
    background-position: center;
    border: 1px solid #E04F00;
    /* Orange border */
    border-radius: 5px;
    /* Slightly rounded corners */
    padding: 10px 20px;
    /* Padding for size */
    cursor: pointer;
    /* Change cursor on hover */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth transition */
}

.btn-RpgParadize:hover {
    background-color: #ff6600;
    /* Change background to orange on hover */
}

/* Container for the timer */
#ServeurPrivee-timer,
#RpgParadize-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between the icon and the text */
    margin: 10px auto;
}

.spinner-icon {
    width: 30px;
    height: 30px;
    animation: rotate-spinner 1s linear infinite;
}

/* Spinner path styling */
.spinner-path {
    stroke: #FFB935;
    stroke-dasharray: 150, 200;
    stroke-dashoffset: -10;
    stroke-linecap: round;
    animation: dash-spinner 1.5s ease-in-out infinite;
}

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

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

@keyframes dash-spinner {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 100, 200;
        stroke-dashoffset: -15;
    }

    100% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: -125;
    }
}

.arrow-up {
    background: linear-gradient(135deg, #e29c1e, #d36400);
    width: 75px;
    height: 65px;
    border-radius: 10px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
    font-size: 2.75rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: none;
    opacity: 0;
}

.arrow-up i {
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.arrow-up:hover {
    background: linear-gradient(135deg, #e29c1e, #d36400);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    transform: translateY(-10px);
}

@media screen and (max-width: 600px) {
    .arrow-up {
        width: 60px;
        height: 50px;
        font-size: 2.2rem;
    }
}


/*--------------------------------------------------------------
                        SERVEUR
--------------------------------------------------------------*/
#hero-serveur {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 120px;
}

#hero-serveur .hero-content {
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
}

@media (max-width: 991px) {

    #hero-serveur .hero-content {
        padding: 20px;
    }
}

#hero-serveur .hero-text {
    max-width: 1000px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #eae6d7;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    padding: 20px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f5a623, #ff7800);
    -webkit-background-clip: text;
    color: transparent;
}

#hero-serveur .hero-text p {
    font-size: 1.2rem;
}

#hero-serveur .hero-button {
    position: absolute;
    bottom: 50px;
    right: 50px;
    box-shadow: 0 2px 2px 0 #000;
    color: #FFF;
    background: linear-gradient(to bottom, #f7e199 1%, #f9db77 7%, #fac612 14%, #f19e12 41%, #f19e12 52%, #f19e12 88%, #fac612 99%);
    text-shadow: 0 1px 1px #333;
    border: none;
    text-align: center;
    cursor: pointer;
    font-size: 2.0rem;
    padding: 1.2rem 3.4rem;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

#hero-serveur .hero-button:hover {
    background: linear-gradient(to bottom, #f7e199 1%, #f9db77 7%, #fac612 14%, #f19e12 88%, #fac612 99%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {

    .hero-text h2 {
        font-size: 2rem;
    }

    #hero-serveur .hero-button {
        font-size: 1.5rem;
        padding: 1rem 2.5rem;
        bottom: 20px;
        right: 20px;
    }
}

.sectionServeur {
    border-top: 5px #000 solid;
    padding: 80px 0;
    position: relative;
    height: auto;
    background: rgb(25, 25, 25);
}

.section-title-serveur {
    text-align: left;
}

.section-title-serveur h2 {
    color: #F9C312;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .section-title-serveur h2 {
        font-size: 2.5rem;
    }
}

.section-title-serveur p {
    color: #d3d3d3;
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/*--------------------------------------------------------------
                        LOTERIE
--------------------------------------------------------------*/

.loterieContainer {
    background: rgba(83, 67, 58, 1);
    border: 1px solid rgba(0, 0, 0, 0.2);    
    border-radius: 12px;
    box-shadow: inset 0px 0px 6px rgba(255, 255, 255, 0.3);
    text-align: center;
    padding-bottom: 20px;
}

.loterieContainer p {
    margin: 0;
    padding: 20px 0;
    color: #fff;
    font-size: 18px;
}

/* Styles pour le conteneur de la roue */
.wheel-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 50px auto;
}

/* Styles pour la roue */
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transform: rotate(0deg);
    transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
    background: radial-gradient(circle at center, #555, #222);
    border: 15px solid #4e3b15;
    box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.5), 0px 0px 15px rgba(255, 215, 0, 0.7);
}

/* Effet de bordure dorée vers le centre */
.slice {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    border-left: 6px solid transparent;
    border-top: 6px solid transparent;
    border-image: linear-gradient(145deg, #d4af37, #ffd700, #b8860b) 1; /* Dégradé doré pour un effet 3D */
    box-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.5),      /* Ombre noire pour le relief */
        inset 0px 0px 3px rgba(0, 0, 0, 0.3); /* Ombre intérieure pour la profondeur */
}


/* Couleurs des tranches alternées pour correspondre au design */
.slice:nth-child(odd) {
    background-color: #B22222; /* Rouge foncé */
    background-image: linear-gradient(145deg, #FF6347, #8B0000);
}

.slice:nth-child(even) {
    background-color: #8B4513; /* Marron doré */
    background-image: linear-gradient(145deg, #CD853F, #A0522D);
}

/* Styles pour les images des items */
.slice img {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 45%;
    left: 85%;
    transform: translate(-100%, -100%);
}

/* Style de la flèche avec effet brillant */
.arrow {
    position: absolute;
    bottom: 26%;
    right: 3%;
    transform: rotate(25deg);
    width: 0;
    height: 0;
    border-bottom: 25px solid transparent;
    border-top: 25px solid transparent;
    border-right: 50px solid #FFD700;
    filter: drop-shadow(0px 0px 5px rgba(255, 223, 0, 0.8));
    z-index: 10;
}

.bolt {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 223, 0, 0.8);
    z-index: 10;
}

.bolt-center {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #FFD700 30%, #FFA500 70%, #FF8C00 100%);
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 
        79% 91%, 50% 70%, 21% 91%, 32% 57%, 
        2% 35%, 39% 35%
    );
    box-shadow: 
        0 0 10px rgba(255, 223, 0, 0.8), /* Outer glow */
        0 0 20px rgba(255, 165, 0, 0.6), /* Middle glow */
        0 0 30px rgba(255, 140, 0, 0.5); /* Inner glow */
    transform: rotate(15deg); /* Rotate slightly for a dynamic look */
    z-index: 10;
}


/* Animation des lumières autour de la roue */
@keyframes glow {
    0%, 100% {
        box-shadow:
            0 0 5px rgba(255, 223, 0, 0.8),
            0 0 15px rgba(255, 223, 0, 0.5),
            0 0 25px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow:
            0 0 10px rgba(255, 223, 0, 1),
            0 0 20px rgba(255, 223, 0, 0.8),
            0 0 30px rgba(255, 215, 0, 0.6);
    }
}

/* Animation continue autour de la roue */
.wheel::before {
    animation: glow 2s infinite;
}

/* Style du bouton désactivé */
.btn-primary[disabled] {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Styles pour le message d'erreur */
#message {
    color: #ff0000;
    font-size: 16px;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .wheel-container {
        width: 400px;
        height: 400px;
    }
    .slice img {
        width: 80px;
        height: 80px;
    }
    .bolt {
        width: 12px;
        height: 12px;
    }
    .bolt-center {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .wheel-container {
        width: 300px;
        height: 300px;
    }
    .slice img {
        width: 60px;
        height: 60px;
    }
    .bolt {
        width: 10px;
        height: 10px;
    }
    .bolt-center {
        width: 30px;
        height: 30px;
    }
    .arrow {
        border-bottom: 15px solid transparent;
        border-top: 15px solid transparent;
        border-right: 30px solid #FFD700;
    }
}

@media (max-width: 480px) {
    .wheel-container {
        width: 200px;
        height: 200px;
    }
    .slice img {
        width: 40px;
        height: 40px;
    }
    .bolt {
        width: 8px;
        height: 8px;
    }
    .bolt-center {
        width: 25px;
        height: 25px;
    }
}





