:root {
  --purple: #7b5cfa;
  --pink: #ff6fb5;
  --bg: #0f0a1f;
  --card: #18122b;
  --text: #edebff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  padding: 4rem 1.5rem;
  text-align: center;
}

.gradient-text {
  font-size: 2.8rem;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.role {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.subtitle {
  color: #bdb7ff;
  margin-top: 1rem;
}

.links {
  margin-top: 1.5rem;
}

.links a {
  margin: 0 0.75rem;
  text-decoration: none;
  color: var(--pink);
  font-weight: 500;
  transition: opacity 0.3s;
}

.links a:hover {
  opacity: 0.7;
}

.section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skills span {
  background: var(--card);
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(123, 92, 250, 0.3);
}

.project-card h3 {
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.95rem;
  color: #c9c5ff;
}

.project-card a {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #aaa;
}

/* Scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
