
body {
  margin: 0;
  padding: 0;
  font-family: 'Consolas', 'Courier New', monospace;
  background: #1a1a1a;
  color: #fff;
  overflow-x: hidden;
  cursor: none !important;
}


.windows-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  z-index: -1;
  overflow: hidden;
}

.windows-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(157, 78, 221, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(39, 201, 63, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}


#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}


.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #9d4edd;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-dot.minimal {
  box-shadow: 0 0 10px #9d4edd;
}


.social-links {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.social-link {
  background: rgba(45, 45, 45, 0.3);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Consolas', monospace;
  font-size: 12px;
  border: 1px solid rgba(157, 78, 221, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(45, 45, 45, 0.6);
  color: rgba(157, 78, 221, 0.8);
  border-color: rgba(157, 78, 221, 0.3);
  transform: translateY(-1px);
}

.visitor-counter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(45, 45, 45, 0.8);
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 15px;
  border-radius: 25px;
  font-family: 'Consolas', monospace;
  font-size: 14px;
  border: 1px solid rgba(157, 78, 221, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.visitor-counter:hover {
  background: rgba(45, 45, 45, 0.9);
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-2px);
}

.visitor-counter i {
  color: #9d4edd;
  font-size: 16px;
}

#visitor-count {
  color: #9d4edd;
  font-weight: bold;
}


.terminal-header {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: #2d2d2d;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid #444;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
  margin-right: 15px;
}

.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
  cursor: pointer;
}

.terminal-buttons span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-buttons span:nth-child(3) {
  background: #9d4edd;
}

.terminal-title {
  color: #8b8b8b;
  font-size: 14px;
  font-family: 'Consolas', monospace;
}

.prompt {
  color: #9d4edd;
  font-weight: bold;
}

.command-text {
  color: inherit;
}


.portfolio-terminal {
  padding: 80px 20px;
  min-height: 100vh;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 50px;
}

.portfolio-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00ff41;
  text-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
  font-family: 'Consolas', monospace;
  margin: 0;
  letter-spacing: 2px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1600px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.project-terminal {
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 65, 0.1);
}

.project-terminal:hover {
  border-color: rgba(157, 78, 221, 0.4);
  transform: translateY(-10px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(157, 78, 221, 0.2);
}

.video-terminal {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #1a1a1a;
  border-bottom: 1px solid #444;
  position: relative;
}

.video-terminal iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: cover;
}



.video-terminal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-terminal:hover .video-terminal video {
  transform: scale(1.05);
}

.project-info {
  padding: 20px;
  font-family: 'Consolas', monospace;
  font-size: 14px;
}

.terminal-line {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  min-height: 24px;
}

.terminal-line.output {
  margin-left: 20px;
}

.output-text {
  color: #d1d5db;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tech-tag {
  background: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.3);
  color: #9d4edd;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Consolas', monospace;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tech-tag:hover {
  background: rgba(157, 78, 221, 0.2);
  border-color: rgba(157, 78, 221, 0.5);
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-terminal {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .project-info {
    padding: 15px;
  }
  
  .video-terminal {
    height: 200px;
  }
  
  .tech-stack {
    gap: 5px;
  }
  
  .tech-tag {
    font-size: 11px;
    padding: 3px 6px;
  }
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-terminal {
  animation: fadeInUp 0.6s ease-out;
}

.project-terminal:nth-child(1) { animation-delay: 0.1s; }
.project-terminal:nth-child(2) { animation-delay: 0.2s; }
.project-terminal:nth-child(3) { animation-delay: 0.3s; }
.project-terminal:nth-child(4) { animation-delay: 0.4s; }


.content-box {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.content-container {
  width: 100%;
  max-width: 1600px;
  background: rgba(45, 45, 45, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 65, 0.1);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.content-container h2 {
  color: #00ff41;
  font-family: 'Consolas', monospace;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.content-container p {
  color: #d1d5db;
  font-family: 'Consolas', monospace;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.code-block {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: 'Consolas', monospace;
  font-size: 14px;
}

.code-block code {
  color: #9d4edd;
  font-family: 'Consolas', monospace;
}


.mixed-content {
  width: 100%;
  height: 250px;
  background: #1a1a1a;
  border-bottom: 1px solid #444;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-section {
  height: 60%;
  width: 100%;
  position: relative;
}

.video-section iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

.images-section {
  height: 40%;
  display: flex;
  gap: 2px;
}

.images-section img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.images-section img:hover {
  transform: scale(1.02);
  z-index: 2;
  position: relative;
}


.images-container {
  height: 100px;
  display: flex;
  gap: 2px;
  background: #1a1a1a;
  border-bottom: 1px solid #444;
}

.image-wrapper {
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.fullscreen-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #9d4edd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 16px;
  border: 2px solid rgba(157, 78, 221, 0.3);
}

.image-wrapper:hover .fullscreen-btn {
  opacity: 1;
}

.fullscreen-btn:hover {
  background: rgba(157, 78, 221, 0.2);
  border-color: rgba(157, 78, 221, 0.6);
  transform: translate(-50%, -50%) scale(1.1);
} 