/* ==========================================================================
   DKODER 2.0 — AUTHENTIC YELLOW & PURPLE DESIGN SYSTEM & ANIMATIONS
   Colors: #12052B (Night Purple), #1E0D47 (Royal Purple), #FCC419 (Gold Yellow)
   ========================================================================== */

/* Ambient Glowing Background Particles */
@keyframes ambient-glow-pulse {
  0%, 100% {
    transform: scale(1) translate(0px, 0px);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15) translate(20px, -20px);
    opacity: 0.65;
  }
}

.ambient-orb-purple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, rgba(30, 13, 71, 0) 70%);
  filter: blur(40px);
  animation: ambient-glow-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.ambient-orb-yellow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 196, 25, 0.25) 0%, rgba(252, 196, 25, 0) 70%);
  filter: blur(45px);
  animation: ambient-glow-pulse 10s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Sound Wave Animation for Voice Recording in Interview Studio */
@keyframes soundwave-bar {
  0%, 100% { height: 8px; }
  50% { height: 32px; }
}

.wave-bar {
  width: 4px;
  background-color: #FCC419;
  border-radius: 2px;
  animation: soundwave-bar 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(1) { animation-delay: 0.0s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; }

/* Typing Cursor Animation */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background-color: #FCC419;
  vertical-align: middle;
  margin-left: 4px;
  animation: blink-cursor 0.8s infinite;
}

/* Shimmer Highlight for Badges & Buttons */
@keyframes gold-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.badge-shimmer {
  background: linear-gradient(90deg, rgba(252, 196, 25, 0.15) 0%, rgba(252, 196, 25, 0.45) 50%, rgba(252, 196, 25, 0.15) 100%);
  background-size: 200% 100%;
  animation: gold-shimmer 3s infinite linear;
}

/* Glassmorphism Surface with Authentic Dkoder Purple */
.dk-surface-glass {
  background: rgba(30, 13, 71, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(252, 196, 25, 0.22);
}

.dk-surface-card {
  background: #1E0D47;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dk-surface-card:hover {
  border-color: #FCC419;
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px 0px #FCC419;
}

/* Brutalist Button Variants */
.btn-dk-yellow {
  background-color: #FCC419;
  color: #110626;
  font-weight: 800;
  border: 2px solid #ffffff;
  box-shadow: 3px 3px 0px 0px #ffffff;
  transition: all 0.15s ease-in-out;
}
.btn-dk-yellow:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px #ffffff;
  background-color: #FFD84D;
}
.btn-dk-yellow:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px 0px #ffffff;
}

.btn-dk-purple {
  background-color: #280F57;
  color: #ffffff;
  font-weight: 700;
  border: 2px solid rgba(252, 196, 25, 0.4);
  box-shadow: 3px 3px 0px 0px #FCC419;
  transition: all 0.15s ease-in-out;
}
.btn-dk-purple:hover {
  transform: translate(-2px, -2px);
  border-color: #FCC419;
  box-shadow: 5px 5px 0px 0px #FCC419;
  background-color: #381577;
}
.btn-dk-purple:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px 0px #FCC419;
}

/* Terminal Console Styling */
.dk-terminal {
  background-color: #0d041c;
  border: 2px solid #280F57;
  font-family: 'JetBrains Mono', monospace;
  color: #D9D0F2;
}

/* Custom Checkbox in Yellow */
.dk-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(252, 196, 25, 0.5);
  border-radius: 6px;
  background: rgba(30, 13, 71, 0.6);
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.dk-checkbox:checked {
  background-color: #FCC419;
  border-color: #FCC419;
}
.dk-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #110626;
  font-weight: 900;
  font-size: 13px;
}

/* Resume Print Friendly Formatting */
@media print {
  body * {
    visibility: hidden;
  }
  #resume-preview-container, #resume-preview-container * {
    visibility: visible;
  }
  #resume-preview-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white !important;
    color: black !important;
  }
  .no-print {
    display: none !important;
  }
}
