/* Magic Text Scroll Animation Styles */
.magic-text-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

#magic-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  line-height: 1.4;
  gap: 0.75rem;
  width: 100%;
}

.magic-word {
  position: relative;
  display: inline-block;
  margin: 0;
  font-weight: 600;
}

.magic-word-ghost {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.15;
  color: #94a3b8;
}

.magic-word-visible {
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Learn More Button */
.magic-learn-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 2px solid #1e293b;
  border-radius: 9999px;
  background: transparent;
  color: #1e293b;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.magic-learn-btn:hover {
  background: #1e293b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(30, 41, 59, 0.2);
}

/* Responsive text sizes */
@media (max-width: 1024px) {
  #magic-text {
    font-size: 2.5rem;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  #magic-text {
    font-size: 2rem;
    gap: 0.5rem;
  }
  
  .magic-learn-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #magic-text {
    font-size: 1.5rem;
    gap: 0.4rem;
  }
  
  .magic-learn-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}