:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.3);
  --accent-secondary: #a78bfa;
  --border: rgba(148, 163, 184, 0.1);
  --gradient-1: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(34, 211, 238, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      ellipse at 20% 20%,
      rgba(34, 211, 238, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(167, 139, 250, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2%, -2%);
  }
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 0.6s ease-out 0.8s forwards;
}

.loader::after {
  content: "";
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(34, 211, 238, 0.1);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(34, 211, 238, 0.15);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header / Hero */
header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 130px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: slideUp 0.8s ease-out 0.3s both;
}

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

.hero-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--gradient-1);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--text-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-title strong {
  color: var(--accent);
  font-weight: 500;
}

.hero-summary {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-image {
  animation: slideUp 0.8s ease-out 0.5s both;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Highlights Section */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.2),
    rgba(167, 139, 250, 0.2)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.highlight-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Career Section */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--accent-secondary)
  );
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--bg-primary);
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.timeline-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-company {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.timeline-desc ul {
  list-style: none;
  margin-top: 12px;
}

.timeline-desc li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.timeline-desc li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.skill-category h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  padding: 8px 14px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.skill-tag:hover {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.education-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.education-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.education-card .institution {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.education-card .year {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Languages Card */
.languages-card {
  grid-column: span 1;
}

.languages-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.language-item:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
}

.language-flag {
  font-size: 1.4rem;
}

.language-info strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
}

.language-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Freelancing Section */
.freelancing-section {
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.05),
    rgba(167, 139, 250, 0.05)
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  margin-bottom: 80px;
}

.freelancing-intro {
  text-align: center;
  margin-bottom: 48px;
}

.freelancing-intro h2 {
  margin-bottom: 16px;
}

.freelancing-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.freelancing-context {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.2),
    rgba(167, 139, 250, 0.2)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Impressions Section */
.impressions-gallery {
  column-count: 3;
  column-gap: 24px;
  margin-top: 40px;
}

.impression-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s ease;
  cursor: pointer;
}

.impression-item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.impression-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.impression-item:hover img {
  transform: scale(1.05);
}

.featured-wrapper {
  column-span: all;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.impression-item.featured {
  margin-bottom: 0;
}

.impression-item.featured img {
  width: 100%;
  max-width: 100%;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.05),
    rgba(167, 139, 250, 0.05)
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  margin-bottom: 80px;
}

.contact-section h2 {
  margin-bottom: 16px;
}

.contact-section p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* Open-Source Section */
.opensource-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.opensource-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.opensource-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* GitHub Heatmap */
.github-heatmap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}

.github-heatmap h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.github-heatmap h3 svg {
  color: var(--accent);
}

.github-calendar {
  font-family: "JetBrains Mono", monospace;
}

.github-calendar > .position-relative > a,
.github-calendar .js-calendar-graph-svg + a,
.github-calendar a[href*="contributions"],
.github-calendar .float-left.text-gray,
#github-calendar a {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.github-calendar .ContributionCalendar-label {
  fill: var(--text-muted) !important;
  font-size: 10px;
}

.github-calendar .ContributionCalendar-day {
  rx: 3;
  ry: 3;
}

.github-calendar .ContributionCalendar-day[data-level="0"] {
  fill: rgba(34, 211, 238, 0.08) !important;
}

.github-calendar .ContributionCalendar-day[data-level="1"] {
  fill: rgba(34, 211, 238, 0.25) !important;
}

.github-calendar .ContributionCalendar-day[data-level="2"] {
  fill: rgba(34, 211, 238, 0.45) !important;
}

.github-calendar .ContributionCalendar-day[data-level="3"] {
  fill: rgba(34, 211, 238, 0.7) !important;
}

.github-calendar .ContributionCalendar-day[data-level="4"] {
  fill: var(--accent) !important;
}

.contribution-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Top Repos */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.repo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.repo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.repo-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.repo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.15),
    rgba(167, 139, 250, 0.15)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.repo-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.repo-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.repo-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.repo-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.repo-meta svg {
  width: 14px;
  height: 14px;
}

.lang-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Activity Feed */
.activity-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.activity-feed h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-feed h3 svg {
  color: var(--accent-secondary);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-icon {
  width: 32px;
  height: 32px;
  background: rgba(167, 139, 250, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-secondary);
}

.activity-icon.push {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
}

.activity-icon.star {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
}

.activity-icon.fork {
  background: rgba(167, 139, 250, 0.15);
  color: var(--accent-secondary);
}

.activity-icon.create {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.activity-content {
  flex: 1;
  min-width: 0;
}

.activity-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.activity-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

.activity-text a {
  color: var(--accent);
  text-decoration: none;
}

.activity-text a:hover {
  text-decoration: underline;
}

.activity-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.github-profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.1),
    rgba(167, 139, 250, 0.1)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.github-profile-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.loading-skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    rgba(34, 211, 238, 0.1) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 250px;
    margin: 0 auto;
  }

  .hero-label {
    justify-content: center;
  }

  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-group {
    justify-content: center;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -30px;
  }

  .contact-section {
    padding: 40px 24px;
  }

  .freelancing-section {
    padding: 40px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .impressions-gallery {
    column-count: 2;
    column-gap: 16px;
  }

  .impression-item {
    margin-bottom: 16px;
  }

  .featured-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .impressions-gallery {
    column-count: 1;
  }

  .featured-wrapper {
    grid-template-columns: 1fr;
  }

  .opensource-layout {
    grid-template-columns: 1fr;
  }

  .repos-grid {
    grid-template-columns: 1fr;
  }

  .contribution-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-item {
    flex: 1;
    min-width: 80px;
  }
}
