/* ====== Background & Tag Animations ====== */

/* Shimmer animation for premium tags */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Gold glow animation */
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6); }
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Rotate animation */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Background overlay for profile */
.profile-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
}

/* Premium background overlay */
.premium-background {
  opacity: 0.5;
}

/* Tag styles */
.user-tag {
  display: inline-block;
  margin: 2px;
  transition: all 0.3s ease;
}

.user-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Premium tag glow */
.premium-tag {
  animation: goldGlow 2s ease-in-out infinite;
}

/* Animated tag */
.animated-tag {
  background-size: 200% 200% !important;
  animation: shimmer 3s ease-in-out infinite !important;
}

/* Profile card with background */
.profile-card-with-bg {
  position: relative;
  overflow: hidden;
}

.profile-card-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.profile-card-with-bg > * {
  position: relative;
  z-index: 1;
}

/* Member list tag display */
.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-background {
    opacity: 0.2;
  }

  .member-tags {
    justify-content: center;
  }
}
