:root {
  --bg-0: #04030c;
  --bg-1: #091a2f;
  --bg-2: #2a133f;
  --glow-cyan: #5ef6ff;
  --glow-amber: #ffc857;
  --glow-coral: #ff6b8a;
  --panel: rgba(7, 18, 36, 0.3);
  --line: rgba(94, 246, 255, 0.4);
  --text-main: #eaf8ff;
  --text-soft: #9db8cc;
  --font-body: "Rajdhani", "Bahnschrift", "Segoe UI", sans-serif;
  --font-display: "Orbitron", "Rajdhani", sans-serif;
}

* {
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--bg-1);
  color: var(--glow-cyan);
  border: 1px solid var(--glow-cyan);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  #starfield {
    display: none;
  }
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--text-main);
  background: radial-gradient(circle at 16% 20%, #291746 0%, transparent 34%),
              radial-gradient(circle at 83% 16%, #143b66 0%, transparent 35%),
              radial-gradient(circle at 50% 82%, #40152f 0%, transparent 38%),
              linear-gradient(145deg, var(--bg-0), var(--bg-1) 48%, var(--bg-2));
  overflow-x: hidden;
  scroll-snap-type: y proximity;
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  [role="button"],
  .holo-card,
  .contact-chip,
  .quick-link {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="32" height="32"><defs><radialGradient id="glow" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%235ef6ff;stop-opacity:1"/><stop offset="100%" style="stop-color:%234a8fff;stop-opacity:0.6"/></radialGradient></defs><circle cx="32" cy="32" r="28" fill="none" stroke="%23000" stroke-width="3"/><circle cx="32" cy="32" r="24" fill="none" stroke="%23001a33" stroke-width="2.5"/><polygon points="32,12 50,20 50,44 32,52 14,44 14,20" fill="none" stroke="%23001a33" stroke-width="2"/><polygon points="32,20 44,28 38,32 44,36 32,44 20,36 26,32 20,28" fill="%235ef6ff" opacity="0.9"/><polygon points="32,20 44,28 38,32" fill="%235ef6ff" opacity="0.95"/><polygon points="32,44 44,36 38,32" fill="%235ef6ff" opacity="0.95"/><polygon points="32,20 20,28 26,32" fill="%235ef6ff" opacity="0.8"/><polygon points="32,44 20,36 26,32" fill="%235ef6ff" opacity="0.8"/><circle cx="32" cy="32" r="6" fill="%235ef6ff"/><circle cx="32" cy="32" r="5" fill="none" stroke="%235ef6ff" stroke-width="1" opacity="0.6"/></svg>') 16 16, auto;
  }
}

#starfield,
.nebula,
.hud-grid {
  position: fixed;
  inset: 0;
}

#starfield {
  z-index: -4;
}

.nebula {
  z-index: -3;
  background: conic-gradient(from 90deg at 52% 50%, rgba(94, 246, 255, 0.1), rgba(255, 107, 138, 0.08), rgba(255, 200, 87, 0.07), rgba(94, 246, 255, 0.1));
  filter: blur(52px);
  animation: nebulaDrift 22s linear infinite;
}

.hud-grid {
  z-index: -2;
  background-image: linear-gradient(rgba(94, 246, 255, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(94, 246, 255, 0.07) 1px, transparent 1px),
                    radial-gradient(circle at 50% 50%, rgba(255, 200, 87, 0.1), transparent 54%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  mask-image: radial-gradient(circle at 50% 50%, black 45%, transparent 95%);
}


.reactor-wrap {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.reactor-core,
.reactor-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.reactor-core {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(94, 246, 255, 0.8);
  background: radial-gradient(circle, rgba(94, 246, 255, 0.28) 0%, rgba(94, 246, 255, 0.04) 65%, transparent 70%);
  box-shadow: 0 0 50px rgba(94, 246, 255, 0.45), inset 0 0 32px rgba(94, 246, 255, 0.32);
  animation: pulseCore 2.6s ease-in-out infinite;
}

.reactor-ring {
  border: 1px solid rgba(94, 246, 255, 0.4);
}

.ring-a {
  width: 196px;
  height: 196px;
  border-top-color: rgba(255, 107, 138, 0.8);
  animation: rotateRing 11s linear infinite;
}

.ring-b {
  width: 276px;
  height: 276px;
  border-bottom-color: rgba(255, 200, 87, 0.8);
  animation: rotateRingReverse 16s linear infinite;
}

.top-nav {
  position: sticky;
  top: 0.55rem;
  z-index: 15;
  margin: 0.55rem clamp(0.7rem, 2.5vw, 1.8rem) 0.45rem;
  padding: 0.55rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--glow-cyan);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.77rem;
}

.nav-links {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.quick-link {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.34rem 0.6rem;
  background: linear-gradient(135deg, rgba(94, 246, 255, 0.12), rgba(255, 107, 138, 0.08));
  font-size: 0.79rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.quick-link:hover,
.quick-link.active {
  border-color: var(--glow-cyan);
  box-shadow: 0 0 18px rgba(94, 246, 255, 0.35);
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--glow-cyan);
  outline-offset: 3px;
}

.hero {
  margin: 0 clamp(0.7rem, 2.5vw, 1.8rem);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  display: grid;
  place-items: center;
  position: relative;
  min-height: calc(100dvh - 1.35rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 4.3rem;
  text-align: center;
}

.hero-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(94, 246, 255, 0.26) 0 1px, transparent 1.55px),
    radial-gradient(circle, rgba(255, 200, 87, 0.22) 0 1px, transparent 1.55px),
    radial-gradient(circle, rgba(255, 107, 138, 0.2) 0 0.95px, transparent 1.5px),
    radial-gradient(circle, rgba(123, 207, 255, 0.18) 0 0.9px, transparent 1.45px),
    radial-gradient(circle, rgba(199, 158, 255, 0.18) 0 0.95px, transparent 1.5px),
    radial-gradient(circle, rgba(94, 246, 255, 0.12) 0 2.2px, transparent 4px),
    radial-gradient(circle, rgba(255, 200, 87, 0.1) 0 2px, transparent 3.8px);
  background-size: 118px 118px, 146px 146px, 172px 172px, 198px 198px, 228px 228px, 312px 312px, 360px 360px;
  background-position: 0 0, 24px 52px, 78px 28px, 36px 110px, 120px 66px, 22px 18px, 180px 120px;
}

.hero-sky::before,
.hero-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.hero-sky::before {
  background-image:
    radial-gradient(circle at 4% 14%, rgba(94, 246, 255, 0.95) 0 1.4px, transparent 1.8px),
    radial-gradient(circle at 9% 40%, rgba(255, 200, 87, 0.92) 0 1.8px, transparent 2.3px),
    radial-gradient(circle at 14% 72%, rgba(255, 107, 138, 0.84) 0 1.5px, transparent 2px),
    radial-gradient(circle at 6% 52%, rgba(199, 158, 255, 0.72) 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 11% 22%, rgba(123, 207, 255, 0.76) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 18% 28%, rgba(123, 207, 255, 0.88) 0 1.6px, transparent 2.1px),
    radial-gradient(circle at 22% 52%, rgba(94, 246, 255, 0.72) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 24% 68%, rgba(255, 107, 138, 0.74) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 27% 82%, rgba(255, 200, 87, 0.8) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 31% 18%, rgba(199, 158, 255, 0.82) 0 1.5px, transparent 2px),
    radial-gradient(circle at 33% 46%, rgba(94, 246, 255, 0.68) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 35% 62%, rgba(94, 246, 255, 0.88) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 39% 34%, rgba(255, 107, 138, 0.78) 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 41% 56%, rgba(255, 200, 87, 0.74) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 44% 78%, rgba(123, 207, 255, 0.78) 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 49% 24%, rgba(255, 200, 87, 0.86) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 51% 44%, rgba(199, 158, 255, 0.7) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 54% 66%, rgba(94, 246, 255, 0.74) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 58% 14%, rgba(255, 107, 138, 0.82) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 60% 34%, rgba(123, 207, 255, 0.72) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 63% 48%, rgba(199, 158, 255, 0.76) 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 68% 82%, rgba(94, 246, 255, 0.78) 0 1.4px, transparent 2px),
    radial-gradient(circle at 70% 64%, rgba(255, 107, 138, 0.68) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 73% 30%, rgba(255, 200, 87, 0.78) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 77% 58%, rgba(123, 207, 255, 0.84) 0 1.5px, transparent 2px),
    radial-gradient(circle at 79% 76%, rgba(199, 158, 255, 0.68) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 82% 16%, rgba(94, 246, 255, 0.86) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 86% 44%, rgba(255, 107, 138, 0.76) 0 1.3px, transparent 1.9px),
    radial-gradient(circle at 88% 60%, rgba(123, 207, 255, 0.72) 0 1.1px, transparent 1.6px),
    radial-gradient(circle at 91% 68%, rgba(255, 200, 87, 0.78) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 96% 24%, rgba(94, 246, 255, 0.86) 0 1.6px, transparent 2.2px),
    radial-gradient(circle at 94% 50%, rgba(199, 158, 255, 0.7) 0 1.2px, transparent 1.7px),
    radial-gradient(circle at 12% 8%, rgba(94, 246, 255, 0.42) 0 3.2px, transparent 5px),
    radial-gradient(circle at 89% 88%, rgba(255, 200, 87, 0.34) 0 3px, transparent 5px),
    radial-gradient(circle at 52% 6%, rgba(199, 158, 255, 0.28) 0 2.8px, transparent 4.6px),
    radial-gradient(circle at 5% 92%, rgba(255, 107, 138, 0.22) 0 3.1px, transparent 5px),
    radial-gradient(circle at 96% 54%, rgba(123, 207, 255, 0.26) 0 3.1px, transparent 5px);
  animation: heroDustShiftA 18s linear infinite;
}

.hero-sky::after {
  background-image:
    radial-gradient(circle at 7% 24%, rgba(94, 246, 255, 0.52) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 12% 60%, rgba(255, 200, 87, 0.48) 0 1px, transparent 1.5px),
    radial-gradient(circle at 10% 76%, rgba(123, 207, 255, 0.42) 0 0.85px, transparent 1.35px),
    radial-gradient(circle at 16% 88%, rgba(255, 107, 138, 0.42) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 21% 12%, rgba(123, 207, 255, 0.5) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 30%, rgba(199, 158, 255, 0.4) 0 0.85px, transparent 1.35px),
    radial-gradient(circle at 26% 44%, rgba(94, 246, 255, 0.48) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 30% 70%, rgba(255, 200, 87, 0.42) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 32% 92%, rgba(94, 246, 255, 0.38) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 34% 8%, rgba(199, 158, 255, 0.44) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 52%, rgba(255, 107, 138, 0.38) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 40% 22%, rgba(255, 200, 87, 0.36) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 43% 84%, rgba(94, 246, 255, 0.46) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 47% 38%, rgba(123, 207, 255, 0.42) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 49% 72%, rgba(199, 158, 255, 0.36) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 52% 58%, rgba(255, 200, 87, 0.44) 0 1px, transparent 1.5px),
    radial-gradient(circle at 57% 26%, rgba(199, 158, 255, 0.4) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 59% 88%, rgba(123, 207, 255, 0.36) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 61% 74%, rgba(94, 246, 255, 0.44) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 66% 10%, rgba(255, 107, 138, 0.42) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 68% 28%, rgba(255, 200, 87, 0.38) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 70% 48%, rgba(123, 207, 255, 0.46) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 75% 82%, rgba(255, 200, 87, 0.42) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 78% 66%, rgba(94, 246, 255, 0.38) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 80% 18%, rgba(94, 246, 255, 0.46) 0 1px, transparent 1.6px),
    radial-gradient(circle at 84% 56%, rgba(199, 158, 255, 0.42) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 86% 8%, rgba(255, 107, 138, 0.36) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 90% 78%, rgba(255, 107, 138, 0.4) 0 0.9px, transparent 1.4px),
    radial-gradient(circle at 94% 36%, rgba(123, 207, 255, 0.48) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 97% 64%, rgba(255, 200, 87, 0.38) 0 0.8px, transparent 1.3px);
  animation: heroDustShiftB 22s linear infinite;
}

.hero-shell {
  width: min(100%, 860px);
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  position: relative;
  z-index: 1;
}

.flow-layout,
.footer-contact {
  position: relative;
  z-index: 1;
}

.identity {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.hero-copy {
  margin: 0.15rem auto 0;
  color: var(--text-soft);
  max-width: 58ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-action {
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  min-width: 170px;
  background: linear-gradient(135deg, rgba(94, 246, 255, 0.1), rgba(255, 107, 138, 0.08));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.hero-action:hover {
  border-color: var(--glow-cyan);
  box-shadow: 0 0 18px rgba(94, 246, 255, 0.3);
  transform: translateY(-1px);
}

.hero-action.primary {
  border-color: rgba(94, 246, 255, 0.45);
  background: linear-gradient(135deg, rgba(94, 246, 255, 0.22), rgba(94, 246, 255, 0.08));
  color: var(--glow-cyan);
}

.flow-layout {
  display: grid;
  gap: 0.35rem;
  padding: 0.35rem clamp(0.7rem, 2.5vw, 1.8rem) 0.35rem;
}

.content-section {
  min-height: calc(100dvh - 1.35rem);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
  align-items: stretch;
  gap: 0.55rem;
  padding: 1rem 0.8rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin-top: 4.3rem;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.section-head h2 {
  margin: 0;
}

.section-copy {
  margin: -0.12rem 0 0;
  line-height: 1.25;
}

.section-observe {
  position: relative;
  overflow: hidden;
}

.section-observe > * {
  position: relative;
  z-index: 1;
}

.section-observe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(94, 246, 255, 0.22) 48%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.section-observe::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: none;
}

.section-observe.section-animate {
  animation: sectionRise 420ms ease;
}

.card-grid {
  display: grid;
  gap: 0.55rem;
}

#experienceCards {
  --experience-gap: 0.22rem;
  --experience-title-size: clamp(1rem, 1.2vw, 1.24rem);
  --experience-meta-size: clamp(0.72rem, 0.88vw, 0.9rem);
  --experience-body-size: clamp(0.96rem, 1.14vw, 1.16rem);
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: calc((100% - (var(--experience-gap) * 3)) / 4);
  align-content: start;
  align-items: stretch;
  gap: var(--experience-gap);
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 0.22rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 246, 255, 0.4) rgba(5, 13, 24, 0.35);
}

#experience {
  gap: 0.32rem;
}

#experience .section-copy {
  margin-top: -0.2rem;
}

#experienceCards .holo-card {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  column-gap: clamp(0.55rem, 1vw, 0.9rem);
  row-gap: 0.08rem;
  align-items: center;
  background: linear-gradient(150deg, rgba(10, 39, 70, 0.92), rgba(39, 14, 56, 0.84));
  min-height: 0;
  height: 100%;
  padding: clamp(0.3rem, 0.7vw, 0.54rem) clamp(0.62rem, 1.1vw, 0.95rem);
}

#experienceCards .holo-card h3 {
  margin-bottom: 0.04rem;
  grid-column: 1;
  font-size: var(--experience-title-size);
  line-height: 1.02;
  align-self: end;
}

#experienceCards .holo-card .experience-meta {
  margin-bottom: 0;
  grid-column: 1;
  font-size: var(--experience-meta-size);
  line-height: 1.06;
  align-self: start;
}

#experienceCards .holo-card p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: var(--experience-body-size);
  line-height: 1.08;
  padding-block: 0.02rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  align-self: center;
}

#experienceCards::-webkit-scrollbar {
  width: 8px;
}

#experienceCards::-webkit-scrollbar-track {
  background: rgba(5, 13, 24, 0.35);
  border-radius: 999px;
}

#experienceCards::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(94, 246, 255, 0.55), rgba(255, 107, 138, 0.45));
  border-radius: 999px;
}

@media (max-width: 640px) {
  #experienceCards {
    grid-template-columns: 1fr;
    padding-right: 0;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.6rem;
  min-height: 0;
  max-height: 100%;
  align-content: start;
  overflow-y: auto;
  padding-right: 0.22rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 246, 255, 0.4) rgba(5, 13, 24, 0.35);
}

.skill-category {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-color: rgba(255, 200, 87, 0.25);
  background: linear-gradient(140deg, rgba(20, 20, 49, 0.88), rgba(10, 42, 68, 0.82));
}

.skill-category h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-chip {
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(94, 246, 255, 0.05);
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.skill-chip.primary {
  border-color: rgba(94, 246, 255, 0.55);
  background: linear-gradient(135deg, rgba(94, 246, 255, 0.22), rgba(94, 246, 255, 0.06));
  color: var(--glow-cyan);
  font-weight: 600;
}

#projectsCards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

#projectsCards .holo-card {
  border-color: rgba(255, 200, 87, 0.3);
  background: linear-gradient(140deg, rgba(20, 20, 49, 0.88), rgba(10, 42, 68, 0.82));
}

#galleryTiles {
  display: grid;
  min-height: 0;
  height: 100%;
  min-block-size: clamp(460px, 72vh, 760px);
}

#gallery {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.28rem;
  padding-bottom: 0.4rem;
}

.gallery-carousel {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-block-size: inherit;
  padding: clamp(0.3rem, 0.9vw, 0.55rem);
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: stretch;
}

.gallery-stage {
  margin: 0;
  min-height: 0;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  min-height: clamp(400px, 64vh, 700px);
  border-radius: 14px;
  border: 1px solid rgba(94, 246, 255, 0.35);
  background-size: cover;
  background-position: center 20%;
  box-shadow: inset 0 -70px 90px rgba(6, 13, 25, 0.58), 0 0 24px rgba(94, 246, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.gallery-photo::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 45%;
  height: 300%;
  transform: rotate(20deg);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  animation: scanSweep 5.6s linear infinite;
}

.gallery-caption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  min-height: 28px;
  border: 1px solid rgba(94, 246, 255, 0.25);
  border-radius: 10px;
  background: rgba(5, 12, 23, 0.68);
  color: var(--text-main);
  padding: 0.28rem 0.45rem;
  line-height: 1.25;
  font-size: 0.78rem;
  backdrop-filter: blur(4px);
}

.gallery-nav {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(94, 246, 255, 0.35);
  background: linear-gradient(130deg, rgba(94, 246, 255, 0.16), rgba(255, 107, 138, 0.12));
  color: var(--text-main);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  align-self: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.gallery-nav:hover {
  border-color: var(--glow-cyan);
  box-shadow: 0 0 15px rgba(94, 246, 255, 0.36);
  transform: translateY(-1px);
}

.gallery-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(94, 246, 255, 0.4);
  background: rgba(94, 246, 255, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.gallery-dot.active {
  background: var(--glow-cyan);
  box-shadow: 0 0 14px rgba(94, 246, 255, 0.48);
  transform: scale(1.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.45rem;
}

.footer-contact {
  margin: 0.35rem clamp(0.7rem, 2.5vw, 1.8rem) 0.9rem;
  padding: 0.72rem 0.8rem 0.8rem;
  min-height: 0;
  gap: 0.3rem;
  scroll-margin-top: 4.3rem;
}

.footer-contact .section-copy {
  max-width: none;
}

#contactChips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-chip {
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  padding: 0.55rem 0.62rem;
  background: linear-gradient(130deg, rgba(94, 246, 255, 0.1), rgba(255, 107, 138, 0.08));
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.contact-chip:hover {
  border-color: var(--glow-cyan);
  box-shadow: 0 0 18px rgba(94, 246, 255, 0.35);
  transform: translateY(-1px);
}

.tag {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--glow-cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

h1 {
  margin: 0.1rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  letter-spacing: 0.06em;
  text-shadow: 0 0 20px rgba(94, 246, 255, 0.35);
  line-height: 0.98;
}

#siteName {
  position: relative;
  display: inline-block;
  font-size: clamp(1.9rem, 5.2vw, 3.9rem);
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  background: linear-gradient(110deg, #e6fcff 8%, #7df8ff 38%, #ffffff 50%, #6adfff 62%, #ddfbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(94, 246, 255, 0.34), 0 0 28px rgba(94, 246, 255, 0.34), 0 0 52px rgba(94, 246, 255, 0.26);
  animation: holoNameFloat 5.8s ease-in-out infinite, holoNameShimmer 8.6s linear infinite;
  transition: transform 240ms ease, text-shadow 240ms ease, filter 240ms ease;
}

#siteName:hover {
  transform: translateY(-4px) scale(1.012);
  filter: brightness(1.08);
  text-shadow: 0 0 14px rgba(94, 246, 255, 0.42), 0 0 38px rgba(94, 246, 255, 0.44), 0 0 70px rgba(94, 246, 255, 0.36);
}

#siteTagline {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.subtitle,
.status-label,
.hub-note {
  margin: 0;
  color: var(--text-soft);
}

.status-wrap {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(7, 17, 33, 0.72), rgba(10, 33, 59, 0.52));
  backdrop-filter: blur(7px);
  width: min(100%, 420px);
  box-shadow: inset 0 0 18px rgba(94, 246, 255, 0.08);
}

.status-text {
  margin: 0.2rem 0 0;
  color: var(--glow-cyan);
}

.holo-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 18px rgba(94, 246, 255, 0.05);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glow-cyan);
  box-shadow: 0 0 20px rgba(94, 246, 255, 0.9);
  animation: pulseDot 1.6s infinite;
}

.holo-card {
  position: relative;
  padding: 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(94, 246, 255, 0.2);
  background: linear-gradient(145deg, rgba(7, 31, 54, 0.54), rgba(40, 14, 58, 0.42));
  transform-style: preserve-3d;
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.holo-card::after {
  content: "";
  position: absolute;
  top: -125%;
  left: -45%;
  width: 48%;
  height: 320%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: rotate(18deg);
  animation: scanSweep 4.9s linear infinite;
}

.card h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 0.97rem;
}

.experience-meta {
  margin: -0.08rem 0 0.45rem;
  color: var(--glow-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.45;
  font-size: 0.89rem;
}

@keyframes nebulaDrift {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes rotateRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateRingReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes pulseCore {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.95; }
  50% { transform: translate(-50%, -50%) scale(1.11); opacity: 0.6; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}

@keyframes scanSweep {
  0% { left: -62%; }
  100% { left: 145%; }
}

@keyframes viewerFlash {
  0% { box-shadow: 0 0 0 rgba(255, 200, 87, 0); }
  50% { box-shadow: 0 0 34px rgba(255, 200, 87, 0.45), inset 0 0 22px rgba(94, 246, 255, 0.18); }
  100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 22px rgba(94, 246, 255, 0.09); }
}

@keyframes sectionRise {
  0% {
    opacity: 0.68;
    transform: translateY(18px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sectionScan {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  25% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

@keyframes gridPulse {
  0% { opacity: 1; }
  50% { opacity: 0.65; }
  100% { opacity: 1; }
}

@keyframes coreBoost {
  0% { box-shadow: 0 0 50px rgba(94, 246, 255, 0.45), inset 0 0 32px rgba(94, 246, 255, 0.32); }
  50% { box-shadow: 0 0 80px rgba(255, 200, 87, 0.65), inset 0 0 44px rgba(94, 246, 255, 0.45); }
  100% { box-shadow: 0 0 50px rgba(94, 246, 255, 0.45), inset 0 0 32px rgba(94, 246, 255, 0.32); }
}

@keyframes holoNameFloat {
  0%,
  100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes holoNameShimmer {
  0% { filter: hue-rotate(0deg) brightness(0.97); }
  25% { filter: hue-rotate(7deg) brightness(1.02); }
  50% { filter: hue-rotate(0deg) brightness(1.08); }
  75% { filter: hue-rotate(-8deg) brightness(1.01); }
  100% { filter: hue-rotate(0deg) brightness(0.97); }
}

@keyframes cursorNoise {
  0%,
  100% {
    filter: hue-rotate(0deg) saturate(1);
    clip-path: inset(0 0 0 0);
  }
  30% {
    filter: hue-rotate(8deg) saturate(1.2);
    clip-path: inset(2px 0 0 0);
  }
  68% {
    filter: hue-rotate(-7deg) saturate(1.22);
    clip-path: inset(0 0 3px 0);
  }
}

@keyframes cursorSplitA {
  0%,
  100% { transform: translate(1px, -1px); opacity: 0.44; }
  50% { transform: translate(2px, -2px); opacity: 0.7; }
}

@keyframes cursorSplitB {
  0%,
  100% { transform: translate(-1px, 1px); opacity: 0.4; }
  45% { transform: translate(-2px, 2px); opacity: 0.67; }
}

@keyframes cursorBurst {
  0% { transform: translate(var(--cursor-x, -999px), var(--cursor-y, -999px)) scale(0.95); }
  30% { transform: translate(calc(var(--cursor-x, -999px) + 2px), calc(var(--cursor-y, -999px) - 1px)) scale(1.08); }
  70% { transform: translate(calc(var(--cursor-x, -999px) - 2px), calc(var(--cursor-y, -999px) + 1px)) scale(0.94); }
  100% { transform: translate(var(--cursor-x, -999px), var(--cursor-y, -999px)) scale(1); }
}

@keyframes hologramDriftA {
  0%,
  100% { transform: translateY(0px) rotate(-1.4deg); }
  50% { transform: translateY(-10px) rotate(1.4deg); }
}

@keyframes hologramDriftB {
  0%,
  100% { transform: translateY(0px) rotate(1.2deg); }
  50% { transform: translateY(-12px) rotate(-1.2deg); }
}

@keyframes hologramDriftC {
  0%,
  100% { transform: translateY(0px) rotate(-0.8deg); }
  50% { transform: translateY(-8px) rotate(1.1deg); }
}

@keyframes heroDustShiftA {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.76; }
  50% { transform: translate3d(-8px, 6px, 0) scale(1.02); opacity: 0.92; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.76; }
}

@keyframes heroDustShiftB {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate3d(10px, -7px, 0) scale(1.03); opacity: 0.78; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
}

@media (max-width: 1050px) {
  .hero-sky {
    opacity: 0.9;
  }

  .hero-shell {
    width: min(100%, 720px);
  }

  .status-wrap {
    width: 100%;
  }

  .hero,
  .content-section {
    min-height: calc(100svh - 1.25rem);
  }

  .reactor-wrap {
    width: 250px;
    height: 250px;
    opacity: 0.8;
  }
}

@media (max-width: 700px) {
  .hero-sky {
    opacity: 0.82;
  }

  .top-nav {
    top: 0.3rem;
    padding: 0.45rem;
  }

  .quick-link {
    font-size: 0.74rem;
    padding: 0.32rem 0.5rem;
  }

  .hero,
  .content-section {
    min-height: calc(100svh - 0.95rem);
    padding-top: 1.2rem;
  }

  .gallery-carousel {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .gallery-nav {
    width: 100%;
    height: 34px;
    border-radius: 10px;
  }

  .gallery-nav.prev {
    order: 1;
  }

  .gallery-stage {
    order: 2;
    min-height: 0;
  }

  .gallery-nav.next {
    order: 3;
  }

  .gallery-dots {
    order: 4;
  }

  #experienceCards .holo-card {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
    min-height: auto;
  }

  #experienceCards .holo-card h3,
  #experienceCards .holo-card .experience-meta,
  #experienceCards .holo-card p:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    place-items: center;
  }

  .footer-contact {
    margin-bottom: 0.7rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-action {
    width: 100%;
  }

  .cursor-reticle {
    display: none;
  }
}
