/* Styles pour le bouton arc-en-ciel */
:root {
  --color-1: 0, 100%, 60%;
  --color-2: 240, 100%, 60%;
  --color-3: 170, 100%, 60%;
  --color-4: 300, 100%, 60%;
  --color-5: 60, 100%, 60%;
}

.rainbow-button {
  position: relative;
  display: inline-flex;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #1A365D;
  color: #fff;
  z-index: 1;
  width: 250px;
  box-sizing: border-box;
}

.rainbow-button::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(90deg, 
    hsl(var(--color-1)),
    hsl(var(--color-5)),
    hsl(var(--color-3)),
    hsl(var(--color-4)),
    hsl(var(--color-2)));
  background-size: 200% 100%;
  border-radius: 12px;
  z-index: -1;
  animation: rainbow-bg 8s linear infinite;
  filter: blur(4px);
}

.rainbow-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1A365D;
  border-radius: 9px;
  z-index: -1;
}

.rainbow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.rainbow-button:hover::before {
  filter: blur(8px);
  inset: -4px;
}

.rainbow-button:active {
  transform: translateY(1px);
}

@keyframes rainbow-bg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
