:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --card: #16161f;
  --border: #1e1e2e;
  --accent: #6ee7b7;
  --accent2: #818cf8;
  --text: #e2e8f0;
  --muted: #64748b;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* ─── GLOWING BLOBS ─── */
.blob { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .12; pointer-events: none; z-index: 0; }
.blob1 { width: 600px; height: 600px; background: var(--accent); top: -200px; left: -200px; }
.blob2 { width: 500px; height: 500px; background: var(--accent2); bottom: -200px; right: -150px; }

/* ─── WRAPPER ─── */
.wrapper { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 60px 24px 100px; }

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border);
  animation: fadeInUp .6s ease both;
}

.avatar-wrap img {
  width: 160px; height: 160px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: transform .3s;
}
.avatar-wrap:hover img { transform: scale(1.03); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(110,231,183,.1);
  border: 1px solid rgba(110,231,183,.25);
  color: var(--accent);
  font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px; letter-spacing: .5px;
}
.pulse-dot { font-size: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.1; color: #fff;
  margin-bottom: 8px; letter-spacing: -1px;
}

.alias { font-size: 13px; color: var(--muted); margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.bio { font-size: 15px; color: #94a3b8; max-width: 540px; margin-bottom: 24px; line-height: 1.75; }

/* ─── PILLS ─── */
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  font-size: 13px; padding: 7px 14px; border-radius: 10px;
  transition: border-color .2s, color .2s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill svg { width:14px; height:14px; flex-shrink:0; }

/* ─── SECTIONS ─── */
section { padding: 56px 0; border-bottom: 1px solid var(--border); animation: fadeInUp .6s ease both; }
section:last-of-type { border-bottom: none; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700; color: #fff; margin-bottom: 32px;
}

/* ─── SKILLS ─── */
.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; padding: 6px 14px;
  border-radius: 8px; font-weight: 500; transition: border-color .2s;
}
.skill-tag:hover { border-color: var(--accent2); color: var(--accent2); }

/* ─── PORTFOLIO ─── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.port-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  transition: border-color .25s, transform .25s;
  text-decoration: none; display: block;
}
.port-card:hover { border-color: var(--accent2); transform: translateY(-3px); }
.port-icon { width:40px;height:40px;background:rgba(129,140,248,.15);border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;font-size:20px; }
.port-card h3 { font-family:'Syne',sans-serif;font-size:16px;font-weight:700;color:#fff;margin-bottom:6px; }
.port-card p { font-size:13px;color:var(--muted);line-height:1.6; }
.port-lang { margin-top:14px;font-size:11px;font-weight:600;color:var(--accent2);letter-spacing:.5px;text-transform:uppercase; }

/* ─── HOBBIES ─── */
.hobbies-list { display:flex;flex-wrap:wrap;gap:10px; }
.hobby-item { display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--border);padding:8px 16px;border-radius:10px;font-size:14px; }

/* ─── CONTACT ─── */
.contact-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px; }
.contact-item { background:var(--card);border:1px solid var(--border);border-radius:14px;padding:20px; }
.ci-label { font-size:11px;color:var(--muted);margin-bottom:4px;letter-spacing:1px;text-transform:uppercase; }
.ci-value { font-size:15px;color:#fff;font-weight:500;word-break:break-word; }
.ci-value a { color:var(--accent);text-decoration:none; }
.ci-value a:hover { text-decoration:underline; }

/* ─── FOOTER ─── */
footer { text-align:center;padding:40px 0 0;color:var(--muted);font-size:13px; }
footer a { color:var(--accent);text-decoration:none; }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
section:nth-of-type(1) { animation-delay:.1s; }
section:nth-of-type(2) { animation-delay:.2s; }
section:nth-of-type(3) { animation-delay:.3s; }
section:nth-of-type(4) { animation-delay:.4s; }

/* ─── RESPONSIVE ─── */
@media(max-width:600px) {
  .hero { grid-template-columns:1fr;gap:24px; }
  .avatar-wrap img { width:120px;height:120px;border-radius:18px; }
}
