/* Custom styles for Rémi Gaffet landing page */

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient 4s ease infinite;
}

@keyframes gradient {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.grid-pattern {
  background-image: linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.dark .grid-pattern {
  background-image: linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
}

.glow-box {
  box-shadow: 0 25px 80px -20px rgba(59, 130, 246, 0.25);
}

.dark .glow-box {
  box-shadow: 0 25px 80px -20px rgba(59, 130, 246, 0.15);
}

/* Logo styles */
.logo-wrapper {
  position: relative;
  display: inline-flex;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
  border-radius: 20px;
  animation: spin-slow 4s linear infinite;
  opacity: 0.7;
}

.logo-wrapper::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
  border-radius: 20px;
  animation: spin-slow 4s linear infinite;
  filter: blur(20px);
  opacity: 0.5;
}

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

.logo-inner {
  position: relative;
  z-index: 1;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .logo-inner {
    width: 6rem;
    height: 6rem;
    border-radius: 20px;
  }
  .logo-wrapper::before,
  .logo-wrapper::after {
    border-radius: 24px;
    inset: -5px;
  }
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .logo-text {
    font-size: 2.25rem;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

/* Countdown */
.countdown-number {
  display: inline-block;
}

.countdown-number.tick {
  animation: tick 0.4s ease-out;
}

@keyframes tick {
  0% {
    transform: translateY(-8px);
    opacity: 0;
  }
  50% {
    transform: translateY(2px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
