body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  overflow: hidden;
  color: white;
}

/* Splash screen */
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: opacity 0.6s ease;
}

#splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.enter-text {
  color: white;
  font-size: 20px;
  font-family: 'Courier New', monospace;
  animation: blink 1.2s infinite;
  margin-top: 20px;
}

.loader {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 1s linear infinite;
}

/* Background image */
.background {
  background: url('assets/bg.jpg') center center / cover no-repeat;
  background-size: 100% 100%;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: blur(6px) brightness(0.5);
  display: none;
}

/* Particles */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Mute button */
#mute-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 10;
  font-size: 18px;
  cursor: pointer;
  color: white;
  background: rgba(255,255,255,0.1);
  padding: 6px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  transition: background 0.3s;
}

#mute-toggle:hover {
  background: rgba(255,255,255,0.2);
}

/* Profile card */
.profile {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Laisser vide, sera défini dynamiquement en JS */
  display: none;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px;
  border-radius: 20px;
  width: 350px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
  will-change: transform;
  opacity: 0;
  animation: fadeSlideIn 0.8s ease forwards;
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
  transform-origin: center center;
  border: 2px solid rgb(255, 255, 255);
}

/* Avatar */
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid white;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Info */
.info h1 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}
.status {
  opacity: 0.7;
  font-size: 14px;
  margin: 4px 0 10px;
}

/* Typing cursor */
#cursor {
  display: inline-block;
  color: white;
  animation: blink-cursor 0.8s infinite;
  font-weight: bold;
}

/* Badges */
.badges i {
  margin: 0 10px;
  color: cyan;
  font-size: 20px;
  transition: 0.2s ease;
}
.badges i:hover {
  color: #00ffff;
  transform: scale(1.2);
}

/* Meta */
.meta {
  margin-top: 15px;
  font-size: 13px;
  opacity: 0.7;
}

/* Animations */
@keyframes blink {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.2; }
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeSlideIn {
  to {
    opacity: 1;
  }
}