/* About Animations - All keyframe animations and transitions */

/* Neon underline animations */
@keyframes neonUnderlinePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.neon-underline {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00fff7, #ff00cc);
  box-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc;
  animation: neonUnderlinePulse 2s ease-in-out infinite;
}

/* Neon keyword animations */
@keyframes neonKeywordPulse {
  0%, 100% { text-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc; }
  50% { text-shadow: 0 0 12px #00fff7, 0 0 24px #ff00cc, 0 0 32px #ff00cc; }
}

.neon-keyword {
  color: #00fff7;
  font-weight: 600;
  animation: neonKeywordPulse 3s ease-in-out infinite;
}

/* About block animations */
@keyframes blockPulse {
  0%, 100% { box-shadow: 0 0 12px #00fff744, 0 0 24px #ff00cc44; }
  50% { box-shadow: 0 0 20px #00fff7, 0 0 40px #ff00cc; }
}

@keyframes scanline {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.about-block {
  position: relative;
  background: rgba(24, 25, 42, 0.8);
  border: 2px solid #00fff7;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.about-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00fff7, transparent);
  animation: scanline 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 247, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.about-block:hover {
  transform: translateY(-2px);
  border-color: #ff00cc;
  animation: blockPulse 2s ease-in-out infinite;
}

.about-block:hover::before {
  opacity: 1;
}

.about-block:hover::after {
  opacity: 1;
}

/* Text glow animations */
@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc; }
  50% { text-shadow: 0 0 12px #00fff7, 0 0 24px #ff00cc, 0 0 32px #ff00cc; }
}

@keyframes iconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-block h3 {
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  animation: textGlow 4s ease-in-out infinite;
}

.about-block h3::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #ff00cc;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff00cc;
  animation: iconSpin 3s linear infinite;
}

/* Fade in animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-block p {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out;
  text-shadow: 0 0 4px rgba(255,255,255,0.3);
}

/* Infobar animations */
@keyframes infobarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* About infobar styles moved to about-cards.css */

.about-infobar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 0, 204, 0.1) 50%, transparent 70%);
  animation: scanline 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-infobar:hover {
  border-color: #00fff7;
  box-shadow: 0 0 20px #ff00cc, 0 0 40px #00fff7;
}

.about-infobar:hover::before {
  opacity: 1;
}

/* Info item animations */
@keyframes infoSlide {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes infoPulse {
  0%, 100% { color: #e0e0e0; }
  50% { color: #00fff7; text-shadow: 0 0 8px #00fff7; }
}

/* About info styles moved to about-cards.css */

/* Particle animations */
@keyframes particleFloat {
  0% { transform: translateY(0px) translateX(0px); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-20px) translateX(10px); opacity: 0; }
}

.about-block::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 4px;
  height: 4px;
  background: #00fff7;
  border-radius: 50%;
  animation: particleFloat 3s ease-in-out infinite;
  pointer-events: none;
}

.about-block::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 3px;
  height: 3px;
  background: #ff00cc;
  border-radius: 50%;
  animation: particleFloat 4s ease-in-out infinite 1s;
  pointer-events: none;
}

.about-block:hover::before {
  animation-duration: 2s;
}

.about-block:hover::after {
  animation-duration: 2.5s;
}

/* Infobar scanline animation */
@keyframes scanlineVertical {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.about-infobar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #ff00cc, transparent);
  animation: scanlineVertical 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-infobar:hover::before {
  opacity: 1;
}

/* Text animations for different blocks */
.about-block p {
  animation: fadeInUp 0.6s ease-out;
}

.about-block:nth-child(2) p {
  animation-delay: 0.2s;
}

.about-block:nth-child(3) p {
  animation-delay: 0.4s;
}

/* Neon text animations */
.about-block .neon-text {
  color: #00fff7;
  font-weight: 600;
  animation: neonKeywordPulse 4s ease-in-out infinite;
}

@keyframes neonTextPulse {
  0%, 100% { text-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc; }
  50% { text-shadow: 0 0 12px #00fff7, 0 0 24px #ff00cc, 0 0 32px #ff00cc; }
}

.about-block .neon-keyword {
  color: #00fff7;
  font-weight: 600;
  animation: neonKeywordPulse 3s ease-in-out infinite;
}

/* Highlight animations */
.about-block .highlight {
  color: #ff00cc;
  font-weight: 600;
  text-shadow: 0 0 8px #ff00cc, 0 0 16px #00fff7;
  animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% { text-shadow: 0 0 8px #ff00cc, 0 0 16px #00fff7; }
  50% { text-shadow: 0 0 12px #ff00cc, 0 0 24px #00fff7, 0 0 32px #ff00cc; }
}

/* Icon animations */
.about-block .about-icon {
  display: inline-block;
  margin-right: 0.5rem;
  animation: iconGlow 3s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% { filter: drop-shadow(0 0 4px #00fff7); }
  50% { filter: drop-shadow(0 0 8px #00fff7) drop-shadow(0 0 12px #ff00cc); }
}

/* Animated underline */
.about-block h3 .animated-underline {
  position: relative;
  display: inline-block;
}

.about-block h3 .animated-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00fff7, #ff00cc);
  animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {
  0%, 100% { opacity: 0.6; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
} 