@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  text-align: center;
}

/* 🌌 Fond dégradé animé */
.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #1c0037, #330060, #1c0037);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
  z-index: 0;
  top: 0;
  left: 0;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 🧱 Contenu principal */
.container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 600px;

  /* 💪 LE CENTRAGE PARFAIT */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* Assure que même si le clavier ou la barre bouge, c’est centré */
  min-height: 100vh;
  text-align: center;
}

/* ✨ Logo */
.logo {
  width: 130px;
  margin-bottom: 10px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 🧠 Titres */
.title {
  font-size: 3rem;
  margin: 0;
}

.white { color: #fff; }
.yellow {
  color: #F1E100;
  text-shadow: 0 0 8px #F1E100, 0 0 20px #F1E100;
  animation: meGlow 2.5s ease-in-out infinite alternate;
}

@keyframes meGlow {
  0% { text-shadow: 0 0 8px #F1E100, 0 0 15px #F1E100; }
  100% { text-shadow: 0 0 25px #F1E100, 0 0 40px #fff46b; }
}

/* 💬 Texte dynamique */
.tagline {
  font-size: 1.3rem;
  margin: 15px 0 35px;
  min-height: 1.6rem;
}

/* 🔘 Bouton Discord */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff4df5, #9c42ff);
  color: white;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 77, 245, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255, 77, 245, 0.7);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 📜 Sous-texte */
.subtext {
  margin-top: 40px;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* 📱 Responsivité */
@media (max-width: 768px) {
  .title { font-size: 2.4rem; }
  .tagline { font-size: 1.1rem; }
  .btn {
    padding: 12px 32px;
    font-size: 0.95rem;
  }
  .subtext { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .container {
    min-height: 100vh;
    justify-content: center;
    padding: 0 10px;
  }

  .title { font-size: 2rem; }
  .logo { width: 100px; }
}
