/* FR: Fond général premium */
/* EN: Premium global background */
body {
  margin: 0;
  background: #000;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* Header VoraLyn */
.voralyn-header {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  z-index: 10;
  color: white;
}

/* Nouveau conteneur du logo */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo Premium VoraLyn + animation COSMIC */
.logo-voralyn {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 215, 160, 0.25));
  animation: logoPulse 12s ease-in-out infinite;
}

/* Ancien avatar (désactivé mais conservé si besoin) */
.avatar {
  display: none;
}

/* Meta info */
.meta {
  margin-left: 14px;
}

.name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.status {
  display: flex;
  align-items: center;
  font-size: 14px;
  opacity: 0.85;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4cff8f;
  border-radius: 50%;
  margin-right: 6px;
}

/* Tagline */
.tagline {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 2px;
}

/* Canvas neural background */
#voralyn-neural {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =============================== */
/* FOOTER PREMIUM + SIGNATURES AAA */
/* =============================== */

.voralyn-footer {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

/* Toutes les signatures */
.signature-voralyn {
  position: absolute;
  height: 42px;
  width: auto;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
}

/* Signature active */
.signature-voralyn.active {
  opacity: 1;
}

/* Glow spécifique selon la signature */
.signature-voralyn[alt*="Or"] {
  filter: drop-shadow(0 0 8px rgba(255, 215, 160, 0.35));
}

.signature-voralyn[alt*="Argentique"] {
  filter: drop-shadow(0 0 8px rgba(200, 200, 200, 0.35));
}

.signature-voralyn[alt*="Monochrome"] {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
}

/* =============================== */
/* Toggle FR/EN premium + COSMIC   */
/* =============================== */

.lang-toggle {
  display: flex;
  gap: 6px;
  margin-left: 20px;
  animation: toggleGlow 18s ease-in-out infinite;
}

.lang-toggle button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.lang-toggle button:hover {
  background: rgba(255,255,255,0.18);
}

.lang-toggle button.active {
  background: linear-gradient(135deg, #F5D68A, #C89B3C);
  color: #000;
  border-color: #F5D68A;
  font-weight: 600;
}

/* =============================== */
/* Animations COSMIC               */
/* =============================== */

@keyframes logoPulse {
  0% {
    transform: translateY(0);
    filter: drop-shadow(0 0 6px rgba(255, 215, 160, 0.25));
  }
  25% {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 10px rgba(255, 215, 160, 0.45));
  }
  50% {
    transform: translateY(0);
    filter: drop-shadow(0 0 6px rgba(255, 215, 160, 0.25));
  }
  75% {
    transform: translateY(1px);
    filter: drop-shadow(0 0 4px rgba(255, 215, 160, 0.2));
  }
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 6px rgba(255, 215, 160, 0.25));
  }
}

@keyframes toggleGlow {
  0% {
    transform: translateX(0);
    opacity: 0.9;
  }
  50% {
    transform: translateX(1px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.9;
  }
}
