/* DK_PROD Academy - Premium Icon System 2026
   Duotone icons with neon glow and micro-animations
   Cyberpunk aesthetic with lime/cyan accents
*/

:root {
  --icon-primary: #ccff00;
  --icon-secondary: rgba(204, 255, 0, 0.25);
  --icon-glow: 0 0 20px rgba(204, 255, 0, 0.5), 0 0 40px rgba(204, 255, 0, 0.2);
  --icon-glow-hover:
    0 0 25px rgba(204, 255, 0, 0.7), 0 0 50px rgba(204, 255, 0, 0.3);
}

/* Base icon wrapper with glow */
.icon-2026 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-2026 svg {
  filter: drop-shadow(0 0 8px rgba(204, 255, 0, 0.4));
  transition: all 0.3s ease;
}

.icon-2026:hover svg {
  filter: drop-shadow(0 0 12px rgba(204, 255, 0, 0.6))
    drop-shadow(0 0 24px rgba(204, 255, 0, 0.3));
  transform: scale(1.05);
}

/* Duotone fill styles */
.duotone-fill {
  fill: var(--icon-secondary);
}

.duotone-stroke {
  fill: none;
  stroke: var(--icon-primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Animated pulse for important icons */
@keyframes icon-pulse-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(204, 255, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(204, 255, 0, 0.7))
      drop-shadow(0 0 32px rgba(204, 255, 0, 0.4));
  }
}

.icon-animated-glow svg {
  animation: icon-pulse-glow 2s ease-in-out infinite;
}

/* Float animation */
@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.icon-float svg {
  animation: icon-float 3s ease-in-out infinite;
}

/* Rotate on hover */
.icon-rotate-hover:hover svg {
  transform: rotate(15deg) scale(1.1);
}

/* Bounce on hover */
@keyframes bounce-once {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.icon-bounce-hover:hover svg {
  animation: bounce-once 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════
   DUOTONE SVG ICON DEFINITIONS
   ═══════════════════════════════════════════════════════════════ */

/* Inline styles for duotone rendering */
.svg-duotone {
  --dt-primary: #ccff00;
  --dt-secondary: rgba(204, 255, 0, 0.2);
}

.svg-duotone .primary {
  fill: none;
  stroke: var(--dt-primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-duotone .secondary {
  fill: var(--dt-secondary);
  stroke: none;
}

/* Card icon container */
.icon-card {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(204, 255, 0, 0.15),
    rgba(204, 255, 0, 0.05)
  );
  border: 1px solid rgba(204, 255, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-card:hover {
  background: linear-gradient(
    135deg,
    rgba(204, 255, 0, 0.25),
    rgba(204, 255, 0, 0.1)
  );
  border-color: rgba(204, 255, 0, 0.4);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

/* Badge with icon */
.icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.1), transparent);
  border: 1px solid rgba(204, 255, 0, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #ccff00;
  transition: all 0.3s ease;
}

.icon-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(204, 255, 0, 0.2),
    rgba(204, 255, 0, 0.05)
  );
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

/* Glassmorphism icon container */
.icon-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(204, 255, 0, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(204, 255, 0, 0.05);
}

/* Neon border animation */
@keyframes neon-border {
  0%,
  100% {
    box-shadow:
      0 0 5px rgba(204, 255, 0, 0.3),
      inset 0 0 5px rgba(204, 255, 0, 0.1);
  }
  50% {
    box-shadow:
      0 0 20px rgba(204, 255, 0, 0.5),
      0 0 40px rgba(204, 255, 0, 0.2),
      inset 0 0 10px rgba(204, 255, 0, 0.2);
  }
}

.icon-neon-border {
  animation: neon-border 2s ease-in-out infinite;
  border-radius: 12px;
  padding: 12px;
}

/* Gradient icon backgrounds */
.icon-gradient-lime {
  background: linear-gradient(135deg, #ccff00 0%, #88cc00 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.icon-gradient-cyber {
  background: linear-gradient(135deg, #ccff00 0%, #00ffff 100%);
}

/* Sizes */
.icon-xs {
  width: 16px;
  height: 16px;
}
.icon-sm {
  width: 20px;
  height: 20px;
}
.icon-md {
  width: 24px;
  height: 24px;
}
.icon-lg {
  width: 32px;
  height: 32px;
}
.icon-xl {
  width: 48px;
  height: 48px;
}
.icon-2xl {
  width: 64px;
  height: 64px;
}

/* Special effects */
.icon-shimmer {
  position: relative;
  overflow: hidden;
}

.icon-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(204, 255, 0, 0.1) 50%,
    transparent 60%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* Cyberpunk glitch effect on hover */
@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

.icon-glitch:hover svg {
  animation: glitch 0.3s ease;
}
