:root {
--bg-deep: #0a0a0a;
--bg-card: #1e1e1e;
--accent: #7c6cfc;
--accent-soft: #a89cff;
--text-primary: #f0f0f0;
--text-muted: #888;
--border: rgba(255,255,255,0.07);
}

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

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 3rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 3px;
  color: #fcf8f8;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active { 
  color: var(--accent-soft); 
}

.nav-toggle {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: background 0.2s;
}

.nav-toggle:hover span { background: var(--text-primary); }

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 3rem;
  position: relative;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.landing-page {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-left { 
  display: flex; 
  flex-direction: column; 
  gap: 1.4rem; 
}

.hero-social-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
}

.hero-social-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: flex;
}

.hero-social-col a:hover { 
  color: var(--accent-soft); 
  transform: translateX(2px); 
}

.hero-social-col svg { 
  width: 20px; 
  height: 20px; 
}

.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e5ff00;
  margin-bottom: 16px;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.6rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.0.1em;
}

.hero-role {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 0.97rem;
  font-weight: 300;
  color: #999;
  line-height: 1.75;
  max-width: 36ch;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 550;
  padding: 0.72rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: none; cursor: pointer;
  width: fit-content;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { 
  background: var(--accent-soft); 
  transform: translateY(-1px); 
}

.hero-photo-area {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.photo-blob {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px rgba(162, 149, 255, 0.25);
  flex-shrink: 0;
}

.photo-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
0%, 100% { 
  transform: translateY(0); }
50% { 
  transform: translateY(5px); }
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.hero-deco::before {
  content: '';
  position: absolute;
  top: 10%; right: 5%;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle, rgba(157, 144, 253, 0.12) 0%, transparent 70%);
}

.hero-deco::after {
  content: '';
  position: absolute;
  bottom: 10%; left: -5%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,252,0.06) 0%, transparent 70%);
}

section {
  padding: 50px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

#skills-projects {
  padding: 50px 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.skills-projects-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

#skills {
  padding: 0 2.5rem 0 0;
}

#projects {
  padding: 0 0 0 2.5rem;
}

.skills-projects-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 100%;
}

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  font-size: 0.97rem;
  font-weight: 300;
  color: #999;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.info-row:last-child { 
  border-bottom: none; 
}

.info-row .label { 
  color: var(--text-muted); 
}

.info-row .val { 
  color: var(--text-primary); 
  font-weight: 400; 
}

.skill-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.HTML, .CSS, .JavaScript, .MySQL, .GIT {
  display: flex;
  width: 60px;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.HTML img, .CSS img, .JavaScript img, .MySQL img, .GIT img {
  width: 60px;
  height: 50px;
  object-fit: contain;
}

.skill-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.project-card:hover {
  border-color: rgba(124,108,252,0.35);
  transform: translateY(-3px);
}

.project-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.6rem;
}

.project-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 0.85rem;
  font-weight: 300;
  color: #999;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.web-link a {
  color: var(--text-primary);
  text-decoration: none;
}

.web-link a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.stack-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  background: rgba(124,108,252,0.1);
  border: 1px solid rgba(124,108,252,0.2);
  color: var(--accent-soft);
}

.contact-wrap {
  max-width: 560px;
}

.contact-wrap p {
  font-size: 0.97rem;
  font-weight: 300;
  color: #999;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  transition: border-color 0.2s, color 0.2s;
}

.contact-link:hover {
  border-color: rgba(124,108,252,0.4);
  color: var(--accent-soft);
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section-divider {
  height: 1px;
  background: var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
nav { 
  padding: 1rem 1.4rem; 
}

.nav-links { 
  display: none; 
}

#home { 
  padding: 0 1.4rem; 
}

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

  .hero-left { 
    align-items: center; 
  }

  .hero-desc { 
    max-width: unset; 
  }

  .hero-social-col { 
    flex-direction: row; 
    justify-content: center; 
  }

  .photo-blob { 
    width: 200px; 
    height: 200px; 
  }

  section { 
    padding: 4rem 1.4rem; 
  }

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

  .hero-photo-area { 
    order: -1; 
  }

  #skills-projects {
    padding: 4rem 1.4rem;
  }

  .skills-projects-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .skills-projects-divider {
    width: 100%;
    height: 1px;
    min-height: unset;
    align-self: auto;
  }

  #skills {
    padding: 0;
  }

  #projects {
    padding: 0;
  }
}