* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Emojis flottants */
.floating-emoji {
  position: absolute;
  font-size: 3em;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.floating-emoji:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-emoji.delayed {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.floating-emoji.super-delayed {
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(-10px) rotate(-5deg);
  }
}

/* Titre avec effet glitch */
.glitch-text {
  font-size: 4em;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  position: relative;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #667eea;
  }
  to {
    text-shadow: 0 0 30px #fff, 0 0 40px #764ba2, 0 0 50px #764ba2;
  }
}

.subtitle {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Badges de contact */
.contact-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.badge:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
  margin: 60px 0;
}

.section-title {
  font-size: 2.5em;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Animations des emojis dans les titres */
.emoji-bounce {
  display: inline-block;
  animation: bounce 2s infinite;
}

.emoji-spin {
  display: inline-block;
  animation: spin 3s linear infinite;
}

.emoji-wiggle {
  display: inline-block;
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

/* Cartes */
.about-card,
.project-card,
.school-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 40px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-card:hover,
.project-card:hover,
.school-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.about-text {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Projet */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-header h3 {
  font-size: 2em;
  color: #fff;
  margin: 0;
}

.project-tag {
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  color: #333;
  font-size: 0.9em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.project-description {
  font-size: 1.2em;
  color: #f0f0f0;
  line-height: 1.6;
}

.fun-fact {
  font-size: 1.5em;
  margin-left: 10px;
}

/* Grille d'intérêts */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.interest-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.interest-card.cooking {
  border-image: linear-gradient(45deg, #ff9a9e, #fad0c4) 1;
}

.interest-card.coding {
  border-image: linear-gradient(45deg, #a8edea, #fed6e3) 1;
}

.interest-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.interest-icon {
  font-size: 4em;
  margin-bottom: 20px;
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

.interest-card h3 {
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 600;
}

.interest-card p {
  color: #f0f0f0;
  font-size: 1.1em;
  line-height: 1.6;
}

/* École */
.school-info h3 {
  font-size: 2em;
  color: #fff;
  margin-bottom: 15px;
}

.school-info p {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.school-link {
  display: inline-block;
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.school-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #764ba2, #667eea);
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 20px;
  margin-top: 80px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.footer-content p {
  color: #f0f0f0;
  font-size: 1.1em;
  margin: 10px 0;
}

.fun-quote {
  font-style: italic;
  opacity: 0.8;
  font-size: 1em !important;
  margin-top: 20px !important;
}

/* Formes flottantes du footer */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  font-size: 2em;
  opacity: 0.3;
  animation: floatShapes 8s ease-in-out infinite;
}

.shape1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape2 {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

.shape3 {
  bottom: 30%;
  left: 70%;
  animation-delay: 6s;
}

@keyframes floatShapes {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.7;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .glitch-text {
    font-size: 2.5em;
  }

  .section-title {
    font-size: 2em;
  }

  .contact-badges {
    flex-direction: column;
    align-items: center;
  }

  .project-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 10px;
  }

  .hero,
  .about-card,
  .project-card,
  .school-card {
    padding: 30px 20px;
  }
}
