@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --primary: #667eea;
  --secondary: #764ba2;
  --accent: #f093fb;
  --dark: #1a1a2e;
  --darker: #16213e;
  --light: #eee;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  cursor: none;
}

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(102, 126, 234, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, var(--dark), var(--darker));
}

.background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(118, 75, 162, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(240, 147, 251, 0.2) 0%,
      transparent 50%
    );
  animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(2deg);
  }
  66% {
    transform: translateY(30px) rotate(-2deg);
  }
}

.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(102, 126, 234, 0.6);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.container {
  min-height: 100vh;
  padding: 0;
  position: relative;
}

.taskbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 15px 25px;
  z-index: 1000;
  display: flex;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.taskbar:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.taskbar-item {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  font-size: 1.5rem;
}

.taskbar-item::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--darker);
  color: var(--light);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.taskbar-item:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.taskbar-item:hover::before {
  opacity: 1;
  bottom: 80px;
}

.taskbar-item.active {
  background: linear-gradient(45deg, var(--accent), var(--primary));
  transform: translateY(-5px);
}

.window {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  transform: scale(0.8) translateY(50px);
  pointer-events: none;
}

.window.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.window-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 25px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 15px;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.window-control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.window-control.close {
  background: #ff5f57;
}
.window-control.minimize {
  background: #ffbd2e;
}
.window-control.maximize {
  background: #28ca42;
}

.window-control:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px currentColor;
}

.window-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--light);
}

.window-content {
  padding: 30px;
  max-height: 70vh;
  overflow-y: auto;
}

.window-content::-webkit-scrollbar {
  width: 8px;
}

.window-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.window-content::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

#about-window {
  top: 10%;
  left: 10%;
  width: 500px;
  height: 400px;
}

#experience-window {
  top: 15%;
  right: 10%;
  width: 600px;
  height: 500px;
}

#skills-window {
  top: 40%;
  left: 15%;
  width: 550px;
  height: 450px;
}

#achievements-window {
  top: 20%;
  left: 30%;
  width: 650px;
  height: 480px;
}

#contact-window {
  top: 30%;
  right: 20%;
  width: 450px;
  height: 350px;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 40px rgba(240, 147, 251, 0.8));
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  animation: slideUp 1s ease 0.5s both;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  animation: slideUp 1s ease 1s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.content-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.card-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.experience-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.experience-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
  border-color: var(--primary);
}

.experience-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 5px;
}

.experience-org {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 5px;
}

.experience-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
}

.experience-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  font-size: 0.95rem;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.achievement-item {
  background: rgba(118, 75, 162, 0.1);
  border: 1px solid rgba(118, 75, 162, 0.3);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(118, 75, 162, 0.2);
  box-shadow: 0 10px 25px rgba(118, 75, 162, 0.3);
}

.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

.contact-btn {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.terminal {
  background: #0a0a0a;
  border-radius: 10px;
  padding: 20px;
  font-family: "JetBrains Mono", monospace;
  margin-top: 20px;
  border: 1px solid #333;
}

.terminal-header {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

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

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

.terminal-content {
  color: #00ff41;
}

.typing-animation {
  border-right: 2px solid #00ff41;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    border-right-color: #00ff41;
  }
  51%,
  100% {
    border-right-color: transparent;
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .taskbar {
    bottom: 10px;
    padding: 10px 15px;
    gap: 15px;
  }

  .taskbar-item {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .window {
    position: fixed !important;
    top: 50px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    height: calc(100vh - 150px) !important;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .content-grid,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}