/* Portfolio Styles - Additional Components */

/* Terminal Styles */
.terminal-window {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  width: 550px;
}

.terminal-header {
  background: #2a2a2a;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca42; }

/* Glass effect */
.glass-effect {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00ff94 0%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typing-animation {
  overflow: hidden;
  border-right: 3px solid #00ff94;
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

.project-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid #00ff94;
  box-shadow: 0 20px 40px rgba(0, 255, 148, 0.1);
}

.skill-bar {
  height: 4px;
  background: #404040;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, #00ff94, #00cc75);
  border-radius: 2px;
  transform: translateX(-100%);
  transition: transform 1s ease-out;
}

.skill-progress.animate {
  transform: translateX(0);
}

.social-icon {
  transition: all 0.3s ease;
  padding: 12px;
  border: 1px solid #404040;
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(10px);
}

.social-icon:hover {
  border-color: #00ff94;
  background: rgba(0, 255, 148, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 148, 0.2);
}

.code-block {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  overflow: hidden;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00ff94, transparent);
  animation: glow 2s ease-in-out infinite alternate;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ff94;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #404040, transparent);
  margin: 60px 0;
}

.easter-egg {
  cursor: pointer;
  user-select: none;
}

.konami-activated {
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.1;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px #00ff94, 0 0 10px #00ff94, 0 0 15px #00ff94; }
  100% { box-shadow: 0 0 10px #00ff94, 0 0 20px #00ff94, 0 0 30px #00ff94; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #00ff94; }
}

@keyframes float-particle {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.3;
  }
  50% { 
    transform: translateY(-20px) rotate(180deg); 
    opacity: 0.8;
  }
}
