/* ==============================
   🌌 Thème principal Arkadius
   ============================== */

:root {
  --bg-color: #0f111a;
  --card-color: rgba(255, 255, 255, 0.05);
  --accent-color: #00aaff;
  --text-color: rgba(255, 255, 255, 0.9);
  --text-dim: rgba(255, 255, 255, 0.75);
  --glow-color: rgba(0, 180, 255, 0.4);
  --header-height: 120px;
  --radius: 25px;
  --transition: 0.3s ease;
  --shadow: 0 0 20px rgba(0, 200, 255, 0.15);
}

/* ==============================
   🧱 Structure générale
   ============================== */

html, body {
  height: 100%;
  margin: 0;
  background-color: var(--bg-color);
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Header fixe avec logo centré */
.header-logo {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1000;
}

.header-logo img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 10px var(--glow-color));
}

/* Zone principale centrée */
.main-content {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  box-sizing: border-box;
}

/* ==============================
   🔐 Blocs de contenu (login, register, etc.)
   ============================== */

.auth-container,
.home-container,
.profile-container {
  background: var(--card-color);
  backdrop-filter: blur(10px);
  padding: 40px 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 400px;
  max-width: 90%;
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

.auth-container h2,
.home-container h2,
.profile-container h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--glow-color);
  letter-spacing: 1px;
  margin-bottom: 25px;
}

/* ==============================
   🧩 Formulaires
   ============================== */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea {
  width: 85%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
  font-size: 15px;
  transition: var(--transition);
}

input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px var(--glow-color);
}

/* ==============================
   🔘 Boutons
   ============================== */

button,
.auth-container button,
.home-container button {
  width: 85%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: var(--radius);
  background-color: var(--accent-color);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

button:hover {
  background-color: #0090dd;
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

/* ==============================
   🔗 Liens et navigation
   ============================== */

.links {
  margin-top: 20px;
}

.links a {
  color: var(--text-dim);
  text-decoration: none;
  margin: 0 8px;
  transition: var(--transition);
}

.links a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--glow-color);
}

/* ==============================
   🌈 Effets visuels
   ============================== */

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

/* ==============================
   📱 Responsive
   ============================== */

@media (max-width: 480px) {
  :root { --header-height: 100px; }
  .header-logo img { width: 120px; }
  .auth-container,
  .home-container,
  .profile-container {
    width: 92%;
    padding: 30px;
  }
  input,
  button {
    width: 100%;
  }
}

