/* Barre recherche full width */
.search_joueur_nvk_section input {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e63946;
    background-color: #1a1a1a;
    color: #fff;
    width: 100%;
}

/* Slider joueurs */
.joueur_nvk_slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.joueur_nvk_slider::-webkit-scrollbar {
    height: 8px;
}

.joueur_nvk_slider::-webkit-scrollbar-thumb {
    background-color: #e63946;
    border-radius: 4px;
}

.joueur_nvk_card {
    flex: 0 0 220px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.joueur_nvk_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.joueur_nvk_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.joueur_nvk_info {
    padding: 1rem;
}

.joueur_nvk_info h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.joueur_nvk_info p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.joueur_nvk_info p:last-of-type {
    color: #ff7777;
}

.joueur_nvk_info .btn {
    background-color: #e63946;
    border: none;
    font-size: 0.8rem;
}

.joueur_nvk_info .btn:hover {
    background-color: #ff5c5c;
}

/* Fiche joueur + contact */
.joueur_nvk_detail_card,
.contact_form_card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.joueur_nvk_detail_card img {
    width: 100%;
    object-fit: cover;
}

/* Mini galerie */
.joueur_nvk_gallery .gallery_card {
    flex: 1 1 180px;
    max-width: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.joueur_nvk_gallery .gallery_card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

/* Slider joueurs et cards */
.joueur_nvk_card img {
    width: 100%;
    height: 220px;
    /* hauteur uniforme */
    object-fit: cover;
    display: block;
}

/* Fiche joueur */
.joueur_nvk_detail_card img {
    width: 100%;
    height: 300px;
    /* ajustable selon la mise en page */
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Mini galerie responsive */
.joueur_nvk_gallery .gallery_card img {
    width: 100%;
    height: 180px;
    /* hauteur uniforme */
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Option responsive pour galerie */
@media (max-width: 1200px) {
    .joueur_nvk_gallery .gallery_card img {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .joueur_nvk_gallery .gallery_card img {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .joueur_nvk_gallery .gallery_card img {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .joueur_nvk_gallery .gallery_card img {
        height: 100px;
    }
}


/* Formulaire */
.contact_form_card .form-control {
    background-color: #1a1a1a;
    border: 1px solid #e63946;
    color: #fff;
    border-radius: 8px;
}

.contact_form_card .form-control::placeholder {
    color: #ccc;
}

.contact_form_card .btn {
    background-color: #e63946;
    border: none;
}

.contact_form_card .btn:hover {
    background-color: #ff5c5c;
}