/*
 Theme Name: logodot
 Template: Divi
 Text Domain: logodot-child
 Description: logodot theme
 Version: 1.0.0
 Author: RNYLAB(에이딧스튜디오)
*/

/* LOGODOT 로고 애니메이션 */
.logodot-animated {
  display: inline-block;
  position: relative;
}

.logodot-animated .logo-text {
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111111;
  display: inline-block;
  position: relative;
  line-height: 1;
}

.logodot-animated .logo-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: letterFadeIn 0.6s ease-out forwards;
}

.logodot-animated .logo-text span:nth-child(1) { animation-delay: 0.1s; }
.logodot-animated .logo-text span:nth-child(2) { animation-delay: 0.2s; }
.logodot-animated .logo-text span:nth-child(3) { animation-delay: 0.3s; }
.logodot-animated .logo-text span:nth-child(4) { animation-delay: 0.4s; }
.logodot-animated .logo-text span:nth-child(5) { animation-delay: 0.5s; }
.logodot-animated .logo-text span:nth-child(6) { animation-delay: 0.6s; }
.logodot-animated .logo-text span:nth-child(7) { animation-delay: 0.7s; }

.logodot-animated .logo-text .dot {
  color: #9AEC6E;
  position: relative;
  animation: dotPulse 2s ease-in-out 1s infinite;
}

@keyframes letterFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(154, 236, 110, 0);
  }
  50% {
    transform: scale(1.08);
    text-shadow: 0 0 20px rgba(154, 236, 110, 0.6),
                 0 0 40px rgba(154, 236, 110, 0.3);
  }
}

/* 반응형 */
@media (max-width: 768px) {
  .logodot-animated .logo-text {
    font-size: 48px;
  }
}
