/* ----- Reset ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #0b1d2a;
  color: #dce3ec;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ----- Header (centrage parfait) ----- */
header {
  background-color: #0e2435;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* gauche | centre | droite */
  align-items: center;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Logo à gauche */
.logo {
  grid-column: 1;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  justify-self: start;
}

/* Navigation centrée */
nav {
  grid-column: 2;
  justify-self: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
}
nav ul li {
  position: relative;
}
nav ul li a {
  color: #dce3ec;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.2s;
}
nav ul li a:hover {
  color: #56b0ff;
  text-shadow: 0 0 5px #56b0ff, 0 0 15px #56b0ff;
}

/* ----- Hero Section ----- */
.hero {
  background: url('src/background.png') no-repeat center center/cover;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  flex-direction: column;
  padding: 0 20px;
}
.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1.3s ease forwards;
}
.hero .btn-cta {
  background: #1a8cff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeInUp 1.6s ease forwards;
}
.hero .btn-cta:hover {
  background: #56b0ff;
  box-shadow: 0 0 10px #56b0ff, 0 0 20px #56b0ff;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ----- Sections ----- */
section {
  padding: 60px 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}
section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #56b0ff;
}
section p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* Galerie d’images */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #56b0ff;
}

/* ----- Footer ----- */
footer {
  background: #0e2435;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}






/* Style spécial Twitch */
.twitch-panel {
  background: #0e2435;
  padding: 30px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 15px rgba(86,176,255,0.6);
}

.twitch-panel h3 {
  margin-bottom: 20px;
  color: #56b0ff;
}

#StriikzLeLama {
  width: 100%;
  height: 550px; /* force la hauteur */
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 768px) {
  #StriikzLeLama {
    height: 400px;
  }
}

@media (max-width: 480px) {
  #StriikzLeLama {
    height: 250px;
  }
}











  .discord-container {
  text-align: center;
  margin-top: 15px;
}

.discord-logo {
  height: 80px;
  transition: transform 0.3s;
}

.discord-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #56b0ff);
}



.events-logo {
  text-align: center;
  margin-top: 20px;
}

.events-logo img {
  height: 200px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.events-logo img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #56b0ff);
}
