body {
    font-family: 'Funnel Sans', sans-serif;
}

/* - - - - - - - PAGE OPERATEURS - - - - - - - - - */
/* Grille de sélection des agents */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    padding: 20px;
}

/* La carte de l'agent */
.op-card {
    position: relative;
    
    background: radial-gradient(circle at 50% 30%, #323a45 0%, #000000 100%); 
    border: 1px solid #333;
    overflow: hidden;
    height: 250px; 
    display: block;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

/* Bordures de sélection (Bleu pour Atk, Orange pour Def) */
.side-attack .op-card:hover { border-color: #3b82f6; box-shadow: 0 0 10px rgba(59, 130, 246, 0.5); }
.side-defense .op-card:hover { border-color: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }

/* L'image portrait  */
.op-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center top; 
    filter: brightness(0.8);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.op-card:hover .op-portrait {
    filter: brightness(1.1);
    transform: scale(1.05); 
}

/* Bannière du nom */
.op-name-banner {
    position: absolute;
    bottom: 0;
    width: 100%;
   
    background-color: #0b0e12; 
    color: #ffffff;
    text-align: center;
   
    font-family: 'Arial Narrow', sans-serif; 
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    
    letter-spacing: 0.5px; 
    padding: 6px 0;
    
    transition: color 0.2s ease;
    border-top: 1px solid rgba(18, 5, 65, 0.1);
}

/* Conteneur de l'icône */
.op-icon-overlay {
    position: absolute;
    top: 70%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 50px; 
    height: 50px;
    pointer-events: none; 
}

/* L'icône */
.op-icon {
    width: 140%;
    height: 140%;
    object-fit: contain;
   
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8)); 
    transition: transform 0.2s ease;
}

/* Animation au survol */
.op-card:hover .op-icon {
    transform: scale(1.1);
}

/* --------FIN---------*/


/*    NAVIGATION     */


/* layout index */

.bar-recherche {
  max-width: 600px;
  margin-inline: auto;           
}


.bar-recherche input[type="search"] {
  width: 80%;                   
}

.platforms {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 999px;
  cursor: pointer;
}


.platform input[type="radio"] {
  position: absolute;
  opacity: 0;
}

/* taille des logos */
.platform img {
  width: 30px;
  height: 30px;
  border-radius: 80%;        
  object-fit: cover;        
  display: block;
}


.platform input[type="radio"]:checked + img {
  outline: 2px solid #ff3c9e;  
  outline-offset: 2px;
  background-color: #1b1b1f;    
  border-radius: 999px;
}


.hero {
  position: relative;
  min-height: 260px;             
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  border-radius: 0.5rem;
  overflow: hidden;

  
  background-image:
    /*linear-gradient(rgba(3, 7, 18, 0.6), rgba(3, 7, 18, 0.7)),*/
    url("../images/ubisoft.webp");
  background-size: cover;
  background-position: center;
}

/* pour que le texte reste bien au-dessus */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;  
  position: relative;
  z-index: 1;
}



.top-players {
  max-width: 100%;              /* laisse respirer */
  margin-inline: auto;
}

.top-players h4{
  text-align: center;  
}

.top-players-list {
  display: flex;
  gap: 1rem;
  justify-content: center;      /* centre la ligne de cartes */
}

.player-card {
  flex: 1 1 0;                  /* 3 cartes de largeur égale */
  max-width: 320px;             /* pour éviter qu’elles deviennent énormes */
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: #111827;
  box-shadow: 0 0 0 1px #1f2933;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.player-avatar {
  border-radius: 0.5rem;
  width: 50px;
  height: 50px;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.player-rank {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rank-icon {
  border-radius: 0.5rem;
  width: 40px;
  height: 40px;
  object-fit: cover;
}


/* enlever les soulignements des liens */
a {
  text-decoration: none !important;
}


/* les maps */
.maps-section h4 {
  text-align: center;
  margin-bottom: 1rem;
}


.maps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}


.map-card {
  position: relative;
  height: 240px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #333;
  background: #05070b;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.map-card:hover {
  transform: translateY(-2px);
  border-color: #ff3c9e;
  box-shadow: 0 0 12px rgba(255, 60, 158, 0.4);
}


.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.map-card:hover .map-image {
  transform: scale(1.05);
  filter: brightness(1);
}


.map-name-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 7, 11, 0.95);
  color: #ffffff;
  text-align: center;
  font-family: 'Arial Narrow', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card{
  background-color: var(--surface-color);
  border: 1px solid var(--divider-color);
  border-radius: 8px;
  padding: 24px 24px 16px 24px;
}