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

/* Version CSS pour forcer le refresh */
/* v1.6 - Design system cyberpunk avec signature robots */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  /* Pour gérer la barre d'adresse mobile */
  min-height: -webkit-fill-available;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: url('../assets/bg.png') no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  color: white;
  margin: 0;
  padding: 0;
  /* Pour gérer la barre d'adresse mobile */
  min-height: -webkit-fill-available;
}

.container {
  background: linear-gradient(135deg, #000000 0%, #1A0033 50%, #000000 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  max-width: 500px;
  width: 95%;
  margin: 40px auto;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 0, 255, 0.05);
  border: 2px solid #FF00FF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 22px;
  z-index: -1;
  animation: neonGlow 2s ease-in-out infinite alternate;
}

.logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.subtitle {
  font-size: 14px;
  color: #CCCCCC;
  margin-bottom: 20px;
  line-height: 1.4;
}

.status {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 14px;
}

.status.success {
  background: rgba(0, 255, 102, 0.2);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #00FF66;
}

.status.error {
  background: rgba(255, 0, 102, 0.2);
  border: 1px solid rgba(255, 0, 102, 0.3);
  color: #FF0066;
}

.status.loading {
  background: rgba(0, 255, 255, 0.2);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: #00FFFF;
}

.button {
  background: linear-gradient(135deg, #FF00FF 0%, #00FFFF 100%);
  color: white;
  border: 2px solid #FF00FF;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 6px;
  box-shadow: 
    0 4px 15px rgba(255, 0, 255, 0.3),
    0 0 10px rgba(255, 0, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FF00FF, #00FFFF, #FF00FF);
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 25px rgba(255, 0, 255, 0.5),
    0 0 20px rgba(255, 0, 255, 0.7);
}

.button:hover::before {
  opacity: 1;
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  background: rgba(0, 255, 255, 0.2);
  border: 2px solid #00FFFF;
  box-shadow: 
    0 4px 15px rgba(0, 255, 255, 0.3),
    0 0 10px rgba(0, 255, 255, 0.5);
}

.button.secondary:hover {
  background: rgba(0, 255, 255, 0.3);
  box-shadow: 
    0 6px 20px rgba(0, 255, 255, 0.4),
    0 0 20px rgba(0, 255, 255, 0.7);
}

.button.secondary::before {
  background: linear-gradient(45deg, #00FFFF, #FF00FF, #00FFFF);
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes neonGlow {
  from { 
    box-shadow: 
      0 0 10px rgba(255, 0, 255, 0.3),
      0 0 20px rgba(255, 0, 255, 0.2),
      0 0 30px rgba(255, 0, 255, 0.1);
  }
  to { 
    box-shadow: 
      0 0 20px rgba(255, 0, 255, 0.5),
      0 0 30px rgba(255, 0, 255, 0.3),
      0 0 40px rgba(255, 0, 255, 0.2);
  }
}

.content-box {
  background: linear-gradient(135deg, #000000 0%, #1A0033 50%, #000000 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  max-width: 500px;
  width: 95%;
  margin: 40px auto;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 0, 255, 0.05);
  border: 2px solid #FF00FF;
  position: relative;
}

.centered-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
}

/* Responsive */
@media (max-width: 480px) {
  .container, .content-box {
    padding: 18px 4vw;
    max-width: 420px;
    width: 96%;
    margin: 12px auto;
  }
  
  .title {
    font-size: 18px;
  }
  
  .subtitle {
    font-size: 13px;
  }
  
  .logo {
    width: 50px;
    height: 50px;
    padding: 6px;
  }
  
  .button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .content-box {
    padding: 18px 4vw;
    max-width: 99%;
    width: 99%;
    margin: 12px auto;
  }
}

/* Pour les très petits écrans */
@media (max-height: 600px) {
  .container {
    max-height: 95vh;
    padding: 15px 10px;
    width: 90%;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    padding: 4px;
    margin-bottom: 10px;
  }
  
  .title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .subtitle {
    font-size: 12px;
    margin-bottom: 15px;
  }
  
  .status {
    padding: 8px 12px;
    margin-bottom: 15px;
    font-size: 12px;
  }
  
  .button {
    padding: 6px 12px;
    font-size: 12px;
    margin: 2px;
  }
} 