:root {
  --terminal-green: #0f0;
  --terminal-blue: #0af;
  --terminal-purple: #a0f;
  --terminal-yellow: #ff0;
  --terminal-red: #f00;
}

body {
  font-family: "JetBrains Mono", monospace;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

.container {
  position: relative;
}

/* Matrix-like background effect */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
}

/* Terminal cursor effect */
.cursor::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 20px;
  background-color: #fff;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Typing animation */
.typing-container {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  border-right: 2px solid;
  width: 0;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 3.5s steps(8) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 8ch;
  }
}

/* Glowing effect for elements */
.glow {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.glow:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Project card styling */
.project-card {
  background-color: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--index) * 0.1s);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
  border-color: rgba(0, 255, 0, 0.3);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Terminal-like JSON structure */
.json-block {
  background-color: rgba(10, 10, 10, 0.8);
  border-radius: 8px;
  padding: 15px;
  font-family: "JetBrains Mono", monospace;
  position: relative;
  margin-bottom: 20px;
  border-left: 3px solid var(--terminal-green);
}

.json-block::before {
  content: "json";
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: #000;
  padding: 0 10px;
  font-size: 12px;
  color: var(--terminal-green);
}

/* Social icon hover effects */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  filter: drop-shadow(0 0 8px currentColor);
}

/* Profile image effects */
.profile-image {
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  transition: all 0.5s ease;
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.6);
  }
}

/* Skill tag styling */
.skill-tag {
  display: inline-block;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 5px 10px;
  margin: 5px;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background-color: rgba(0, 255, 0, 0.1);
  border-color: var(--terminal-green);
  transform: translateY(-2px);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 0, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--terminal-green);
}

/* View project button */
.view-project {
  display: inline-block;
  background-color: transparent;
  border: 1px solid var(--terminal-blue);
  color: var(--terminal-blue);
  padding: 5px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.view-project:hover {
  background-color: var(--terminal-blue);
  color: #000;
  box-shadow: 0 0 10px rgba(0, 175, 255, 0.5);
}

/* Terminal command line effect */
.command-line {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.command-line::before {
  content: ">";
  color: var(--terminal-green);
  margin-right: 10px;
  font-weight: bold;
}

/* Loading bar animation */
.loading-bar {
  height: 4px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  overflow: hidden;
}

.loading-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--terminal-green);
  animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Quote section styling */
.quote-section {
  background-color: rgba(20, 20, 20, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-section blockquote {
  position: relative;
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto;
}

.quote-section blockquote::before,
.quote-section blockquote::after {
  content: '"';
  font-size: 3rem;
  color: var(--terminal-green);
  opacity: 0.3;
  position: absolute;
}

.quote-section blockquote::before {
  left: -10px;
  top: -10px;
}

.quote-section blockquote::after {
  right: -10px;
  bottom: -20px;
}

.quote-section p {
  font-style: normal;
  opacity: 0.8;
} 