/* Basic styles for Centarius */
body {
  font-family: "Raleway", sans-serif;
}

/* ==================== */
/* Premium Badge Styles */
/* ==================== */
.premium-badge {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Metallic shimmer sweep */
.premium-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: metal-shimmer 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes metal-shimmer {
  0% { left: -150%; }
  50%, 100% { left: 150%; }
}

@keyframes bronze-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(205, 127, 50, 0.5), 0 0 20px rgba(205, 127, 50, 0.3); }
  50% { box-shadow: 0 0 15px rgba(205, 127, 50, 0.7), 0 0 30px rgba(205, 127, 50, 0.4); }
}

@keyframes silver-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(220, 220, 220, 0.7), 0 0 25px rgba(192, 192, 192, 0.4); }
  50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(192, 192, 192, 0.6); }
}

@keyframes gold-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 22px rgba(255, 215, 0, 0.9), 0 0 45px rgba(255, 215, 0, 0.5); }
}

@keyframes metal-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.premium-bronze {
  background: linear-gradient(
    145deg,
    #cd7f32 0%,
    #e8a54b 25%,
    #cd7f32 50%,
    #a56529 75%,
    #cd7f32 100%
  );
  background-size: 200% 200%;
  color: #fff;
  animation: bronze-glow 3s ease-in-out infinite, metal-shift 4s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.premium-silver {
  background: linear-gradient(
    145deg,
    #c0c0c0 0%,
    #f5f5f5 25%,
    #e0e0e0 50%,
    #a8a8a8 75%,
    #d0d0d0 100%
  );
  background-size: 200% 200%;
  color: #1a1a2e;
  animation: silver-glow 2.5s ease-in-out infinite, metal-shift 3s ease-in-out infinite;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

.premium-gold {
  background: linear-gradient(
    145deg,
    #ffd700 0%,
    #fff5a0 25%,
    #ffd700 50%,
    #c9a000 75%,
    #ffe55c 100%
  );
  background-size: 200% 200%;
  color: #1a1a2e;
  animation: gold-glow 2s ease-in-out infinite, metal-shift 2.5s ease-in-out infinite;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}

.premium-badge:hover {
  transform: scale(1.05);
}

/* Premium Celebration Section */
.premium-celebration-bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
  color: #fff;
  box-shadow: 0 0 30px rgba(205, 127, 50, 0.3);
}

.premium-celebration-silver {
  background: linear-gradient(135deg, #e8e8e8 0%, #a0a0a0 100%);
  color: #1a1a2e;
  box-shadow: 0 0 30px rgba(192, 192, 192, 0.4);
}

.premium-celebration-gold {
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: #1a1a2e;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

/* Premium Avatar Glow Effects */
@keyframes avatar-bronze-glow {
  0%, 100% {
    box-shadow: 0 0 6px 1px rgba(205, 127, 50, 0.3),
                0 0 12px 2px rgba(205, 127, 50, 0.15);
  }
  50% {
    box-shadow: 0 0 8px 2px rgba(205, 127, 50, 0.4),
                0 0 16px 4px rgba(205, 127, 50, 0.2);
  }
}

@keyframes avatar-silver-glow {
  0%, 100% {
    box-shadow: 0 0 6px 1px rgba(192, 192, 192, 0.35),
                0 0 12px 2px rgba(220, 220, 220, 0.2);
  }
  50% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.45),
                0 0 18px 4px rgba(192, 192, 192, 0.25);
  }
}

@keyframes avatar-gold-glow {
  0%, 100% {
    box-shadow: 0 0 8px 1px rgba(255, 215, 0, 0.35),
                0 0 14px 2px rgba(255, 215, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 12px 2px rgba(255, 215, 0, 0.5),
                0 0 20px 4px rgba(255, 215, 0, 0.25);
  }
}

.premium-avatar-bronze {
  border-color: #cd7f32 !important;
  animation: avatar-bronze-glow 3s ease-in-out infinite;
}

.premium-avatar-silver {
  border-color: #c0c0c0 !important;
  animation: avatar-silver-glow 2.5s ease-in-out infinite;
}

.premium-avatar-gold {
  border-color: #ffd700 !important;
  animation: avatar-gold-glow 2s ease-in-out infinite;
}

/* XP Boost Animation Styles */
@keyframes xp-boost-pulse {
  0%, 100% {
    box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.5),
                0 0 16px 4px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 12px 4px rgba(255, 215, 0, 0.7),
                0 0 24px 8px rgba(255, 215, 0, 0.4);
  }
}

.xp-boost-badge {
  animation: xp-boost-pulse 2s ease-in-out infinite;
  background: #ffd700;
  color: #000;
  font-family: 'Arial Black', 'Helvetica Bold', sans-serif;
  letter-spacing: -0.5px;
}

/* Shimmer effect for progress bar when boost active */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.xp-bar-boosted {
  background: linear-gradient(
    90deg,
    #8b5cf6 0%,
    #3b82f6 25%,
    #00f5ff 50%,
    #3b82f6 75%,
    #8b5cf6 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}