/**
 * VibePostAI Premium Avatar Effects - ENHANCED
 * 
 * 6 PREMIUM animated avatar effects with complex animations
 * Like Discord premium but for VibePostAI
 * Effects: Crystalline Aura, Plasma Storm, Aurora Waves, Liquid Glass, Fire Hover, Cyber Codes
 * 
 * @package VibePostAI
 * @version 2.0.0 - Premium Edition
 * @date January 2026
 */

/* ═══════════════════════════════════════════════════════════════════════════════
   BASE AVATAR EFFECT CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-avatar-effects-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.avatar-image {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vpa-effect-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.vpa-effect-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
}

/* Hover effect for avatar (all effects) */
.vpa-avatar-effects-wrapper:hover .avatar-image {
  filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 1: CRYSTALLINE AURA - Premium Rotating Gem Frame
   Complex: Rotating geometric frame + multiple pulsing layers + RGB shimmer
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-crystalline_aura {
  background: 
    radial-gradient(circle at 30% 30%, rgba(100, 200, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(123, 44, 191, 0.1) 0%, transparent 50%);
}

.vpa-effect-crystalline_aura::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(100, 200, 255, 0.6) 0deg,
    rgba(0, 255, 200, 0.4) 90deg,
    rgba(200, 100, 255, 0.5) 180deg,
    rgba(100, 200, 255, 0.6) 270deg,
    rgba(100, 200, 255, 0.6) 360deg
  );
  animation: vpa-gem-rotate 8s linear infinite;
  z-index: 2;
  pointer-events: none;
}

.vpa-effect-crystalline_aura::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.4) 0%, transparent 70%);
  animation: vpa-gem-pulse 2.5s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
  box-shadow: 
    inset 0 0 30px rgba(100, 200, 255, 0.2),
    0 0 30px rgba(100, 200, 255, 0.3);
}

.vpa-effect-crystalline_aura:hover .avatar-image {
  transform: scale(1.12);
  filter: brightness(1.25) drop-shadow(0 0 25px rgba(100, 200, 255, 0.6));
}

@keyframes vpa-gem-rotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes vpa-gem-pulse {
  0%, 100% { 
    opacity: 0.6;
    box-shadow: inset 0 0 20px rgba(100, 200, 255, 0.15), 0 0 20px rgba(100, 200, 255, 0.2);
  }
  50% { 
    opacity: 1;
    box-shadow: inset 0 0 40px rgba(100, 200, 255, 0.4), 0 0 50px rgba(100, 200, 255, 0.5);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 2: PLASMA STORM - Electric Energy Field
   Complex: Rotating rings + hue cycling + electrical arcs + multi-layer glow
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-plasma_storm {
  background: radial-gradient(circle, rgba(0, 100, 255, 0.1) 0%, transparent 70%);
}

.vpa-effect-plasma_storm::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: rgba(0, 255, 200, 0.8);
  border-right-color: rgba(123, 44, 191, 0.6);
  border-bottom-color: rgba(0, 128, 255, 0.4);
  animation: vpa-plasma-spin 2.5s linear infinite;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 15px rgba(0, 255, 200, 0.5));
}

.vpa-effect-plasma_storm::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  box-shadow: 
    inset 0 0 30px rgba(0, 255, 200, 0.3),
    0 0 40px rgba(0, 128, 255, 0.4),
    0 0 80px rgba(123, 44, 191, 0.2);
  animation: vpa-plasma-pulse 2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.vpa-effect-plasma_storm .avatar-image {
  animation: vpa-plasma-flicker 3s ease-in-out infinite;
  filter: hue-rotate(0deg);
}

.vpa-effect-plasma_storm:hover .avatar-image {
  filter: brightness(1.3) hue-rotate(30deg) drop-shadow(0 0 35px rgba(0, 255, 200, 0.7));
  transform: scale(1.15);
}

@keyframes vpa-plasma-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes vpa-plasma-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes vpa-plasma-flicker {
  0%, 100% { hue-rotate: 0deg; filter: brightness(1); }
  25% { hue-rotate: 20deg; filter: brightness(1.1); }
  50% { hue-rotate: 40deg; filter: brightness(1.2); }
  75% { hue-rotate: 20deg; filter: brightness(1.1); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 3: AURORA WAVES - Mythical Aurora Borealis
   Complex: Multi-layer animated gradients + fluid motion + rainbow shifts
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-aurora_waves::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: 
    linear-gradient(90deg, 
      transparent 0%, 
      rgba(0, 255, 127, 0.4) 25%,
      transparent 50%,
      rgba(0, 206, 209, 0.4) 75%,
      transparent 100%),
    linear-gradient(-90deg,
      transparent 0%,
      rgba(157, 78, 221, 0.3) 50%,
      transparent 100%);
  background-size: 200% 100%, 100% 200%;
  background-position: 0% 0%, 0% 0%;
  animation: vpa-aurora-flow 6s ease-in-out infinite;
  filter: blur(2px);
  z-index: 2;
  pointer-events: none;
}

.vpa-effect-aurora_waves::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  box-shadow: 
    inset 0 0 40px rgba(0, 255, 127, 0.2),
    0 0 50px rgba(0, 206, 209, 0.3),
    0 0 80px rgba(157, 78, 221, 0.15);
  animation: vpa-aurora-glow 4s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

.vpa-effect-aurora_waves .avatar-image {
  filter: saturate(1.2) brightness(1.05);
  animation: vpa-aurora-shift 5s ease-in-out infinite;
}

.vpa-effect-aurora_waves:hover .avatar-image {
  transform: scale(1.12);
  filter: saturate(1.4) brightness(1.15) drop-shadow(0 0 30px rgba(0, 255, 127, 0.5));
}

@keyframes vpa-aurora-flow {
  0%, 100% { background-position: 0% 0%, 0% 0%; }
  50% { background-position: 100% 0%, 0% 100%; }
}

@keyframes vpa-aurora-glow {
  0%, 100% { 
    box-shadow: 
      inset 0 0 30px rgba(0, 255, 127, 0.15),
      0 0 40px rgba(0, 206, 209, 0.2),
      0 0 60px rgba(157, 78, 221, 0.1);
  }
  50% { 
    box-shadow: 
      inset 0 0 50px rgba(0, 255, 127, 0.3),
      0 0 60px rgba(0, 206, 209, 0.4),
      0 0 100px rgba(157, 78, 221, 0.25);
  }
}

@keyframes vpa-aurora-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  33% { filter: hue-rotate(60deg); }
  66% { filter: hue-rotate(120deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 4: LIQUID GLASS - Morphing Blur Effect
   Complex: Animated blur layers + smooth morphing + glossy reflection
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-liquid_glass {
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 180, 216, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(202, 240, 248, 0.15) 0%, transparent 60%);
}

.vpa-effect-liquid_glass::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 40% 40%, rgba(0, 180, 216, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(202, 240, 248, 0.25) 0%, transparent 50%);
  animation: vpa-liquid-morph 4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.vpa-effect-liquid_glass::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  box-shadow: 
    inset -40px -40px 80px rgba(0, 180, 216, 0.15),
    inset 40px 40px 80px rgba(202, 240, 248, 0.1),
    0 0 50px rgba(0, 180, 216, 0.25),
    0 0 80px rgba(202, 240, 248, 0.15);
  animation: vpa-glass-shine 3s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

.vpa-effect-liquid_glass .avatar-image {
  animation: vpa-glass-blur 3s ease-in-out infinite;
}

.vpa-effect-liquid_glass:hover .avatar-image {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 0 30px rgba(0, 180, 216, 0.4));
}

@keyframes vpa-liquid-morph {
  0%, 100% { 
    background-position: 0% 0%, 100% 100%;
    border-radius: 50%;
  }
  50% { 
    background-position: 100% 100%, 0% 0%;
    border-radius: 48%;
  }
}

@keyframes vpa-glass-shine {
  0%, 100% { 
    box-shadow: 
      inset -40px -40px 80px rgba(0, 180, 216, 0.1),
      inset 40px 40px 80px rgba(202, 240, 248, 0.05),
      0 0 40px rgba(0, 180, 216, 0.2),
      0 0 60px rgba(202, 240, 248, 0.1);
  }
  50% { 
    box-shadow: 
      inset -40px -40px 80px rgba(0, 180, 216, 0.25),
      inset 40px 40px 80px rgba(202, 240, 248, 0.15),
      0 0 60px rgba(0, 180, 216, 0.4),
      0 0 100px rgba(202, 240, 248, 0.25);
  }
}

@keyframes vpa-glass-blur {
  0%, 100% { filter: blur(0px) brightness(1); }
  50% { filter: blur(1px) brightness(1.1); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 5: FIRE HOVER - Inferno Aura
   Complex: Multi-layer flame rings + color cycling + intense glow + particle effect
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-fire_hover {
  background: 
    radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.2) 0%, transparent 60%);
}

.vpa-effect-fire_hover::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: rgba(255, 69, 0, 0.8);
  border-right-color: rgba(255, 165, 0, 0.6);
  border-bottom-color: rgba(255, 215, 0, 0.4);
  border-left-color: rgba(255, 69, 0, 0.7);
  animation: vpa-fire-spin 2s linear infinite;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.6));
}

.vpa-effect-fire_hover::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  box-shadow: 
    inset 0 0 30px rgba(255, 69, 0, 0.25),
    0 0 50px rgba(255, 69, 0, 0.5),
    0 0 100px rgba(255, 165, 0, 0.3),
    0 0 150px rgba(255, 215, 0, 0.15);
  animation: vpa-fire-pulse 1.5s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.vpa-effect-fire_hover .avatar-image {
  animation: vpa-fire-heat 2s ease-in-out infinite;
}

.vpa-effect-fire_hover:hover .avatar-image {
  filter: brightness(1.4) hue-rotate(-10deg) drop-shadow(0 0 40px rgba(255, 69, 0, 0.8));
  transform: scale(1.15);
}

@keyframes vpa-fire-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes vpa-fire-pulse {
  0%, 100% { 
    opacity: 0.7;
    box-shadow: 
      inset 0 0 20px rgba(255, 69, 0, 0.15),
      0 0 40px rgba(255, 69, 0, 0.4),
      0 0 80px rgba(255, 165, 0, 0.2),
      0 0 120px rgba(255, 215, 0, 0.1);
  }
  50% { 
    opacity: 1;
    box-shadow: 
      inset 0 0 40px rgba(255, 69, 0, 0.4),
      0 0 70px rgba(255, 69, 0, 0.7),
      0 0 120px rgba(255, 165, 0, 0.5),
      0 0 180px rgba(255, 215, 0, 0.25);
  }
}

@keyframes vpa-fire-heat {
  0%, 100% { filter: brightness(1) saturate(1.1); }
  50% { filter: brightness(1.3) saturate(1.3); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 6: CYBER CODES - Matrix Digital Rain
   Complex: Falling code animation + RGB scanlines + terminal green glow
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-cyber_codes {
  background: 
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 0, 0.05) 0px,
      transparent 2px,
      transparent 4px,
      rgba(0, 255, 0, 0.05) 6px
    ),
    radial-gradient(circle, rgba(0, 255, 0, 0.1) 0%, transparent 70%);
}

.vpa-effect-cyber_codes::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: 
    linear-gradient(180deg, 
      transparent 0%,
      rgba(0, 255, 0, 0.3) 50%,
      transparent 100%);
  background-size: 100% 200%;
  animation: vpa-code-scroll 3s linear infinite;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.4));
}

.vpa-effect-cyber_codes::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  box-shadow: 
    inset 0 0 40px rgba(0, 255, 0, 0.15),
    0 0 50px rgba(0, 255, 0, 0.4),
    0 0 100px rgba(0, 255, 0, 0.2),
    inset 0 0 20px rgba(0, 255, 0, 0.1);
  animation: vpa-cyber-glitch 2.5s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

.vpa-effect-cyber_codes .avatar-image {
  animation: vpa-cyber-scan 2s ease-in-out infinite;
  filter: hue-rotate(120deg) brightness(0.95);
}

.vpa-effect-cyber_codes:hover .avatar-image {
  filter: hue-rotate(120deg) brightness(1.3) drop-shadow(0 0 35px rgba(0, 255, 0, 0.7));
  transform: scale(1.12);
}

@keyframes vpa-code-scroll {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% -100%; }
}

@keyframes vpa-cyber-glitch {
  0%, 100% { 
    box-shadow: 
      inset 0 0 30px rgba(0, 255, 0, 0.1),
      0 0 40px rgba(0, 255, 0, 0.3),
      0 0 80px rgba(0, 255, 0, 0.15),
      inset 0 0 15px rgba(0, 255, 0, 0.05);
  }
  50% { 
    box-shadow: 
      inset 0 0 50px rgba(0, 255, 0, 0.25),
      0 0 70px rgba(0, 255, 0, 0.6),
      0 0 130px rgba(0, 255, 0, 0.3),
      inset 0 0 30px rgba(0, 255, 0, 0.15);
  }
}

@keyframes vpa-cyber-scan {
  0%, 100% { filter: hue-rotate(120deg) brightness(0.95) contrast(1); }
  50% { filter: hue-rotate(125deg) brightness(1.1) contrast(1.2); }
}

@keyframes vpa-aurora-wave {
  0% {
    background-position: 0% 0%;
    opacity: 0.7;
  }
  50% {
    background-position: 100% 100%;
    opacity: 1;
  }
  100% {
    background-position: 0% 0%;
    opacity: 0.7;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 4: LIQUID GLASS
   SVG morphing paths + shimmer effect + refraction illusion
   Colors: Cyan → Light Blue → Pearl White
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-liquid_glass {
  background: radial-gradient(circle at 30% 30%, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
}

.vpa-effect-liquid_glass .vpa-effect-overlay {
  animation: vpa-liquid-morph 4s ease-in-out infinite;
  filter: blur(0.5px);
}

.vpa-effect-liquid_glass::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(232, 244, 248, 0.4) 0%,
    rgba(144, 224, 239, 0.2) 50%,
    transparent 100%);
  animation: vpa-liquid-shimmer 3s ease-in-out infinite;
  z-index: 6;
  pointer-events: none;
}

.vpa-effect-liquid_glass .avatar-image {
  filter: brightness(1.05) contrast(1.1);
}

.vpa-effect-liquid_glass:hover .avatar-image {
  transform: scale(1.12);
  filter: brightness(1.15) contrast(1.15) drop-shadow(0 0 20px rgba(0, 180, 216, 0.3));
}

@keyframes vpa-liquid-morph {
  0% { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }
  25% { clip-path: polygon(50% 0%, 95% 35%, 85% 100%, 15% 100%, 5% 35%); }
  50% { clip-path: polygon(50% 5%, 100% 40%, 80% 95%, 20% 95%, 0% 40%); }
  75% { clip-path: polygon(48% 2%, 98% 38%, 82% 98%, 18% 98%, 2% 38%); }
  100% { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }
}

@keyframes vpa-liquid-shimmer {
  0%, 100% { 
    background-position: 0% 0%;
    opacity: 0.3;
  }
  50% { 
    background-position: 100% 100%;
    opacity: 0.6;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 5: FIRE HOVER
   Animated flame particles + glow + heat distortion
   Colors: Red → Orange → Yellow with glow
   Desktop: Hover only | Mobile: Always on
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-fire_hover {
  will-change: filter;
}

.vpa-effect-fire_hover::before {
  content: '';
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.4) 0%, transparent 60%);
  animation: vpa-fire-glow 2s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vpa-effect-fire_hover:hover::before {
  opacity: 1;
}

.vpa-effect-fire_hover::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 165, 0, 0.5) 0%, transparent 40%),
    radial-gradient(circle at 30% 20%, rgba(255, 69, 0, 0.4) 0%, transparent 30%),
    radial-gradient(circle at 70% 20%, rgba(255, 215, 0, 0.4) 0%, transparent 30%);
  animation: vpa-fire-rise 2s ease-in infinite;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(2px);
}

.vpa-effect-fire_hover:hover::after {
  opacity: 1;
}

.vpa-effect-fire_hover:hover .avatar-image {
  filter: brightness(1.15) hue-rotate(-10deg) drop-shadow(0 0 30px rgba(255, 69, 0, 0.6));
  transform: scale(1.1);
}

.vpa-effect-fire_hover .vpa-effect-particles {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vpa-effect-fire_hover:hover .vpa-effect-particles {
  opacity: 1;
}

@keyframes vpa-fire-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.3), 0 0 40px rgba(255, 165, 0, 0.1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.6), 0 0 60px rgba(255, 165, 0, 0.3);
  }
}

@keyframes vpa-fire-rise {
  0% { 
    transform: translateY(20px) scaleY(0.8);
    opacity: 1;
  }
  100% { 
    transform: translateY(-30px) scaleY(1.2);
    opacity: 0;
  }
}

/* Mobile: Always show fire effect (no hover) */
@media (max-width: 768px) {
  .vpa-effect-fire_hover::before {
    opacity: 1;
  }

  .vpa-effect-fire_hover::after {
    opacity: 1;
  }

  .vpa-effect-fire_hover .vpa-effect-particles {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EFFECT 6: CYBER CODES (MATRIX STYLE)
   Falling animated text/symbols + grid background + green glow
   Colors: Neon Green + Dark Green
   ═══════════════════════════════════════════════════════════════════════════════ */

.vpa-effect-cyber_codes {
  background: 
    repeating-linear-gradient(
      0deg,
      rgba(0, 51, 0, 0.1) 0px,
      rgba(0, 51, 0, 0.1) 2px,
      transparent 2px,
      transparent 20px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 51, 0, 0.1) 0px,
      rgba(0, 51, 0, 0.1) 2px,
      transparent 2px,
      transparent 20px
    );
  background-size: 100% 100%, 100% 100%;
}

.vpa-effect-cyber_codes::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.15) 0%, transparent 70%);
  z-index: 4;
  pointer-events: none;
  animation: vpa-cyber-pulse 2s ease-in-out infinite;
}

.vpa-effect-cyber_codes .vpa-effect-particles {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
  color: #00FF00;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.vpa-effect-cyber_codes .avatar-image {
  filter: brightness(0.95) contrast(1.1);
  position: relative;
  z-index: 10;
}

.vpa-effect-cyber_codes:hover .avatar-image {
  filter: brightness(1.05) contrast(1.15) drop-shadow(0 0 25px rgba(0, 255, 0, 0.4));
}

.vpa-cyber-code-stream {
  position: absolute;
  white-space: nowrap;
  animation: vpa-cyber-fall linear infinite;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
  opacity: 0.7;
}

.vpa-cyber-code-stream:nth-child(1) {
  left: 5%;
  animation-duration: 3s;
  animation-delay: 0s;
}

.vpa-cyber-code-stream:nth-child(2) {
  left: 25%;
  animation-duration: 3.5s;
  animation-delay: -0.5s;
}

.vpa-cyber-code-stream:nth-child(3) {
  left: 50%;
  animation-duration: 4s;
  animation-delay: -1s;
}

.vpa-cyber-code-stream:nth-child(4) {
  left: 75%;
  animation-duration: 3.8s;
  animation-delay: -1.5s;
}

.vpa-cyber-code-stream:nth-child(5) {
  left: 95%;
  animation-duration: 4.2s;
  animation-delay: -2s;
}

@keyframes vpa-cyber-fall {
  0% { 
    transform: translateY(-120px);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% { 
    transform: translateY(150px);
    opacity: 0;
  }
}

@keyframes vpa-cyber-pulse {
  0%, 100% { 
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2), 0 0 10px rgba(0, 255, 0, 0.1);
  }
  50% { 
    box-shadow: inset 0 0 30px rgba(0, 255, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.2);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE SIZING
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Desktop: 160px (default) */
@media (min-width: 769px) {
  .vpa-avatar-effects-wrapper {
    width: 160px;
    height: 160px;
  }
}

/* Mobile: Slightly smaller for better fit */
@media (max-width: 768px) {
  .vpa-avatar-effects-wrapper {
    width: 120px;
    height: 120px;
  }

  .vpa-cyber-code-stream {
    font-size: 10px;
  }
}

/* Tablet: Medium size */
@media (min-width: 769px) and (max-width: 1024px) {
  .vpa-avatar-effects-wrapper {
    width: 150px;
    height: 150px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY: REDUCE MOTION
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .vpa-avatar-effects-wrapper,
  .avatar-image,
  .vpa-effect-overlay,
  .vpa-effect-particles,
  .vpa-cyber-code-stream {
    animation: none !important;
    transition: none !important;
  }

  .vpa-avatar-effects-wrapper:hover .avatar-image {
    filter: brightness(1.05);
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PERFORMANCE OPTIMIZATION
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Use GPU acceleration where possible */
.vpa-effect-overlay,
.vpa-effect-particles,
.vpa-cyber-code-stream {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Only apply will-change during animations */
.vpa-effect-plasma_storm .avatar-image {
  will-change: filter;
}

.vpa-effect-fire_hover {
  will-change: filter;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

@media print {
  .vpa-avatar-effects-wrapper,
  .vpa-effect-overlay,
  .vpa-effect-particles {
    animation: none !important;
  }

  .vpa-effect-overlay,
  .vpa-effect-particles::before,
  .vpa-effect-particles::after {
    display: none;
  }
}
