/* --- SECTION RÉSULTAT DU MATCH --- */
.kick-last-match-result {
    background: radial-gradient(circle at 30% 20%, #002d5a, #00142d 80%);
    padding: 90px 0;
    font-family: "Poppins", "Montserrat", sans-serif;
    color: #fff;
}

/* --- TITRES --- */
.kick-last-match-result .kick-section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.kick-last-match-result .kick-section-heading h2 {
    color: #fff;
    font-weight: 700;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kick-last-match-result .kick-section-heading h2:nth-child(3) {
    color: #f9b208;
}

/* --- CONTENEUR PRINCIPAL --- */
.last-match-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 45px 35px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
}

.last-match-box:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --- ÉQUIPES --- */
.team-card {
    flex: 1;
    min-width: 280px;
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
    border: 4px solid #f9b208;
    margin-bottom: 20px;
    transition: 0.3s;
}

.team-card img:hover {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 20px;
    color: #f9b208;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* --- BUTEURS --- */
.team-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-card ul li {
    font-size: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.team-card ul li i {
    color: #f9b208;
}

/* --- SCORE CENTRAL --- */
.score-box {
    background: linear-gradient(145deg, #f9b208, #ffd84f);
    color: #001a3d;
    border-radius: 18px;
    padding: 35px 50px;
    text-align: center;
    font-weight: 800;
    font-size: 56px;
    letter-spacing: 1px;
    box-shadow: 0 0 25px rgba(249, 178, 8, 0.6);
    position: relative;
}

.score-box::before,
.score-box::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 4px;
    background: rgba(255,255,255,0.3);
}

.score-box::before {
    left: -80px;
}

.score-box::after {
    right: -80px;
}

.score-box span {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #001a3d;
    margin-top: 10px;
}

/* --- INFOS MATCH (ancienne partie supprimée remplacée par la nouvelle) --- */

/* === SECTION D'INFOS MATCH (nouvelle version sans table) === */
.match-info-section {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

.match-info-flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: 0.4s ease;
}

.match-info-flex:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* === ITEM INDIVIDUEL === */
.info-item {
  flex: 1 1 30%;
  min-width: 250px;
  text-align: center;
  color: #fff;
  padding: 25px 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.info-item:hover {
  transform: translateY(-6px);
  background: rgba(249, 178, 8, 0.15);
  box-shadow: 0 0 20px rgba(249, 178, 8, 0.3);
}

/* === ICÔNES === */
.info-item i {
  font-size: 38px;
  color: #ffd84d;
  background: rgba(255, 216, 77, 0.1);
  padding: 14px;
  border-radius: 50%;
  margin-bottom: 12px;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 216, 77, 0.25);
  transition: 0.3s ease;
}

.info-item:hover i {
  color: #fff;
  background: rgba(249, 178, 8, 0.35);
  box-shadow: 0 0 25px rgba(249, 178, 8, 0.5);
}

/* === TEXTES === */
.info-item h5 {
  font-size: 18px;
  text-transform: uppercase;
  color: #8ecaff;
  margin: 8px 0 4px;
  letter-spacing: 0.5px;
}

.info-item p {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}

.info-item a {
  color: #ffd84d;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.info-item a:hover {
  color: #fff;
  text-shadow: 0 0 6px #ffd84d;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .match-info-flex {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 25px;
  }

  .info-item {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .info-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* --- TEXTE FINAL --- */
.kick-last-match-result p {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #ccc;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .last-match-box {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .team-card img {
        width: 100px;
        height: 100px;
    }

    .score-box {
        font-size: 42px;
        padding: 25px 35px;
    }

    .score-box::before,
    .score-box::after {
        display: none;
    }
}












/* === STYLE AMÉLIORÉ POUR LE RÉSULTAT DU MATCH === */
.last-match-box {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 40px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-bottom: 50px;
}

/* --- ÉQUIPE (GAUCHE & DROITE) --- */
.team-side {
  flex: 1 1 40%;
  min-width: 280px;
}

.team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.team-header.right {
  flex-direction: column;
}

.team-header img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #f9b208;
  padding: 10px;
  transition: transform 0.3s ease;
}

.team-header img:hover {
  transform: scale(1.05);
}

.team-name {
  font-size: 20px;
  text-transform: uppercase;
  color: #f9b208;
  margin-top: 12px;
  letter-spacing: 1px;
}

.team-name a {
  color: #f9b208;
  text-decoration: none;
  font-weight: 600;
}

.team-name a:hover {
  color: #fff;
}

/* --- BUTEURS --- */
.scorers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scorers li {
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scorers li i {
  color: #f9b208;
}

.scorers a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* --- ZONE CENTRALE --- */
.match-center {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 220px;
}

.match-status {
  font-size: 18px;
  color: #8ecaff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  gap: 12px;
}

.match-score .vs {
  font-size: 26px;
  color: #ffd84d;
  font-weight: 700;
  padding: 0 8px;
}

.match-score .score-a,
.match-score .score-b {
  background: linear-gradient(145deg, #f9b208, #ffd84f);
  color: #001a3d;
  padding: 12px 22px;
  border-radius: 14px;
  box-shadow: 0 0 15px rgba(249, 178, 8, 0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .last-match-box {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .team-side {
    width: 100%;
  }

  .match-center {
    order: -1;
  }
}

@media (max-width: 600px) {
  .match-score {
    font-size: 36px;
  }

  .match-score .vs {
    font-size: 22px;
  }

  .team-header img {
    width: 90px;
    height: 90px;
  }
}

/* --- STYLE GÉNÉRAL DES PARAGRAPHES (zone résultat & infos match) --- */
.match-info-flex p,
.result-details p,
.last-match-box p {
  font-size: 18px; /* plus grand que la moyenne */
  line-height: 1.6;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #f8f8f8;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* --- Effet au survol : léger zoom et couleur accentuée --- */
.match-info-flex p:hover,
.result-details p:hover,
.last-match-box p:hover {
  color: #ffd84d; /* accent doré */
  transform: scale(1.03);
}

/* --- Si le <p> contient un lien --- */
.match-info-flex p a {
  color: #f9b208;
  font-weight: 600;
  text-decoration: none;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.match-info-flex p a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 216, 77, 0.7);
}

/* --- Adaptation mobile --- */
@media (max-width: 768px) {
  .match-info-flex p,
  .result-details p,
  .last-match-box p {
    font-size: 16px;
  }
}
