/* Style général futuriste */
body {
  font-family: 'Orbitron', Arial, sans-serif;
  background: linear-gradient(135deg, #181828 0%, #222244 100%);
  color: #fff;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  background: rgba(34, 34, 68, 0.95);
  color: #fff;
  padding: 40px 0 30px 0;
  text-align: center;
  box-shadow: 0 4px 32px 0 #6400ff44;
  border-bottom: 2px solid #6400FF;
  position: relative;
  z-index: 2;
}

main {
  max-width: 900px;
  margin: 40px auto;
  background: rgba(34, 34, 68, 0.85);
  color: #fff;
  padding: 40px 40px 30px 40px;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 #6400ff33;
  position: relative;
  z-index: 1;
  border: 1.5px solid #6400FF;
}

h1, h2 {
  letter-spacing: 2px;
  text-shadow: 0 2px 16px #6400ff99;
}

.skills {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.skill {
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(100,0,255,0.08);
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 2px 16px 0 #6400ff22;
  position: relative;
  overflow: hidden;
  border: 1px solid #6400FF44;
  animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.skill-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px #6400ff88);
  animation: logoPulse 2.5s infinite alternate;
}

@keyframes logoPulse {
  from { filter: drop-shadow(0 0 12px #6400ff88); }
  to { filter: drop-shadow(0 0 32px #6400ffcc); }
}

.progress-container {
  flex: 1;
  background: #333355;
  border-radius: 20px;
  overflow: hidden;
  height: 28px;
  box-shadow: 0 1px 8px #6400ff33 inset;
  border: 1px solid #6400FF44;
}

.progress-bar {
  height: 100%;
  border-radius: 20px;
  transition: width 1.5s cubic-bezier(.23,1.01,.32,1);
  box-shadow: 0 0 16px #6400ff99;
  position: relative;
  z-index: 1;
}

.lua { background: linear-gradient(90deg, #6400FF 60%, #8f5cff 100%); width: 60%; animation: progressGrow 1.2s 0.2s both; }
.js { background: linear-gradient(90deg, #ffe066 60%, #fffbe6 100%); width: 80%; animation: progressGrow 1.2s 0.4s both; }
.python { background: linear-gradient(90deg, #8f5cff 60%, #6400FF 100%); width: 70%; animation: progressGrow 1.2s 0.6s both; }

@keyframes progressGrow {
  from { width: 0; }
  to { width: var(--final-width, 100%); }
}

.skill-label {
  min-width: 90px;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: 1px;
  color: #ffe066;
  text-shadow: 0 1px 8px #6400ff99;
}

.skill-logo svg {
  filter: brightness(1.1) drop-shadow(0 0 8px #6400ffcc);
}

/* Ajout d'un effet de néon sur le header */
header::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #6400FF 0%, #ffe066 100%);
  border-radius: 2px;
  box-shadow: 0 0 24px #6400ffcc;
}

/* Import police Orbitron Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');
