:root,
[data-theme="dark"] {

  --bg-primary: #060608;
  --bg-surface: #0e0e12;
  --bg-card: rgba(18, 18, 24, 0.65);
  --bg-glass: rgba(18, 18, 24, 0.72);

  --card-bg-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%), rgba(20, 20, 26, 0.65);
  --card-border-glass: rgba(255, 255, 255, 0.12);
  --card-border-hover: rgba(114, 230, 224, 0.35);
  --card-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
  --card-shadow-hover: 0 18px 40px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(114, 230, 224, 0.25), inset 0 1px 2px 0 rgba(255, 255, 255, 0.3);
  --card-highlight-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%);
  --color-pill-text: #FFFFFF;
  --color-pill-subtext: #9E9EA7;
  --card-leading-bg: rgba(255, 255, 255, 0.06);
  --card-leading-border: rgba(255, 255, 255, 0.10);
  --card-badge-bg: #141418;
  --card-badge-text: #FFFFFF;
  --card-menu-btn-color: #9E9EA7;
  --card-menu-btn-hover-bg: rgba(255, 255, 255, 0.10);

  --text-primary: #F5F5F7;
  --text-secondary: #9E9EA7;
  --text-muted: #62626D;

  --accent-cyan: #72E6E0;
  --accent-cyan-hover: #4ECCD3;
  --accent-cyan-glow: rgba(114, 230, 224, 0.35);
  --accent-cyan-dim: rgba(114, 230, 224, 0.12);

  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-glow: rgba(114, 230, 224, 0.4);

  --cinematic-overlay: linear-gradient(180deg,
      rgba(6, 6, 8, 0.20) 0%,
      rgba(14, 14, 18, 0.40) 45%,
      rgba(14, 14, 18, 0.85) 100%);
  --cinematic-fade-stop1: rgba(14, 14, 18, 0.10);
  --cinematic-fade-stop2: rgba(14, 14, 18, 0.45);
  --cinematic-fade-stop3: rgba(14, 14, 18, 0.82);
  --cinematic-fade-stop4: #0e0e12;

  --modal-card-bg: rgba(18, 18, 24, 0.88);
  --modal-card-border: rgba(255, 255, 255, 0.14);
  --modal-input-bg: rgba(24, 24, 32, 0.85);
  --modal-input-text: #FFFFFF;
  --popover-bg: rgba(20, 20, 28, 0.94);
  --popover-border: rgba(255, 255, 255, 0.12);
  --social-container-bg: rgba(20, 20, 26, 0.55);
  --social-link-bg: rgba(255, 255, 255, 0.05);
  --social-link-color: #FFFFFF;
  --toast-bg: rgba(18, 18, 26, 0.94);
  --toast-border: rgba(114, 230, 224, 0.35);
  --toast-text: #FFFFFF;
  --top-nav-btn-bg: rgba(24, 24, 32, 0.65);
  --top-nav-btn-border: rgba(255, 255, 255, 0.12);
  --top-nav-btn-color: #9E9EA7;
  --top-nav-pill-bg: rgba(20, 20, 26, 0.60);

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SF Mono', Consolas, monospace;

  --max-content-width: 920px;
  --max-content-width-tablet: 780px;
  --card-radius: 0px;
  --card-border-radius: 22px;
  --pill-height-desktop: 76px;
  --pill-height-tablet: 70px;
  --pill-height-mobile: 56px;
  --pill-radius: 9999px;
  --card-gap: 18px;
  --card-gap-tablet: 16px;
  --card-gap-mobile: 12px;

  --bg-height-desktop: 400px;
  --bg-height-tablet: 350px;
  --bg-height-mobile: 300px;
  --bg-height: var(--bg-height-desktop);
  --bg-position: center 25%;

  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 450ms cubic-bezier(0.16, 1, 0.3, 1);

  --mouse-x: 0px;
  --mouse-y: 0px;
  --scroll-y: 0px;
}

[data-theme="light"] {
  --bg-primary: #F4F5F8;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.80);

  --card-bg-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%), rgba(255, 255, 255, 0.82);
  --card-border-glass: rgba(255, 255, 255, 0.95);
  --card-border-hover: rgba(14, 155, 148, 0.45);
  --card-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.07), 0 2px 6px -1px rgba(0, 0, 0, 0.03), inset 0 1px 2px 0 rgba(255, 255, 255, 1);
  --card-shadow-hover: 0 18px 36px -4px rgba(0, 0, 0, 0.12), 0 0 20px rgba(14, 155, 148, 0.20), inset 0 1px 2px 0 rgba(255, 255, 255, 1);
  --card-highlight-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 50%);
  --color-pill-text: #0D0D11;
  --color-pill-subtext: #5C5C68;
  --card-leading-bg: rgba(0, 0, 0, 0.04);
  --card-leading-border: rgba(0, 0, 0, 0.06);
  --card-badge-bg: #0D0D11;
  --card-badge-text: #FFFFFF;
  --card-menu-btn-color: #5C5C68;
  --card-menu-btn-hover-bg: rgba(0, 0, 0, 0.06);

  --text-primary: #0D0D11;
  --text-secondary: #52525E;
  --text-muted: #7A7A88;

  --accent-cyan: #0E9B94;
  --accent-cyan-hover: #0B7C76;
  --accent-cyan-glow: rgba(14, 155, 148, 0.28);
  --accent-cyan-dim: rgba(14, 155, 148, 0.12);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(14, 155, 148, 0.4);

  --cinematic-overlay: linear-gradient(180deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.45) 45%,
      rgba(255, 255, 255, 0.90) 100%);
  --cinematic-fade-stop1: rgba(255, 255, 255, 0.15);
  --cinematic-fade-stop2: rgba(255, 255, 255, 0.50);
  --cinematic-fade-stop3: rgba(255, 255, 255, 0.88);
  --cinematic-fade-stop4: #FFFFFF;

  --modal-card-bg: rgba(255, 255, 255, 0.92);
  --modal-card-border: rgba(255, 255, 255, 0.95);
  --modal-input-bg: rgba(240, 242, 246, 0.85);
  --modal-input-text: #0D0D11;
  --popover-bg: rgba(255, 255, 255, 0.95);
  --popover-border: rgba(0, 0, 0, 0.08);
  --social-container-bg: rgba(255, 255, 255, 0.70);
  --social-link-bg: rgba(0, 0, 0, 0.04);
  --social-link-color: #0D0D11;
  --toast-bg: rgba(255, 255, 255, 0.96);
  --toast-border: rgba(14, 155, 148, 0.4);
  --toast-text: #0D0D11;
  --top-nav-btn-bg: rgba(255, 255, 255, 0.75);
  --top-nav-btn-border: rgba(0, 0, 0, 0.08);
  --top-nav-btn-color: #52525E;
  --top-nav-pill-bg: rgba(255, 255, 255, 0.75);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.background-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
  transition: background-color 0.35s ease;
}

.cinematic-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--bg-height, 340px);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  transition: height 0.4s ease, opacity 0.4s ease;
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 32%,
      rgba(0, 0, 0, 0.85) 54%,
      rgba(0, 0, 0, 0.50) 72%,
      rgba(0, 0, 0, 0.16) 88%,
      rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 1) 32%,
      rgba(0, 0, 0, 0.85) 54%,
      rgba(0, 0, 0, 0.50) 72%,
      rgba(0, 0, 0, 0.16) 88%,
      rgba(0, 0, 0, 0) 100%);
}

.cinematic-bg-image {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  background-image: url('../assets/background.jpeg');
  background-size: cover;
  background-position: var(--bg-position, center 25%);
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(calc(var(--mouse-x, 0px) * 0.02), calc(var(--mouse-y, 0px) * 0.02 - var(--scroll-y, 0px) * 0.08), 0);
}

.cinematic-bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--cinematic-overlay);
  transition: background 0.35s ease;
}

.cinematic-bg-gradient-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 0%,
      var(--cinematic-fade-stop1) 28%,
      var(--cinematic-fade-stop2) 52%,
      var(--cinematic-fade-stop3) 76%,
      var(--cinematic-fade-stop4) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
  transition: background 0.35s ease;
}

.blob-mesh {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  filter: blur(80px);
  opacity: 0.85;
  transform: translate(calc(var(--mouse-x) * -0.04), calc(var(--mouse-y) * -0.04));
  transition: transform 0.25s cubic-bezier(0.1, 1, 0.1, 1);
  will-change: transform;
}

[data-theme="light"] .blob-mesh {
  opacity: 0.28;
  filter: blur(90px);
}

[data-theme="light"] .vignette-overlay {
  background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(244, 245, 248, 0.65) 100%);
}

.organic-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform, border-radius;
}

.blob-1 {
  top: 10%;
  left: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #222228 0%, #151518 60%, transparent 80%);
  animation: morphBlob1 24s ease-in-out infinite alternate;
}

.blob-2 {
  top: 35%;
  right: 10%;
  width: 540px;
  height: 520px;
  background: radial-gradient(circle, #1a1a20 0%, #121215 65%, transparent 80%);
  animation: morphBlob2 28s ease-in-out infinite alternate;
}

.blob-3 {
  bottom: 10%;
  left: 20%;
  width: 600px;
  height: 560px;
  background: radial-gradient(circle, #202026 0%, #101014 65%, transparent 85%);
  animation: morphBlob3 32s ease-in-out infinite alternate;
}

.blob-4 {
  top: 25%;
  left: 45%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.045) 0%, rgba(20, 30, 30, 0.4) 50%, transparent 75%);
  animation: morphBlob4 20s ease-in-out infinite alternate;
}

.blob-5 {
  bottom: 25%;
  right: 25%;
  width: 420px;
  height: 400px;
  background: radial-gradient(circle, #18181f 0%, #0d0d10 70%, transparent 85%);
  animation: morphBlob1 26s ease-in-out infinite alternate-reverse;
}

@keyframes morphBlob1 {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  50% {
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    transform: translate(40px, -30px) rotate(90deg) scale(1.08);
  }

  100% {
    border-radius: 35% 65% 55% 45% / 60% 30% 70% 40%;
    transform: translate(-30px, 40px) rotate(180deg) scale(0.95);
  }
}

@keyframes morphBlob2 {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) rotate(0deg) scale(0.96);
  }

  50% {
    border-radius: 30% 70% 60% 40% / 40% 60% 30% 70%;
    transform: translate(-50px, 40px) rotate(-80deg) scale(1.06);
  }

  100% {
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    transform: translate(30px, -40px) rotate(120deg) scale(1);
  }
}

@keyframes morphBlob3 {
  0% {
    border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%;
    transform: translate(0, 0) scale(1);
  }

  50% {
    border-radius: 70% 30% 50% 50% / 30% 70% 40% 60%;
    transform: translate(35px, 25px) scale(1.1);
  }

  100% {
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    transform: translate(-25px, -35px) scale(0.92);
  }
}

@keyframes morphBlob4 {
  0% {
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    transform: translate(0, 0) scale(1);
  }

  100% {
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    transform: translate(-40px, 30px) scale(1.15);
  }
}

.noise-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
}

.vignette-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(8, 8, 8, 0.75) 100%);
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: transform;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-glow {
    display: block;
  }
}

.top-nav {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-content-width, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 28px 24px 10px;
  opacity: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: fadeInDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.top-nav > #btn-share-page {
  justify-self: end;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--top-nav-btn-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--top-nav-btn-border);
  color: var(--top-nav-btn-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.nav-action-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), 0 0 12px var(--accent-cyan-glow);
}

.nav-action-btn:active {
  transform: scale(0.94);
}

.theme-toggle-btn {
  position: relative;
  overflow: hidden;
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

[data-theme="dark"] .sun-icon {
  display: inline-flex;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .moon-icon {
  display: none;
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

[data-theme="light"] .sun-icon {
  display: none;
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

[data-theme="light"] .moon-icon {
  display: inline-flex;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.top-nav-left-group {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 42px;
  padding: 0 12px;
  border-radius: 9999px;
  background: var(--top-nav-btn-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--top-nav-btn-border);
  color: var(--top-nav-btn-color);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.about-nav-actions .nav-lang-pill {
  height: 36px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

[data-theme="light"] .about-nav-actions .nav-lang-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-secondary);
}

.nav-lang-pill:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), 0 0 12px var(--accent-cyan-glow);
}

.nav-lang-pill:active {
  transform: scale(0.95);
}

.nav-lang-pill .lang-opt {
  transition: color 0.2s ease, text-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.5;
}

.nav-lang-pill .lang-opt.active {
  color: var(--accent-cyan);
  opacity: 1;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(114, 230, 224, 0.45);
}

[data-theme="light"] .nav-lang-pill .lang-opt.active {
  color: #0E9B94;
  text-shadow: none;
}

.nav-lang-pill .lang-sep {
  opacity: 0.35;
  font-size: 0.68rem;
}

.nav-center-pill {
  justify-self: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 14px;
  border-radius: 9999px;
  background: var(--top-nav-pill-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
}

.nav-center-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 0 16px var(--accent-cyan-dim);
  transform: translateY(-1px);
}

.nav-center-pill:active {
  transform: translateY(0) scale(0.97);
}

.cmd-k-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.62rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin-left: 2px;
}

[data-theme="light"] .cmd-k-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--accent-cyan);
}

.live-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.page-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-color 0.35s ease;
}

[data-theme="light"] .page-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.content-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-content-width, 880px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 56px;
}

.profile-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0 28px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.avatar-container {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
  cursor: pointer;
  border-radius: 50%;
  perspective: 800px;
  transform-style: preserve-3d;
  animation: floatAvatar 4.5s ease-in-out infinite;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
  will-change: transform;
}

.avatar-intro-3d {
  animation: avatarEntrance3D 1s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatAvatar 4.5s ease-in-out 1s infinite alternate;
}

@keyframes avatarEntrance3D {
  0% {
    opacity: 0;
    transform: perspective(800px) rotateX(28deg) rotateY(-18deg) scale3d(0.82, 0.82, 0.82);
  }

  100% {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
  }
}

@keyframes floatAvatar {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.profile-aura-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(114, 230, 224, 0.08) 0%, rgba(114, 230, 224, 0.02) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: pulseProfileAura 6s ease-in-out infinite alternate;
}

@keyframes pulseProfileAura {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.9;
  }
}

.avatar-ring {
  position: absolute;
  inset: -3.5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-cyan) 0%, rgba(255, 255, 255, 0.35) 25%, var(--accent-cyan) 50%, rgba(114, 230, 224, 0.15) 75%, var(--accent-cyan) 100%);
  z-index: 1;
  transform: translateZ(4px);
  animation: spinAvatarRing 8s linear infinite;
  transition: all var(--transition-normal);
}

@keyframes spinAvatarRing {
  0% {
    transform: translateZ(4px) rotate(0deg);
  }

  100% {
    transform: translateZ(4px) rotate(360deg);
  }
}

.avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
  opacity: 0.6;
  filter: blur(8px);
  z-index: 0;
  transition: all var(--transition-normal);
}

.avatar-container:hover .avatar-ring {
  background: conic-gradient(from 0deg, #FFFFFF 0%, var(--accent-cyan) 25%, #FFFFFF 50%, var(--accent-cyan) 75%, #FFFFFF 100%);
  transform: scale(1.04) translateZ(8px);
}

.avatar-container:hover .avatar-glow {
  opacity: 1;
  filter: blur(14px);
  transform: scale(1.1);
}

.avatar-ripple {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  pointer-events: none;
  z-index: 3;
  animation: ripplePop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ripplePop {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.profile-avatar {
  position: relative;
  z-index: 2;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #141418;
  display: block;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
  transform: translateZ(12px);
  transition: transform var(--transition-normal);
}

.avatar-container:active {
  transform: scale(0.96) !important;
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C1C24, #101015);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  border: 2px solid var(--border-glow);
}

.username-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-username {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #72E6E0 45%, #C084FC 80%, #72E6E0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="light"] .profile-username {
  background: linear-gradient(135deg, #0D0D11 0%, #0E9B94 45%, #7C3AED 80%, #0E9B94 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  transition: transform var(--transition-fast);
}

.verified-badge:hover {
  transform: scale(1.15) rotate(5deg);
}

.status-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.08);
  border: 1px solid rgba(114, 230, 224, 0.25);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseDot 1.8s infinite ease-in-out;
}

.typing-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  min-width: 220px;
  margin: 4px auto 10px;
  padding: 4px 16px;
  border-radius: 9999px;
  background: var(--top-nav-btn-bg);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 90%;
  transition: all var(--transition-normal);
}

.typing-container:hover {
  background: var(--card-bg-glass);
  border-color: var(--accent-cyan);
}

.typing-prefix {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.typing-text {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  margin-left: 2px;
  animation: blinkCursor 0.85s infinite ease-in-out;
  box-shadow: 0 0 8px var(--accent-cyan);
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.15;
    transform: scaleY(0.7);
  }
}

.profile-bio {
  font-size: 0.90rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

.links-section {
  width: 100%;
}

.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--card-gap, 18px);
}

@media (min-width: 681px) {
  .links-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--card-gap, 18px);
    perspective: none;
  }

  .link-card-wrapper[data-id="lynk"],
  .link-card-wrapper.wrapper-lynk,
  .link-card-wrapper[data-id="ulasin"],
  .link-card-wrapper.wrapper-ulasin,
  .link-card-wrapper[data-id="taman-kenangan"],
  .link-card-wrapper.wrapper-taman-kenangan {
    grid-column: span 2;
  }

  .link-card-wrapper:not(.wrapper-lynk):not(.wrapper-ulasin):not(.wrapper-taman-kenangan) .link-card {
    padding: 10px 10px 10px 14px;
  }

  .link-card-wrapper:not(.wrapper-lynk):not(.wrapper-ulasin):not(.wrapper-taman-kenangan) .card-content {
    padding: 0 6px 0 10px;
  }

  .link-card-wrapper:not(.wrapper-lynk):not(.wrapper-ulasin):not(.wrapper-taman-kenangan) .card-title {
    font-size: clamp(0.84rem, 1.3vw, 0.96rem);
  }

  .link-card-wrapper:not(.wrapper-lynk):not(.wrapper-ulasin):not(.wrapper-taman-kenangan) .card-description {
    font-size: clamp(0.71rem, 1.0vw, 0.78rem);
  }

  .link-card-wrapper:not(.wrapper-lynk):not(.wrapper-ulasin):not(.wrapper-taman-kenangan) .card-menu-btn {
    width: 34px;
    height: 38px;
  }
}

.link-card-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transform: translate3d(0, 18px, 0) scale(0.98);
  -webkit-transform: translate3d(0, 18px, 0) scale(0.98);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  animation: cardEntrance3D 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance3D {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    -webkit-transform: translate3d(0, 0, 0) scale(1);
  }
}

.link-card {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: var(--pill-height-desktop, 76px);
  display: flex;
  align-items: center;
  background: var(--card-bg-glass);
  border-radius: var(--card-border-radius, 22px);
  border: 1px solid var(--card-border-glass);
  text-decoration: none;
  color: var(--color-pill-text);
  padding: 10px 16px;
  box-shadow: var(--card-shadow);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.link-card[data-id="portfolio"],
.link-card[data-id="about"] {
  background: radial-gradient(circle at 12% 50%, rgba(114, 230, 224, 0.12) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(114, 230, 224, 0.25);
}

.link-card[data-id="projects"] {
  background: radial-gradient(circle at 12% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(139, 92, 246, 0.25);
}

.link-card[data-id="lynk"] {
  background: radial-gradient(circle at 8% 50%, rgba(168, 85, 247, 0.18) 0%, transparent 45%), radial-gradient(circle at 92% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 50%), var(--card-bg-glass);
  border-color: rgba(168, 85, 247, 0.38);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(168, 85, 247, 0.24);
}

.link-card[data-id="lynk"] .card-badge {
  background: rgba(168, 85, 247, 0.16);
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.4);
}

.link-card[data-id="ulasin"] {
  background: radial-gradient(circle at 8% 50%, rgba(59, 130, 246, 0.16) 0%, transparent 45%), radial-gradient(circle at 92% 50%, rgba(37, 99, 235, 0.10) 0%, transparent 50%), var(--card-bg-glass);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(59, 130, 246, 0.22);
}

.link-card[data-id="taman-kenangan"] {
  background: radial-gradient(circle at 8% 50%, rgba(245, 158, 11, 0.16) 0%, transparent 45%), radial-gradient(circle at 92% 50%, rgba(217, 119, 6, 0.10) 0%, transparent 50%), var(--card-bg-glass);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(245, 158, 11, 0.22);
}

.link-card[data-id="certificates"] {
  background: radial-gradient(circle at 8% 50%, rgba(114, 230, 224, 0.15) 0%, transparent 45%), radial-gradient(circle at 92% 50%, rgba(199, 70, 52, 0.10) 0%, transparent 50%), var(--card-bg-glass);
  border-color: rgba(114, 230, 224, 0.35);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(114, 230, 224, 0.16);
}

.link-card[data-id="cv"] {
  background: radial-gradient(circle at 8% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 45%), radial-gradient(circle at 92% 50%, rgba(114, 230, 224, 0.10) 0%, transparent 50%), var(--card-bg-glass);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 34px -4px rgba(0, 0, 0, 0.65), 0 0 20px -4px rgba(56, 189, 248, 0.16);
}

.link-card[data-id="qris"] {
  background: radial-gradient(circle at 12% 50%, rgba(245, 158, 11, 0.10) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(245, 158, 11, 0.22);
}

.link-card[data-id="order"] {
  background: radial-gradient(circle at 12% 50%, rgba(16, 185, 129, 0.10) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(16, 185, 129, 0.22);
}

[data-theme="light"] .link-card[data-id="portfolio"],
[data-theme="light"] .link-card[data-id="about"] {
  background: radial-gradient(circle at 12% 50%, rgba(14, 155, 148, 0.12) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(14, 155, 148, 0.3);
}

[data-theme="light"] .link-card[data-id="projects"] {
  background: radial-gradient(circle at 12% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .link-card[data-id="lynk"] {
  background: radial-gradient(circle at 8% 50%, rgba(147, 51, 234, 0.12) 0%, transparent 45%), var(--card-bg-glass);
  border-color: rgba(147, 51, 234, 0.35);
}

[data-theme="light"] .link-card[data-id="lynk"] .card-badge {
  background: rgba(147, 51, 234, 0.12);
  color: #7E22CE;
  border-color: rgba(147, 51, 234, 0.35);
}

[data-theme="light"] .link-card[data-id="ulasin"] {
  background: radial-gradient(circle at 8% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 45%), var(--card-bg-glass);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="light"] .link-card[data-id="taman-kenangan"] {
  background: radial-gradient(circle at 8% 50%, rgba(217, 119, 6, 0.12) 0%, transparent 45%), var(--card-bg-glass);
  border-color: rgba(217, 119, 6, 0.35);
}

[data-theme="light"] .link-card[data-id="certificates"] {
  background: radial-gradient(circle at 8% 50%, rgba(14, 155, 148, 0.14) 0%, transparent 45%), var(--card-bg-glass);
  border-color: rgba(14, 155, 148, 0.35);
}

[data-theme="light"] .link-card[data-id="qris"] {
  background: radial-gradient(circle at 12% 50%, rgba(217, 119, 6, 0.10) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(217, 119, 6, 0.25);
}

[data-theme="light"] .link-card[data-id="order"] {
  background: radial-gradient(circle at 12% 50%, rgba(5, 150, 105, 0.10) 0%, transparent 55%), var(--card-bg-glass);
  border-color: rgba(5, 150, 105, 0.25);
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover {
    transform: translateY(-3px);
  }

  .link-card[data-id="portfolio"]:hover,
  .link-card[data-id="about"]:hover {
    border-color: rgba(114, 230, 224, 0.6);
    box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.75), 0 0 28px rgba(114, 230, 224, 0.35);
  }

  .link-card[data-id="projects"]:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.75), 0 0 28px rgba(168, 85, 247, 0.35);
  }

  .link-card[data-id="lynk"]:hover {
    border-color: rgba(192, 132, 252, 0.75);
    box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.75), 0 0 32px rgba(168, 85, 247, 0.48);
  }

  .link-card[data-id="ulasin"]:hover {
    border-color: rgba(96, 165, 250, 0.7);
    box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.75), 0 0 32px rgba(59, 130, 246, 0.45);
  }

  .link-card[data-id="taman-kenangan"]:hover {
    border-color: rgba(251, 191, 36, 0.7);
    box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.75), 0 0 32px rgba(245, 158, 11, 0.45);
  }

  .link-card[data-id="certificates"]:hover {
    border-color: rgba(114, 230, 224, 0.7);
    box-shadow: 0 20px 44px -6px rgba(0, 0, 0, 0.75), 0 0 32px rgba(114, 230, 224, 0.4);
  }

  .link-card[data-id="qris"]:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.75), 0 0 28px rgba(245, 158, 11, 0.35);
  }

  .link-card[data-id="order"]:hover {
    border-color: rgba(52, 211, 153, 0.6);
    box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.75), 0 0 28px rgba(16, 185, 129, 0.35);
  }
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--card-border-radius, 22px);
  background: var(--card-highlight-gradient);
  pointer-events: none;
  z-index: 1;
}

.card-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--card-border-radius, 22px);
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 65%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.card-border-highlight {
  position: absolute;
  inset: -1px;
  border-radius: var(--card-border-radius, 22px);
  background: radial-gradient(circle at var(--mouse-card-x, 50%) var(--mouse-card-y, 50%),
      rgba(114, 230, 224, 0.45) 0%,
      transparent 55%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.25s ease;
}

[data-theme="light"] .card-border-highlight {
  background: radial-gradient(circle at var(--mouse-card-x, 50%) var(--mouse-card-y, 50%),
      rgba(14, 155, 148, 0.40) 0%,
      transparent 55%);
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .card-border-highlight {
    opacity: 1;
  }
}

.card-shimmer {
  position: absolute;
  top: -50%;
  left: 0;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 50%,
      transparent 100%);
  transform: translateX(-200%) rotate(25deg);
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  animation: cardShimmerSweep 9s infinite ease-in-out;
}

[data-theme="light"] .card-shimmer {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.35) 50%,
      transparent 100%);
}

@keyframes cardShimmerSweep {

  0%,
  65% {
    transform: translateX(-200%) rotate(25deg);
  }

  100% {
    transform: translateX(350%) rotate(25deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover {
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
  }
}

.link-card:active {
  transform: scale3d(0.985, 0.985, 0.985) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-leading {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--card-leading-bg);
  border: 1px solid var(--card-leading-border);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 3;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .card-leading {
    transform: translateZ(0) scale(1.06);
  }
}

.card-leading-portfolio,
.card-leading-about {
  background: radial-gradient(circle at 40% 40%, rgba(114, 230, 224, 0.16) 0%, rgba(168, 85, 247, 0.08) 60%, rgba(20, 20, 28, 0.6) 100%);
  border: 1px solid rgba(114, 230, 224, 0.3);
  box-shadow: 0 0 16px -2px rgba(114, 230, 224, 0.25), inset 0 0 12px rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: visible;
}

[data-theme="light"] .card-leading-portfolio,
[data-theme="light"] .card-leading-about {
  background: radial-gradient(circle at 40% 40%, rgba(14, 155, 148, 0.14) 0%, rgba(124, 58, 237, 0.08) 60%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(14, 155, 148, 0.3);
}

.portfolio-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
  transform-style: preserve-3d;
}

.portfolio-glow-orb {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.4) 0%, rgba(168, 85, 247, 0.25) 60%, transparent 80%);
  filter: blur(4px);
  animation: pulseOrb 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseOrb {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.portfolio-wire-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

.portfolio-wire-ring.ring-1 {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(114, 230, 224, 0.65);
  border-top-color: #C084FC;
  transform: rotateX(65deg) rotateY(15deg);
  animation: spinRing1 7s linear infinite;
}

.portfolio-wire-ring.ring-2 {
  width: 40px;
  height: 40px;
  border: 1.5px dashed rgba(168, 85, 247, 0.65);
  transform: rotateX(25deg) rotateY(65deg);
  animation: spinRing2 9s linear infinite reverse;
}

.portfolio-wire-ring.ring-3 {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(114, 230, 224, 0.35);
  transform: rotateX(45deg) rotateZ(45deg);
  animation: spinRing3 12s linear infinite;
}

@keyframes spinRing1 {
  0% {
    transform: rotateX(65deg) rotateY(15deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(65deg) rotateY(15deg) rotateZ(360deg);
  }
}

@keyframes spinRing2 {
  0% {
    transform: rotateX(25deg) rotateY(65deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(25deg) rotateY(65deg) rotateZ(360deg);
  }
}

@keyframes spinRing3 {
  0% {
    transform: rotateX(45deg) rotateZ(45deg) rotateY(0deg);
  }

  100% {
    transform: rotateX(45deg) rotateZ(45deg) rotateY(360deg);
  }
}

.portfolio-light-orbit {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRotate 4.5s linear infinite;
}

.portfolio-light-orbit::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #72E6E0;
  box-shadow: 0 0 8px 2px #72E6E0, 0 0 14px #A855F7;
  transform: translate(-50%, -50%);
}

@keyframes orbitRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.portfolio-core-icon {
  position: relative;
  z-index: 2;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(114, 230, 224, 0.5));
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .portfolio-core-icon {
    transform: rotate(8deg) scale(1.12);
    color: #FFF;
  }

  [data-theme="light"] .link-card:hover .portfolio-core-icon {
    color: var(--accent-cyan-hover);
  }

  .link-card:hover .portfolio-wire-ring.ring-1 {
    animation-duration: 3.5s;
  }

  .link-card:hover .portfolio-wire-ring.ring-2 {
    animation-duration: 4.5s;
  }
}

.card-leading-coffee {
  background: radial-gradient(circle at 45% 45%, rgba(245, 158, 11, 0.16) 0%, rgba(114, 230, 224, 0.08) 55%, rgba(20, 20, 28, 0.6) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 16px -2px rgba(245, 158, 11, 0.25), inset 0 0 10px rgba(114, 230, 224, 0.12);
  position: relative;
  overflow: visible;
}

[data-theme="light"] .card-leading-coffee {
  background: radial-gradient(circle at 45% 45%, rgba(245, 158, 11, 0.15) 0%, rgba(14, 155, 148, 0.08) 55%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.coffee-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-glow-halo {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.32) 0%, rgba(114, 230, 224, 0.18) 60%, transparent 80%);
  filter: blur(5px);
  animation: pulseCoffeeHalo 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseCoffeeHalo {
  0% {
    transform: scale(0.9);
    opacity: 0.65;
  }

  100% {
    transform: scale(1.25);
    opacity: 0.95;
  }
}

.coffee-cup-core {
  position: relative;
  z-index: 2;
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatCup 3.5s ease-in-out infinite alternate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.45));
}

@keyframes floatCup {
  0% {
    transform: translateY(1px) rotate(0deg);
  }

  50% {
    transform: translateY(-2px) rotate(-2deg);
  }

  100% {
    transform: translateY(0px) rotate(2deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .coffee-cup-core {
    transform: translateY(-4px) scale(1.1) rotate(5deg);
    color: #FDE68A;
  }
}

.steam-container {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 20px;
  pointer-events: none;
  z-index: 3;
}

.steam-trail {
  position: absolute;
  bottom: 0;
  width: 2.5px;
  border-radius: 9999px;
  background: linear-gradient(to top, rgba(251, 191, 36, 0.8) 0%, rgba(114, 230, 224, 0.7) 60%, transparent 100%);
  filter: blur(0.6px);
  animation: steamRise 2.8s ease-out infinite;
}

.steam-trail.steam-1 {
  left: 5px;
  height: 14px;
  animation-delay: 0s;
}

.steam-trail.steam-2 {
  left: 11px;
  height: 16px;
  animation-delay: 0.85s;
}

.steam-trail.steam-3 {
  left: 17px;
  height: 12px;
  animation-delay: 1.6s;
}

@keyframes steamRise {
  0% {
    transform: translateY(0) scaleX(0.7) scaleY(0.7);
    opacity: 0;
  }

  25% {
    opacity: 0.9;
  }

  65% {
    transform: translateY(-12px) scaleX(1.1) scaleY(1.1) translateX(2px);
    opacity: 0.45;
  }

  100% {
    transform: translateY(-20px) scaleX(1.4) scaleY(1.3) translateX(-3px);
    opacity: 0;
  }
}

.coffee-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.coffee-sparkles .sparkle {
  position: absolute;
  border-radius: 50%;
  background: #FBBF24;
  opacity: 0;
  animation: sparkleTwinkle 3s ease-in-out infinite;
}

.coffee-sparkles .sp-1 {
  top: 10px;
  right: 8px;
  width: 2.5px;
  height: 2.5px;
  animation-delay: 0.3s;
  box-shadow: 0 0 6px #FBBF24;
}

.coffee-sparkles .sp-2 {
  bottom: 10px;
  left: 8px;
  width: 2px;
  height: 2px;
  animation-delay: 1.4s;
  box-shadow: 0 0 5px #72E6E0;
}

.coffee-sparkles .sp-3 {
  top: 18px;
  left: 6px;
  width: 2px;
  height: 2px;
  animation-delay: 2.2s;
  box-shadow: 0 0 5px #FBBF24;
}

@keyframes sparkleTwinkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.3);
  }
}

.card-leading-order {
  background: radial-gradient(circle at 45% 45%, rgba(114, 230, 224, 0.16) 0%, rgba(59, 130, 246, 0.10) 60%, rgba(20, 20, 28, 0.6) 100%);
  border: 1px solid rgba(114, 230, 224, 0.3);
  box-shadow: 0 0 16px -2px rgba(114, 230, 224, 0.25), inset 0 0 10px rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: visible;
}

[data-theme="light"] .card-leading-order {
  background: radial-gradient(circle at 45% 45%, rgba(14, 155, 148, 0.14) 0%, rgba(37, 99, 235, 0.08) 60%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(14, 155, 148, 0.3);
}

.order-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 500px;
  transform-style: preserve-3d;
}

.order-neon-glow {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.4) 0%, rgba(59, 130, 246, 0.25) 60%, transparent 80%);
  filter: blur(4px);
  animation: pulseNeon 3.2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseNeon {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.order-radar-beam {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(114, 230, 224, 0.45);
  animation: radarPulse 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.85;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.order-wire-ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(114, 230, 224, 0.4);
  border-right-color: #3B82F6;
  transform: rotateX(72deg) rotateZ(0deg);
  animation: gyroSpin 5s linear infinite;
  pointer-events: none;
}

@keyframes gyroSpin {
  0% {
    transform: rotateX(72deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(72deg) rotateZ(360deg);
  }
}

.order-light-trail {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRotate 4s linear infinite reverse;
}

.order-light-trail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #72E6E0;
  box-shadow: 0 0 8px 2px #72E6E0;
  transform: translate(-50%, -50%);
}

.order-send-core {
  position: relative;
  z-index: 2;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(114, 230, 224, 0.5));
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .order-send-core {
    transform: translate(3px, -3px) scale(1.15);
    color: #FFF;
  }

  [data-theme="light"] .link-card:hover .order-send-core {
    color: var(--accent-cyan-hover);
  }

  .link-card:hover .order-wire-ring {
    animation-duration: 2.5s;
  }
}

.card-leading-projects {
  position: relative;
  perspective: 600px;
  pointer-events: none;
}

.projects-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  pointer-events: none;
}

.projects-ambient-glow {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.45) 0%, rgba(59, 130, 246, 0.3) 50%, rgba(139, 92, 246, 0.2) 80%, transparent 100%);
  filter: blur(8px);
  pointer-events: none;
  animation: glowPulse 3.5s ease-in-out infinite alternate;
}

.projects-holo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1.5px solid transparent;
}

.projects-holo-ring.ring-outer {
  width: 44px;
  height: 44px;
  border-top-color: #72E6E0;
  border-bottom-color: #8B5CF6;
  transform: rotateX(65deg) rotateY(15deg);
  animation: projectsRingSpin 6s linear infinite;
}

.projects-holo-ring.ring-inner {
  width: 32px;
  height: 32px;
  border-left-color: #3B82F6;
  border-right-color: #A855F7;
  transform: rotateX(-55deg) rotateY(25deg);
  animation: projectsRingSpin 4s linear infinite reverse;
}

@keyframes projectsRingSpin {
  0% {
    transform: rotateX(65deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(65deg) rotateZ(360deg);
  }
}

.projects-light-beam {
  position: absolute;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), #72E6E0, transparent);
  transform: rotate(-35deg);
  filter: drop-shadow(0 0 4px #72E6E0);
  opacity: 0.6;
  pointer-events: none;
  animation: lightBeamSweep 3s ease-in-out infinite alternate;
}

@keyframes lightBeamSweep {
  0% {
    transform: rotate(-35deg) translateY(-8px);
    opacity: 0.3;
  }

  100% {
    transform: rotate(-35deg) translateY(8px);
    opacity: 0.85;
  }
}

.projects-panels-stack {
  position: relative;
  width: 34px;
  height: 30px;
  transform-style: flat;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-mini-panel {
  position: absolute;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-mini-panel.panel-back {
  width: 22px;
  height: 16px;
  top: 3px;
  left: 9px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(99, 102, 241, 0.4));
  transform: rotateZ(8deg) rotateY(12deg);
  border-color: rgba(168, 85, 247, 0.5);
}

.project-mini-panel.panel-mid {
  width: 25px;
  height: 18px;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.65), rgba(14, 165, 233, 0.45));
  transform: rotateZ(-2deg) rotateY(4deg);
  border-color: rgba(96, 165, 250, 0.6);
}

.project-mini-panel.panel-front {
  width: 28px;
  height: 20px;
  top: 9px;
  left: 3px;
  background: linear-gradient(135deg, rgba(114, 230, 224, 0.75), rgba(59, 130, 246, 0.6));
  transform: rotateZ(-8deg) rotateY(-8deg);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(114, 230, 224, 0.4);
  padding: 3px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 4px #FFF;
}

.panel-dot.dot-2 {
  background: #72E6E0;
}

.panel-line {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.panel-line.line-1 {
  width: 75%;
}

.panel-line.line-2 {
  width: 50%;
  background: rgba(114, 230, 224, 0.9);
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .projects-ambient-glow {
    transform: scale(1.3);
    filter: blur(12px);
    background: radial-gradient(circle, rgba(114, 230, 224, 0.7) 0%, rgba(59, 130, 246, 0.5) 50%, rgba(139, 92, 246, 0.35) 80%, transparent 100%);
  }

  .link-card:hover .projects-holo-ring.ring-outer {
    animation-duration: 2.8s;
    border-top-color: #FFF;
    border-bottom-color: #A855F7;
  }

  .link-card:hover .projects-holo-ring.ring-inner {
    animation-duration: 2s;
    border-left-color: #72E6E0;
  }

  .link-card:hover .projects-panels-stack {
    transform: scale(1.12);
  }

  .link-card:hover .project-mini-panel.panel-front {
    transform: rotateZ(-14deg) rotateY(-14deg) translate(-4px, -3px);
    box-shadow: 0 8px 18px rgba(114, 230, 224, 0.6);
    border-color: #FFF;
  }

  .link-card:hover .project-mini-panel.panel-mid {
    transform: rotateZ(5deg) rotateY(10deg) translate(2px, -2px);
  }

  .link-card:hover .project-mini-panel.panel-back {
    transform: rotateZ(18deg) rotateY(22deg) translate(8px, 2px);
  }
}

.projects-sparkles .p-sparkle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 6px 1.5px #72E6E0;
  pointer-events: none;
}

.p-sparkle.p-1 {
  top: 4px;
  right: 4px;
  animation: sparkleBlink 2.2s infinite;
}

.p-sparkle.p-2 {
  bottom: 6px;
  left: 6px;
  animation: sparkleBlink 2.6s infinite 0.8s;
}

.p-sparkle.p-3 {
  bottom: 4px;
  right: 8px;
  animation: sparkleBlink 3s infinite 1.4s;
}

[data-theme="light"] .project-mini-panel.panel-front {
  background: linear-gradient(135deg, rgba(14, 155, 148, 0.85), rgba(37, 99, 235, 0.75));
}

.card-leading-lynk {
  background: radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.24) 0%, rgba(236, 72, 153, 0.12) 60%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(168, 85, 247, 0.42);
  box-shadow: 0 0 16px -2px rgba(168, 85, 247, 0.35), inset 0 0 12px rgba(236, 72, 153, 0.18);
  position: relative;
  overflow: visible;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

[data-theme="light"] .card-leading-lynk {
  background: radial-gradient(circle at 40% 40%, rgba(147, 51, 234, 0.14) 0%, rgba(219, 39, 119, 0.08) 60%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(147, 51, 234, 0.35);
}

.lynk-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.lynk-ambient-glow {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.48) 0%, rgba(236, 72, 153, 0.22) 60%, transparent 80%);
  filter: blur(4px);
  animation: pulseLynkGlow 3.5s ease-in-out infinite alternate;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

@keyframes pulseLynkGlow {
  0% {
    transform: translateZ(0) scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: translateZ(0) scale(1.22);
    opacity: 1;
  }
}

.lynk-orbit-ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px dashed rgba(168, 85, 247, 0.45);
  border-top-color: #E879F9;
  animation: spinRing1 8s linear infinite;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.lynk-light-trail {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRotate 4.5s linear infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.lynk-light-trail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #F0ABFC;
  box-shadow: 0 0 8px 2px #C084FC;
  transform: translate(-50%, -50%);
}

.lynk-core-icon {
  position: relative;
  z-index: 2;
  color: #C084FC;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.55));
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .lynk-core-icon {
    transform: translateZ(0) scale(1.12) rotate(-3deg);
    color: #F0ABFC;
  }

  [data-theme="light"] .link-card:hover .lynk-core-icon {
    color: #7E22CE;
  }

  .link-card:hover .lynk-orbit-ring {
    animation-duration: 4s;
    border-color: rgba(232, 121, 249, 0.7);
  }

  .link-card:hover .lynk-ambient-glow {
    transform: translateZ(0) scale(1.3);
    filter: blur(8px);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.7) 0%, rgba(236, 72, 153, 0.45) 60%, transparent 100%);
  }

  .link-card[data-id="lynk"]:hover .card-title {
    background: linear-gradient(135deg, #FFFFFF 15%, #E879F9 75%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }

  [data-theme="light"] .link-card[data-id="lynk"]:hover .card-title {
    background: linear-gradient(135deg, #0D0D11 15%, #9333EA 75%, #7E22CE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }
}

.lynk-sparkles .l-sparkle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 6px 1.5px #E879F9;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.l-sparkle.l-1 {
  top: 4px;
  right: 5px;
  animation: sparkleBlink 2.4s infinite;
}

.l-sparkle.l-2 {
  bottom: 5px;
  left: 5px;
  animation: sparkleBlink 2.8s infinite 1s;
}

.card-leading-ulasin {
  background: radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.20) 0%, rgba(37, 99, 235, 0.10) 60%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 16px -2px rgba(59, 130, 246, 0.3), inset 0 0 12px rgba(37, 99, 235, 0.15);
  position: relative;
  overflow: visible;
}

[data-theme="light"] .card-leading-ulasin {
  background: radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.14) 0%, rgba(59, 130, 246, 0.08) 60%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.ulasin-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ulasin-ambient-glow {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(37, 99, 235, 0.2) 60%, transparent 80%);
  filter: blur(4px);
  animation: pulseUlasinGlow 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseUlasinGlow {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.ulasin-scan-ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px dashed rgba(59, 130, 246, 0.45);
  border-top-color: #60A5FA;
  animation: spinRing1 8s linear infinite;
  pointer-events: none;
}

.ulasin-light-trail {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRotate 4.5s linear infinite;
}

.ulasin-light-trail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #60A5FA;
  box-shadow: 0 0 8px 2px #3B82F6;
  transform: translate(-50%, -50%);
}

.ulasin-core-icon {
  position: relative;
  z-index: 2;
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .ulasin-core-icon {
    transform: scale(1.12) rotate(4deg);
    color: #93C5FD;
  }

  [data-theme="light"] .link-card:hover .ulasin-core-icon {
    color: #1D4ED8;
  }

  .link-card:hover .ulasin-scan-ring {
    animation-duration: 4s;
    border-color: rgba(96, 165, 250, 0.7);
  }

  .link-card:hover .ulasin-ambient-glow {
    transform: scale(1.3);
    filter: blur(8px);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.65) 0%, rgba(37, 99, 235, 0.4) 60%, transparent 100%);
  }

  .link-card[data-id="ulasin"]:hover .card-title {
    background: linear-gradient(135deg, #FFFFFF 15%, #60A5FA 75%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }

  [data-theme="light"] .link-card[data-id="ulasin"]:hover .card-title {
    background: linear-gradient(135deg, #0D0D11 15%, #2563EB 75%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }
}

.ulasin-sparkles .u-sparkle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 6px 1.5px #60A5FA;
  pointer-events: none;
}

.u-sparkle.u-1 {
  top: 4px;
  right: 5px;
  animation: sparkleBlink 2.4s infinite;
}

.u-sparkle.u-2 {
  bottom: 5px;
  left: 5px;
  animation: sparkleBlink 2.8s infinite 1s;
}

.card-leading-taman {
  background: radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.12) 60%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(245, 158, 11, 0.38);
  box-shadow: 0 0 16px -2px rgba(245, 158, 11, 0.32), inset 0 0 12px rgba(217, 119, 6, 0.18);
  position: relative;
  overflow: visible;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

[data-theme="light"] .card-leading-taman {
  background: radial-gradient(circle at 40% 40%, rgba(217, 119, 6, 0.14) 0%, rgba(245, 158, 11, 0.08) 60%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.taman-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.taman-ambient-glow {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.48) 0%, rgba(217, 119, 6, 0.22) 60%, transparent 80%);
  filter: blur(4px);
  animation: pulseLanternGlow 3.5s ease-in-out infinite alternate;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

@keyframes pulseLanternGlow {
  0% {
    transform: translateZ(0) scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: translateZ(0) scale(1.22);
    opacity: 1;
  }
}

.taman-orbit-ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px dashed rgba(245, 158, 11, 0.45);
  border-top-color: #FBBF24;
  animation: spinRing1 8s linear infinite;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.taman-light-trail {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRotate 4.5s linear infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.taman-light-trail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #FDE047;
  box-shadow: 0 0 8px 2px #F59E0B;
  transform: translate(-50%, -50%);
}

.taman-core-icon {
  position: relative;
  z-index: 2;
  color: #FBBF24;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.55));
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .taman-core-icon {
    transform: translateZ(0) scale(1.12) translateY(-2px);
    color: #FDE047;
  }

  [data-theme="light"] .link-card:hover .taman-core-icon {
    color: #B45309;
  }

  .link-card:hover .taman-orbit-ring {
    animation-duration: 4s;
    border-color: rgba(251, 191, 36, 0.7);
  }

  .link-card:hover .taman-ambient-glow {
    transform: translateZ(0) scale(1.3);
    filter: blur(8px);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.7) 0%, rgba(217, 119, 6, 0.45) 60%, transparent 100%);
  }

  .link-card[data-id="taman-kenangan"]:hover .card-title {
    background: linear-gradient(135deg, #FFFFFF 15%, #FBBF24 75%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }

  [data-theme="light"] .link-card[data-id="taman-kenangan"]:hover .card-title {
    background: linear-gradient(135deg, #0D0D11 15%, #D97706 75%, #B45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }
}

.taman-sparkles .t-sparkle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 6px 1.5px #FBBF24;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.t-sparkle.t-1 {
  top: 4px;
  right: 5px;
  animation: sparkleBlink 2.4s infinite;
}

.t-sparkle.t-2 {
  bottom: 5px;
  left: 5px;
  animation: sparkleBlink 2.8s infinite 1s;
}

.card-leading-certs {
  background: radial-gradient(circle at 40% 40%, rgba(114, 230, 224, 0.22) 0%, rgba(2, 132, 199, 0.12) 60%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(114, 230, 224, 0.38);
  box-shadow: 0 0 16px -2px rgba(114, 230, 224, 0.32), inset 0 0 12px rgba(2, 132, 199, 0.18);
  position: relative;
  overflow: visible;
}

[data-theme="light"] .card-leading-certs {
  background: radial-gradient(circle at 40% 40%, rgba(14, 155, 148, 0.16) 0%, rgba(2, 132, 199, 0.08) 60%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(14, 155, 148, 0.32);
}

.certs-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.certs-ambient-glow {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.48) 0%, rgba(2, 132, 199, 0.22) 60%, transparent 80%);
  filter: blur(4px);
  animation: pulseCertsGlow 3.6s ease-in-out infinite alternate;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform, opacity;
}

@keyframes pulseCertsGlow {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.22);
    opacity: 1;
  }
}

.certs-scan-ring {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px dashed rgba(114, 230, 224, 0.45);
  border-top-color: #72E6E0;
  border-bottom-color: #38BDF8;
  animation: spinRing1 7.5s linear infinite;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.certs-light-trail {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  pointer-events: none;
  animation: orbitRotate 4.2s linear infinite reverse;
  transform: translateZ(0);
  will-change: transform;
}

.certs-light-trail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #72E6E0;
  box-shadow: 0 0 8px 2px #72E6E0, 0 0 12px #38BDF8;
  transform: translate(-50%, -50%);
}

.certs-core-icon {
  position: relative;
  z-index: 2;
  color: #72E6E0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(114, 230, 224, 0.55));
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .certs-core-icon {
    transform: scale(1.14) rotate(-3deg);
    color: #FFFFFF;
  }

  [data-theme="light"] .link-card:hover .certs-core-icon {
    color: #0E9B94;
  }

  .link-card:hover .certs-scan-ring {
    animation-duration: 3.8s;
    border-color: rgba(114, 230, 224, 0.85);
  }

  .link-card:hover .certs-ambient-glow {
    transform: scale(1.35);
    filter: blur(8px);
    background: radial-gradient(circle, rgba(114, 230, 224, 0.7) 0%, rgba(2, 132, 199, 0.45) 60%, transparent 100%);
  }

  .link-card[data-id="certificates"]:hover .card-title {
    background: linear-gradient(135deg, #FFFFFF 15%, #72E6E0 75%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }

  [data-theme="light"] .link-card[data-id="certificates"]:hover .card-title {
    background: linear-gradient(135deg, #0D0D11 15%, #0E9B94 75%, #0284C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }
}

.certs-sparkles .c-sparkle {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 6px 1.5px #72E6E0;
  pointer-events: none;
}

.c-sparkle.c-1 {
  top: 4px;
  left: 5px;
  animation: sparkleBlink 2.5s infinite;
}

.c-sparkle.c-2 {
  bottom: 5px;
  right: 5px;
  animation: sparkleBlink 2.9s infinite 1.1s;
}

.card-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 14px 0 12px;
  text-align: left;
  transform: none;
  z-index: 3;
  pointer-events: none;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 2px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-pill-text);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .link-card:hover .card-title {
    background: linear-gradient(135deg, #FFFFFF 15%, #72E6E0 75%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }

  [data-theme="light"] .link-card:hover .card-title {
    background: linear-gradient(135deg, #0D0D11 15%, #0E9B94 75%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(3px);
  }
}

.card-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-color: var(--card-badge-bg);
  color: var(--card-badge-text);
  border: 1px solid var(--border-subtle);
}

.card-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(16, 185, 129, 0.16);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .card-badge-live {
  background-color: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-live-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 6px #34D399;
  animation: badgeLivePulse 2s ease-in-out infinite;
}

@keyframes badgeLivePulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.card-description {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-pill-subtext);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.card-menu-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--card-menu-btn-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-right: 2px;
  position: relative;
  z-index: 4;
  transform: none;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .card-menu-btn:hover {
    background-color: var(--card-menu-btn-hover-bg);
    color: var(--color-pill-text);
    transform: scale(1.1);
  }
}

.card-menu-btn:active {
  transform: scale(0.92);
}

.noscript-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.fallback-link {
  display: block;
  padding: 16px 24px;
  background: #FFFFFF;
  color: #111111;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}

.socials-section {
  width: 100%;
  margin-top: 34px;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.socials-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: var(--social-container-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: border-color var(--transition-fast);
}

.socials-container:hover {
  border-color: var(--accent-cyan);
}

.social-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--social-link-color);
  background: var(--social-link-bg);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.social-link:hover {
  background: var(--card-menu-btn-hover-bg);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35), 0 0 12px var(--accent-cyan-glow);
}

.social-link:active {
  transform: translateY(0) scale(0.95);
}

.social-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--modal-input-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

.social-item:hover .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.7s forwards;
}

.footer-separator {
  color: var(--border-subtle);
}

.footer-note {
  color: var(--text-muted);
}

.link-popover {
  position: absolute;
  z-index: 1000;
  min-width: 190px;
  background: var(--popover-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--popover-border);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.45), inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  padding: 6px;
  transform-origin: top right;
  animation: popoverScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popoverScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(-6px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popover-header {
  padding: 8px 12px 6px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.popover-link-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.popover-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.popover-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.popover-item:hover {
  background: var(--card-menu-btn-hover-bg);
  color: var(--accent-cyan);
}

.popover-item svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeIn 0.25s ease forwards;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--modal-card-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--modal-card-border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--top-nav-btn-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.modal-close-btn:hover {
  background: var(--card-menu-btn-hover-bg);
  color: var(--text-primary);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--modal-input-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--modal-input-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.modal-btn-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 9999px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 10px 24px var(--accent-cyan-glow);
}

.modal-btn-primary:active {
  transform: scale(0.98);
}

.modal-footer-tip {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--top-nav-btn-bg);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal-footer-tip code {
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.76rem;
}

.modal-qris-card {
  max-width: 440px;
  text-align: center;
}

.qris-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 12px 0 20px;
  min-height: 290px;
}

.qris-frame {
  width: 100%;
  max-width: 290px;
  background: #FFFFFF;
  padding: 14px;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  user-select: none;
}

.qris-frame:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(114, 230, 224, 0.28);
}

.qris-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.qris-fallback {
  padding: 32px 20px;
  border-radius: 18px;
  background: var(--modal-input-bg);
  border: 1px dashed var(--border-subtle);
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.qris-fallback-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.qris-fallback-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.qris-fallback-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.qris-fallback-text code {
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

.qris-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.qris-actions .modal-btn-primary {
  flex: 1.3;
}

.modal-btn-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 9999px;
  background: var(--modal-input-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-btn-secondary:hover {
  background: var(--card-menu-btn-hover-bg);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.modal-btn-secondary:active {
  transform: scale(0.98);
}

.share-url-box {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.share-url-box input {
  flex: 1;
  background: var(--modal-input-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-secondary);
  font-family: monospace;
  font-size: 0.85rem;
}

.modal-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-btn-copy:hover {
  background: var(--accent-cyan);
  color: #000000;
}

.quick-share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-share-btn {
  padding: 12px;
  border-radius: 12px;
  background: var(--modal-input-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.projects-gallery-overlay {
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

[data-theme="light"] .projects-gallery-overlay {
  background: rgba(230, 235, 245, 0.82);
}

.gallery-sheet-card {
  position: relative;
  width: 100%;
  max-width: 1060px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: rgba(14, 16, 22, 0.78);
  border: 1px solid rgba(114, 230, 224, 0.22);
  border-radius: 28px;
  box-shadow: 0 28px 65px -15px rgba(0, 0, 0, 0.75), 0 0 35px -5px rgba(114, 230, 224, 0.15);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  overflow: hidden;
  animation: modalScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="light"] .gallery-sheet-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(14, 155, 148, 0.25);
  box-shadow: 0 28px 65px -15px rgba(0, 0, 0, 0.12), 0 0 25px rgba(14, 155, 148, 0.1);
}

.gallery-glow-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(65px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

.gallery-glow-orb.orb-top-left {
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, #72E6E0 0%, #3B82F6 60%, transparent 100%);
}

.gallery-glow-orb.orb-bottom-right {
  bottom: -90px;
  right: -90px;
  background: radial-gradient(circle, #8B5CF6 0%, #EC4899 60%, transparent 100%);
}

.gallery-top-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .gallery-top-bar {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.gallery-header-meta {
  flex: 1;
}

.gallery-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.28);
  color: var(--accent-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gallery-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}

.gallery-main-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.gallery-main-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.gallery-close-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-close-action-btn:hover {
  background: rgba(114, 230, 224, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

[data-theme="light"] .gallery-close-action-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .gallery-close-action-btn:hover {
  background: rgba(14, 155, 148, 0.12);
  border-color: var(--accent-cyan-hover);
  color: var(--accent-cyan-hover);
}

.gallery-filters-container {
  position: relative;
  z-index: 5;
  padding: 14px 28px 4px;
}

.gallery-filters-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.gallery-filters-scroll::-webkit-scrollbar {
  display: none;
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, rgba(114, 230, 224, 0.22), rgba(59, 130, 246, 0.22));
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(114, 230, 224, 0.2);
}

[data-theme="light"] .filter-pill-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .filter-pill-btn.active {
  background: linear-gradient(135deg, rgba(14, 155, 148, 0.15), rgba(37, 99, 235, 0.12));
  border-color: var(--accent-cyan-hover);
  color: var(--accent-cyan-hover);
}

.filter-pill-count {
  padding: 1px 6px;
  border-radius: 9999px;
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.filter-pill-btn.active .filter-pill-count {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 700;
}

[data-theme="light"] .filter-pill-btn.active .filter-pill-count {
  background: var(--accent-cyan-hover);
  color: #FFF;
}

.gallery-body-area {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px 24px;
  overscroll-behavior: contain;
}

.projects-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-card {
  position: relative;
  border-radius: 20px;
  perspective: 900px;
  cursor: pointer;
  outline: none;
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.project-card:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-cyan);
}

.project-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover .project-card-inner {
  border-color: rgba(114, 230, 224, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(114, 230, 224, 0.2);
}

[data-theme="light"] .project-card-inner {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .project-card:hover .project-card-inner {
  border-color: rgba(14, 155, 148, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.12), 0 0 20px rgba(14, 155, 148, 0.15);
}

.project-card-glare {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
  transition: opacity 0.25s ease;
}

.project-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0D0F14;
  overflow: hidden;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.project-card:hover .project-thumb-img {
  transform: scale(1.06);
}

.project-thumb-img.img-fallback {
  opacity: 0.4;
  filter: grayscale(80%);
}

.project-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.25);
  pointer-events: none;
}

.project-media-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(14, 16, 22, 0.95) 0%, transparent 100%);
  pointer-events: none;
}

[data-theme="light"] .project-media-gradient {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

.project-badges-strip {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
}

.project-category-badge {
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-status-badge {
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.project-status-badge.status-live {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34D399;
}

.project-status-badge.status-repo {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #60A5FA;
}

.project-status-badge.status-ai {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.5);
  color: #C084FC;
}

.project-status-badge.status-iot {
  background: rgba(114, 230, 224, 0.2);
  border: 1px solid rgba(114, 230, 224, 0.5);
  color: #72E6E0;
}

.project-status-badge.status-infra {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FBBF24;
}

.project-micro-3d {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(10, 14, 20, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.project-card:hover .project-micro-3d {
  transform: translateZ(16px) scale(1.1);
  border-color: var(--accent-cyan);
}

.visual-sikudi .qr-holo-matrix {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
}

.visual-sikudi .matrix-cell {
  width: 4px;
  height: 4px;
  background: #72E6E0;
  border-radius: 1px;
}

.visual-sikudi .qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFF, #72E6E0, transparent);
  box-shadow: 0 0 6px #72E6E0;
  animation: qrScan 2.4s ease-in-out infinite;
}

@keyframes qrScan {
  0% {
    top: 4px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    top: 36px;
    opacity: 0;
  }
}

.visual-nas .storage-cube {
  position: relative;
  width: 18px;
  height: 18px;
  transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(45deg);
  animation: cubeBob 3s ease-in-out infinite alternate;
}

.visual-nas .cube-face {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.visual-nas .face-front {
  background: rgba(245, 158, 11, 0.7);
  transform: translateZ(7px);
}

.visual-nas .face-top {
  background: rgba(251, 191, 36, 0.85);
  transform: rotateX(90deg) translateZ(7px);
}

.visual-nas .face-right {
  background: rgba(217, 119, 6, 0.6);
  transform: rotateY(90deg) translateZ(7px);
}

.visual-nas .data-orbit-ring {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.6);
  animation: orbitRotate 4s linear infinite;
}

.visual-nas .data-node {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 0 6px #F59E0B;
  transform: translate(-50%, -50%);
}

@keyframes cubeBob {
  0% {
    transform: rotateX(60deg) rotateZ(45deg) translateY(-2px);
  }

  100% {
    transform: rotateX(60deg) rotateZ(45deg) translateY(2px);
  }
}

.visual-localink .iot-wave {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(114, 230, 224, 0.5);
  animation: waveExpand 2.2s ease-out infinite;
}

.visual-localink .wave-1 {
  width: 18px;
  height: 18px;
}

.visual-localink .wave-2 {
  width: 30px;
  height: 30px;
  animation-delay: 0.9s;
}

.visual-localink .iot-network-nodes {
  position: relative;
  width: 24px;
  height: 24px;
}

.visual-localink .node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72E6E0;
  box-shadow: 0 0 6px #72E6E0;
}

.visual-localink .n-center {
  top: 9px;
  left: 9px;
  width: 6px;
  height: 6px;
  background: #FFF;
}

.visual-localink .n-left {
  top: 3px;
  left: 2px;
}

.visual-localink .n-right {
  bottom: 3px;
  right: 2px;
}

@keyframes waveExpand {
  0% {
    transform: scale(0.4);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.visual-beliaza .inventory-crate {
  position: relative;
  width: 18px;
  height: 18px;
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(35deg);
  animation: crateFloat 2.8s ease-in-out infinite alternate;
}

.visual-beliaza .crate-face {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.visual-beliaza .cr-front {
  background: rgba(59, 130, 246, 0.7);
  transform: translateZ(7px);
}

.visual-beliaza .cr-top {
  background: rgba(96, 165, 250, 0.85);
  transform: rotateX(90deg) translateZ(7px);
}

.visual-beliaza .cr-side {
  background: rgba(37, 99, 235, 0.6);
  transform: rotateY(90deg) translateZ(7px);
}

.visual-beliaza .stock-pulse-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
}

.visual-beliaza .stock-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60A5FA;
  box-shadow: 0 0 6px #60A5FA;
  animation: sparkleBlink 1.8s infinite;
}

@keyframes crateFloat {
  0% {
    transform: rotateX(55deg) rotateZ(35deg) translateY(-2px);
  }

  100% {
    transform: rotateX(55deg) rotateZ(35deg) translateY(2px);
  }
}

.visual-ifbara .ai-core-orb {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF 0%, #C084FC 50%, #8B5CF6 100%);
  box-shadow: 0 0 10px #C084FC;
  animation: glowPulse 2s ease-in-out infinite alternate;
}

.visual-ifbara .ai-neural-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192, 132, 252, 0.6);
}

.visual-ifbara .ring-a {
  width: 26px;
  height: 26px;
  border-top-color: #FFF;
  animation: projectsRingSpin 4s linear infinite;
}

.visual-ifbara .ring-b {
  width: 32px;
  height: 32px;
  border-left-color: #72E6E0;
  animation: projectsRingSpin 3s linear infinite reverse;
}

.visual-portfolio .browser-glass-frame {
  width: 26px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.visual-portfolio .browser-dot-row {
  display: flex;
  gap: 2px;
}

.visual-portfolio .b-dot {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #72E6E0;
}

.visual-portfolio .browser-floating-layer {
  height: 3px;
  border-radius: 1px;
  background: rgba(114, 230, 224, 0.8);
}

.visual-portfolio .layer-2 {
  width: 60%;
  background: rgba(255, 255, 255, 0.7);
}

.project-info-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.project-card:hover .project-title {
  color: var(--accent-cyan);
}

.project-summary {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.tech-tag {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
}

[data-theme="light"] .tech-tag {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #4B5563;
}

.tech-tag.tech-more {
  background: rgba(114, 230, 224, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(114, 230, 224, 0.25);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .project-card-footer {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.btn-project-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-project-detail:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateX(2px);
}

[data-theme="light"] .btn-project-detail {
  background: rgba(14, 155, 148, 0.1);
  border-color: rgba(14, 155, 148, 0.3);
  color: var(--accent-cyan-hover);
}

[data-theme="light"] .btn-project-detail:hover {
  background: var(--accent-cyan-hover);
  color: #FFF;
}

.project-quick-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quick-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.quick-link-btn:hover {
  background: rgba(114, 230, 224, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

[data-theme="light"] .quick-link-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.projects-empty-state {
  padding: 48px 20px;
  text-align: center;
}

.empty-icon-wrap {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.empty-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.gallery-bottom-status {
  padding: 14px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 12, 18, 0.5);
}

[data-theme="light"] .gallery-bottom-status {
  background: rgba(240, 243, 250, 0.6);
  border-top-color: rgba(0, 0, 0, 0.06);
}

.gallery-footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-footer-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.gallery-footer-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.project-detail-overlay {
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.project-detail-dialog-card {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  background: rgba(14, 16, 22, 0.88);
  border: 1px solid rgba(114, 230, 224, 0.28);
  border-radius: 28px;
  box-shadow: 0 32px 75px -15px rgba(0, 0, 0, 0.85), 0 0 40px rgba(114, 230, 224, 0.18);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  overflow-y: auto;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="light"] .project-detail-dialog-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 155, 148, 0.3);
  box-shadow: 0 32px 75px -15px rgba(0, 0, 0, 0.18), 0 0 30px rgba(14, 155, 148, 0.12);
}

.detail-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.detail-close-btn:hover {
  background: rgba(114, 230, 224, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

[data-theme="light"] .detail-close-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
  padding: 32px;
}

.detail-media-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0B0D12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 18, 0.8) 0%, transparent 60%);
}

.detail-tags-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.detail-badge-cat {
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 600;
}

.detail-badge-status {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-meta-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[data-theme="light"] .detail-meta-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.07);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.meta-label {
  color: var(--text-secondary);
}

.meta-val {
  color: var(--text-primary);
  font-weight: 600;
}

.detail-info-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-heading-group {
  padding-right: 32px;
}

.detail-project-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.detail-project-lead {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
  line-height: 1.45;
}

[data-theme="light"] .detail-project-lead {
  color: var(--accent-cyan-hover);
}

.detail-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-block-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.detail-block-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.detail-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tech-chip {
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.08);
  border: 1px solid rgba(114, 230, 224, 0.22);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
}

[data-theme="light"] .tech-chip {
  background: rgba(14, 155, 148, 0.08);
  border-color: rgba(14, 155, 148, 0.22);
  color: var(--text-primary);
}

.detail-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .detail-footer-actions {
  border-top-color: rgba(0, 0, 0, 0.07);
}

.detail-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.detail-action-btn.btn-demo {
  background: var(--accent-cyan);
  color: #000;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 4px 16px rgba(114, 230, 224, 0.35);
}

.detail-action-btn.btn-demo:hover {
  background: var(--accent-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 230, 224, 0.5);
}

.detail-action-btn.btn-repo {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-action-btn.btn-repo:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.detail-action-btn.btn-back-gallery {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.detail-action-btn.btn-back-gallery:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .detail-action-btn.btn-demo {
  background: var(--accent-cyan-hover);
  color: #FFF;
}

[data-theme="light"] .detail-action-btn.btn-repo {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 3000;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-container.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.toast-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 9999px;
  background: var(--toast-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--toast-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 16px var(--accent-cyan-glow);
  color: var(--toast-text);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -16px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 900px) {
  .projects-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .detail-heading-group {
    padding-right: 0;
  }

  .project-detail-dialog-card {
    max-width: 640px;
  }
}

@media (max-width: 680px) {
  :root {
    --card-gap: var(--card-gap-mobile, 12px);
    --bg-height: var(--bg-height-mobile, 300px);
    --card-border-radius: 9999px;
  }

  body {
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: block;
  }

  .page-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
  }

  .cinematic-bg-container {
    height: var(--bg-height-mobile, 300px);
    border-radius: 0;
  }

  .top-nav {
    max-width: 100%;
    padding: 18px 14px 6px;
  }

  @media (max-width: 480px) {
    .top-nav {
      padding: 14px 12px 6px;
      gap: 6px;
    }

    .top-nav-left-group {
      gap: 6px;
    }

    .nav-action-btn {
      width: 36px;
      height: 36px;
    }

    .nav-lang-pill {
      height: 36px;
      padding: 0 9px;
      font-size: 0.68rem;
      gap: 3px;
    }

    .nav-center-pill {
      padding: 5px 10px;
      font-size: 0.72rem;
      gap: 6px;
    }

    .cmd-k-badge {
      display: none;
    }
  }

  .content-card {
    max-width: 100%;
    padding: 0 16px 36px;
  }

  .links-container {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--card-gap-mobile, 12px) !important;
  }

  .link-card-wrapper {
    grid-column: auto !important;
  }

  .avatar-container {
    width: 92px;
    height: 92px;
    margin-bottom: 14px;
  }

  .profile-avatar,
  .avatar-fallback {
    width: 92px;
    height: 92px;
  }

  .profile-username {
    font-size: 1.4rem;
  }

  .profile-bio {
    font-size: 0.86rem;
    padding: 0 8px;
  }

  .link-card {
    border-radius: 9999px !important;
    min-height: var(--pill-height-mobile, 56px);
    padding: 6px 10px 6px 10px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .card-leading {
    width: 44px;
    height: 44px;
  }

  .card-content {
    padding: 0 10px 0 10px;
  }

  .card-title {
    font-size: 0.96rem;
  }

  .card-description {
    font-size: 0.76rem;
  }

  .card-badge {
    font-size: 0.6rem;
    padding: 1px 6px;
  }

  .card-menu-btn {
    width: 38px;
    height: 38px;
  }

  .socials-container {
    padding: 6px 14px;
    gap: 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .modal-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .projects-gallery-overlay {
    padding: 8px;
  }

  .gallery-sheet-card {
    max-height: 94vh;
    border-radius: 20px;
  }

  .gallery-top-bar {
    padding: 16px 16px 12px;
  }

  .gallery-main-title {
    font-size: 1.35rem;
  }

  .gallery-main-subtitle {
    font-size: 0.82rem;
  }

  .gallery-filters-container {
    padding: 10px 16px 4px;
  }

  .gallery-body-area {
    padding: 12px 16px 20px;
  }

  .projects-grid-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-detail-overlay {
    padding: 8px;
  }

  .project-detail-dialog-card {
    max-height: 94vh;
    border-radius: 20px;
  }

  .project-detail-grid {
    padding: 20px 16px;
    gap: 16px;
  }

  .detail-project-title {
    font-size: 1.45rem;
  }

  .detail-close-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 360px) {
  .page-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-description {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .blob-1,
  .blob-2,
  .blob-3,
  .blob-4,
  .blob-5 {
    animation: none !important;
  }

  .avatar-container {
    animation: none !important;
  }

  .cursor-glow {
    display: none !important;
  }

  .portfolio-wire-ring,
  .portfolio-light-orbit,
  .portfolio-glow-orb,
  .steam-trail,
  .coffee-sparkles .sparkle,
  .coffee-cup-core,
  .order-radar-beam,
  .order-wire-ring,
  .order-light-trail,
  .card-shimmer,
  .projects-holo-ring,
  .projects-light-beam,
  .projects-ambient-glow,
  .projects-sparkles .p-sparkle,
  .qr-scan-line,
  .storage-cube,
  .data-orbit-ring,
  .iot-wave,
  .inventory-crate,
  .ai-neural-ring,
  .ai-core-orb,
  .sphere-axis,
  .sphere-orbit-ring,
  .welcome-cyber-grid,
  .cyber-light-beam,
  .wordmark-light-sweep {
    animation: none !important;
  }
}

html.skip-welcome-initial #welcome-screen {
  display: none !important;
}

html:not(.welcome-finished):not(.skip-welcome-initial) .page-wrapper,
html:not(.welcome-finished):not(.skip-welcome-initial) .background-container {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.welcome-finished .page-wrapper,
html.skip-welcome-initial .page-wrapper {
  visibility: visible !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html.welcome-finished .background-container,
html.skip-welcome-initial .background-container {
  visibility: visible !important;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  background-color: #06070a !important;
  color-scheme: dark !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.55s;
}

.welcome-screen.exiting {
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  visibility: hidden;
}

.welcome-screen.hidden {
  display: none !important;
}

.welcome-3d-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 800px;
  transform-style: preserve-3d;
  z-index: 1;
}

.welcome-3d-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, #06070a 92%);
  pointer-events: none;
  z-index: 2;
}

.welcome-cyber-grid {
  position: absolute;
  bottom: -20%;
  left: -50%;
  width: 200%;
  height: 100%;
  background-image:
    linear-gradient(rgba(114, 230, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 230, 224, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(74deg);
  transform-origin: 50% 100%;
  pointer-events: none;
  animation: cyberGridDrift 14s linear infinite;
}

@keyframes cyberGridDrift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 50px;
  }
}

.welcome-wireframe-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  margin-left: -190px;
  margin-top: -190px;
  transform-style: preserve-3d;
  opacity: 0.30;
  animation: wireframeSphereSpin 32s linear infinite;
  pointer-events: none;
}

.sphere-axis {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(114, 230, 224, 0.45);
}

.sphere-axis.axis-lat-1 {
  transform: rotateX(75deg);
  border-color: rgba(114, 230, 224, 0.5);
}

.sphere-axis.axis-lat-2 {
  transform: rotateX(45deg);
  border-color: rgba(168, 85, 247, 0.4);
}

.sphere-axis.axis-long-1 {
  transform: rotateY(45deg);
  border-color: rgba(59, 130, 246, 0.45);
}

.sphere-axis.axis-long-2 {
  transform: rotateY(90deg);
  border-color: rgba(114, 230, 224, 0.35);
}

.sphere-orbit-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px dashed rgba(114, 230, 224, 0.3);
  transform: rotateX(65deg) rotateY(25deg);
  animation: orbitRingSpin 18s linear infinite;
}

.sphere-orbit-ring.ring-2 {
  inset: -40px;
  border: 1px dotted rgba(168, 85, 247, 0.35);
  transform: rotateX(-55deg) rotateY(-35deg);
  animation: orbitRingSpin 14s linear infinite reverse;
}

.sphere-core-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.7) 0%, rgba(168, 85, 247, 0.3) 60%, transparent 100%);
  filter: blur(10px);
  animation: coreGlowPulse 3s ease-in-out infinite alternate;
}

@keyframes wireframeSphereSpin {
  0% {
    transform: perspective(800px) rotateX(20deg) rotateY(0deg);
  }

  100% {
    transform: perspective(800px) rotateX(20deg) rotateY(360deg);
  }
}

@keyframes orbitRingSpin {
  0% {
    transform: rotateX(65deg) rotateY(25deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(65deg) rotateY(25deg) rotateZ(360deg);
  }
}

@keyframes coreGlowPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.25);
    opacity: 0.9;
  }
}

.welcome-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}

.welcome-glow-orb.glow-cyan {
  top: 10%;
  left: 10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.22) 0%, transparent 70%);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.welcome-glow-orb.glow-violet {
  bottom: 10%;
  right: 10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 70%);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

.welcome-glow-orb.glow-blue {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 70%);
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(25px, -25px);
  }
}

.cyber-light-beam {
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(114, 230, 224, 0.8), transparent);
  filter: drop-shadow(0 0 6px #72E6E0);
  opacity: 0.5;
  pointer-events: none;
}

.cyber-light-beam.beam-1 {
  top: 25%;
  left: -120px;
  animation: beamFlight1 7s ease-in-out infinite;
}

.cyber-light-beam.beam-2 {
  top: 75%;
  right: -120px;
  transform: rotate(180deg);
  animation: beamFlight2 9s ease-in-out infinite 2s;
}

@keyframes beamFlight1 {
  0% {
    transform: translateX(0) scaleX(0.6);
    opacity: 0;
  }

  20% {
    opacity: 0.7;
  }

  80% {
    opacity: 0.7;
  }

  100% {
    transform: translateX(110vw) scaleX(1.4);
    opacity: 0;
  }
}

@keyframes beamFlight2 {
  0% {
    transform: rotate(180deg) translateX(0) scaleX(0.6);
    opacity: 0;
  }

  20% {
    opacity: 0.7;
  }

  80% {
    opacity: 0.7;
  }

  100% {
    transform: rotate(180deg) translateX(110vw) scaleX(1.4);
    opacity: 0;
  }
}

.welcome-top-bar {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  pointer-events: auto;
}

.welcome-system-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #64748B;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.system-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #72E6E0;
  box-shadow: 0 0 8px #72E6E0;
  animation: systemDotPulse 2s ease-in-out infinite;
}

@keyframes systemDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.skip-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-intro-btn:hover {
  background: rgba(114, 230, 224, 0.15);
  border-color: rgba(114, 230, 224, 0.45);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(114, 230, 224, 0.3);
  transform: translateY(-1px);
}

.skip-intro-btn:active {
  transform: translateY(0) scale(0.96);
}

.skip-key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 5px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #94A3B8;
}

.welcome-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.welcome-branding-header {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-wordmark-container {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  overflow: hidden;
  border-radius: 8px;
  padding: 2px 10px;
}

.welcome-wordmark {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  background: linear-gradient(135deg, #FFFFFF 20%, #72E6E0 65%, #C084FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(114, 230, 224, 0.35));
  line-height: 1.1;
  display: inline-block;
}

.wordmark-light-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-150%) skewX(-25deg);
  will-change: transform;
  animation: wordmarkSweep 4s ease-in-out infinite 1s;
}

@keyframes wordmarkSweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }

  35%,
  100% {
    transform: translateX(250%) skewX(-25deg);
  }
}

.welcome-headline {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #94A3B8;
  text-transform: uppercase;
  margin: 4px 0 2px 0;
}

.welcome-subheadline {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  color: #CBD5E1;
  margin: 3px 0 8px 0;
  min-height: 1.4em;
}

.welcome-tagline-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 500;
}

.tagline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #A855F7;
  box-shadow: 0 0 6px #A855F7;
}

.welcome-terminal-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 55px -10px rgba(0, 0, 0, 0.75),
    0 0 35px -5px rgba(114, 230, 224, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

.welcome-terminal-card.terminal-ready {
  box-shadow:
    0 24px 55px -10px rgba(0, 0, 0, 0.75),
    0 0 45px rgba(114, 230, 224, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.terminal-glass-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 100%);
  pointer-events: none;
}

.terminal-glass-shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(114, 230, 224, 0.1) 0%, transparent 60%);
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(16, 19, 28, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.term-dot.dot-close {
  background-color: #EF4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.term-dot.dot-min {
  background-color: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.term-dot.dot-max {
  background-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.terminal-titlebar-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.terminal-icon {
  color: #72E6E0;
}

.term-identity {
  color: #72E6E0;
  font-weight: 600;
}

.term-sep {
  color: #64748B;
}

.term-dir {
  color: #C084FC;
  font-weight: 600;
}

.terminal-status-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C084FC;
  box-shadow: 0 0 8px #C084FC;
  animation: statusPulse 1.5s ease-in-out infinite;
}

.term-status-indicator.ready {
  background-color: #34D399;
  box-shadow: 0 0 8px #34D399;
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.term-status-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C084FC;
}

.term-status-label.ready {
  color: #34D399;
}

.terminal-console-body {
  padding: 14px 16px;
  min-height: 155px;
  max-height: 185px;
  overflow-y: auto;
  contain: content;
  font-family: var(--font-mono);
  font-size: 0.80rem;
  line-height: 1.6;
  color: #E2E8F0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.term-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  word-break: break-word;
}

.term-prompt {
  color: #72E6E0;
  flex-shrink: 0;
  font-weight: 600;
}

.term-cmd {
  color: #F1F5F9;
}

.term-cmd.success {
  color: #34D399;
  font-weight: 600;
}

.term-cmd.welcome {
  color: #72E6E0;
  font-weight: 700;
}

.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 1.1em;
  background-color: #72E6E0;
  box-shadow: 0 0 8px #72E6E0;
  vertical-align: -2px;
  margin-left: 3px;
  border-radius: 1px;
  animation: termCursorBlink 0.75s infinite;
}

@keyframes termCursorBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.terminal-visitor-meta {
  padding: 10px 16px;
  background: rgba(6, 8, 12, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.visitor-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.visitor-meta-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.1em;
}

.visitor-meta-badge {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #A855F7;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.visitor-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 12px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.meta-prop {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.06em;
}

.meta-val {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-val-highlight {
  color: #72E6E0;
  font-weight: 600;
}

.meta-skeleton {
  color: #64748B;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

@keyframes skeletonPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.9;
  }
}

.terminal-progress-dock {
  padding: 12px 16px;
  background: rgba(10, 13, 20, 0.92);
}

.progress-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}

.progress-stage-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.08em;
}

.progress-counter {
  font-size: 0.72rem;
  font-weight: 700;
  color: #72E6E0;
}

.terminal-progress-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  margin-bottom: 6px;
}

.terminal-progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #3B82F6, #72E6E0 60%, #C084FC 100%);
  box-shadow: 0 0 12px rgba(114, 230, 224, 0.6);
  transition: width 0.22s ease-out;
}

.terminal-ascii-preview {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748B;
  letter-spacing: 0.12em;
  text-align: center;
}

.welcome-screen-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(114, 230, 224, 0.45) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 80%);
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  transition: opacity 0.35s ease;
}

.welcome-screen-flash.flash-active {
  opacity: 1;
}

.page-wrapper.page-revealed {
  animation: profileCardReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes profileCardReveal {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px),
(hover: none),
(pointer: coarse) {
  :root {
    --card-gap: var(--card-gap-tablet, 16px);
    --bg-height: var(--bg-height-tablet, 350px);
  }

  .page-wrapper {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  [data-theme="light"] .page-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .top-nav {
    max-width: var(--max-content-width-tablet, 760px);
    padding: 22px 20px 8px;
  }

  .content-card {
    max-width: var(--max-content-width-tablet, 760px);
    padding: 0 20px 48px;
  }

  .cinematic-bg-container {
    height: var(--bg-height-tablet, 350px);
  }

  .avatar-container {
    width: 104px;
    height: 104px;
    margin-bottom: 16px;
  }

  .profile-avatar,
  .avatar-fallback {
    width: 104px;
    height: 104px;
  }

  .profile-username {
    font-size: 1.65rem;
  }

  .profile-bio {
    font-size: 0.94rem;
    max-width: 520px;
    line-height: 1.55;
    padding: 0 10px;
  }

  .link-card {
    min-height: var(--pill-height-tablet, 70px);
    padding: 10px 14px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .card-leading {
    width: 48px;
    height: 48px;
  }

  .card-content {
    padding: 0 12px;
  }

  .card-title {
    font-size: 1.0rem;
  }

  .card-description {
    font-size: 0.82rem;
  }

  .nav-action-btn,
  .nav-lang-pill,
  .nav-center-pill,
  .about-navbar,
  .theme-toggle-btn,
  .badge-pill-featured,
  .social-icon-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .blob-mesh {
    filter: blur(28px) !important;
    opacity: 0.55;
  }

  .welcome-glow-orb {
    filter: blur(24px) !important;
  }

  .welcome-top-bar {
    padding: 0 16px;
    top: 14px;
  }

  .welcome-system-tag {
    font-size: 0.65rem;
  }

  .skip-intro-btn {
    padding: 5px 10px;
    font-size: 0.70rem;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
  }

  .welcome-stage {
    padding: 0 4px;
    transform: none !important;
  }

  .welcome-wordmark {
    font-size: 2.1rem;
    letter-spacing: 0.18em;
  }

  .wordmark-light-sweep {
    display: none !important;
  }

  .welcome-headline {
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }

  .welcome-subheadline {
    font-size: 0.85rem;
  }

  .welcome-terminal-card {
    border-radius: 14px;
    background: rgba(10, 12, 18, 0.96) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .terminal-console-body {
    font-size: 0.74rem;
    min-height: 135px;
    max-height: 160px;
    padding: 12px 14px;
  }

  .visitor-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 10px;
  }

  .meta-prop {
    font-size: 0.58rem;
  }

  .meta-val {
    font-size: 0.70rem;
  }

  .welcome-wireframe-sphere {
    display: none !important;
  }

  .welcome-cyber-grid {
    animation: none !important;
  }

  .cyber-light-beam {
    display: none !important;
  }

  .profile-username {
    animation: none !important;
  }

  .link-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform-style: flat !important;
    will-change: auto !important;
  }

  .link-card-wrapper {
    perspective: none !important;
    transform: none !important;
  }

  .card-glare,
  .card-shimmer,
  .card-border-highlight {
    display: none !important;
  }
}

.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 6, 9, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 16px 24px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

[data-theme="light"] .cmd-palette-backdrop {
  background: rgba(220, 226, 238, 0.75);
}

.cmd-palette-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.cmd-palette-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: rgba(14, 16, 24, 0.94);
  border: 1px solid rgba(114, 230, 224, 0.28);
  border-radius: 20px;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.8), 0 0 35px -8px rgba(114, 230, 224, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: cmdModalEntrance 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-theme="light"] .cmd-palette-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 155, 148, 0.3);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.15), 0 0 30px rgba(14, 155, 148, 0.12);
}

@keyframes cmdModalEntrance {
  0% {
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cmd-palette-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-palette-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmd-palette-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.cmd-palette-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cmd-palette-input::placeholder {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cmd-palette-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.cmd-palette-close-btn kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
}

[data-theme="light"] .cmd-palette-close-btn kbd {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text-secondary);
}

.cmd-terminal-console {
  background: rgba(6, 8, 14, 0.75);
  border-bottom: 1px solid rgba(114, 230, 224, 0.16);
  padding: 10px 18px 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.45;
  user-select: none;
}

[data-theme="light"] .cmd-terminal-console {
  background: rgba(238, 243, 250, 0.88);
  border-bottom: 1px solid rgba(14, 155, 148, 0.18);
}

.cmd-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .cmd-terminal-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.cmd-term-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cmd-term-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cmd-term-dot.red {
  background: #ff5f56;
  box-shadow: 0 0 6px rgba(255, 95, 86, 0.4);
}

.cmd-term-dot.yellow {
  background: #ffbd2e;
  box-shadow: 0 0 6px rgba(255, 189, 46, 0.4);
}

.cmd-term-dot.green {
  background: #27c93f;
  box-shadow: 0 0 6px rgba(39, 201, 63, 0.4);
}

.cmd-term-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.cmd-term-status {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(114, 230, 224, 0.12);
  border: 1px solid rgba(114, 230, 224, 0.28);
  color: var(--accent-cyan);
  transition: all 0.2s ease;
}

.cmd-term-status.active {
  background: rgba(39, 201, 63, 0.15);
  border-color: rgba(39, 201, 63, 0.4);
  color: #27c93f;
}

.cmd-term-status.executing {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #d8b4fe;
  animation: cmdStatusPulse 0.8s ease infinite;
}

@keyframes cmdStatusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.97);
  }
}

.cmd-term-line.prompt {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 0.74rem;
}

.cmd-term-prompt-user {
  color: #27c93f;
  font-weight: 700;
}

.cmd-term-prompt-path {
  color: var(--accent-cyan);
  font-weight: 600;
}

.cmd-term-command {
  color: #ffffff;
  font-weight: 600;
  word-break: break-all;
}

[data-theme="light"] .cmd-term-command {
  color: #1a1e28;
}

.cmd-term-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--accent-cyan);
  margin-left: 2px;
  animation: cmdBlink 0.9s infinite;
  vertical-align: middle;
}

.cmd-term-stream {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.71rem;
  min-height: 48px;
}

.cmd-term-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  animation: cmdLogSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes cmdLogSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-6px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.cmd-log-tag {
  font-size: 0.60rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  text-transform: uppercase;
}

.cmd-log-tag.scan {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.cmd-log-tag.dir {
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #facc15;
}

.cmd-log-tag.ok {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.cmd-log-tag.exec {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.cmd-log-tag.err {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.cmd-log-text {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmd-log-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.cmd-log-text kbd {
  display: inline-block;
  padding: 0 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  font-size: 0.65rem;
  color: var(--accent-cyan);
}

.cmd-term-progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  margin-top: 6px;
  overflow: hidden;
}

.cmd-term-progress.hidden {
  display: none;
}

.cmd-term-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), #4ade80);
  border-radius: 9999px;
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.cmd-palette-body {
  min-height: 180px;
  max-height: 380px;
  overflow-y: auto;
  padding: 10px 12px;
  overscroll-behavior: contain;
}

.cmd-group-title {
  padding: 8px 10px 4px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.12s ease, border-color 0.12s ease;
  user-select: none;
}

.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cmd-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

[data-theme="light"] .cmd-item-icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.cmd-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cmd-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmd-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmd-item-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cmd-item-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.15);
  border: 1px solid rgba(114, 230, 224, 0.3);
  color: var(--accent-cyan);
}

.cmd-item-shortcut {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.cmd-item.active {
  background: rgba(114, 230, 224, 0.12);
  border-color: rgba(114, 230, 224, 0.35);
}

[data-theme="light"] .cmd-item.active {
  background: rgba(14, 155, 148, 0.12);
  border-color: rgba(14, 155, 148, 0.4);
}

.cmd-empty-state {
  padding: 32px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cmd-empty-icon {
  font-size: 1.6rem;
  opacity: 0.6;
}

.cmd-palette-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .cmd-palette-footer {
  background: rgba(0, 0, 0, 0.03);
}

.cmd-footer-hints {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmd-hint-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cmd-hint-item kbd {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
}

.cmd-footer-brand {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  opacity: 0.8;
}

@media (max-width: 600px) {
  .cmd-palette-backdrop {
    padding-top: 4vh;
  }

  .cmd-terminal-console {
    padding: 8px 12px 10px;
    font-size: 0.68rem;
  }

  .cmd-term-title {
    display: none;
  }

  .cmd-term-stream {
    min-height: 38px;
  }

  .cmd-footer-hints {
    display: none;
  }

  .cmd-k-badge {
    display: none;
  }
}

.certificates-gallery-overlay {
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

[data-theme="light"] .certificates-gallery-overlay {
  background: rgba(230, 235, 245, 0.82);
}

@media (max-width: 680px) {
  .certificates-gallery-overlay {
    padding: 8px;
  }
}

.cert-sheet-card {
  border-color: rgba(114, 230, 224, 0.3);
  box-shadow: 0 28px 65px -15px rgba(0, 0, 0, 0.75), 0 0 35px -5px rgba(114, 230, 224, 0.2);
}

.cert-glow-cyan {
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, #72E6E0 0%, #0284C7 60%, transparent 100%);
  animation: certOrbFloat 8s ease-in-out infinite alternate;
}

.cert-glow-purple {
  bottom: -90px;
  right: -90px;
  background: radial-gradient(circle, #C74634 0%, #8B5CF6 60%, transparent 100%);
  animation: certOrbFloat 8s ease-in-out 4s infinite alternate;
}

@keyframes certOrbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(16px, -18px) scale(1.08);
  }

  100% {
    transform: translate(-10px, 12px) scale(0.95);
  }
}

.certificates-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
}

@media (max-width: 760px) {
  .certificates-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cert-card-animated {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  animation: certCardEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes certCardEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cert-card-glare {
  position: absolute;
  top: 0;
  left: -120%;
  left: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), rgba(114, 230, 224, 0.14), transparent);
  transform: skewX(-25deg);
  transform: translate3d(-150%, 0, 0) skewX(-25deg);
  -webkit-transform: translate3d(-150%, 0, 0) skewX(-25deg);
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

.cert-card:hover .cert-card-glare {
  animation: certCardShimmer 0.75s ease-out;
}

@keyframes certCardShimmer {
  from {
    left: -120%;
    transform: translate3d(-150%, 0, 0) skewX(-25deg);
    -webkit-transform: translate3d(-150%, 0, 0) skewX(-25deg);
  }

  to {
    left: 200%;
    transform: translate3d(250%, 0, 0) skewX(-25deg);
    -webkit-transform: translate3d(250%, 0, 0) skewX(-25deg);
  }
}

.cert-card {
  position: relative;
  width: 100%;
  background: var(--card-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--card-border-glass);
  border-radius: 22px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cert-card:hover {
  transform: translateY(-4px) translateZ(0);
  border-color: rgba(114, 230, 224, 0.45);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.75), 0 0 24px -4px rgba(114, 230, 224, 0.2);
}

.cert-card.hidden-by-filter {
  display: none !important;
}

.cert-thumb-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  background: #090d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
}

.cert-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.cert-card:hover .cert-thumb-img {
  transform: scale(1.03) translateZ(0);
}

.cert-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 14, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.cert-card:hover .cert-thumb-overlay {
  opacity: 1;
}

.cert-thumb-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.92);
  color: #060810;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.cert-card-body {
  padding: 14px 4px 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cert-issuer-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.cert-date-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.cert-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cert-id-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-id-tag svg {
  flex-shrink: 0;
  color: #22c55e;
}

.cert-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.cert-skill-chip {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .cert-skill-chip {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.cert-card-foot-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-action-btn-main {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(114, 230, 224, 0.12);
  border: 1px solid rgba(114, 230, 224, 0.28);
  color: var(--accent-cyan);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cert-action-btn-main:hover {
  background: var(--accent-cyan);
  color: #060810;
  border-color: var(--accent-cyan);
}

.cert-action-btn-ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.76rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cert-action-btn-ext:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.cert-detail-overlay {
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

[data-theme="light"] .cert-detail-overlay {
  background: rgba(230, 235, 245, 0.85);
}

@media (max-width: 680px) {
  .cert-detail-overlay {
    padding: 8px;
  }
}

.cert-modal-card {
  position: relative;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  background: rgba(12, 16, 28, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(114, 230, 224, 0.32);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(114, 230, 224, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalZoomIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="light"] .cert-modal-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 155, 148, 0.3);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25), 0 0 35px rgba(14, 155, 148, 0.15);
}

.cert-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cert-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}

.cert-modal-body {
  width: 100%;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  padding: 28px;
}

@media (max-width: 820px) {
  .cert-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px;
  }
}

.cert-modal-image-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-modal-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.cert-modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #070a12;
  display: block;
}

.cert-modal-info-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-modal-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cert-modal-pill-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.12);
  border: 1px solid rgba(114, 230, 224, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
}

.cert-modal-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #22c55e;
  font-weight: 600;
}

.cert-modal-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.cert-modal-title {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
}

.cert-modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cert-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cert-cell-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cert-cell-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.cert-modal-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.cert-modal-skills-box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cert-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.cert-modal-actions .modal-btn-primary,
.cert-modal-actions .modal-btn-secondary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.cert-modal-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.cert-modal-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 0.74rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.cert-modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.cert-nav-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.about-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ab-sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #72E6E0;
  box-shadow: 0 0 6px #72E6E0;
  opacity: 0;
  animation: sparkleTwinkle 2.8s ease-in-out infinite;
}

.ab-sparkle.ab-1 {
  top: 10px;
  right: 10px;
  animation-delay: 0.4s;
}

.ab-sparkle.ab-2 {
  bottom: 12px;
  left: 10px;
  background: #C084FC;
  box-shadow: 0 0 6px #C084FC;
  animation-delay: 1.6s;
}

@keyframes sparkleTwinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.4);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.2);
  }
}

.about-page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 96px 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-navbar {
  position: sticky;
  top: 16px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(14, 14, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

[data-theme="light"] .about-navbar {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.08);
}

.about-nav-back {
  justify-self: start;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

[data-theme="light"] .about-nav-back {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.about-nav-back:hover {
  background: rgba(114, 230, 224, 0.14);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateX(-2px);
}

[data-theme="light"] .about-nav-back:hover {
  background: rgba(14, 155, 148, 0.1);
  border-color: var(--accent-cyan-hover);
  color: var(--accent-cyan-hover);
}

.about-nav-back svg {
  transition: transform 0.2s ease;
}

.about-nav-back:hover svg {
  transform: translateX(-3px);
}

.about-nav-center {
  justify-self: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-nav-center .breadcrumb-sep {
  opacity: 0.5;
}

.about-nav-center .breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

.about-nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 560px) {
  .about-navbar {
    grid-template-columns: 1fr auto;
    padding: 8px 12px;
  }

  .about-nav-center {
    display: none;
  }

  .about-nav-back {
    padding: 6px 11px;
    font-size: 0.76rem;
  }

  .about-nav-actions .nav-lang-pill {
    height: 34px;
    padding: 0 9px;
    font-size: 0.68rem;
  }

  .about-theme-toggle {
    width: 34px;
    height: 34px;
  }
}

.about-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .about-theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.about-theme-toggle:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.1);
}

.about-hero-card {
  position: relative;
  background: var(--card-bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 36px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .about-hero-card {
    padding: 56px 64px;
  }
}

[data-theme="light"] .about-hero-card {
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08);
}

.about-hero-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.14) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.about-hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 860px) {
  .about-hero-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 52px;
  }
}

.about-avatar-column {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

@media (min-width: 860px) {
  .about-avatar-column {
    width: 330px;
    max-width: 350px;
  }
}

.about-profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
}

.about-avatar-circle-stage {
  position: relative;
  width: 194px;
  height: 194px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: translateZ(0);
}

.about-circle-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 230, 224, 0.35) 0%, rgba(168, 85, 247, 0.22) 50%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  animation: pulseGlowCircle 3.5s ease-in-out infinite alternate;
}

@keyframes pulseGlowCircle {
  0% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.about-circle-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-circle-orbit-ring.ring-a {
  inset: -6px;
  border: 1.5px solid transparent;
  border-top-color: #72E6E0;
  border-right-color: rgba(114, 230, 224, 0.4);
  animation: spinOrbitA 7s linear infinite;
}

.about-circle-orbit-ring.ring-b {
  inset: -12px;
  border: 1.5px dashed transparent;
  border-bottom-color: #C084FC;
  border-left-color: rgba(168, 85, 247, 0.35);
  animation: spinOrbitB 11s linear infinite reverse;
}

@keyframes spinOrbitA {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinOrbitB {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.about-circle-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(114, 230, 224, 0.45);
  background: radial-gradient(circle at 50% 30%, rgba(114, 230, 224, 0.16) 0%, rgba(14, 14, 18, 0.98) 85%);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

[data-theme="light"] .about-circle-frame {
  background: radial-gradient(circle at 50% 30%, rgba(14, 155, 148, 0.16) 0%, rgba(240, 243, 246, 0.98) 85%);
  border-color: rgba(14, 155, 148, 0.4);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.12);
}

.about-code-matrix-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  padding: 8px 6px;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  line-height: 1.5;
  color: #ABB2BF;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.35) 98%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.35) 98%);
}

[data-theme="light"] .about-code-matrix-bg {
  color: #383A42;
  opacity: 0.92;
}

.matrix-code-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  white-space: nowrap;
  animation: codeScrollDown 13s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.matrix-code-column.col-2 {
  animation-duration: 17s;
  animation-delay: -6s;
}

.matrix-code-column.col-3 {
  animation-duration: 11s;
  animation-delay: -3s;
}

.syn-k {
  color: #C678DD;
}

.syn-v {
  color: #61AFEF;
}

.syn-f {
  color: #E5C07B;
}

.syn-s {
  color: #98C379;
}

.syn-n {
  color: #D19A66;
}

.syn-c {
  color: #4EC9B0;
}

.syn-t {
  color: #E06C75;
}

.syn-b {
  color: #56B6C2;
}

.syn-p {
  color: #ABB2BF;
}

[data-theme="light"] .syn-k {
  color: #A626A4;
}

[data-theme="light"] .syn-v {
  color: #0184BC;
}

[data-theme="light"] .syn-f {
  color: #B16700;
}

[data-theme="light"] .syn-s {
  color: #50A14F;
}

[data-theme="light"] .syn-n {
  color: #986801;
}

[data-theme="light"] .syn-c {
  color: #22863A;
}

[data-theme="light"] .syn-t {
  color: #E45649;
}

[data-theme="light"] .syn-b {
  color: #0184BC;
}

[data-theme="light"] .syn-p {
  color: #383A42;
}

@keyframes codeScrollDown {
  0% {
    transform: translate3d(0, -50%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.about-circle-portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.12) translate3d(0, 8px, 0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
}

.about-avatar-circle-stage:hover .about-circle-portrait {
  transform: scale(1.18) translate3d(0, 5px, 0);
}

.about-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #34D399;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.about-status-interactive {
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  transform: translateZ(0);
}

.about-status-interactive:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #34D399;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.about-status-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseBeacon 2s ease-in-out infinite;
}

@keyframes pulseBeacon {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #34D399;
  }
}

.about-bio-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-identity-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-main-name {
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  background: linear-gradient(
    135deg,
    #72E6E0 0%,
    #A855F7 25%,
    #F43F5E 50%,
    #3B82F6 75%,
    #72E6E0 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: nameColorCycle 7s ease-in-out infinite;
  display: inline-block;
  will-change: background-position;
}

@keyframes nameColorCycle {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-main-role {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
  text-align: center;
  max-width: 320px;
}

.about-narrative-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.90rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

.about-narrative-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-motto-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 24px;
  border-left: 3px solid var(--accent-cyan);
  background: radial-gradient(circle at 10% 50%, rgba(114, 230, 224, 0.12) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 80%), rgba(255, 255, 255, 0.03);
  border-radius: 0 16px 16px 0;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .about-motto-quote {
  border-left-color: var(--accent-cyan-hover);
  background: radial-gradient(circle at 10% 50%, rgba(14, 155, 148, 0.1) 0%, rgba(124, 58, 237, 0.04) 50%, transparent 80%), rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
  border-left-color: var(--accent-cyan-hover);
}

.about-motto-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.motto-spark-symbol {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  line-height: 1;
}

.motto-main-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

[data-theme="light"] .motto-main-title {
  color: var(--accent-cyan-hover);
}

.motto-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.15);
  border: 1px solid rgba(114, 230, 224, 0.3);
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[data-theme="light"] .motto-badge-pill {
  background: rgba(14, 155, 148, 0.12);
  border-color: rgba(14, 155, 148, 0.25);
  color: var(--accent-cyan-hover);
}

.about-motto-meaning {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-secondary);
}

.about-motto-meaning em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
}

.about-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.about-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

[data-theme="light"] .about-meta-chip {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.about-meta-chip svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.about-metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

@media (min-width: 640px) {
  .about-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.about-metric-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .about-metric-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

.about-metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .about-metric-card:hover {
  border-color: var(--accent-cyan-hover);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.06);
}

.about-metric-value {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.about-metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

[data-theme="light"] .about-metric-label {
  color: var(--accent-cyan-hover);
}

.about-metric-sub {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.about-metrics-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

@media (min-width: 640px) {
  .about-metrics-actions {
    gap: 16px;
  }
}

.about-metric-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.about-metric-action-btn.btn-projects {
  background: rgba(114, 230, 224, 0.08);
  border: 1px solid rgba(114, 230, 224, 0.25);
  color: var(--accent-cyan);
}

.about-metric-action-btn.btn-projects:hover {
  background: var(--accent-cyan);
  color: #060608;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(114, 230, 224, 0.35);
  transform: translateY(-2px);
}

.about-metric-action-btn.btn-certs {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #C084FC;
}

.about-metric-action-btn.btn-certs:hover {
  background: #A855F7;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

.about-metric-action-btn .action-arrow {
  transition: transform 0.2s ease;
}

.about-metric-action-btn:hover .action-arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 520px) {
  .about-metrics-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-metric-action-btn {
    padding: 9px 12px;
    font-size: 0.78rem;
  }
}

.about-section-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.about-hero-header {
  margin-bottom: 6px;
}

.about-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}

.about-section-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.25);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  line-height: 1.3;
}

.about-section-index.hero-badge {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #C084FC;
}

.about-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 3.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  margin: 0;
}

.about-section-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-pillar-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  background: var(--card-bg-glass);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  transform: translateZ(0);
}

.about-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(114, 230, 224, 0.4);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.6), 0 0 20px -6px rgba(114, 230, 224, 0.2);
}

[data-theme="light"] .about-pillar-card:hover {
  border-color: rgba(14, 155, 148, 0.4);
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.08);
}

.about-pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.25);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.about-pillar-card:nth-child(2) .about-pillar-icon-box {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.25);
  color: #C084FC;
}

.about-pillar-card:nth-child(3) .about-pillar-icon-box {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.25);
  color: #60A5FA;
}

.about-pillar-card:nth-child(4) .about-pillar-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34D399;
}

.about-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.about-pillar-desc {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.journey-switch-wrapper {
  margin-bottom: 24px;
  width: fit-content;
  max-width: 100%;
}

.journey-single-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  font-family: var(--font-sans);
  max-width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.journey-single-toggle:hover {
  border-color: rgba(114, 230, 224, 0.35);
}

[data-theme="light"] .journey-single-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.journey-toggle-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--accent-cyan);
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(114, 230, 224, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.journey-single-toggle[data-active-tab="projects"] .journey-toggle-thumb {
  transform: translate3d(100%, 0, 0);
}

.journey-toggle-side {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.25s ease;
  white-space: nowrap;
  flex: 1;
}

.journey-toggle-side.active {
  color: #060608;
  font-weight: 700;
}

.journey-toggle-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  line-height: 1;
}

.journey-toggle-side.active .journey-toggle-count {
  background: rgba(0, 0, 0, 0.18);
  color: #060608;
}

.toggle-label-desktop {
  display: inline;
}

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

@media (max-width: 560px) {
  .toggle-label-desktop {
    display: none;
  }
  .toggle-label-mobile {
    display: inline;
  }
  .journey-toggle-side {
    padding: 7px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }
}

.journey-tab-panel {
  display: none;
}

.journey-tab-panel.active {
  display: block;
  animation: journeyPanelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes journeyPanelIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.about-timeline-stream {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 28px;
}

@media (min-width: 640px) {
  .about-timeline-stream {
    padding-left: 36px;
    gap: 24px;
  }
}

.about-timeline-stream::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 11px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent-cyan) 0%,
    rgba(168, 85, 247, 0.8) 35%,
    rgba(59, 130, 246, 0.8) 70%,
    var(--accent-cyan) 100%
  );
  background-size: 100% 200%;
  animation: timelineBeamFlow 6s linear infinite;
  border-radius: 2px;
}

@keyframes timelineBeamFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 200%;
  }
}

@media (min-width: 640px) {
  .about-timeline-stream::before {
    left: 13px;
  }
}

.about-timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
}

.about-timeline-dot {
  position: absolute;
  top: 20px;
  left: -28px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 12px rgba(114, 230, 224, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, 0);
  z-index: 2;
}

@media (min-width: 640px) {
  .about-timeline-dot {
    left: -36px;
    width: 28px;
    height: 28px;
  }
}

.about-timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: dotPulseRadar 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes dotPulseRadar {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 12px var(--accent-cyan);
  }
  100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

.about-timeline-card {
  position: relative;
  background: var(--card-bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0);
  overflow: hidden;
}

.about-timeline-card:hover {
  transform: translateY(-4px) scale(1.008);
  border-color: rgba(114, 230, 224, 0.45);
  box-shadow: 0 20px 42px -10px rgba(0, 0, 0, 0.65), 0 0 24px -6px rgba(114, 230, 224, 0.25);
}

.about-timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), rgba(168, 85, 247, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-timeline-card:hover::before {
  opacity: 1;
}

[data-theme="light"] .about-timeline-card:hover {
  border-color: rgba(14, 155, 148, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.12), 0 0 20px -6px rgba(14, 155, 148, 0.2);
}

.about-timeline-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .about-timeline-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.about-timeline-meta-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}

.about-timeline-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.about-timeline-badge-pill.green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.about-timeline-badge-pill.cyan {
  background: rgba(114, 230, 224, 0.12);
  border: 1px solid rgba(114, 230, 224, 0.3);
  color: var(--accent-cyan);
}

.about-timeline-badge-pill.purple {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #C084FC;
}

.about-timeline-badge-pill.blue {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
}

.timeline-status-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.timeline-status-beacon.green {
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  animation: beaconPulseGreen 2s ease-in-out infinite;
}

.timeline-status-beacon.cyan {
  background: #72E6E0;
  box-shadow: 0 0 6px #72E6E0;
  animation: beaconPulseCyan 2s ease-in-out infinite;
}

.timeline-status-beacon.purple {
  background: #A855F7;
  box-shadow: 0 0 6px #A855F7;
  animation: beaconPulsePurple 2s ease-in-out infinite;
}

.timeline-status-beacon.blue {
  background: #3B82F6;
  box-shadow: 0 0 6px #3B82F6;
  animation: beaconPulseBlue 2s ease-in-out infinite;
}

@keyframes beaconPulseGreen {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 10px #34D399;
  }
}

@keyframes beaconPulseCyan {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 10px #72E6E0;
  }
}

@keyframes beaconPulsePurple {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 10px #C084FC;
  }
}

@keyframes beaconPulseBlue {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 10px #60A5FA;
  }
}

.about-timeline-time-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.1);
  border: 1px solid rgba(114, 230, 224, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  align-self: flex-start;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.about-timeline-role-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.about-timeline-org {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.about-timeline-org strong {
  color: var(--text-primary);
}

.about-timeline-body {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.about-timeline-body ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-timeline-body li {
  position: relative;
  padding-left: 18px;
}

.about-timeline-body li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

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

.about-tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .about-tech-tag {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

.about-timeline-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.08);
  border: 1px solid rgba(114, 230, 224, 0.22);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  align-self: flex-start;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.about-timeline-link-btn:hover {
  background: var(--accent-cyan);
  color: #060608;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(114, 230, 224, 0.4);
}

.about-timeline-link-btn svg {
  transition: transform 0.2s ease;
}

.about-timeline-link-btn:hover svg {
  transform: translateX(3px);
}

.about-timeline-card.aura-featured-card {
  border-color: rgba(114, 230, 224, 0.35);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px rgba(114, 230, 224, 0.15);
}

.about-timeline-card.aura-featured-card:hover {
  border-color: rgba(114, 230, 224, 0.6);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.7), 0 0 32px -4px rgba(114, 230, 224, 0.3);
}

.aura-feature-bullets {
  margin: 12px 0 16px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aura-feature-bullets li {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.aura-feature-bullets li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.aura-product-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[data-theme="light"] .aura-product-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.aura-license-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
}

.aura-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-timeline-link-btn.primary-glow {
  background: rgba(114, 230, 224, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 700;
}

.about-timeline-link-btn.primary-glow:hover {
  background: var(--accent-cyan);
  color: #060608;
  box-shadow: 0 6px 20px rgba(114, 230, 224, 0.4);
}

.about-timeline-link-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}

.about-timeline-link-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.about-tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .about-tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .about-tech-card.tech-security {
    grid-column: 1 / -1;
  }
}

.about-tech-card {
  position: relative;
  background: var(--card-bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  transform: translateZ(0);
}

.about-tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-tech-card:hover {
  transform: translateY(-4px) scale(1.008);
}

.about-tech-card:hover::before {
  opacity: 1;
}

.about-tech-card.tech-web::before {
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.about-tech-card.tech-web:hover {
  border-color: rgba(114, 230, 224, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px rgba(114, 230, 224, 0.25);
}

.about-tech-card.tech-iot::before {
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.about-tech-card.tech-iot:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px rgba(16, 185, 129, 0.25);
}

.about-tech-card.tech-support::before {
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.about-tech-card.tech-support:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px rgba(245, 158, 11, 0.25);
}

.about-tech-card.tech-ai::before {
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.about-tech-card.tech-ai:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px rgba(168, 85, 247, 0.25);
}

.about-tech-card.tech-security::before {
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
}

.about-tech-card.tech-security:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px rgba(56, 189, 248, 0.25);
}

[data-theme="light"] .about-tech-card:hover {
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.12);
}

.about-tech-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-tech-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.about-tech-card:hover .about-tech-icon-box {
  transform: scale(1.08) rotate(3deg);
}

.about-tech-icon-box.cyan {
  background: rgba(114, 230, 224, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(114, 230, 224, 0.25);
}

.about-tech-icon-box.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.about-tech-icon-box.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.about-tech-icon-box.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.about-tech-icon-box.blue {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.about-tech-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.about-tech-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.about-tech-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.about-tech-count-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.about-tech-count-badge.cyan {
  background: rgba(114, 230, 224, 0.12);
  color: var(--accent-cyan);
}

.about-tech-count-badge.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.about-tech-count-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.about-tech-count-badge.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.about-tech-count-badge.blue {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.about-tech-card-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.about-tech-pill-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.tech-animated-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-primary);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  transform: translateZ(0);
}

[data-theme="light"] .tech-animated-pill {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.tech-animated-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tech-animated-pill.cyan .pill-dot {
  background: var(--accent-cyan);
  box-shadow: 0 0 6px rgba(114, 230, 224, 0.6);
}

.tech-animated-pill.green .pill-dot {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.tech-animated-pill.amber .pill-dot {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.tech-animated-pill.purple .pill-dot {
  background: #a855f7;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

.tech-animated-pill.blue .pill-dot {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.6);
}

.tech-animated-pill:hover {
  transform: translateY(-2px) scale(1.04);
}

.tech-animated-pill:hover .pill-dot {
  transform: scale(1.3);
}

.tech-animated-pill.cyan:hover {
  border-color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.1);
  box-shadow: 0 4px 14px rgba(114, 230, 224, 0.25);
}

.tech-animated-pill.green:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.tech-animated-pill.amber:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.tech-animated-pill.purple:hover {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
}

.tech-animated-pill.blue:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.about-arsenal-card {
  background: var(--card-bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 14, 18, 0.9) 0%, rgba(20, 20, 32, 0.95) 100%);
  border: 1px solid rgba(114, 230, 224, 0.3);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px -8px rgba(114, 230, 224, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
  overflow: hidden;
}

[data-theme="light"] .about-cta-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 244, 246, 0.95) 100%);
  border-color: rgba(14, 155, 148, 0.3);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
}

.about-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.about-cta-subtext {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 580px;
}

.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.about-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: var(--accent-cyan);
  color: #060608;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(114, 230, 224, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.about-primary-btn:hover {
  background: #FFF;
  box-shadow: 0 6px 24px rgba(114, 230, 224, 0.6);
  transform: translateY(-2px);
}

.about-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

[data-theme="light"] .about-secondary-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.about-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.about-page-footer {
  text-align: center;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.about-footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 767px) {
  .about-page-wrapper {
    padding: 16px 14px 72px 14px;
    gap: 24px;
  }

  .about-hero-card {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .about-hero-layout {
    gap: 22px;
    align-items: center;
    text-align: center;
  }

  .about-avatar-circle-stage {
    width: 154px;
    height: 154px;
  }

  .about-avatar-column {
    width: 100%;
    max-width: 100%;
  }

  .about-profile-info {
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .about-main-name {
    font-size: clamp(0.95rem, 4.4vw, 1.22rem);
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
  }

  .about-main-role {
    font-size: 0.82rem;
    text-align: center;
    max-width: 100%;
  }

  .about-identity-header {
    align-items: center;
    text-align: center;
  }

  .about-meta-chips {
    justify-content: center;
  }

  .about-narrative-lead {
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.68;
  }

  .about-motto-quote {
    text-align: left;
    padding: 14px 16px;
  }

  .about-metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .about-metric-card {
    padding: 14px 12px;
  }

  .about-metric-value {
    font-size: 1.45rem;
  }

  .about-metric-label {
    font-size: 0.68rem;
  }

  .about-metric-sub {
    font-size: 0.72rem;
  }

  .about-section-header {
    padding-bottom: 12px;
    gap: 6px;
  }

  .about-section-title-wrap {
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 8px;
  }

  .about-section-index {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .about-section-heading {
    font-size: clamp(0.92rem, 3.8vw, 1.15rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .about-section-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-page-wrapper {
    padding: 24px 20px 84px 20px;
  }

  .about-hero-card {
    padding: 42px 36px;
  }

  .about-hero-layout {
    gap: 36px;
  }

  .about-avatar-column {
    width: 280px;
    max-width: 290px;
  }

  .about-avatar-circle-stage {
    width: 174px;
    height: 174px;
  }

  .about-main-name {
    font-size: 1.15rem;
    white-space: nowrap;
    max-width: 100%;
  }

  .about-main-role {
    font-size: 0.8rem;
    max-width: 270px;
  }
}


.card-leading-cv {
  background: radial-gradient(circle at 40% 40%, rgba(56, 189, 248, 0.22) 0%, rgba(114, 230, 224, 0.12) 60%, rgba(15, 23, 42, 0.65) 100%);
  border: 1px solid rgba(56, 189, 248, 0.36);
  box-shadow: 0 0 16px -2px rgba(56, 189, 248, 0.28), inset 0 0 12px rgba(114, 230, 224, 0.16);
  position: relative;
  overflow: visible;
}

[data-theme="light"] .card-leading-cv {
  background: radial-gradient(circle at 40% 40%, rgba(14, 165, 233, 0.16) 0%, rgba(14, 155, 148, 0.08) 60%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(14, 165, 233, 0.32);
}

.cv-3d-scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cv-ambient-glow {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.55) 0%, transparent 70%);
  filter: blur(5px);
  pointer-events: none;
}

.cv-orbit-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.45);
  animation: projectsRingSpin 9s linear infinite;
  pointer-events: none;
}

.cv-core-icon {
  position: relative;
  z-index: 2;
  color: #7DD3FC;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.55));
}

[data-theme="light"] .cv-core-icon {
  color: #0284C7;
  filter: none;
}

.modal-cv-card {
  max-width: 460px;
}

.cv-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.cv-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  transform: translateZ(0);
}

.cv-option-item.is-preferred {
  background: rgba(114, 230, 224, 0.08);
  border-color: rgba(114, 230, 224, 0.38);
  box-shadow: 0 6px 20px rgba(114, 230, 224, 0.12);
}

.cv-option-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .cv-option-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cv-option-item.is-preferred {
  background: rgba(14, 155, 148, 0.08);
  border-color: rgba(14, 155, 148, 0.35);
}

.cv-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cv-lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(114, 230, 224, 0.12);
  border: 1px solid rgba(114, 230, 224, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.cv-option-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cv-option-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cv-option-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.cv-option-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: rgba(114, 230, 224, 0.14);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

[data-theme="light"] .cv-option-action {
  color: #0E9B94;
}

.about-cv-bar {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  margin-top: 2px;
  padding: 5px 8px 5px 12px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  white-space: nowrap;
  transform: translateZ(0);
}

[data-theme="light"] .about-cv-bar {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
}

.about-cv-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 9999px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(0);
}

.about-cv-primary-btn:hover {
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.about-cv-divider {
  width: 1px;
  height: 16px;
  background: rgba(114, 230, 224, 0.28);
  flex-shrink: 0;
}

.about-cv-pills {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
}

.about-cv-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.about-cv-pill-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(114, 230, 224, 0.12);
}

[data-theme="light"] .about-cv-pill-link {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 520px) {
  .cv-option-item {
    padding: 12px;
  }

  .cv-option-action span {
    display: none;
  }
}
