*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background: #050d1a;
  color: #e8e8f0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.home p{
  color: #9370c8;
}
.home img{
  width: 25%;
  height: auto;
}
.home{
  grid-column: 1;
  text-align: left;
}

@media (max-width: 1150px){
  .home img{
      width: 50%;
  }
}

header{
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  width: 100%;
  padding: 2em 1em 2%;
  background: linear-gradient(180deg, #0b3a0a 0%, transparent 100%);
  border-bottom: 1px solid #1d8a2644;
}

header h1{
  grid-column: 2;
  font-size: clamp(2rem, 6vw, 3.5rem); /* taille responsive */
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #94fc84, #60f755, #3aed3d);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header p{
  grid-column: 2;
  color: #77c870;
  font-size: 0.9rem;
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-center{
  grid-column: 2;
  text-align: center;
}

footer{
  display: grid;
  grid-column: 1fr 1fr 1fr;
  width: 100%;
  border-top: 1px solid #1d8a2644;
  padding: 5% 1rem 1.5rem;
  color: #77c870;
  background: linear-gradient(180deg, transparent 0%, #0b3a0a 100%);
}

footer p{
  color: #77c870;
  font-size: 0.9rem;
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-left{
  grid-column: 1;
  text-align: left;
}
.footer-right{
  grid-column: 3;
  text-align: right;
}
.footer-right a{
  color: #77c870;
}
/* ════════════════════════════════════════════
   Carte jeux
════════════════════════════════════════════ */
main{
  width: 100%;
  max-width: 700px;
  padding: 2rem 1rem 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 1rem;
  margin: 0 auto;
  flex: 1;
}

article{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0d1b35;
  border: 1px solid #1d8a2644;
  border-radius: 16px;
  padding: 1.5rem;
  width: calc(50% - 0.5rem);
  min-width: 160px;
  text-align: center;
  transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
article:hover{
  border-color: #3aed3d55;
  transform: scale(1.05);
}


section{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #350d0d;
  border: 1px solid #8a1d1d44;
  border-radius: 16px;
  padding: 1.5rem;
  width: calc(100% - 0.5rem) calc(100% - 0.5rem) calc(100%) calc(100% - 0.5rem);
  text-align: center;
  transition: border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
section p{
  color:#c87070; 
}
section h2{
  color:#ff0000; 
}

section h4{
  color:#ff0000
}

section img{
  width: 17px;
}


.temp img{
  transition: transform 0.3s ease;
}

.temp:hover img{
  transform: rotate(180deg);
}
article a{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
article img{
  width: 50%;
  height: auto;
}
article h4{
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #77c870;
}



