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

html, body {
  font-family: 'Poppins', sans-serif;
  background-color: #0f0f0f;
  color: #f0f0f0;
  min-height: 100vh;
}

/* --- HEADER / NAVBAR --- */
header {
  background-color: #141414;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  border-bottom: 1px solid #222;
  box-shadow: 0 3px 15px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* --- LOGO DU SITE --- */
header .logo img {
  height: 55px;
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

header .logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px #4db6ac);
}

/* --- NAVIGATION --- */
nav {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4db6ac;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #fff;
  transform: translateY(-2px);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* --- HERO / ACCUEIL --- */
.hero {
  text-align: center;
  margin-top: 100px;
  padding: 40px;
}

.hero h2 {
  font-size: 2.4rem;
  color: #4db6ac;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 10px;
}

/* --- BOUTON JOUER / AUTRES ELEMENTS --- */
.play-btn, .hero button {
  background: linear-gradient(90deg, #4db6ac, #00695c);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* --- CONTENU GÉNÉRAL --- */
main.content {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  background: #151515;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

main h2, main h3 {
  color: #4db6ac;
  margin-bottom: 15px;
}

main p, main li {
  line-height: 1.6;
  color: #ddd;
}

/* --- LISTES --- */
ul, ol {
  margin-left: 25px;
  margin-bottom: 20px;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 20px;
  background-color: #101010;
  color: #777;
  border-top: 1px solid #222;
  margin-top: 50px;
}

footer a {
  color: #4db6ac;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    gap: 15px;
  }

  .hero {
    margin-top: 60px;
    padding: 20px;
  }
}
