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

/* Body */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

/* Intro animation */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.8s ease-in-out;
}

.logo-glitch {
  width: 180px;
  animation: glitch 1s infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(-2px, -1px); }
  60% { transform: translate(2px, 1px); }
  80% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}

/* Barre de chargement */
.barre {
  width: 60%;
  height: 6px;
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
}

.barre span {
  display: block;
  width: 0%;
  height: 100%;
  background-color: #0047ab;
  animation: load 3.5s forwards;
}

@keyframes load {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Contenu principal */
.main-content {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

/* Logo principal */
.main-logo {
  width: 140px;
  margin: 20px auto 30px;
}

/* Boutons Connexion / Inscription */
.btn-pair {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 15px 0 25px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  font-size: 15px;
  transition: background 0.3s ease;
}

.btn-blue {
  background-color: #0047ab;
}

.btn-blue:hover {
  background-color: #005cd4;
}

.btn-disabled {
  background-color: #333;
  cursor: not-allowed;
}

/* Bouton Telegram */
.highlight-bot {
  margin: 15px 0 25px;
}

.btn-telegram {
  display: inline-block;
  background-color: #0047ab;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  font-size: 15px;
  transition: transform 0.2s ease;
}

.btn-telegram:hover {
  transform: scale(1.05);
}

.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 71, 171, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 71, 171, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 71, 171, 0); }
}

/* Formulaire de connexion */
.login-form {
  margin: 10px 0 20px;
}

.login-form input {
  display: block;
  width: 80%;
  margin: 10px auto;
  padding: 10px;
  background-color: #222;
  color: white;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 14px;
}

.login-form button {
  margin-top: 10px;
  padding: 10px 20px;
  width: 80%;
  background-color: #0047ab;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.login-form button:hover {
  background-color: #005cd4;
}

/* Description */
.desc {
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.6;
  color: #aaa;
  padding: 0 10px;
}

.desc strong {
  color: #fff;
}

/* Responsive ajusté */
@media (max-width: 480px) {
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .btn-pair {
    flex-direction: column;
  }

  .main-logo {
    width: 120px;
  }

  .barre {
    width: 80%;
  }

  .login-form input,
  .login-form button {
    width: 90%;
  }
}

.maint-banner{
  margin: 10px 0 14px;
  padding: 10px 14px;
  border: 1px dashed #f59e0b;
  border-radius: 12px;
  background: rgba(245, 158, 11, .12);
  color: #ffe5b4;
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
  font-weight: 700;
  line-height: 1.5;
}
