/* Adaptive contrast utilities for text over dynamic backgrounds */

/* Enhanced gradient overlays for better text readability */
.profile-header-overlay-light {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
}

.profile-header-overlay-dark {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.profile-header-overlay-heavy {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* Advanced text styling with multiple shadow layers */
.text-shadow-adaptive-light {
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(0, 0, 0, 0.2);
}

.text-shadow-adaptive-medium {
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 16px rgba(0, 0, 0, 0.2);
}

.text-shadow-adaptive-heavy {
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 4px 12px rgba(0, 0, 0, 0.6),
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(0, 0, 0, 0.3);
}

/* Text outlines for maximum contrast */
.text-outline-adaptive {
  text-shadow: 
    -1px -1px 0 rgba(0, 0, 0, 0.8),
    1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px 1px 0 rgba(0, 0, 0, 0.8),
    1px 1px 0 rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.6);
}

/* Backdrop filter for modern browsers - creates frosted glass effect */
.backdrop-adaptive-light {
  backdrop-filter: blur(8px) brightness(1.2) saturate(0.8);
  -webkit-backdrop-filter: blur(8px) brightness(1.2) saturate(0.8);
  background: rgba(255, 255, 255, 0.1);
}

.backdrop-adaptive-dark {
  backdrop-filter: blur(8px) brightness(0.8) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) brightness(0.8) saturate(1.2);
  background: rgba(0, 0, 0, 0.1);
}

.backdrop-adaptive-medium {
  backdrop-filter: blur(12px) brightness(0.9);
  -webkit-backdrop-filter: blur(12px) brightness(0.9);
  background: rgba(0, 0, 0, 0.2);
}

/* Metrics container with backdrop */
.metrics-backdrop {
  backdrop-filter: blur(16px) brightness(0.8);
  -webkit-backdrop-filter: blur(16px) brightness(0.8);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .text-shadow-adaptive-light,
  .text-shadow-adaptive-medium,
  .text-shadow-adaptive-heavy {
    text-shadow: 
      0 0 4px rgba(0, 0, 0, 1),
      0 0 8px rgba(0, 0, 0, 0.8),
      0 0 16px rgba(0, 0, 0, 0.6);
  }
  
  .profile-header-overlay-dark,
  .profile-header-overlay-heavy {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.8) 50%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .backdrop-adaptive-light,
  .backdrop-adaptive-dark,
  .backdrop-adaptive-medium,
  .metrics-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.7);
  }
}

/*# sourceMappingURL=a587351b193fb6ee.css.map*/