/* RESET SIMPLE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #0f1220;
  color: #e6e6eb;
  line-height: 1.6;
}

/* HEADER */
header {
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, #1b1f3b, #0f1220);
}

header h1 {
  font-size: 2.2rem;
}

header p {
  opacity: 0.8;
  margin-top: 10px;
}

/* NAV */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px;
  background: #14182e;
}

nav a {
  color: #aab0ff;
  text-decoration: none;
  font-weight: bold;
}

/* TRANSITIONS GLOBALES */
nav a  {
  transition: color 0.25s ease;
}


nav a:hover {
  color: #ffffff;
}

/* MAIN */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

section {
  margin-bottom: 40px;
}

section h2 {
  margin-bottom: 15px;
  color: #aab0ff;
}



article h3 {
  margin-bottom: 8px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  opacity: 0.6;
}



/* HOVER PRO - BUMP SUBTIL */
article {
  background: #1b1f3b;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;

  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease;
}

article:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}


/* TITRES LIENS */
article a {
  color: #aab0ff;
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
}


/* CONTENU ARTICLE */
main article p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #e0e0f0;
}

/* TITRE ARTICLE */
header h1 {
  letter-spacing: 0.5px;
}



/* META BLOG */
.meta {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 10px;
}

/* ANIMATION D'ENTRÉE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Appliquer à sections et articles */
section {
  animation: fadeUp 0.6s ease both;
}



/* HERO ANIMÉ */
.hero {
  animation: fadeUp 0.8s ease both;
}

/* RESPECT DU MOTION */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

article:focus-within {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

nav a {
  display: inline-block;
}

/* PAGE MES JEUX */
.game {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: center;
}

/* MEDIA */
.game-media img,
.game-media video {
  width: 100%;
  border-radius: 10px;
}

/* TEXTE */
.game-content ul {
  margin: 15px 0 15px 20px;
}

.game-content li {
  margin-bottom: 6px;
}

/* BOUTON */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #aab0ff;
  color: #0f1220;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .game {
    grid-template-columns: 1fr;
  }
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

hr {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
