/* Extracted inline styles from index.html */

/* Main animation with hardware acceleration for all browsers */
@keyframes textFadeInBlur {
  0% {
    opacity: 0;
    filter: blur(4px);
    -webkit-filter: blur(4px);
    transform: translateY(-10px) translateZ(0);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    -webkit-filter: blur(0px);
    transform: translateY(0) translateZ(0);
  }
}

/* Safari-specific fallback animation without blur */
@keyframes textFadeInSafari {
  0% {
    opacity: 0;
    transform: translateY(-10px) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.content-text {
  opacity: 0;
  /* Force hardware acceleration */
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity, filter, transform;
}

.content-text.animate {
  animation: textFadeInBlur 0.5s ease-out forwards;
}

/* Removed problematic Safari detection - modern Safari handles blur fine */

/* Faster, tighter delays between elements */
.social-links.animate {
  animation-delay: 0.1s;
}
.zigzag.animate {
  animation-delay: 0.1s;
}
.intro.animate {
  animation-delay: 0.2s;
}
.passions-title.animate {
  animation-delay: 0.2s;
}
.passions-content.animate {
  animation-delay: 0.2s;
}
.other-title.animate {
  animation-delay: 0.3s;
}
.other-content.animate {
  animation-delay: 0.4s;
}
.datetime.animate {
  animation-delay: 0.5s;
}
.music-player.animate {
  animation-delay: 0.6s;
}

/* Style for animated icon links */
.github-icon-container,
.linkedin-icon-container,
.instagram-icon-container,
.twitter-icon-container {
  text-decoration: none !important;
  display: inline-block;
  margin-right: 8px;
  color: var(--text-low);
  vertical-align: middle;
  border-bottom: none !important;
  box-shadow: none !important;
}

.github-icon-container:hover,
.linkedin-icon-container:hover,
.instagram-icon-container:hover,
.twitter-icon-container:hover,
.github-icon-container:focus,
.linkedin-icon-container:focus,
.instagram-icon-container:focus,
.twitter-icon-container:focus,
.github-icon-container:active,
.linkedin-icon-container:active,
.instagram-icon-container:active,
.twitter-icon-container:active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: var(--text);
}

/* Alexa status styling */
.alexa-icon {
  vertical-align: middle;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.alexa-icon:hover {
  transform: scale(1.05);
}

.alexa-icon:hover #alexa-ring {
  opacity: 1;
  animation: alexa-ring-pulse 2s ease-in-out infinite;
}

.alexa-icon #alexa-ring {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

@keyframes alexa-ring-pulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Social links spacing & animation */
.social-links {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.5rem;
  margin: 0;
}


/* Touch device rule no longer needed - base rule now applies to all devices */

.alexa-status {
  margin-left: 6px;
  vertical-align: middle;
  font-size: calc(var(--f-size) * var(--scale-s));
  color: inherit;
  white-space: nowrap;
}
