/* Styles spécifiques à la page d'accueil */
#home-hero {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--glass-background);
  border-radius: 10px;
  margin-bottom: 4rem;
}

#home-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* .gradient-text {
  font-size: 1.8rem;
  background: var(--button-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  display: inline-block;
} */

.button-container {
  margin-top: 2rem;
}

#home-content {
  padding: 4rem 2rem;
}

.content-category {
  margin-bottom: 6rem;
}

.content-category h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-primary);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.content-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 27, 123, 0.2), rgba(147, 51, 255, 0.2), rgba(51, 102, 255, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.content-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.content-card:hover::before {
  opacity: 1;
}

.content-card i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ff1b7b, #9333ff, #3366ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.content-card:hover i {
  transform: scale(1.1) rotate(5deg);
}

.content-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.content-card:hover h3 {
  color: #ff1b7b;
}

.content-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.content-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Styles pour le nouveau bouton gradient */
.gradient-button {
  position: relative;
  padding: 16px 40px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--background);
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-image: linear-gradient(var(--background), var(--background)),
    linear-gradient(90deg, #ff1b7b, #9333ff, #3366ff, #ff1b7b, #9333ff, #3366ff, #ff1b7b);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 200% 100%;
  animation: gradientMove 6s linear infinite;
}

.gradient-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes gradientMove {
  0% {
    background-position: 0% 0%, 0% 0%;
  }
  100% {
    background-position: 0% 0%, -100% 0%;
  }
}

/* Ajustements pour le thème clair */
body.light-theme .content-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .content-card::before {
  background: linear-gradient(135deg, rgba(255, 27, 123, 0.1), rgba(147, 51, 255, 0.1), rgba(51, 102, 255, 0.1));
}

body.light-theme .content-card h3 {
  color: #333;
}

body.light-theme .content-card p {
  color: #666;
}

body.light-theme .content-card:hover h3 {
  color: #ff1b7b;
}

body.light-theme .content-card:hover p {
  color: #333;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  #home-hero {
    padding: 4rem 1rem;
  }

  #home-hero h1 {
    font-size: 2.5rem;
  }

  .gradient-text {
    font-size: 1.4rem;
  }

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

  .gradient-button {
    padding: 14px 30px;
    font-size: 16px;
  }
  #home-content {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  #home-hero {
    padding: 3rem 1rem;
  }

  #home-hero h1 {
    font-size: 2rem;
  }

  .gradient-text {
    font-size: 1.2rem;
  }

  .gradient-button {
    padding: 12px 24px;
    font-size: 14px;
  }

  .content-card {
    padding: 1.5rem;
  }

  .content-card i {
    font-size: 2.5rem;
  }

  .content-card h3 {
    font-size: 1.5rem;
  }

  .content-card p {
    font-size: 1rem;
  }
  #home-content {
    padding: 2rem 1rem;
  }
}

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

