* { box-sizing: border-box; }
body {
  margin: 0;
  background: #0e0e0e;
  color: #e5e5e5;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  gap: 64px;
}

.main { flex: 1; }

.section { margin-bottom: 56px; }
.section-title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
}

/* Sidebar */
.sidebar {
  width: 280px;
  position: sticky;
  top: 32px;
  align-self: flex-start;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: circle;
  margin-bottom: 16px;
}

.name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.bio {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: #b5b5b5;
}

.socials {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.socials a {
  color: #e5e5e5;
  text-decoration: none;
  opacity: 0.8;
}
.socials a:hover { opacity: 1; }

/* Mobile */
@media (max-width: 900px) {
  .layout { flex-direction: column; gap: 32px; }
  .sidebar { position: static; width: 100%; }
}

/* Section */
.section { margin-bottom: 56px; }
.section-title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  border: 1px solid #222;
  background: #121212;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 120ms ease, border-color 120ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: #2a2a2a;
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 16px;
}

.project-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.project-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #b5b5b5;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-tech span {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #242424;
  color: #d8d8d8;
  background: #0f0f0f;
}

.project-links {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.project-links a {
  color: #e5e5e5;
  text-decoration: none;
  opacity: 0.85;
}

.project-links a:hover { opacity: 1; }

.disabled-link {
  opacity: 0.35 !important;
  pointer-events: none;
}

.read-more {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #1e90ff;
  text-decoration: none;
}

/* Experience */
.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.experience-card {
  border: 1px solid #222;
  background: #121212;
  border-radius: 16px;
  padding: 16px;
  transition: transform 120ms ease, border-color 120ms ease;
}

.experience-card:hover {
  transform: translateY(-2px);
  border-color: #2a2a2a;
}

.experience-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.experience-company {
  margin: 0 0 4px;
  font-size: 14px;
  color: #1e90ff;
  font-weight: 600;
}

.experience-duration {
  margin: 0 0 12px;
  font-size: 13px;
  color: #b5b5b5;
}

.experience-responsibilities {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #b5b5b5;
  line-height: 1.6;
}

.experience-responsibilities li {
  margin-bottom: 8px;
}

.pixel-sprite {
  position: fixed;
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  z-index: 9999;

  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.pixel-sprite:active {
  cursor: grabbing;
}
