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

/* ===== Loading screen ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg, #0a0a0f);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader .pl,
.loader .pl__worm {
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.loader .pl {
  animation-name: bump;
  animation-timing-function: linear;
  width: 8em;
  height: 8em;
}

.loader .pl__ring {
  stroke: hsla(var(--hue, 223), 10%, 90%, 0.1);
  transition: stroke 0.3s;
}

.loader .pl__worm {
  animation-name: worm;
  animation-timing-function: cubic-bezier(0.42, 0.17, 0.75, 0.83);
}

body.is-loading {
  overflow: hidden;
}

@keyframes bump {
  from, 42%, 46%, 51%, 55%, 59%, 63%, 67%, 71%, 74%, 78%, 81%, 85%, 88%, 92%, to { transform: translate(0, 0); }
  44% { transform: translate(1.33%, 6.75%); }
  53% { transform: translate(-16.67%, -0.54%); }
  61% { transform: translate(3.66%, -2.46%); }
  69% { transform: translate(-0.59%, 15.27%); }
  76% { transform: translate(-1.92%, -4.68%); }
  83% { transform: translate(9.38%, 0.96%); }
  90% { transform: translate(-4.55%, 1.98%); }
}

@keyframes worm {
  from { stroke-dashoffset: 10; }
  25% { stroke-dashoffset: 295; }
  to { stroke-dashoffset: 1165; }
}

/* ===== Squircle button utilities ===== */
.inline-block { display: inline-block; }
.no-select { user-select: none; -webkit-tap-highlight-color: transparent; }
.cursor-pointer { cursor: pointer; }
.w-full { width: 100%; }
.block { display: block; }
.mt-4 { margin-top: 1rem; }

:root,
[data-theme="emerald-light"] {
  --bg: #f0fdf6;
  --bg-alt: #dcfce7;
  --surface: #ffffff;
  --border: #a7f3d0;
  --text: #064e3b;
  --text-muted: #4b9e7a;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-glow: rgba(5, 150, 105, 0.2);
  --gradient: linear-gradient(135deg, #059669, #6ee7b7);
  --radius: 12px;
  --transition: 0.3s ease;
}

[data-theme="purple-dark"] {
  --bg: #0a0a0f;
  --bg-alt: #111118;
  --surface: #1a1a24;
  --border: #2a2a3a;
  --text: #e4e4e7;
  --text-muted: #8888a0;
  --accent: #6c63ff;
  --accent-hover: #5a52e0;
  --accent-glow: rgba(108, 99, 255, 0.3);
  --gradient: linear-gradient(135deg, #6c63ff, #b063ff);
  --radius: 12px;
  --transition: 0.3s ease;
}

[data-theme="ocean-dark"] {
  --bg: #0a0f14;
  --bg-alt: #0f1720;
  --surface: #152030;
  --border: #1e3348;
  --text: #e2e8f0;
  --text-muted: #7494b0;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --accent-glow: rgba(14, 165, 233, 0.3);
  --gradient: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

[data-theme="emerald-dark"] {
  --bg: #0a0f0d;
  --bg-alt: #0f1a15;
  --surface: #152820;
  --border: #1e3a2e;
  --text: #e2f0e8;
  --text-muted: #74b094;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.3);
  --gradient: linear-gradient(135deg, #10b981, #34d399);
}

[data-theme="rose-dark"] {
  --bg: #0f0a0b;
  --bg-alt: #181012;
  --surface: #24181b;
  --border: #3a2228;
  --text: #f0e2e4;
  --text-muted: #b07480;
  --accent: #f43f5e;
  --accent-hover: #e11d48;
  --accent-glow: rgba(244, 63, 94, 0.3);
  --gradient: linear-gradient(135deg, #f43f5e, #fb7185);
}

[data-theme="amber-dark"] {
  --bg: #0f0d0a;
  --bg-alt: #181510;
  --surface: #242018;
  --border: #3a3222;
  --text: #f0ece2;
  --text-muted: #b09e74;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.3);
  --gradient: linear-gradient(135deg, #f59e0b, #fbbf24);
}

[data-theme="purple-light"] {
  --bg: #f8f7ff;
  --bg-alt: #eeedf5;
  --surface: #ffffff;
  --border: #d8d5e8;
  --text: #1a1a2e;
  --text-muted: #6b6890;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-glow: rgba(124, 58, 237, 0.2);
  --gradient: linear-gradient(135deg, #7c3aed, #a78bfa);
}

[data-theme="ocean-light"] {
  --bg: #f0f9ff;
  --bg-alt: #e0f2fe;
  --surface: #ffffff;
  --border: #bae6fd;
  --text: #0c4a6e;
  --text-muted: #4b87a8;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-glow: rgba(2, 132, 199, 0.2);
  --gradient: linear-gradient(135deg, #0284c7, #38bdf8);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 50px;
}

.btn-sm:hover {
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ===== Theme Switcher ===== */
.theme-switcher {
  position: relative;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.theme-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 1001;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.theme-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition);
}

.theme-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.theme-option.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.theme-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.theme-option.active .theme-swatch {
  border-color: var(--text);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, var(--accent-glow), transparent 60%),
    radial-gradient(ellipse at 70% 80%, var(--accent-glow), transparent 65%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: screen;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-80px); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-greeting {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-name {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #b0b0c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-description {
  max-width: 500px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.8s 1.4s forwards;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--border);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===== Sections ===== */
html {
  scroll-behavior: smooth;
}

.section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 12px 40px var(--accent-glow);
  display: block;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.about-photo:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 50px var(--accent-glow);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--accent);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Skills ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.1);
}

.skill-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.skill-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.skill-card h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  padding: 4px 12px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== Experience Timeline ===== */
.timeline-group-title {
  max-width: 820px;
  margin: 0 auto 24px;
  padding-left: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline + .timeline-group-title {
  margin-top: 48px;
}

.timeline-card .timeline-role:last-child {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -24px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--accent-glow);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px var(--accent-glow);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 8px;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline-company {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.timeline-location {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.timeline-role {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

ul.timeline-desc {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

ul.timeline-desc li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

ul.timeline-desc li:last-child {
  margin-bottom: 0;
}

ul.timeline-desc li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags span {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 22px;
  }
  .timeline-card {
    padding: 18px 20px;
  }
  .timeline-role {
    font-size: 1.05rem;
  }
}

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.project-image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info {
  padding: 24px;
}

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

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

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  padding: 3px 10px;
  background: rgba(108, 99, 255, 0.08);
  color: var(--text-muted);
  border-radius: 20px;
  font-size: 0.78rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--accent);
}

.contact-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

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

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Light theme overrides ===== */
[data-theme*="-light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
}

[data-theme*="-light"] .hero-name {
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme*="-light"] .project-overlay {
  background: rgba(0, 0, 0, 0.6);
}

[data-theme*="-light"] .theme-option:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme*="-light"] .theme-option.active {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme*="-light"] .theme-dropdown {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

[data-theme*="-light"] .particle {
  background: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-container {
    gap: 12px;
  }

  .theme-dropdown {
    right: -40px;
  }

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

  .about-image-placeholder {
    margin: 0 auto;
    width: 200px;
    height: 200px;
  }

  .about-stats {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
