/* ═══════════════════════════════════════════════════════════
   ERIK PORTFOLIO — STYLE.CSS
   Dark & Modern | Neon Accents | Unique Effects
═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:         #050510;
  --bg-2:       #080820;
  --surface:    rgba(255,255,255,0.04);
  --surface-2:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(0,245,255,0.25);
  --cyan:       #00f5ff;
  --purple:     #bf5af2;
  --pink:       #ff2d78;
  --text:       #e8e8f0;
  --text-dim:   #7878a0;
  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'Space Mono', monospace;
  --glow-cyan:  0 0 20px rgba(0,245,255,0.5), 0 0 40px rgba(0,245,255,0.2);
  --glow-purple:0 0 20px rgba(191,90,242,0.5), 0 0 40px rgba(191,90,242,0.2);
  --radius:     12px;
  --radius-lg:  20px;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: rgba(0,245,255,0.2);
  color: var(--cyan);
}

/* ─── Custom Cursor ─────────────────────────────────────── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: var(--glow-cyan);
  mix-blend-mode: screen;
}

.cursor-trail {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0,245,255,0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

body.cursor-hovering .cursor {
  width: 20px;
  height: 20px;
  background: var(--purple);
  box-shadow: var(--glow-purple);
}

body.cursor-hovering .cursor-trail {
  width: 50px;
  height: 50px;
  border-color: rgba(191,90,242,0.5);
}

/* ─── Aurora Blobs ──────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: blobFloat 20s ease-in-out infinite;
}

.aurora__blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #00f5ff, transparent 70%);
  top: -200px; left: -200px;
  animation-duration: 25s;
  animation-delay: 0s;
}

.aurora__blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #bf5af2, transparent 70%);
  top: 30%; right: -150px;
  animation-duration: 20s;
  animation-delay: -8s;
}

.aurora__blob--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ff2d78, transparent 70%);
  bottom: 10%; left: 20%;
  animation-duration: 30s;
  animation-delay: -15s;
}

.aurora__blob--4 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #00f5ff, transparent 70%);
  bottom: -100px; right: 10%;
  animation-duration: 22s;
  animation-delay: -5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(40px, -60px) scale(1.05); }
  50%       { transform: translate(-30px, 40px) scale(0.95); }
  75%       { transform: translate(60px, 30px) scale(1.02); }
}

/* ─── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
}

.nav__logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.nav__logo-name {
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--cyan);
}

.nav__link:hover::after {
  width: 100%;
}

/* ─── Sections ──────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.section__header {
  margin-bottom: 56px;
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

/* ─── Hero Section ──────────────────────────────────────── */
.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero__greeting {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}

/* ─── Glitch Effect ─────────────────────────────────────── */
.hero__name {
  font-family: var(--font-head);
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}

.glitch {
  animation: fadeUp 0.8s ease forwards 0.5s, glitchLoop 8s infinite 2s;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
}

.glitch::before {
  color: var(--cyan);
  opacity: 0;
  animation: glitchTop 8s infinite 2s;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
  color: var(--purple);
  opacity: 0;
  animation: glitchBottom 8s infinite 2.2s;
  clip-path: polygon(0 66%, 100% 66%, 100% 100%, 0 100%);
}

@keyframes glitchLoop {
  0%, 85%, 100% { transform: none; }
  86%           { transform: skew(-0.5deg); }
  88%           { transform: skew(0.5deg); }
  90%           { transform: none; }
}

@keyframes glitchTop {
  0%, 85%, 100% { opacity: 0; transform: none; }
  86%           { opacity: 1; transform: translate(-3px, -2px); }
  88%           { opacity: 1; transform: translate(2px, -1px); }
  90%           { opacity: 0; }
}

@keyframes glitchBottom {
  0%, 85%, 100% { opacity: 0; transform: none; }
  87%           { opacity: 1; transform: translate(3px, 2px); }
  89%           { opacity: 1; transform: translate(-2px, 1px); }
  91%           { opacity: 0; }
}

/* ─── Typewriter ────────────────────────────────────────── */
.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 2em;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero__typewriter {
  color: var(--cyan);
}

.hero__cursor-blink {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}

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

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

/* ─── Buttons ───────────────────────────────────────────── */
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.2s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 0 30px rgba(0,245,255,0.3);
}

.btn--primary:hover {
  box-shadow: 0 0 50px rgba(0,245,255,0.5);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}

.btn--ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ─── Scroll Indicator ──────────────────────────────────── */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.2); }
}

/* ─── About Section ─────────────────────────────────────── */
.section--about {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

/* Avatar Card */
.avatar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.avatar-card__inner {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-card__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--border-2);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(0,245,255,0.1), var(--glow-cyan);
  display: block;
}

.avatar-card__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  animation: ringRotate linear infinite;
}

.avatar-card__ring--1 {
  inset: -15px;
  border-color: rgba(0,245,255,0.25) transparent;
  animation-duration: 8s;
}

.avatar-card__ring--2 {
  inset: -30px;
  border-color: transparent rgba(191,90,242,0.2);
  animation-duration: 12s;
  animation-direction: reverse;
}

.avatar-card__ring--3 {
  inset: -48px;
  border-color: rgba(0,245,255,0.1) transparent rgba(0,245,255,0.1) transparent;
  animation-duration: 18s;
}

.avatar-card__glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.12), transparent 70%);
  pointer-events: none;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.avatar-card__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  color: var(--text-dim);
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.3); }
}

/* About Text */
.about__bio {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about__bio strong {
  color: var(--cyan);
  font-weight: 600;
}

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.about__fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.about__fact:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
}

.about__fact-icon {
  font-size: 1rem;
}

/* Stat Cards */
.stats__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  perspective: 1000px;
}

.stat-card__inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.stat-card:hover .stat-card__inner {
  border-color: var(--border-2);
  background: var(--surface-2);
}

.stat-card__number {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.stat-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center bottom, rgba(0,245,255,0.06), transparent 70%);
  pointer-events: none;
}

/* ─── Skills Section ────────────────────────────────────── */
.section--skills {
  padding: 120px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.skills__categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.skills__category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.skills__category:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}

.skills__cat-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills__cat-icon {
  font-size: 1.2rem;
}

.skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid hsl(var(--hue), 80%, 60%, 0.3);
  color: hsl(var(--hue, 200), 80%, 70%);
  background: hsla(var(--hue, 200), 80%, 60%, 0.06);
  cursor: default;
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
}

.skill-tag.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-tag:hover {
  background: hsla(var(--hue, 200), 80%, 60%, 0.15);
  border-color: hsl(var(--hue, 200), 80%, 60%, 0.6);
  box-shadow: 0 0 14px hsla(var(--hue, 200), 80%, 60%, 0.3);
  transform: translateY(-2px) scale(1.04);
}

/* ─── Contact Section ───────────────────────────────────── */
.section--contact {
  padding: 120px 0 0;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__content {
  text-align: center;
}

.contact__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 20px;
  line-height: 1.1;
}

.neon-dot {
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { text-shadow: var(--glow-cyan); }
  50%       { text-shadow: 0 0 40px rgba(0,245,255,0.9), 0 0 80px rgba(0,245,255,0.4); }
}

.contact__desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
  margin-bottom: 56px;
}

.contact__email:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

.contact__email-arrow {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.contact__email:hover .contact__email-arrow {
  transform: translate(3px, -3px);
}

/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s ease;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  color: var(--cyan);
  border-color: var(--border-2);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.social-link--img {
  /* light bg so multiply blend removes white from logos */
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(255, 255, 255, 0.15);
  width: auto;
  padding: 10px 14px;
}

.social-link--img:hover {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.social-logo {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  /* white pixels × white parent = white (invisible) → colors stay */
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.social-link--img:hover .social-logo {
  transform: scale(1.08);
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
}

/* ─── Scroll Reveal Animations ──────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-fade  { transform: none; }

[style*="--delay"] {
  transition-delay: var(--delay, 0ms) !important;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-fade.visible {
  opacity: 1;
  transform: none;
}

/* ─── Tilt Card ─────────────────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

/* ─── Neon Text ─────────────────────────────────────────── */
.neon-text {
  text-shadow: var(--glow-cyan);
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ─── Language Switcher ─────────────────────────────────── */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  border-color: var(--border-2);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,245,255,0.12);
}

.lang-chevron {
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.lang-btn:hover .lang-chevron { opacity: 1; }

.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 155px;
  background: rgba(6, 6, 22, 0.97);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 6px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,245,255,0.06);
  /* animation */
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 13px;
  background: transparent;
  border: none;
  border-radius: 7px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: none;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
}

.lang-option:hover {
  background: var(--surface-2);
  color: var(--text);
}

.lang-option.active {
  color: var(--cyan);
  background: rgba(0,245,255,0.07);
}

.lang-option.active::after {
  content: '✓';
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--cyan);
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav__links { gap: 20px; }
  .lang-btn { padding: 7px 10px; font-size: 0.7rem; }
  .container { padding: 0 24px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about__avatar-col { display: flex; justify-content: center; }
  .about__facts { grid-template-columns: 1fr 1fr; }

  .stats__row { grid-template-columns: 1fr; }
  .skills__categories { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  html { scroll-snap-type: none; }
  .nav__links { display: none; }
  .hero__actions { flex-direction: column; align-items: center; }
  .about__facts { grid-template-columns: 1fr; }
  .contact__email { font-size: 1.1rem; }
}
