:root {
  --bg: #05060f;
  --text: #f5f7ff;
  --muted: #a3acc7;
  --faint: rgba(214, 222, 255, 0.55);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --glass: rgba(14, 18, 38, 0.55);
  --glass-hover: rgba(22, 28, 56, 0.66);
  --orange: #ff8a3d;
  --pink: #ff4d8d;
  --violet: #9b7cff;
  --cyan: #36d9ff;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--pink) 32%, var(--violet) 66%, var(--cyan) 100%);
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max-width: 920px;
  --scroll-nav-height: 126px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f7ff;
  --text: #172033;
  --muted: #64708a;
  --faint: rgba(38, 50, 80, 0.58);
  --line: rgba(28, 40, 70, 0.11);
  --line-strong: rgba(28, 40, 70, 0.22);
  --glass: rgba(255, 255, 255, 0.68);
  --glass-hover: rgba(255, 255, 255, 0.9);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(155, 124, 255, 0.45);
  color: #fff;
}

.hidden {
  display: none !important;
}

/* ---------- Background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-aurora {
  position: absolute;
  inset: 0;
  filter: blur(80px) saturate(150%);
  opacity: 0.8;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.blob-1 {
  width: 52vmax;
  height: 52vmax;
  left: -14vmax;
  top: -18vmax;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.75), transparent 62%);
  animation: drift1 22s ease-in-out infinite alternate;
}

.blob-2 {
  width: 40vmax;
  height: 40vmax;
  right: -14vmax;
  top: 4vmax;
  background: radial-gradient(circle, rgba(54, 217, 255, 0.45), transparent 62%);
  animation: drift2 26s ease-in-out infinite alternate;
}

.blob-3 {
  width: 38vmax;
  height: 38vmax;
  left: 20%;
  bottom: -24vmax;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.5), rgba(255, 138, 61, 0.22) 45%, transparent 66%);
  animation: drift3 30s ease-in-out infinite alternate;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}

#neural-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

#neural-net.ready {
  opacity: 1;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(155, 124, 255, 0.16), rgba(54, 217, 255, 0.06) 40%, transparent 68%);
  transform: translate3d(var(--gx, 50vw), var(--gy, 30vh), 0);
  opacity: 0;
  transition: opacity 600ms ease;
}

.cursor-glow.on {
  opacity: 1;
}

/* ---------- Collapsed scroll navigation ---------- */

.scroll-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity 260ms ease, transform 360ms var(--ease), visibility 260ms step-end;
}

.scroll-nav-main,
.scroll-nav-secondary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
}

.scroll-nav-secondary {
  background: rgba(8, 10, 22, 0.64);
}

.scroll-nav-inner {
  width: min(100% - 32px, var(--max-width));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.scroll-nav-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(155, 124, 255, 0.18), 0 8px 24px rgba(255, 77, 141, 0.2);
}

.scroll-nav-identity {
  min-width: 0;
  margin-left: 13px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.scroll-nav-name {
  flex: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.scroll-nav-role {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scroll-nav-controls {
  flex: none;
  margin-left: auto;
  padding-left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.nav-toggle {
  min-height: 34px;
  padding: 5px 8px 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: 500 11px/1 var(--font-body);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--violet) 55%, var(--line-strong));
  background: rgba(155, 124, 255, 0.1);
  box-shadow: 0 8px 22px -12px rgba(155, 124, 255, 0.65);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.nav-toggle i {
  width: 13px;
  text-align: center;
  color: var(--faint);
  font-size: 12px;
}

.nav-toggle-track {
  position: relative;
  width: 29px;
  height: 17px;
  flex: 0 0 29px;
  border-radius: 999px;
  background: rgba(163, 172, 199, 0.24);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.nav-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  transition: transform 240ms var(--ease);
}

.nav-toggle[aria-checked="true"] .nav-toggle-track {
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  box-shadow: 0 0 14px -4px rgba(54, 217, 255, 0.75);
}

.nav-toggle[aria-checked="true"] .nav-toggle-thumb {
  transform: translateX(12px);
}

.nav-toggle[aria-checked="true"] i {
  color: var(--cyan);
}

.scroll-nav-secondary-inner {
  min-height: 58px;
  justify-content: space-between;
  gap: 22px;
}

.scroll-nav-kicker {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfe5fb;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scroll-nav-kicker .kicker-dot {
  width: 6px;
  height: 6px;
}

.scroll-nav-stats {
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.scroll-nav-stat {
  min-width: 150px;
  padding: 0 18px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
}

.scroll-nav-stat + .scroll-nav-stat {
  border-left: 1px solid var(--line);
}

.scroll-nav-stat-num {
  flex: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.scroll-nav-stat-text {
  font-size: 14px;
}

.scroll-nav-stat-label {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.2;
  white-space: nowrap;
}

body.nav-condensed .scroll-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 360ms var(--ease), visibility 0s step-start;
}

body.nav-condensed .bg {
  filter: blur(12px) saturate(120%);
  transform: scale(1.035);
  opacity: 0.82;
}

body.nav-condensed .cursor-glow {
  opacity: 0;
}

body.nav-condensed .hero {
  position: absolute;
  pointer-events: none;
}

body.nav-condensed .hero > .avatar,
body.nav-condensed .hero > .kicker,
body.nav-condensed .hero > .name,
body.nav-condensed .hero > .subtitle,
body.nav-condensed .hero > .terminal,
body.nav-condensed .hero > .stats {
  opacity: 0 !important;
  visibility: hidden;
}

body.nav-condensed .page {
  padding-top: calc(var(--scroll-nav-height) + 32px);
}

.bg {
  transition: filter 450ms ease, transform 450ms var(--ease), opacity 450ms ease;
  transform-origin: center;
}

/* ---------- Layout ---------- */

.page {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: clamp(40px, 8vh, 88px) 0 40px;
  display: flex;
  transition: padding-top 360ms var(--ease);
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 6vh, 56px);
}

/* ---------- Hero ---------- */

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

.avatar {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  animation: popIn 900ms 100ms var(--ease) both;
}

.avatar img {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 50px rgba(255, 77, 141, 0.28);
}

.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--orange), var(--pink), var(--violet), var(--cyan), var(--orange));
  animation: spin 6s linear infinite;
}

.avatar-ring::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: inherit;
  filter: blur(22px);
  opacity: 0.55;
}

.avatar-orbit {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 14s linear infinite reverse;
}

.avatar-orbit span {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 3px rgba(54, 217, 255, 0.7);
}

.kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #dfe5fb;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeRise 700ms 250ms var(--ease) both;
  transition: translate 280ms var(--ease), scale 280ms var(--ease), background 250ms ease, border-color 250ms ease, box-shadow 320ms ease, color 250ms ease;
}

.kicker::after {
  content: '';
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 520ms var(--ease);
  pointer-events: none;
}

.kicker:hover {
  translate: 0 -2px;
  scale: 1.02;
  color: #fff;
  background: rgba(54, 217, 255, 0.08);
  border-color: rgba(54, 217, 255, 0.45);
  box-shadow: 0 12px 32px -14px rgba(54, 217, 255, 0.6);
}

.kicker:hover::after {
  left: 125%;
}

.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ef0a1;
  box-shadow: 0 0 0 0 rgba(62, 240, 161, 0.6);
  animation: ping 2.2s ease-out infinite;
}

.name {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 8.4vw, 84px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 30%, #b9c2e6 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(155, 124, 255, 0.25));
}

.name.is-split {
  background: none;
}

.name .word {
  display: inline-block;
  white-space: nowrap;
}

.name .char {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 30%, #b9c2e6 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: charIn 900ms var(--ease) both;
  animation-delay: calc(350ms + var(--i) * 35ms);
}

.subtitle {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.8vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeRise 800ms 750ms var(--ease) both, sheen 8s linear infinite;
}

.subtitle .amp {
  font-weight: 400;
  opacity: 0.85;
}

.terminal {
  min-height: 1.6em;
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.7vw, 15px);
  animation: fadeRise 800ms 900ms var(--ease) both;
}

.terminal .prompt {
  color: #3ef0a1;
}

.terminal .typed {
  color: #dbe1f7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caret {
  width: 9px;
  height: 1.15em;
  margin-left: -6px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(54, 217, 255, 0.8);
  animation: blink 1.05s steps(1) infinite;
}

/* ---------- Stats ---------- */

.stats {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 640px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: fadeRise 800ms 1050ms var(--ease) both;
}

.stat {
  padding: 18px 12px 16px;
  display: grid;
  gap: 4px;
  justify-items: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num-text {
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.4;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

/* ---------- Professional profile ---------- */

.professional {
  width: min(1298px, calc(100vw - 40px));
  display: grid;
  gap: 18px;
  animation: fadeRise 850ms 1120ms var(--ease) both;
}

.professional-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.professional-intro {
  max-width: 820px;
}

.section-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.professional-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.professional-intro p {
  margin: 14px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.resume-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 280ms var(--ease), border-color 240ms ease, background 240ms ease, box-shadow 280ms ease;
}

.resume-cta:hover,
.resume-cta:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--cyan) 48%, var(--line-strong));
  background: color-mix(in srgb, var(--cyan) 8%, var(--glass));
  box-shadow: 0 14px 34px -16px rgba(54, 217, 255, 0.55);
}

.resume-cta:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.resume-cta i {
  font-size: 11px;
}

.professional-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
  gap: 14px;
}

.professional-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 50px rgba(0, 0, 0, 0.23);
}

.experience-card {
  grid-row: span 2;
}

.professional-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.professional .section-kicker {
  font-size: 11.5px;
}

.professional-card-title .section-kicker {
  margin-bottom: 3px;
}

.professional-card-title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.professional-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--violet) 35%, var(--line));
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(155, 124, 255, 0.14), rgba(54, 217, 255, 0.08));
  color: var(--cyan);
  font-size: 16px;
}

.career-timeline {
  display: grid;
}

.career-item {
  position: relative;
  padding: 0 0 22px 24px;
}

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

.career-item::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: -2px;
  width: 1px;
  background: linear-gradient(var(--violet), rgba(54, 217, 255, 0.08));
}

.career-item:last-child::before {
  display: none;
}

.career-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(54, 217, 255, 0.12), 0 0 16px rgba(54, 217, 255, 0.45);
}

.career-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.career-topline strong,
.credential strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
}

.career-company {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 13.5px;
}

.career-topline time {
  flex: none;
  padding-top: 1px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  white-space: nowrap;
}

.career-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.credential-list {
  display: grid;
  gap: 14px;
}

.credential {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.credential span,
.credential small {
  display: block;
}

.credential span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.credential small {
  margin-top: 7px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
}

.research-credentials {
  display: grid;
  gap: 10px;
}

.research-credential {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.research-credential i {
  flex: none;
  width: 18px;
  margin-top: 3px;
  color: var(--violet);
  text-align: center;
  font-size: 13px;
}

.research-credential p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Resume skills ---------- */

.resume-skills {
  width: min(1298px, calc(100vw - 40px));
  display: grid;
  gap: 18px;
  animation: fadeRise 850ms 1220ms var(--ease) both;
}

.skills-section-heading {
  max-width: 780px;
}

.skills-section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.skills-section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.skill-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 38px rgba(0, 0, 0, 0.18);
}

.skill-group-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.skill-group-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.skill-group-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cyan) 26%, var(--line));
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(54, 217, 255, 0.1), rgba(155, 124, 255, 0.1));
  color: var(--cyan);
  font-size: 13px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-list span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
}

/* ---------- Link cards ---------- */

.links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  perspective: 1200px;
}

.link-card {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --brand: var(--violet);
  position: relative;
  min-height: 92px;
  padding: 18px 18px 18px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  text-decoration: none;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 40px rgba(0, 0, 0, 0.3);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition:
    transform 500ms var(--ease),
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 400ms ease;
  animation: cardIn 800ms var(--ease) both;
  animation-delay: calc(1150ms + var(--n, 0) * 90ms);
}

/* Gradient border that lights up on hover */
.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--brand), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 300ms ease;
}

.card-spot {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(340px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  background: var(--glass-hover);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 50px -10px color-mix(in srgb, var(--brand) 45%, transparent);
}

.link-card:hover::before,
.link-card:hover .card-spot,
.link-card:focus-visible::before,
.link-card:focus-visible .card-spot {
  opacity: 1;
}

.link-card:focus-visible,
.contact-icons a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.icon-sq {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, rgba(255, 255, 255, 0.03));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 23px;
  transform: translateZ(30px);
  transition: transform 500ms var(--ease), box-shadow 400ms ease;
}

.link-card:hover .icon-sq {
  transform: translateZ(30px) scale(1.08) rotate(-4deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 26px -2px color-mix(in srgb, var(--brand) 60%, transparent);
}

.card-text {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
  transform: translateZ(20px);
}

.label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.meta {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrow {
  margin-left: auto;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  transition: transform 400ms var(--ease), color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.arrow .ext {
  rotate: -45deg;
}

.link-card:hover .arrow {
  transform: translate(2px, -2px);
  color: #0a0b14;
  background: #fff;
  border-color: #fff;
}

/* Featured card */
.link-card.feature {
  --brand: var(--orange);
  grid-column: 1 / -1;
  min-height: 132px;
  padding: 24px 24px 24px 24px;
  gap: 20px;
  background:
    linear-gradient(120deg, rgba(255, 138, 61, 0.12), rgba(255, 77, 141, 0.06) 40%, rgba(155, 124, 255, 0.08)),
    var(--glass);
}

.feature .icon-sq {
  flex-basis: 68px;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--pink) 60%, var(--violet));
  border: 0;
  box-shadow: 0 12px 34px -6px rgba(255, 77, 141, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.feature .label {
  font-size: 24px;
}

.feature .meta {
  white-space: normal;
  font-size: 14.5px;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 2px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #cfd6ef;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.feature .arrow {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.brand-linkedin { --brand: #3f9bff; }
.brand-github { --brand: #c9d1ff; }
.brand-youtube { --brand: #ff4b4b; }

/* ---------- Skills marquee ---------- */

.skills {
  width: 100%;
  animation: fadeRise 900ms 1600ms var(--ease) both;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: max-content;
  gap: 10px;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #c9d0ea;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease;
}

.marquee-track li::before {
  content: '◆';
  margin-right: 8px;
  font-size: 8px;
  vertical-align: 2px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marquee-track li:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  justify-items: center;
  gap: 14px;
  animation: fadeRise 900ms 1700ms var(--ease) both;
}

.contact-title {
  font-family: var(--font-mono);
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.contact-icons a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: transform 350ms var(--ease), background 250ms ease, border-color 250ms ease, box-shadow 350ms ease, color 250ms ease;
}

.contact-icons a::after {
  content: '';
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 520ms var(--ease);
  pointer-events: none;
}

.contact-icons a:hover {
  transform: translateY(-3px) scale(1.035);
  color: #0a0b14;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 14px 40px -8px rgba(155, 124, 255, 0.6);
}

.contact-icons a:hover::after {
  left: 125%;
}

.contact-icons i {
  font-size: 16px;
  transition: transform 320ms var(--ease);
}

.contact-icons a:hover i {
  transform: rotate(-8deg) scale(1.1);
}

.copyright {
  margin: 18px 0 0;
  color: rgba(163, 172, 199, 0.6);
  font-size: 12.5px;
}

/* ---------- Theme + motion preferences ---------- */

html[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(30, 42, 75, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 75, 0.07) 1px, transparent 1px);
}

html[data-theme="light"] .bg-noise {
  opacity: 0.035;
}

html[data-theme="light"] .scroll-nav-main {
  border-bottom-color: var(--line);
  background: rgba(247, 249, 255, 0.86);
  box-shadow: 0 10px 34px rgba(51, 64, 98, 0.1);
}

html[data-theme="light"] .scroll-nav-secondary {
  border-bottom-color: var(--line);
  background: rgba(241, 245, 255, 0.78);
  box-shadow: 0 10px 34px rgba(51, 64, 98, 0.08);
}

html[data-theme="light"] .scroll-nav-avatar {
  border-color: rgba(28, 40, 70, 0.15);
}

html[data-theme="light"] .scroll-nav-name {
  color: #172033;
}

html[data-theme="light"] .scroll-nav-kicker,
html[data-theme="light"] .kicker {
  color: #34415f;
}

html[data-theme="light"] .nav-toggle {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 6px 18px rgba(51, 64, 98, 0.06);
}

html[data-theme="light"] .nav-toggle:hover {
  background: rgba(155, 124, 255, 0.11);
}

html[data-theme="light"] .name:not(.is-split),
html[data-theme="light"] .name .char {
  background: linear-gradient(180deg, #172033 25%, #52607e 115%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-theme="light"] .terminal .typed {
  color: #35415d;
}

html[data-theme="light"] .professional-card,
html[data-theme="light"] .skill-group,
html[data-theme="light"] .link-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 36px rgba(51, 64, 98, 0.12);
}

html[data-theme="light"] .credential,
html[data-theme="light"] .research-credential,
html[data-theme="light"] .skill-list span {
  background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .label {
  color: #172033;
}

html[data-theme="light"] .tags span,
html[data-theme="light"] .marquee-track li {
  color: #43506d;
  background: rgba(255, 255, 255, 0.52);
}

html[data-theme="light"] .link-card:hover .arrow {
  color: #fff;
  background: #202941;
  border-color: #202941;
}

html[data-theme="light"] .contact-icons a {
  background: rgba(255, 255, 255, 0.6);
}

html[data-theme="light"] .contact-icons a:hover {
  color: #fff;
  background: #202941;
  border-color: #202941;
}

html[data-theme="light"] .copyright {
  color: rgba(48, 61, 91, 0.62);
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: rgba(28, 40, 70, 0.035);
  border-left-color: rgba(28, 40, 70, 0.06);
}

html[data-animations="off"] {
  scroll-behavior: auto;
}

html[data-animations="off"] *,
html[data-animations="off"] *::before,
html[data-animations="off"] *::after {
  animation: none !important;
  transition: none !important;
}

html[data-animations="off"] [data-depth],
html[data-animations="off"] .name .char,
html[data-animations="off"] .link-card .arrow {
  translate: 0 0 !important;
  scale: 1 !important;
}

html[data-animations="off"] .link-card {
  --rx: 0deg !important;
  --ry: 0deg !important;
}

html[data-animations="off"] .marquee {
  transform: none !important;
}

html[data-animations="off"] .cursor-glow {
  display: none;
}

html[data-animations="off"] .hero {
  opacity: 1 !important;
}

/* ---------- Keyframes ---------- */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(62, 240, 161, 0.55); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(62, 240, 161, 0); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes sheen {
  to { background-position: -200% 0; }
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 5px)); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.6); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

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

@keyframes charIn {
  from { opacity: 0; transform: translateY(0.45em) rotate(6deg); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}

@keyframes cardIn {
  from { opacity: 0; translate: 0 24px; scale: 0.97; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes drift1 {
  to { transform: translate(14vw, 10vh) scale(1.15); }
}

@keyframes drift2 {
  to { transform: translate(-12vw, 16vh) scale(0.9); }
}

@keyframes drift3 {
  to { transform: translate(-10vw, -12vh) scale(1.2); }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .professional-heading {
    align-items: flex-start;
  }

  .professional-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-card {
    grid-row: auto;
  }

  .scroll-nav-inner {
    width: min(100% - 24px, var(--max-width));
  }

  .scroll-nav-identity {
    gap: 10px;
  }

  .scroll-nav-name {
    font-size: 17px;
  }

  .scroll-nav-role {
    font-size: 11.5px;
  }

  .scroll-nav-controls {
    padding-left: 8px;
    gap: 6px;
  }

  .nav-toggle {
    padding: 5px 7px;
    gap: 5px;
  }

  .nav-toggle-label {
    display: none;
  }

  .scroll-nav-secondary-inner {
    gap: 10px;
  }

  .scroll-nav-kicker {
    font-size: 8.8px;
    letter-spacing: 0.045em;
  }

  .scroll-nav-stat {
    min-width: 0;
    padding: 0 9px;
  }

  .scroll-nav-stat-num {
    font-size: 15px;
  }

  .scroll-nav-stat-text {
    font-size: 12px;
  }

  .scroll-nav-stat-label {
    font-size: 9px;
  }

  .links {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .link-card {
    min-height: 78px;
    padding: 14px 16px;
  }

  .icon-sq {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .link-card.feature {
    padding: 20px 18px;
    align-items: flex-start;
  }

  .feature .icon-sq {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    font-size: 25px;
    border-radius: 17px;
  }

  .feature .label {
    font-size: 21px;
  }

  .feature .arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  .feature .card-text {
    padding-right: 34px;
  }
}

@media (max-width: 620px) {
  :root {
    --scroll-nav-height: 156px;
  }

  .professional,
  .resume-skills {
    width: calc(100vw - 24px);
  }

  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skill-group {
    padding: 16px;
    border-radius: 17px;
  }

  .scroll-nav-secondary-inner {
    min-height: 88px;
    padding: 8px 0;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .scroll-nav-kicker {
    align-self: center;
  }

  .scroll-nav-stats {
    width: 100%;
    justify-content: stretch;
  }

  .scroll-nav-stat {
    flex: 1 1 0;
    padding: 0 6px;
    display: grid;
    gap: 1px;
    justify-items: center;
    text-align: center;
  }

  .scroll-nav-stat-label {
    white-space: normal;
    line-height: 1.1;
  }
}

@media (max-width: 520px) {
  :root {
    --scroll-nav-height: 150px;
  }

  .professional {
    gap: 14px;
  }

  .professional-heading {
    display: grid;
    gap: 14px;
  }

  .professional-intro h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .professional-intro p {
    font-size: 15px;
  }

  .resume-cta {
    width: fit-content;
  }

  .professional-card {
    padding: 18px;
    border-radius: 18px;
  }

  .career-topline {
    display: grid;
    gap: 5px;
  }

  .career-topline time {
    order: -1;
  }

  .career-body p {
    font-size: 13.5px;
  }

  .scroll-nav-controls {
    padding-left: 6px;
    gap: 5px;
  }

  .nav-toggle {
    min-height: 32px;
    padding: 4px 6px;
  }

  .nav-toggle i {
    font-size: 11px;
  }

  .nav-toggle-track {
    width: 27px;
    height: 16px;
    flex-basis: 27px;
  }

  .nav-toggle-thumb {
    width: 10px;
    height: 10px;
  }

  .nav-toggle[aria-checked="true"] .nav-toggle-thumb {
    transform: translateX(11px);
  }

  .scroll-nav-main .scroll-nav-inner {
    min-height: 62px;
  }

  .scroll-nav-avatar {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .scroll-nav-identity {
    margin-left: 10px;
    display: grid;
    gap: 0;
  }

  .scroll-nav-name {
    font-size: 16px;
    line-height: 1.15;
  }

  .scroll-nav-role {
    font-size: 10px;
    line-height: 1.25;
  }

  .scroll-nav-secondary-inner {
    min-height: 88px;
    padding: 8px 0;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .scroll-nav-kicker {
    align-self: center;
    font-size: 8.5px;
  }

  .scroll-nav-stats {
    width: 100%;
    justify-content: stretch;
  }

  .scroll-nav-stat {
    flex: 1 1 0;
    padding: 0 6px;
    display: grid;
    gap: 1px;
    justify-items: center;
    text-align: center;
  }

  .scroll-nav-stat-num {
    font-size: 14px;
    line-height: 1.1;
  }

  .scroll-nav-stat-text {
    font-size: 11px;
  }

  .scroll-nav-stat-label {
    white-space: normal;
    font-size: 8px;
    line-height: 1.1;
  }

  .page {
    padding-top: 40px;
  }

  .avatar {
    width: 96px;
    height: 96px;
    margin-bottom: 22px;
  }

  .avatar img {
    width: 86px;
    height: 86px;
  }

  .kicker {
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }

  .stats {
    border-radius: 16px;
  }

  .stat {
    padding: 14px 6px 12px;
  }

  .stat-label {
    font-size: 11.5px;
  }

  .stat-num-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .terminal .typed {
    max-width: calc(100vw - 90px);
  }
}

@media (max-width: 400px) {
  .scroll-nav-role {
    display: none;
  }

  .scroll-nav-name {
    font-size: 15px;
  }
}

@media (hover: none) {
  .link-card,
  .link-card:hover {
    transform: none;
  }
}

/* ---------- Scroll reveal + motion helpers ---------- */

.await {
  animation-play-state: paused !important;
}

.hero {
  will-change: opacity;
}

.avatar,
.name,
.subtitle,
.terminal,
.stats,
.name .char {
  will-change: translate;
}

.marquee {
  transform-origin: center;
}

.name .char {
  transition: color 300ms ease;
}

/* ---------- Custom scrollbars ---------- */

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 124, 255, 0.55) transparent;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8a3d, #ff4d8d 35%, #9b7cff 70%, #36d9ff) padding-box;
  min-height: 48px;
}

::-webkit-scrollbar-thumb:hover {
  border-width: 2px;
  filter: brightness(1.2);
}

::-webkit-scrollbar-corner {
  background: transparent;
}
