body {
    font-family: 'Poppins', sans-serif !important;
    /*padding-top: 70px;*/
    overflow-x: hidden;
    background-color: #F5F5F4 !important;
}

a {
    text-decoration: none !important;
}

.title{
    display: inline-block;
    background-color: #212121; /* Noir mat */
    color: #ffffff !important; /* Blanc pur */
    font-family: 'Anton', sans-serif !important;
    font-size: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 0.5rem;
    margin-bottom: 2rem;
    border-radius: 0; /* pas d’arrondi */
    line-height: 1;
}

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-shop {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.object-fit-contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.container-zenavia {
    margin: 0 auto;
    padding-left: 10rem;
    padding-right: 10rem;
}

@media (max-width: 992px) {
    .container-zenavia {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

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

.zenacolorhighlight {
    /*color: rgb(255, 255, 255);*/
    background: linear-gradient(to right, #00F7CE, #00DDFF); /* Dégradé de couleur */
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

h1, h2, h3, h4, h5, p{
    color: #000000 !important;
}

.custom-h3 {
    color: #38C1E9;
}

.card {
    position: relative; /* Position relative pour permettre le positionnement absolu des enfants */
    overflow: hidden; /* Assure que l'image ne dépasse pas */
    box-sizing: border-box; /* Inclut le padding dans la taille totale de la carte */
    border: none;
}

.card.border {
    border-color: #3b3b46 !important; /* Couleur personnalisée */
    border-width: 0px !important; /* Largeur personnalisée */
}

.card img,
.card .card-img-top {
    border: none;
    box-shadow: none;
}

.category-card img {
    width: 75%;
    display: block;
    margin: 0 auto;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.category-image-placeholder {
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRJsMPHdL5IJyrC3LqVkgVCslyvtvQFF59MWQ&s');
    background-size: cover;
    background-position: center;
    height: 120px;
    width: 100%;
    border: none !important;
    box-shadow: none !important;
}

.rounded-custom {
    border-radius: 20px !important;
}

.container-1{
    padding-inline: 10%;
}

.btn-custom {
    background-color: #38C1E9 !important;
    color: #fff !important;
}

.btn-custom-pink {
    background-color: #e25dcc !important;
    color: #fff !important;
}

.btn-primary {
    border-radius: 0.5rem;
    font-weight: 500;
}

.navbar-custom {
    background-color: rgba(0, 0, 0, 0.7) !important;
    height: 70px !important;
}

.logo-left {
    position: absolute;
    left: 1rem; /* équivalent Bootstrap ms-4 */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px !important;
}

.nav-link-custom {
    color: white !important;
    font-weight: 500 !important;
    transition: color 0.3s !important;
}

.nav-link-custom:hover {
    background: linear-gradient(270deg, #e2e2e2, #02fad1, #319197, #00c3ff, #ffffff);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: meshGradient 6s ease infinite;
}

.nav-link-custom.active {
    color: #00c3ff;
    font-weight: 900;
    border-bottom: 2px solid #00c3ff;
}

@keyframes meshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.auth-buttons {
    position: absolute;
    right: 1rem; /* équivalent Bootstrap me-4 */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.cart-icon {
    font-size: 1.5rem;
}

.tooltip-inner {
    font-family: 'Minecraftia', 'Minecraft', sans-serif; /* Police Minecraft */
    background-color: #2E2B3B; /* Fond sombre */
    color: #ffffff; /* Texte blanc */
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px; /* Coins légèrement arrondis */
    padding: 8px 12px;
    border: 2px solid #482d89; /* Bordure violette */
    box-shadow: 0 0 20px #482d89; /* Glow violet */
    max-width: 250px; /* Largeur max du tooltip */
}

/* Modifier la flèche du tooltip pour correspondre au thème */
.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-left .tooltip-arrow::before,
.bs-tooltip-right .tooltip-arrow::before {
    border-top-color: #482d89 !important;
    border-bottom-color: #482d89 !important;
    border-left-color: #482d89 !important;
    border-right-color: #482d89 !important;
}

/* Style du titre dans le tooltip */
.tooltip-inner h1 {
    font-size: 16px;
    color: #FFDD55; /* Doré */
    border-bottom: 2px solid #482d89;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Style du texte du tooltip */
.tooltip-inner p {
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.4;
}

/* Texte en gras pour mettre en valeur certaines infos */
.tooltip-inner strong {
    font-weight: bold;
    color: #FFAA00; /* Orange Minecraft */
}

.category-card {
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-body {
    background-color: #f5f5f5;
}

.card-cat-info {
    background-color: white;
}

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

.category-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px; /* ajuste selon tes besoins */
    background-color: #f2f2f2; /* ou blanc */
    padding: 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.category-color-1 { background-color: #D67A35; }
.category-color-2 { background-color: #e1e2ba; }
.category-color-3 { background-color: #edc3e6; }
.category-color-4 { background-color: #e2bbbb; }
.category-color-5 { background-color: #C8B8EA; }
.category-color-6 { background-color: #C3ECDB; }

.price {
    font-size: 1rem;
    color: #ffffff !important;
}

.btn-outline-orange {
    border: 2px solid #FF5722;
    color: #FF5722;
    background-color: transparent;
    transition: 0.2s ease-in-out;
}

.btn-outline-orange:hover {
    background-color: #FF5722;
    color: #fff;
}

.btn-shop {
    background-color: #ffffff;
    color: #121212;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border: 2px solid #38C1E9;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-shop::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #00F7CE, #00DDFF);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: inherit;
}

.btn-shop:hover::before {
    opacity: 1;
}

.btn-shop:hover {
    color: white !important;
}

.btn-shop span {
    position: relative;
    z-index: 1;
}

.btn-outline-primary {
    background-color: none !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border: 2px solid #38C1E9 !important;
    color: #38C1E9 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline-primary:hover {
    background-color: #38C1E9 !important;
    color: white !important;
}

.btn-highclub {
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    background-color: #9855cf !important;
    color: #F5F5F4 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-highclub:hover {
    background-color: #c155cf !important;
    color: white !important;
}

.zenavia-hero-section {
    background-image: url("../images/merilac_port.webp");
    background-size: cover;
    background-position: center;
    height: 600px;
    overflow: hidden;
}

.hero-title {
    font-size: 4rem;
    z-index: 2;
    color: #fff !important;
    font-family: 'Anton', sans-serif !important;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.35);
    top: 0;
    left: 0;
    z-index: 1;
}

.highclub-hero {
    background: radial-gradient(circle at center, #1e1e1e, #000000);
    height: 90vh;
    padding: 3rem;
    background-color: #000000; /* ou un fond sombre dynamique */
    background-size: cover;
    background-position: center;
}

.glow-text {
    text-shadow: 0 0 8px #ffa500, 0 0 16px #ffa500;
}

.glow-text-sub {
    text-shadow: 0 0 4px #ffffff88;
}

.advantage-card {
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    background-color: #1a1a1a;
}

.subscription-card {
    transition: transform 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 0 12px #ffa50088;
}

.black-bg {
    background-color: #000000 !important;
}

.whitetext {
    color: #ffffff !important;
}

.hctext {
    color: #9855cf !important;
}

.highclub-bg {
    background: linear-gradient(0deg, #000000 0%, #1f1423 50%, #000000 100%);
}

.highclub-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #1f1423 !important;
}
.highclub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(225, 0, 255, 0.15);
}

.footer-zenavia {
    background-color: rgb(5, 5, 5) !important;
    color: #ffffff !important;
    font-size: 14px;
}

.footer-zenavia a {
    color: #bbbbbb;
    transition: color 0.3s;
}

.footer-zenavia a:hover {
    color: #00ddff;
}

.faq-card {
  background-color: #171717;
}

.faq-card-plus {
  background-color: #2e2e2e;
}

.faq-title {
  font-size: 64px;
  font-weight: 900;
  color: #e1e1e1 !important;
  font-family: 'Anton', sans-serif !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(1); /* pour rendre la flèche blanche */
}

.accordion-header {
  background-color: none !important;
  border-radius: 0.5rem;
}

.accordion-item,
.accordion-button {
  background-color: transparent !important;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #fff;
}

.faq-card {
  background-color: #171717 !important;
}

hr {
  border: none;
  color: #ffffff !important;
  overflow: visible;
  text-align: center;
  height: 5px;
}

.category-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .category-slider {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        overflow-x: visible;
        scroll-snap-type: none;
    }
}

@media (max-width: 500px) {
    .category-slider {
        grid-template-columns: 1fr;
    }
}

.category-slide {
    flex: 0 0 350px;
    background: linear-gradient(135deg, #141414, #1f1f1f);
    color: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 992px) {
    .category-slide {
        flex: 1 1 calc(50% - 1rem);
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .category-slide {
        flex: 1 1 100%;
    }
}

.category-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.category-header {
    background-color: #1a1a1a;
    color: #ffffff !important;
    padding: 1rem;
}

.category-name {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #212121 !important;
    background-color: #fff !important;
    padding: 0.2rem 0.2rem;
    margin-bottom: 2rem;

}

.category-logo {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
}

.category-image {
    display: flex;
    justify-content: center;
    background: #1a1a1a;
    padding: 1.5rem 0;
}

.category-car {
    width: 85%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-slide:hover .category-car {
    transform: scale(1.05);
}

.category-footer {
    background-color: #0f0f0f;
    color: #ffffff !important;
}

.btn-discover {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
    color: #212121;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1; /* le bouton devient un contexte empilable */
}

.btn-discover::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00F7CE, #38C1E9);
    transition: left 0.4s ease;
    z-index: 0; /* bien derrière le texte */
}

.btn-discover:hover::before {
    left: 0;
}

.btn-discover:hover {
    color: #ffffff !important;
}

.btn-discover span {
    position: relative;
    z-index: 2; /* texte garanti au-dessus du ::before */
}



.store-section-title {
    display: inline-block;
    background-color: #212121; /* Noir mat */
    color: #ffffff !important; /* Blanc pur */
    font-family: 'Anton', sans-serif !important;
    font-size: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    margin-bottom: 2rem;
    border-radius: 0; /* pas d’arrondi */
    line-height: 1;
}

/* --- TITRE STYLE "CREDITS ET BOOSTERS" --- */
.store-section-title {
    display: inline-block;
    background-color: #1c1c1c;
    color: #ffffff;
    font-family: 'Anton', sans-serif !important;
    font-size: 4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    margin-bottom: 2rem;
    border-radius: 0;
    line-height: 1;
}

/* --- ARTICLE CARD --- */
.article-card {
    background-color: #141414;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.article-title {
    font-family: 'Anton', sans-serif !important;
    font-size: 1.6rem;
    color: #ffffff !important;
    margin-bottom: 1rem;
}

.article-price {
    font-size: 2rem;
    font-weight: 700;
    color: #00ddff !important;
    margin-bottom: 1.5rem;
}

/* --- BOUTON AVEC EFFET DE GLISSEMENT BLEU --- */
.btn-discover {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
    color: #212121;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    overflow: hidden;
    border: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-discover::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00F7CE, #38C1E9);
    transition: left 0.4s ease;
    z-index: 0;
}

.btn-discover:hover::before {
    left: 0;
}

.btn-discover span {
    position: relative;
    z-index: 2;
}

.btn-discover:hover {
    color: #ffffff !important;
}

/* --- IMAGE BOOSTER --- */
.booster-image {
    width: 160px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.article-card:hover .booster-image {
    transform: scale(1.08);
}

/* === PAGE DE CONNEXION REWORK === */
.login-page {
    background: radial-gradient(circle at center, #0b0b0b 0%, #050505 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

/* --- Carte de connexion --- */
.login-card {
    background: linear-gradient(180deg, #171717 0%, #0f0f0f 100%);
    border-radius: 0;
    width: 100%;
    max-width: 400px;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid #1d1d1d;
}

.login-subtitle {
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.5;
}

.login-subtitle span {
    color: #00ddff;
}

/* --- Champ de pseudo --- */
.login-input {
    border: 1px solid #2c2c2c !important;
    border-radius: 0;
    padding: 0.8rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-input:focus {
    border-color: #00ddff !important;
    box-shadow: 0 0 10px rgba(0, 221, 255, 0.3);
}

/* --- Image --- */
.login-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.login-illustration {
    width: 480px;
    max-width: 45vw;
    transform: scale(1);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.login-illustration:hover {
    transform: scale(1.05);
}

/* --- Adaptation mobile (connexion) --- */
@media (max-width: 992px) {
    .login-image {
        display: none;
    }
    .login-card {
        max-width: 90%;
    }
}

/* --- Navbar responsive --- */
.navbar-custom {
    background-color: rgba(0, 0, 0, 0.85) !important;
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.logo-img {
    height: 45px;
    transition: all 0.3s ease;
}

/* Version desktop et mobile */
.desktop-logo { display: block; }
.mobile-logo { display: none; }

/* --- Burger icon --- */
.navbar-toggler {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler i {
    color: white;
    transition: transform 0.3s ease;
}

.navbar-toggler:focus i {
    transform: rotate(90deg);
}

/* --- Responsive adjustments --- */
@media (max-width: 991px) {
    .desktop-logo { display: none; }
    .mobile-logo { display: block; height: 35px; }

    .navbar-nav {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link-custom {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.2rem;
        color: #fff !important;
    }

    .auth-buttons {
        display: none !important; /* on masque la zone droite sur mobile */
    }

.auth-buttons-mobile {
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid rgba(0, 221, 255, 0.4); /* Liseré bleu Zenavia */
    padding: 1.5rem 1rem;
    margin-top: 1rem;
    text-align: center;
}

.auth-buttons-mobile .text-center {
    color: white;
}

.auth-buttons-mobile a,
.auth-buttons-mobile span {
    color: #fff !important;
}

.auth-buttons-mobile .btn,
.auth-buttons-mobile .btn-discover {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff !important;
}

.auth-buttons-mobile .btn:hover,
.auth-buttons-mobile .btn-discover:hover {
    background: linear-gradient(90deg, #00F7CE, #38C1E9);
    border: none;
    color: #fff !important;
}
}

