* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0a0f;
  color: #fff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
}

.logo-icon {
  background: linear-gradient(135deg, #c026d3, #a855f7);
  padding: 6px 12px;
  border-radius: 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin: 0 1.25rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: #c026d3;
}

.cta-button {
  background: #c026d3;
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at center, #1f0f2e, #0a0a0f);
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-title {
  font-size: 6.5rem;
  line-height: 1;
  background: linear-gradient(90deg, #e879f9, #c026d3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #ddd;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.primary {
  background: #c026d3;
  color: white;
}

.primary:hover { transform: scale(1.05); }

.secondary {
  border: 2px solid #666;
  color: white;
}

.secondary:hover {
  border-color: #c026d3;
  background: rgba(192, 38, 211, 0.1);
}

/* SECTIONS */
.section {
  padding: 120px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #111118;
  border-radius: 20px;
  padding: 2rem;
  transition: 0.4s;
  border: 1px solid rgba(255,255,255,0.08);
}

.project-card:hover {
  transform: translateY(-15px);
  border-color: #c026d3;
}

.project-card h3 {
  font-size: 1.6rem;
  margin: 1rem 0 0.8rem;
}

/* STACK */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.stack-item {
  background: #111118;
  padding: 2rem;
  text-align: center;
  border-radius: 16px;
  transition: 0.3s;
}

.stack-item:hover {
  background: #c026d3;
  color: black;
  transform: translateY(-8px);
}

/* SPOTIFY */
.spotify-section {
  background: #111118;
  padding: 100px 0;
  text-align: center;
}

.spotify-card {
  max-width: 420px;
  margin: 0 auto;
  background: #1a1a2e;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #4b0082;
}

/* CONTACT BOX */
#contact {
  padding: 100px 0;
}

.contact-box {
  max-width: 500px;
  margin: 0 auto;
  background: #111118;
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(192, 38, 211, 0.3);
}

.contact-box a {
  display: inline-block;
  margin-top: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 3rem 0;
  background: #0a0a0f;
}

.socials a {
  font-size: 1.8rem;
  margin: 0 12px;
  color: #aaa;
}

.socials a:hover {
  color: #c026d3;
}
