body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e10;
  color: #fff;
}

header {
  background-color: #1a1b1e;
  text-align: center;
  padding: 60px 20px;
}

.logo {
  width: 60px;
  margin-bottom: 10px;
}

h1 {
  font-size: 3rem;
  color: #00ffa1;
  margin: 0;
}

header p {
  font-size: 1.2rem;
  color: #ccc;
  margin: 10px 0 20px;
}

.btn-join {
  background-color: #00ffa1;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.btn-join:hover {
  background-color: #00c888;
}

.about, .features {
  padding: 50px 20px;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
  color: #bbb;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature {
  background-color: #1e1f22;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,255,161,0.1);
}

.feature h3 {
  color: #00ffa1;
  margin-bottom: 10px;
}

.feature p {
  color: #ccc;
}

.banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

footer {
  background-color: #1a1b1e;
  text-align: center;
  padding: 30px 20px;
  color: #888;
  font-size: 0.9rem;
}

footer .socials a {
  color: #00ffa1;
  text-decoration: none;
  margin: 0 8px;
}

footer .socials a:hover {
  color: #fff;
} 
/* Animation de flottement doux */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    box-shadow: 0 0 12px rgba(0,255,161,0.1);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 0 20px rgba(0,255,161,0.3);
  }
}

/* Effet sur les cartes .feature et .nen-type */
.feature, .nen-type {
  background-color: #1e1f22;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,255,161,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 4s ease-in-out infinite;
  cursor: pointer;
}

/* Hover : boost scale + légère rotation + glow plus fort */
.feature:hover, .nen-type:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 0 30px #00ffa1, 0 0 40px #00ffa1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10; /* Au cas où superposition */
}
/* Base : pas besoin de toucher, tu as déjà une grille flexible */

/* Pour les petits écrans (smartphones) */
@media (max-width: 600px) {
  header {
    padding: 40px 15px;
  }

  h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
    margin: 8px 0 15px;
  }

  .btn-join {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .about, .features {
    padding: 30px 15px;
  }

  .features .grid {
    grid-template-columns: 1fr !important; /* une seule colonne pour tout */
    gap: 20px;
  }

  .feature, .nen-type {
    padding: 20px;
  }

  footer {
    padding: 20px 15px;
    font-size: 0.85rem;
  }

  footer .socials {
    font-size: 1rem;
  }
}

/* Tablettes (entre 600px et 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  h1 {
    font-size: 2.5rem;
  }

  .features .grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 colonnes */
  }
}
.channel-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.channel-card {
  background-color: #1e1f22;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,255,161,0.1);
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 4s ease-in-out infinite;
  cursor: pointer;
}

.channel-card:hover {
  transform: scale(1.05) rotate(3deg);
  box-shadow: 0 0 30px #00ffa1, 0 0 40px #00ffa1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.channel-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.channel-card h3 {
  color: #00ffa1;
  margin-bottom: 10px;
}

.channel-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* Animation flottante déjà dans ton CSS */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    box-shadow: 0 0 12px rgba(0,255,161,0.1);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 0 20px rgba(0,255,161,0.3);
  }
}
