* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
 }
 
 :root {
  --primary-color: #4e51ff;
  --plus-color: linear-gradient(45deg, #003cff, #128d76);
  --cv-color: linear-gradient(45deg, #10a100, #0064fb);
  --secondary-color: #818CF8;
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --background-dark: #1E293B;
  --card-background: rgba(30, 41, 59, 0.95);
 }
 
 body {
  min-height: 100vh;
  background-color: var(--background-dark);
  color: var(--text-primary);
  overflow-x: hidden;
 }
 
 .floating-elements {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
 }
 
 .floating-element {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: float 6s ease-in-out infinite;
 }
 
 .floating-element img {
  width: 60%;
  height: 60%;
  object-fit: contain;
 }
 
 .floating-element:hover {
  transform: scale(1.1);
  z-index: 10;
 }
 
 .project-name {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
 }
 
 .floating-element:hover .project-name {
  opacity: 1;
 }
 
 /* Positions des éléments flottants */
 .floating-element.left {
  left: calc(5% + 20px);
  position: absolute;
  transform-origin: center center;
 }
 
 .floating-element.right {
  right: calc(5% + 20px);
  position: absolute;
  transform-origin: center center;
 }
 
 .html-element {
  top: 20%;
  animation-delay: 0s;
 }
 
 .css-element {
  top: 40%;
  animation-delay: 1s;
 }
 
 .js-element {
  top: 60%;
  animation-delay: 2s;
 }
 
 .react-element {
  top: 25%;
  animation-delay: 0.5s;
 }
 
 .node-element {
  top: 45%;
  animation-delay: 1.5s;
 }
 
 .python-element {
  top: 65%;
  animation-delay: 2.5s;
 }
 
 @keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
 }
 
 /* Animation de parallaxe pour le background */
 .background-animation {
  animation: gradientShift 15s ease infinite;
  background-size: 400% 400%;
 }
 
 @keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
 }
 
 /* Cache les éléments flottants sur mobile */
 @media (max-width: 1024px) {
  .floating-elements {
    display: none;
  }
 }
 
 @keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
 }
 
 .container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
 }
 
 /* Correction effet de glare */
 .card {
  width: 100%;
  max-width: 800px;
  background: var(--card-background);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform-style: preserve-3d;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
 }
 
 .card-content {
  max-height: 85vh;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
 }
 
 /* Style pour la scrollbar */
 .card-content::-webkit-scrollbar {
  width: 5px;
 }
 
 .card-content::-webkit-scrollbar-track {
  background: transparent;
 }
 
 .card-content::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 20px;
 }
 
 /* Style pour l'effet de glare */
 .js-tilt-glare {
  border-radius: 20px;
  overflow: hidden;
 }
 
 .js-tilt-glare-inner {
  position: absolute;
  width: 200%;
  height: 200%;
  pointer-events: none;
 }
 
 .profile-header {
  text-align: center;
  margin-bottom: 15px;
 }
 
 .profile-img-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
 }
 
 .profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  transition: transform 0.3s ease;
 }
 
 .profile-img:hover {
  transform: scale(1.05);
 }
 
 .status-indicator {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: #22c55e;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
 }
 
 h1 {
  font-size: 2.5rem;
  margin: 20px 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
 }
 
 .typewriter-container {
  height: 30px;
  margin: 10px 0;
  color: var(--secondary-color);
 }
 
 .cursor {
  display: inline-block;
  width: 2px;
  animation: blink 1s infinite;
 }
 
 @keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
 }
 
 .bio {
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-size: 0.95rem;
 }
 
 .skills-section {
  margin: 15px 0;
 }
 
 .skills-section h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
 }
 
 .skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
 }
 
 .skill-category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
 }
 
 .skill-tag {
  background: rgba(79, 70, 229, 0.1);
  color: var(--secondary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid var(--secondary-color);
  transition: all 0.3s ease;
 }
 
 .skill-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
 }
 
 .social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
 }
 
 .social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
 }
 
 .social-icon:hover {
  transform: translateY(-5px);
 }
 
 .social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
 }
 
 .action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
  flex-wrap: wrap;
 }
 
 .btn {
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
 }
 
 .btn.primary {
  background: var(--plus-color);
  color: white;
 }
 
 .btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid var(--primary-color);
 }
 
 .btn.accent {
  background: var(--cv-color);
  color: white;
 }
 
 .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
 }
 
 @media (max-width: 480px) {
  .social-icon {
    width: 60px;
    height: 60px;
    padding: 14px;
  }
  
  .social-links {
    gap: 20px;
    margin: 30px 0;
  }
  .skill-tag {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }
 }
 
 @media (max-width: 768px) {
  .social-icon {
    width: 55px;
    height: 55px;
    padding: 12px;
  }
  
  .social-links {
    gap: 25px;
    margin: 35px 0;
  }
  .skill-tag {
    width: calc(50% - 10px);
    text-align: center;
    margin: 5px 0;
  }
  .card {
    padding: 20px;
  }
 
  h1 {
    font-size: 2rem;
  }
 
  .action-buttons {
    flex-direction: column;
  }
 
  .btn {
    width: 100%;
  }
 
  .profile-img {
    width: 120px;
    height: 120px;
  }
 
  .status-indicator {
    font-size: 0.7rem;
    padding: 4px 12px;
  }
 }