/* Aurora Background Effect */
.aurora-background {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  overflow: hidden;
}

.aurora-background.dark {
  background-color: #18181b;
}

.aurora-overlay {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(10px);
  will-change: transform;
  background-image: 
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.03) 7%,
      transparent 10%,
      transparent 12%,
      rgba(255, 255, 255, 0.03) 16%
    ),
    repeating-linear-gradient(
      100deg,
      #3b82f6 10%,
      #a855f7 15%,
      #06b6d4 20%,
      #8b5cf6 25%,
      #3b82f6 30%
    );
  background-size: 300% 300%, 200% 200%;
  background-position: 50% 50%, 50% 50%;
  animation: aurora-animation 60s linear infinite;
}

.aurora-background.dark .aurora-overlay {
  background-image: 
    repeating-linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.03) 0%,
      rgba(0, 0, 0, 0.03) 7%,
      transparent 10%,
      transparent 12%,
      rgba(0, 0, 0, 0.03) 16%
    ),
    repeating-linear-gradient(
      100deg,
      #3b82f6 10%,
      #a855f7 15%,
      #06b6d4 20%,
      #8b5cf6 25%,
      #3b82f6 30%
    );
}

.aurora-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: 200% 200%, 100% 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora-animation 60s linear infinite;
}

.aurora-radial-mask {
  mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
}

@keyframes aurora-animation {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

.aurora-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.aurora-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.aurora-background.dark .aurora-title {
  color: #ffffff;
}

.aurora-subtitle {
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: 300;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.aurora-background.dark .aurora-subtitle {
  color: #d4d4d8;
}

.aurora-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.aurora-background.dark .aurora-button {
  background-color: #ffffff;
  color: #000000;
}

.aurora-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.aurora-background.dark .aurora-button:hover {
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Fade in animation */
.aurora-fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .aurora-content {
    padding: 1rem;
  }
  
  .aurora-title {
    margin-bottom: 0.5rem;
  }
  
  .aurora-subtitle {
    margin-bottom: 1.5rem;
  }
}