/* === Animated Text Effects === */
.animated-text {
  animation: textPulse 1.2s infinite alternate;
  font-weight: bold;
  color: #b76e79;
  letter-spacing: 2px;
}
@keyframes textPulse {
  0% { color: #b76e79; transform: scale(1); }
  100% { color: #2a7ca3; transform: scale(1.08); }
}

/* === Banner Text === */
.banner-text {
  font-size: 2.5em;
  font-weight: bold;
  color: #b76e79;
  text-shadow: 2px 2px 8px #fffbe8;
  letter-spacing: 3px;
}

/* === Frame Text === */
.frame-text {
  font-size: 2em;
  color: #2a7ca3;
  background: #e8f7ff;
  padding: 1em 2em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* === Rainbow Gradient Text === */
.rainbow-text {
  background: linear-gradient(90deg, #ff6a00, #ffd800, #21ff7a, #2196f3, #9c27b0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-weight: bold;
  animation: rainbowMove 2s linear infinite;
}
@keyframes rainbowMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* === Flicker Text === */
.flicker-text {
  color: #fffbe8;
  text-shadow: 0 0 8px #b76e79, 0 0 24px #b76e79;
  animation: flicker 1.2s infinite alternate;
}
@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* === Typewriter Effect === */
.typewriter-text {
  overflow: hidden;
  border-right: .15em solid #b76e79;
  white-space: nowrap;
  letter-spacing: .15em;
  animation: typing 2.5s steps(30, end), blink-caret .75s step-end infinite;
}
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #b76e79; }
}

/* === Wave Text === */
.wave-text span {
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out;
}
.wave-text span:nth-child(1) { animation-delay: 0s; }
.wave-text span:nth-child(2) { animation-delay: 0.1s; }
.wave-text span:nth-child(3) { animation-delay: 0.2s; }
.wave-text span:nth-child(4) { animation-delay: 0.3s; }
.wave-text span:nth-child(5) { animation-delay: 0.4s; }
.wave-text span:nth-child(6) { animation-delay: 0.5s; }
.wave-text span:nth-child(7) { animation-delay: 0.6s; }
.wave-text span:nth-child(8) { animation-delay: 0.7s; }
.wave-text span:nth-child(9) { animation-delay: 0.8s; }
.wave-text span:nth-child(10) { animation-delay: 0.9s; }
@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* === Glow Effect === */
.glow-text {
  color: #fff;
  text-shadow: 0 0 8px #b76e79, 0 0 24px #ffd800, 0 0 40px #21ff7a;
  font-weight: bold;
}

/* === Bounce Effect === */
.bounce-text {
  display: inline-block;
  animation: bounce 1s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* === Rotate Effect === */
.rotate-text {
  display: inline-block;
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === Skew Effect === */
.skew-text {
  display: inline-block;
  animation: skew 1.5s infinite alternate;
}
@keyframes skew {
  0% { transform: skewX(0deg); }
  100% { transform: skewX(20deg); }
}

/* === Underline Animation === */
.underline-text {
  position: relative;
  display: inline-block;
}
.underline-text::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: #b76e79;
  animation: underlineGrow 1.2s infinite alternate;
}
@keyframes underlineGrow {
  0% { width: 0; }
  100% { width: 100%; }
}

/* === Fade In === */
.fadein-text {
  opacity: 0;
  animation: fadeInText 2s forwards;
}
@keyframes fadeInText {
  to { opacity: 1; }
}

/* === End Modular Effects === */
