:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel2: rgba(30, 41, 59, 0.72);
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #38bdf8;
  --green: #34d399;
  --purple: #a78bfa;
  --pink: #fb7185;
  --yellow: #facc15;
  --hero-extra-height: 96px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Pretendard, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.24), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(167, 139, 250, 0.22), transparent 30%),
    radial-gradient(circle at 50% 88%, rgba(251, 113, 133, 0.16), transparent 32%),
    linear-gradient(135deg, #020617 0%, #08111f 45%, #030712 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
  z-index: -2;
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.13), transparent 62%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 6, 23, 0.68);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

nav {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 1000;
  letter-spacing: -0.04em;
  font-size: 20px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 2px solid rgba(125, 211, 252, 0.58);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 16px 45px rgba(56, 189, 248, 0.28);
}

.brand-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-github {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: #0f172a;
  border: 2px solid rgba(2, 6, 23, 0.95);
}

.github-icon {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}

.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 13px;
  border-radius: 999px;
  transition: 0.22s;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-links a.is-clicked {
  color: var(--blue);
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.48);
}

.hero {
  height: calc(320px + var(--hero-extra-height));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  transition: height 0.08s linear;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.52), rgba(2, 6, 23, 0.78));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.hero-kicker {
  color: var(--blue);
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 900;
}

.intro-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
  padding-top: 80px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.065);
  border-radius: 999px;
  color: #cbd5e1;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 24px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

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

.grad {
  background: linear-gradient(90deg, white, #7dd3fc, #c4b5fd, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  max-width: 690px;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: clamp(17px, 2vw, 22px);
  word-break: keep-all;
  margin-bottom: 34px;
}

.subtitle strong {
  color: white;
}

.identity {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  animation: heroRise 0.8s ease 0.12s both;
}

.identity b {
  width: fit-content;
  color: white;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
  position: relative;
}

.identity b::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--purple));
  transform-origin: left;
  animation: lineGrow 1s ease 0.55s both;
}

.identity span {
  width: fit-content;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.08);
  margin-top: 8px;
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .identity,
  .identity b::after {
    animation: none;
  }
}

.journey-box {
  margin: 0 0 30px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 22px;
  max-width: 640px;
}

.journey-box h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.journey-list {
  display: grid;
  gap: 12px;
}

.journey-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
  border-radius: 18px;
}

.journey-date {
  color: var(--green);
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.5;
}

.journey-item b {
  display: block;
  font-size: 17px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.journey-item p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  font-weight: 700;
  word-break: keep-all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 1000;
  transition: 0.25s;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.07);
}

.btn.main {
  color: #02111f;
  background: linear-gradient(135deg, #38bdf8, #a78bfa, #fb7185);
  border: none;
  box-shadow: 0 18px 55px rgba(56, 189, 248, 0.28);
}

.btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 16px;
}

.mini b {
  display: block;
  font-size: 19px;
  margin-bottom: 6px;
}

.mini span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.github-profile {
  --github-card-rotate-x: 0deg;
  --github-card-rotate-y: 0deg;
  --github-card-glare-x: 50%;
  --github-card-glare-y: 0%;
  --github-card-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.88));
  border-radius: var(--github-card-radius);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round var(--github-card-radius));
  position: relative;
  transform:
    perspective(900px)
    rotateX(var(--github-card-rotate-x))
    rotateY(var(--github-card-rotate-y))
    translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  will-change: transform;
}

.github-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--github-card-glare-x) var(--github-card-glare-y), rgba(255, 255, 255, 0.2), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  mix-blend-mode: screen;
}

.github-profile.is-tilting {
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.62), 0 0 34px rgba(56, 189, 248, 0.12);
}

.github-profile.is-tilting::before {
  opacity: 1;
}

.profile-switch-card {
  display: grid;
  min-height: 520px;
}

.profile-static-banner {
  grid-area: 1 / 1;
}

.profile-panel {
  grid-area: 1 / 1;
  min-height: 100%;
  opacity: 0;
  pointer-events: none;
  padding-top: 150px;
  transform: translateX(34px) rotateY(8deg) scale(0.98);
  transition: opacity 0.34s ease, transform 0.34s ease;
  will-change: opacity, transform;
}

.profile-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) rotateY(0deg) scale(1);
}

#githubProfilePanel {
  transform: translateX(-34px) rotateY(-8deg) scale(0.98);
}

#githubProfilePanel.active {
  transform: translateX(0) rotateY(0deg) scale(1);
}

.github-profile.is-switching .profile-panel.active {
  animation: profileCardSwap 0.34s ease both;
}

.profile-switch-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 8;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(186, 230, 253, 0.68);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #020617;
  background: linear-gradient(135deg, #e0f2fe, #38bdf8);
  box-shadow: 0 18px 44px rgba(56, 189, 248, 0.34), 0 0 0 6px rgba(56, 189, 248, 0.1);
  cursor: pointer;
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(14px);
}

.profile-switch-button:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 22px 54px rgba(56, 189, 248, 0.44), 0 0 0 8px rgba(56, 189, 248, 0.14);
}

.github-profile[data-profile-view="velog"] .profile-switch-button {
  border-color: rgba(187, 247, 208, 0.74);
  background: linear-gradient(135deg, #dcfce7, #34d399);
  box-shadow: 0 18px 44px rgba(52, 211, 153, 0.3), 0 0 0 6px rgba(52, 211, 153, 0.1);
}

@keyframes profileCardSwap {
  0% {
    filter: blur(3px);
  }

  100% {
    filter: blur(0);
  }
}

.velog-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.velog-kicker {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.velog-profile-body {
  padding: 28px;
  position: relative;
  z-index: 4;
  transform: translateZ(28px);
}

.velog-profile-body h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.velog-profile-body p {
  color: #cbd5e1;
  line-height: 1.65;
  word-break: keep-all;
}

.velog-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #02130d;
  background: var(--green);
  font-weight: 1000;
  box-shadow: 0 16px 32px rgba(52, 211, 153, 0.24);
}

.velog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.velog-stat {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.velog-stat b {
  display: block;
  font-size: 20px;
  margin-bottom: 3px;
}

.velog-stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.velog-latest {
  display: block;
  color: #d1fae5;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 18px;
}

.velog-latest:hover {
  color: white;
}

.velog-state {
  color: #cbd5e1;
  font-weight: 800;
  line-height: 1.6;
}

.github-banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.32), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.26), transparent 30%),
    linear-gradient(135deg, #020617, #0f172a 45%, #1e3a8a);
}

.github-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.76));
  pointer-events: none;
}

.floating-box {
  position: absolute;
  z-index: 1;
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.42);
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.11);
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.2),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  animation: floatBox 8s ease-in-out infinite;
}

.floating-shape {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(186, 230, 253, 0.28);
  background: rgba(15, 23, 42, 0.24);
  box-shadow:
    0 0 22px rgba(59, 130, 246, 0.18),
    inset 0 0 16px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  animation: floatTech 10s ease-in-out infinite;
}

.floating-shape::before,
.floating-shape::after {
  content: "";
  position: absolute;
  display: block;
}

.box-1 {
  top: 22px;
  left: 12%;
  width: 28px;
  height: 28px;
  animation-delay: 0s;
}

.box-2 {
  top: 62px;
  left: 34%;
  width: 44px;
  height: 44px;
  animation-delay: -1.5s;
}

.box-3 {
  top: 18px;
  right: 24%;
  width: 32px;
  height: 32px;
  animation-delay: -3s;
}

.box-4 {
  right: 12%;
  bottom: 20px;
  width: 50px;
  height: 50px;
  animation-delay: -2s;
}

.box-5 {
  bottom: 34px;
  left: 58%;
  width: 24px;
  height: 24px;
  animation-delay: -4s;
}

.shape-cloud {
  top: 28px;
  left: 47%;
  width: 62px;
  height: 28px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.14);
  animation-delay: -1s;
}

.shape-cloud::before {
  left: 12px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(186, 230, 253, 0.24);
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.14);
  box-shadow: 20px 4px 0 rgba(125, 211, 252, 0.1);
}

.shape-server {
  right: 34%;
  bottom: 26px;
  width: 46px;
  height: 38px;
  border-radius: 10px;
  background:
    linear-gradient(to bottom, transparent 31%, rgba(186, 230, 253, 0.28) 32%, rgba(186, 230, 253, 0.28) 34%, transparent 35%),
    linear-gradient(to bottom, transparent 64%, rgba(186, 230, 253, 0.24) 65%, rgba(186, 230, 253, 0.24) 67%, transparent 68%),
    rgba(15, 23, 42, 0.3);
  animation-delay: -3.5s;
}

.shape-server::before {
  top: 9px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.6);
  box-shadow:
    0 12px 0 rgba(125, 211, 252, 0.42),
    0 24px 0 rgba(125, 211, 252, 0.5);
}

.shape-chip {
  top: 74px;
  right: 18%;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(56, 189, 248, 0.1);
  animation-delay: -5s;
}

.shape-chip::before {
  inset: 8px;
  border: 1px solid rgba(186, 230, 253, 0.32);
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.22);
}

.shape-chip::after {
  top: 7px;
  left: -5px;
  width: 4px;
  height: 22px;
  background:
    linear-gradient(to bottom, rgba(186, 230, 253, 0.42) 0 3px, transparent 3px 7px) repeat-y;
  background-size: 4px 7px;
  box-shadow: 42px 0 0 rgba(186, 230, 253, 0.28);
}

.shape-nodes {
  bottom: 24px;
  left: 18%;
  width: 48px;
  height: 34px;
  border: 0;
  background:
    linear-gradient(28deg, transparent 45%, rgba(186, 230, 253, 0.32) 46%, rgba(186, 230, 253, 0.32) 52%, transparent 53%),
    linear-gradient(150deg, transparent 44%, rgba(186, 230, 253, 0.24) 45%, rgba(186, 230, 253, 0.24) 51%, transparent 52%);
  box-shadow: none;
  backdrop-filter: none;
  animation-delay: -6.5s;
}

.shape-nodes::before {
  top: 2px;
  left: 4px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(186, 230, 253, 0.36);
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.16);
  box-shadow:
    28px 4px 0 rgba(56, 189, 248, 0.12),
    16px 20px 0 rgba(56, 189, 248, 0.14);
}

@keyframes floatBox {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(10deg) scale(1);
    opacity: 0.38;
  }

  50% {
    transform: translate3d(18px, -16px, 0) rotate(28deg) scale(1.08);
    opacity: 0.72;
  }
}

@keyframes floatTech {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
    opacity: 0.34;
  }

  50% {
    transform: translate3d(-14px, -12px, 0) rotate(4deg);
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-box,
  .floating-shape {
    animation: none;
  }
}

.github-profile-body {
  padding: 28px;
  position: relative;
  z-index: 4;
  transform: translateZ(28px);
}

.github-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.github-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.github-title-row .github-name {
  margin-bottom: 0;
}

.github-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.github-avatar {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(125, 211, 252, 0.5);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  transform: translateZ(34px);
}

.github-name {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}

.github-login {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.github-bio {
  color: #cbd5e1;
  line-height: 1.7;
  word-break: keep-all;
  margin-bottom: 22px;
}

.github-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.github-stat {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.055);
  border-radius: 18px;
  padding: 16px;
  transform: translateZ(18px);
}

.github-stat b {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.github-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.github-meta {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 22px;
}

.github-meta span {
  word-break: break-word;
}

.github-link {
  width: 100%;
}

.github-state {
  color: #cbd5e1;
  font-weight: 800;
  line-height: 1.6;
  padding: 28px;
}

.github-activity-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(16px);
  overflow-x: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
}

.github-contribution-img {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.github-activity-desc {
  margin-top: 16px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 800;
  word-break: keep-all;
}

.github-activity-fallback {
  display: none;
  margin-top: 16px;
  color: #cbd5e1;
  font-weight: 800;
  line-height: 1.6;
}

.github-activity-card.is-error .github-contribution-img {
  display: none;
}

.github-activity-card.is-error .github-activity-fallback {
  display: block;
}

section {
  padding: 80px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
  word-break: keep-all;
}

.stack-list {
  display: grid;
  gap: 40px;
}

.stack-category {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.52);
  border-radius: 24px;
  backdrop-filter: blur(16px);
}

.stack-category h3 {
  margin-bottom: 18px;
  font-size: 1.5rem;
  color: #e5e7eb;
  letter-spacing: -0.03em;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #f8fafc;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.stack-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(30, 41, 59, 0.92);
}

.stack-badge img {
  width: 22px;
  height: 22px;
  display: block;
}

.stack-mark {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255, 153, 0, 0.14);
  color: #ff9900;
  border: 1px solid rgba(255, 153, 0, 0.34);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0;
}

.node-graph-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
}

.node-map {
  position: relative;
  min-height: 620px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.13), transparent 34%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    rgba(2, 6, 23, 0.42);
  background-size: auto, 34px 34px, 34px 34px, auto;
  border: 1px solid rgba(148, 163, 184, 0.14);
  cursor: grab;
  touch-action: none;
}

.node-map.is-panning {
  cursor: grabbing;
}

.node-toolbar {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.node-hint {
  color: rgba(226, 232, 240, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.node-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.node-zoom {
  min-width: 48px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 1000;
  text-align: right;
}

.node-reset {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.78);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.2s ease;
}

.node-reset:hover {
  border-color: rgba(56, 189, 248, 0.72);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.16);
}

.graph-viewport {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.graph-viewport.is-resetting {
  transition: transform 0.22s ease;
}

.node-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.node-line {
  stroke: rgba(56, 189, 248, 0.22);
  stroke-width: 1.4;
  transition: 0.2s ease;
}

.node-line.related {
  stroke: rgba(56, 189, 248, 0.72);
  stroke-width: 2.4;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.graph-node {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.85);
  color: #e5f6ff;
  cursor: grab;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  min-height: 36px;
  padding: 0 14px;
  white-space: nowrap;
  z-index: 2;
  user-select: none;
  touch-action: none;
}

.graph-node.center {
  min-height: 56px;
  padding: 0 24px;
  font-size: 18px;
  color: white;
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(8, 47, 73, 0.9);
  box-shadow: 0 0 38px rgba(56, 189, 248, 0.18);
}

.graph-node.category {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(14, 116, 144, 0.22);
}

.graph-node:hover,
.graph-node.active {
  transform: translate(-50%, -50%) translateY(-2px);
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.28);
  background: rgba(30, 41, 59, 0.94);
}

.graph-node.dragging {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.06);
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 34px rgba(56, 189, 248, 0.34);
  z-index: 5;
}

.graph-node.related {
  border-color: rgba(52, 211, 153, 0.68);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.16);
}

.node-map.has-active .graph-node:not(.active):not(.related) {
  opacity: 0.58;
}

.node-detail {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.5);
  border-radius: 24px;
  padding: 24px;
  align-self: stretch;
}

.detail-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.node-detail h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.detail-category {
  color: var(--green);
  font-weight: 1000;
  margin-bottom: 18px;
}

.detail-description {
  color: #cbd5e1;
  line-height: 1.75;
  word-break: keep-all;
  margin-bottom: 22px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.detail-tags .detail-tags-label {
  flex: 0 0 100%;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(148, 163, 184, 0.72);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-tags span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  color: rgba(203, 213, 225, 0.78);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  cursor: default;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  user-select: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  color: white;
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  border-radius: 28px;
  padding: 26px;
  transition: 0.28s;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56,189,248,0.16), transparent 38%, rgba(52,211,153,0.1));
  opacity: 0;
  transition: 0.28s;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 211, 252, 0.5);
}

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

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.project-card h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
  line-height: 1.25;
  word-break: break-word;
}

.project-card p {
  color: #cbd5e1;
  line-height: 1.7;
  word-break: keep-all;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
  border-radius: 999px;
}

.project-arrow {
  color: var(--blue);
  font-size: 26px;
  font-weight: 1000;
  flex: 0 0 auto;
}

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

.post-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  color: white;
  text-decoration: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  border-radius: 28px;
  padding: 26px;
  transition: 0.28s;
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  margin-bottom: 18px;
}

.post-card.no-thumb {
  padding-top: 28px;
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(52, 211, 153, 0.5);
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
}

.post-date {
  color: var(--green);
  font-size: 13px;
  font-weight: 1000;
  margin-bottom: 14px;
}

.post-card h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.35;
  margin-bottom: 12px;
  word-break: keep-all;
}

.post-card p {
  color: #cbd5e1;
  line-height: 1.7;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 1000;
}

.post-likes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fb7185;
  font-weight: 1000;
}

.post-sort {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 24px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255,255,255,0.055);
  border-radius: 18px;
}

.sort-btn {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
  transition: 0.2s;
}

.sort-btn:hover,
.sort-btn.active {
  color: white;
  border-color: rgba(125, 211, 252, 0.36);
  background: rgba(56, 189, 248, 0.13);
}

.post-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 24px;
  color: #cbd5e1;
  font-weight: 800;
}

.panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.07);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
}

.panel h2 {
  font-size: 40px;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}

.panel p {
  color: #cbd5e1;
  line-height: 1.75;
  word-break: keep-all;
  margin-bottom: 18px;
}

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

.big-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255,255,255,0.07);
  color: white;
  text-decoration: none;
  margin-top: 14px;
  transition: 0.25s;
}

.big-link:hover {
  transform: translateX(8px);
  border-color: rgba(125, 211, 252, 0.5);
  background: rgba(255,255,255,0.115);
}

.big-link b {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.big-link span {
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.link-state {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
  border-radius: 18px;
  padding: 18px;
  color: #cbd5e1;
  font-weight: 800;
}

.arrow {
  color: var(--blue);
  font-size: 26px;
  font-weight: 1000;
}

footer {
  padding: 44px 0 60px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.75s ease;
}

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

@media (max-width: 960px) {
  .intro-content {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .posts-grid,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
  }

  nav {
    height: auto;
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .node-graph-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    height: calc(220px + var(--hero-extra-height));
  }

  .projects-grid,
  .posts-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .stack-list {
    gap: 32px;
  }

  .stack-category {
    padding: 18px;
  }

  .stack-category h3 {
    font-size: 1.25rem;
  }

  .stack-badge {
    padding: 10px 14px;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
  }

  .node-graph-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .node-map {
    min-height: 520px;
  }

  .node-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .node-hint {
    flex: 1 1 160px;
    white-space: normal;
  }

  .node-toolbar-actions {
    flex: 0 0 auto;
  }

  .graph-node,
  .graph-node.center,
  .graph-node.category,
  .graph-node:hover,
  .graph-node.active {
    position: absolute;
  }

  .graph-node:hover,
  .graph-node.active {
    transform: translate(-50%, -50%) translateY(-2px);
  }

  .journey-item {
    grid-template-columns: 1fr;
  }

  .github-profile {
    --github-card-radius: 24px;
  }

  .github-banner {
    height: 118px;
  }

  .profile-panel {
    padding-top: 118px;
  }

  .floating-box {
    border-radius: 8px;
  }

  .shape-cloud {
    left: 42%;
    width: 50px;
    height: 24px;
  }

  .shape-cloud::before {
    width: 20px;
    height: 20px;
    box-shadow: 16px 4px 0 rgba(125, 211, 252, 0.1);
  }

  .shape-server {
    right: 28%;
    width: 38px;
    height: 32px;
  }

  .shape-chip {
    top: 68px;
    right: 10%;
    width: 30px;
    height: 30px;
  }

  .shape-chip::after {
    height: 18px;
    box-shadow: 36px 0 0 rgba(186, 230, 253, 0.28);
  }

  .shape-nodes {
    left: 12%;
    width: 38px;
    height: 28px;
  }

  .shape-nodes::before {
    width: 10px;
    height: 10px;
    box-shadow:
      22px 4px 0 rgba(56, 189, 248, 0.12),
      13px 16px 0 rgba(56, 189, 248, 0.14);
  }

  .box-1 {
    width: 22px;
    height: 22px;
  }

  .box-2 {
    top: 54px;
    width: 34px;
    height: 34px;
  }

  .box-3 {
    width: 26px;
    height: 26px;
  }

  .box-4 {
    width: 38px;
    height: 38px;
  }

  .box-5 {
    width: 20px;
    height: 20px;
  }

  .github-profile-body,
  .velog-profile-body,
  .github-state {
    padding: 22px;
  }

  .github-head {
    align-items: flex-start;
  }

  .github-avatar {
    width: 72px;
    height: 72px;
  }

  .github-stats {
    grid-template-columns: 1fr;
  }

  .velog-stats {
    grid-template-columns: 1fr;
  }

  .github-activity-card {
    padding: 16px;
  }

  .github-contribution-img {
    min-width: 640px;
  }

  .panel {
    padding: 22px;
    border-radius: 24px;
  }
}
