/* Animated Text - OUR GOD IS CONSUMING FIRE - Moving Like Photos */
.animated-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-shadow: var(--shadow);
}

.animated-text-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(8, 145, 178, 0.06) 0%, transparent 50%),
    linear-gradient(45deg, transparent 0%, rgba(99, 102, 241, 0.03) 25%, transparent 50%, rgba(8, 145, 178, 0.03) 75%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.animated-text {
  display: flex;
  width: 200vw;
  height: 100%;
  animation: slideLetters 30s linear infinite;
  gap: 2rem;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 2;
  margin-left: 0;
}

.letter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: none;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: transparent;
  -webkit-text-stroke: 4px var(--brand-500);
  text-stroke: 4px var(--brand-500);
  filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.3));
  text-shadow: none;
}

.letter.space {
  width: 50px;
  background: none;
  border: none;
  color: transparent;
  -webkit-text-stroke: none;
  text-stroke: none;
}

.letter:hover {
  transform: translateY(-8px) scale(1.15);
  filter: brightness(1.3) drop-shadow(0 0 15px rgba(79, 70, 229, 0.6));
  -webkit-text-stroke: 5px var(--brand-600);
  text-stroke: 5px var(--brand-600);
}

/* Continuous sliding animation like photos */
@keyframes slideLetters {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50vw);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .animated-text-container {
    padding: 2rem 0;
    min-height: 150px;
  }
  
  .letter {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    -webkit-text-stroke: 3px var(--brand-500);
    text-stroke: 3px var(--brand-500);
    filter: drop-shadow(0 0 6px rgba(79, 70, 229, 0.3));
  }
  
  .letter.space {
    width: 40px;
  }
  
  .animated-text {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .animated-text-container {
    padding: 1.5rem 0;
    min-height: 120px;
  }
  
  .letter {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    -webkit-text-stroke: 2.5px var(--brand-500);
    text-stroke: 2.5px var(--brand-500);
    filter: drop-shadow(0 0 5px rgba(79, 70, 229, 0.3));
  }
  
  .letter.space {
    width: 35px;
  }
  
  .animated-text {
    gap: 1.2rem;
  }
}
