:root {
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #94a3b8;
  --accent: linear-gradient(90deg, #7c3aed, #06b6d4);
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 14px;
  --max-width: 1100px;
}

body {
  background: var(--bg);
  color: #e6eef8;
  font-family: "Inter", sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 28px 18px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

nav {
  display: flex;
  gap: 10px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.cta {
  background: var(--accent);
  color: #071129;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}

.hero {
  display: grid;
  gap: 18px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 34px;
}

.intro h1 {
  font-size: 24px;
  margin: 0;
}

.gradient-text {
  background: var(--accent);
  -webkit-background-clip: text;
  color: transparent;
}

.btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #e6eef8;
  text-decoration: none;
}

.btn.secondary {
  color: var(--muted);
}

.skills-list, .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill, .tag {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}

.projects-grid {
  display: grid;
  gap: 14px;
}

.project-card {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-thumb {
  width: 100px;
  height: 70px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  justify-content: center;
  align-items: center;
}

.modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  width: 90%;
  max-width: 800px;
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}