/* ── Root Variables ─────────────────────────────────────────── */
:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #181818;
  --border: #1e1e1e;
  --text: #f1f1f1;
  --text-muted: #888;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --purple-glow: rgba(139, 92, 246, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 68px;
  --transition: 0.25s ease;
}

[data-theme="light"] {
  --bg: #f8f8fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f0ff;
  --border: #e4e4e7;
  --text: #18181b;
  --text-muted: #6b7280;
  --purple-glow: rgba(139, 92, 246, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
  color: var(--text-muted);
  border: 1px solid color-mix(in srgb, var(--purple) 30%, var(--border));
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--purple) 16%, transparent), transparent 52%),
    linear-gradient(145deg, color-mix(in srgb, var(--bg-card) 88%, var(--purple) 12%), var(--bg-card));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent),
    0 6px 18px rgba(0, 0, 0, 0.22),
    0 0 0 0 rgba(139, 92, 246, 0.35);
  transition:
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  position: relative;
  overflow: hidden;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--purple);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #fff 15%, transparent),
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 0 4px rgba(139, 92, 246, 0.12);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.2));
  transition: transform var(--transition), filter var(--transition);
}

.icon-btn::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: conic-gradient(
    from 220deg,
    transparent 0deg,
    rgba(167, 139, 250, 0.42) 70deg,
    transparent 150deg,
    rgba(139, 92, 246, 0.28) 230deg,
    transparent 320deg
  );
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity var(--transition), transform .65s ease;
  pointer-events: none;
}

.icon-btn:hover::before,
.icon-btn:focus-visible::before {
  opacity: 1;
  transform: rotate(30deg);
}

.icon-btn:hover svg,
.icon-btn:focus-visible svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.45));
}

.icon-btn:focus-visible {
  outline: none;
  border-color: var(--purple-light);
  box-shadow:
    0 0 0 4px rgba(139, 92, 246, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.lang-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-glow);
  border: 1px solid var(--purple);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.05em;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

/* Avatar */
.avatar-wrapper {
  margin-bottom: 4px;
}

.avatar-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.35);
  overflow: hidden;
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

.avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), filter 0.45s ease;
}

.avatar-ring:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 54px rgba(139, 92, 246, 0.52);
}

.avatar-ring:hover .avatar-img {
  transform: scale(1.18);
  filter: saturate(1.08) contrast(1.05);
}

.avatar-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--bg);
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--purple);
}

/* Title */
.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlight {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--purple);
  color: var(--purple);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--purple);
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition);
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ── Section Header ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-header h2 span { color: var(--purple); }

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── Skills ─────────────────────────────────────────────────── */
.skills-section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: default;
  width: calc(25% - 12px);
  min-width: 150px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.skill-card:hover {
  border-color: var(--purple);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.skill-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.skill-frontend { background: rgba(139, 92, 246, 0.12); color: var(--purple-light); }
.skill-js       { background: rgba(240, 219, 79, 0.12);  color: #f0db4f; }
.skill-css      { background: rgba(38, 77, 228, 0.12);   color: #6b8df5; }
.skill-react    { background: rgba(97, 218, 251, 0.1);   color: #61dafb; }
.skill-node     { background: rgba(104, 160, 99, 0.15);  color: #68a063; }
.skill-db       { background: rgba(255, 162, 58, 0.12);  color: #ffa23a; }
.skill-soft     { background: rgba(236, 72, 153, 0.12);  color: #f472b6; }

/* ── Projects ───────────────────────────────────────────────── */
.projects-section {
  padding: 80px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.projects-section .section-header,
.projects-section .projects-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.projects-section .section-header { margin-bottom: 48px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.project-card:hover {
  border-color: var(--purple);
  transform: translateY(-6px);
}

.project-carousel {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #140a2d, #2b1a53);
}

.project-carousel::after {
  content: 'Clique para ampliar';
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.project-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.4s ease, transform 0.5s ease;
  cursor: zoom-in;
}

.project-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.carousel-btn:hover {
  background: rgba(139, 92, 246, 0.75);
  border-color: rgba(255, 255, 255, 0.65);
}

.carousel-btn-prev { left: 10px; }
.carousel-btn-next { right: 10px; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.carousel-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.project-info { padding: 24px; }

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--purple-glow);
  color: var(--purple-light);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 6px;
  padding: 3px 10px;
}

.project-links {
  display: flex;
  gap: 10px;
}

/* ── AI Chat ────────────────────────────────────────────────── */
.chat-section {
  padding: 80px 40px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.chat-section .section-header {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.chat-section .section-header span { color: var(--purple); }

.chat-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--purple) 10%, var(--bg-card)), var(--bg));
}

.chat-assistant-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-assistant-meta strong {
  display: block;
  font-size: 0.9rem;
}

.chat-assistant-meta p {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chat-messages {
  padding: 24px;
  min-height: 240px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }

.chat-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--purple) 45%, transparent);
}

.chat-avatar--profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 85%;
  color: var(--text);
}

.chat-bubble--typing {
  position: relative;
  overflow: hidden;
  color: var(--text-muted);
  animation: typingPulse 1.25s ease-in-out infinite;
}

.chat-bubble--typing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(139, 92, 246, 0.16) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: typingSweep 1.8s linear infinite;
  pointer-events: none;
}

.chat-msg--user .chat-bubble {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.chat-bubble.typing::after {
  content: '●●●';
  letter-spacing: 3px;
  color: var(--text-muted);
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes typingPulse {
  0%, 100% { border-color: var(--border); }
  50% { border-color: color-mix(in srgb, var(--purple) 45%, var(--border)); }
}

@keyframes typingSweep {
  to { transform: translateX(100%); }
}

.chat-suggestions {
  padding: 10px 24px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 80%, transparent);
}

.chat-suggestions-hint {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.chat-suggestion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.chat-suggestion:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-glow);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.chat-input-row input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition);
}

.chat-input-row input:focus { border-color: var(--purple); }

.chat-input-row input::placeholder { color: var(--text-muted); }

.chat-send-btn {
  width: 42px; height: 42px;
  background: var(--purple);
  border: none;
  border-radius: 10px;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.chat-send-btn:hover {
  background: var(--purple-dark);
  transform: scale(1.05);
}

.chat-disclaimer {
  max-width: 700px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(5, 5, 10, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.media-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.media-lightbox-content {
  width: min(100%, 980px);
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-lightbox-content img,
.media-lightbox-content video {
  width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #050505;
}

.media-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-section {
  padding: 80px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-form .btn-primary {
  align-self: center;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }

  .skills-section,
  .contact-section { padding: 60px 20px; }

  .skill-card { width: calc(50% - 8px); }

  .projects-section { padding: 60px 20px; }

  .chat-section { padding: 60px 20px; }
  .chat-topbar { align-items: flex-start; }
  .chat-assistant-meta p { max-width: 38ch; }
  .media-lightbox { padding: 20px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-value { font-size: 1.8rem; }
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeUp 0.6s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.25s; }
.hero-content > *:nth-child(4) { animation-delay: 0.35s; }
.hero-content > *:nth-child(5) { animation-delay: 0.45s; }

.avatar-ring {
  width: 130px; height: 130px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.35);
  overflow: hidden;
}

.avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 62% 20%;
  border: 3px solid var(--bg);
  transition: transform 0.35s ease;
}

.avatar-ring:hover .avatar-img {
  transform: scale(1.12);
}

video.project-slide {
  background: #050505;
}