/* === BASE RESET & VARIABLES === */
:root {
  --bg-deep: #03050a;
  --bg-surface: rgba(12, 19, 36, 0.85);
  --primary: #7bd1fa;
  --primary-dim: rgba(123, 209, 250, 0.3);
  --secondary: #c4c1fb;
  --secondary-dim: rgba(196, 193, 251, 0.3);
  --gold: #fde047;
  --gold-dim: rgba(253, 224, 71, 0.3);
  --cyan: #00dbe9;
  --cyan-dim: rgba(0, 219, 233, 0.3);
  --text-primary: #dce1fb;
  --text-secondary: rgba(220, 225, 251, 0.7);
  --text-muted: rgba(220, 225, 251, 0.5);
  --border: rgba(123, 209, 250, 0.15);
  --glow-primary: 0 0 20px rgba(123, 209, 250, 0.3), 0 0 40px rgba(123, 209, 250, 0.1);
  --glow-gold: 0 0 20px rgba(253, 224, 71, 0.3), 0 0 40px rgba(253, 224, 71, 0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%; height: 100%; overflow: hidden;
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  background: var(--bg-deep); color: var(--text-primary);
}

/* === CANVAS BACKGROUNDS === */
#starlight-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; }

/* === TOP BAR === */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 48px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 32px;
  background: rgba(3, 5, 10, 0.6); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 209, 250, 0.08); z-index: 1000;
}
.top-bar-left {
  justify-self: start;
  font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; color: var(--text-secondary);
}
.top-bar-right {
  justify-self: end;
  font-size: 13px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.05em;
}
.top-bar-email {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 18px;
  background: rgba(0, 219, 233, 0.06);
  border: 1px solid rgba(0, 219, 233, 0.2);
  color: var(--text-secondary); font-size: 12px; letter-spacing: 0.02em;
  cursor: pointer; transition: all 0.25s var(--transition);
  box-shadow: 0 0 10px rgba(0, 219, 233, 0.06);
}
.top-bar-email:hover {
  background: rgba(0, 219, 233, 0.12);
  border-color: rgba(0, 219, 233, 0.4);
  color: var(--text-primary);
  box-shadow: 0 0 16px rgba(0, 219, 233, 0.15);
}
.top-bar-email.copied {
  border-color: rgba(253, 224, 71, 0.5);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(253, 224, 71, 0.15);
}
.email-copy-icon {
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); opacity: 0.85;
}
.top-bar-email.copied .email-copy-icon { color: var(--gold); }
.email-label { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.email-text { white-space: nowrap; }

/* === PAGES === */
.page {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; opacity: 0; pointer-events: none;
  transition: opacity 0.6s var(--transition);
}
.page.active { opacity: 1; pointer-events: auto; }

/* ================================================================
   1. WELCOME PAGE - Triple Orbital Rings + Glass Panel + Crystal Button
   ================================================================ */
.welcome-circle-frame {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 660px; height: 660px;
}

.ring-outer, .ring-middle, .ring-inner, .ring-far, .welcome-orbit {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.ring-far {
  inset: -20px;
  border: 1px dashed rgba(129, 140, 248, 0.14);
  box-shadow: 0 0 50px rgba(0, 219, 233, 0.05);
  animation: spin-slow-reverse 100s linear infinite;
}
.ring-outer {
  inset: 0;
  border: 1px solid rgba(0, 219, 233, 0.22);
  box-shadow: 0 0 35px rgba(0, 219, 233, 0.08);
  animation: spin-slow 80s linear infinite;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 219, 233, 0.85) 2px, transparent 3px),
    radial-gradient(circle at 50% 100%, rgba(253, 224, 71, 0.75) 2px, transparent 3px),
    radial-gradient(circle at 0% 50%, rgba(129, 140, 248, 0.75) 2px, transparent 3px),
    radial-gradient(circle at 100% 50%, rgba(0, 219, 233, 0.75) 2px, transparent 3px);
}
.ring-middle {
  inset: 52px;
  border: 1px dashed rgba(0, 219, 233, 0.2);
  animation: spin-slow-reverse 60s linear infinite;
}
.ring-inner {
  inset: 100px;
  border: 1px solid rgba(0, 219, 233, 0.35);
  box-shadow: inset 0 0 60px rgba(0, 219, 233, 0.1), 0 0 60px rgba(0, 219, 233, 0.12);
  animation: spin-slow 100s linear infinite;
}
.welcome-orbit {
  border: 1px solid transparent;
  border-top-color: rgba(0, 219, 233, 0.22);
  border-right-color: rgba(129, 140, 248, 0.12);
}
.welcome-orbit-a { inset: 18px; animation: spin-slow 70s linear infinite; }
.welcome-orbit-b { inset: 72px; border-left-color: rgba(253, 224, 71, 0.1); animation: spin-slow-reverse 90s linear infinite; }
.welcome-core-glow {
  position: absolute; inset: 128px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 219, 233, 0.1) 0%, rgba(129, 140, 248, 0.04) 45%, transparent 70%);
  animation: pulse-glow 6s infinite ease-in-out; pointer-events: none;
}
.welcome-bubble-halo {
  position: absolute; z-index: 15;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 219, 233, 0.06) 0%, transparent 65%);
  border: 1px solid rgba(0, 219, 233, 0.08);
  box-shadow: 0 0 80px rgba(0, 219, 233, 0.1), inset 0 0 60px rgba(0, 219, 233, 0.04);
  pointer-events: none;
}

.glass-panel {
  position: relative; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 38px 44px; max-width: 460px; width: 88%; border-radius: 28px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.58) 0%, rgba(8, 12, 24, 0.82) 100%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 219, 233, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 45px rgba(0, 219, 233, 0.14),
    0 28px 60px rgba(0, 0, 0, 0.55);
  margin-bottom: 28px;
  overflow: hidden;
}
.glass-panel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(0, 219, 233, 0.1) 0%, transparent 55%);
}
.glass-panel::after {
  content: ''; position: absolute; inset: 7px; border-radius: 22px; pointer-events: none;
  border: 1px solid rgba(0, 219, 233, 0.1);
}
.glass-corner {
  position: absolute; width: 16px; height: 16px; z-index: 2;
  border-color: rgba(0, 219, 233, 0.5); border-style: solid; border-width: 0;
  opacity: 0.85;
}
.glass-corner.corner-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.glass-corner.corner-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.glass-corner.corner-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.glass-corner.corner-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.glass-divider-top {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.65), transparent);
}
.glass-divider-bottom {
  position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.4), transparent);
}

.welcome-title {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 360px; margin: 0; text-align: center;
}
.welcome-line-main {
  font-size: 20px; font-weight: 400; letter-spacing: 0.1em; line-height: 1.65;
  color: var(--text-primary);
}
.welcome-title .title-accent {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 219, 233, 0.45);
}
.welcome-tilde {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 219, 233, 0.4);
}
.welcome-line-divider {
  display: block; width: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.55), transparent);
}
.welcome-line-sub {
  font-size: 14px; font-weight: 300; letter-spacing: 0.08em; line-height: 1.8;
  color: var(--text-secondary);
}
.cyan-tilde { color: var(--cyan); }
.welcome-text {
  font-size: 14px; line-height: 1.8; color: var(--text-secondary); text-align: center;
}

.btn-crystal {
  position: relative; z-index: 20; display: flex; flex-direction: column;
  align-items: center; gap: 6px; padding: 16px 48px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
  backdrop-filter: blur(8px); cursor: pointer;
  border: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 10px rgba(0, 219, 233, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.btn-crystal:hover {
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-color: rgba(125, 211, 252, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 0 20px rgba(0, 219, 233, 0.6),
    0 0 30px rgba(0, 219, 233, 0.4);
  transform: translateY(-2px) scale(1.02);
}
.enter-text-cn { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 0.3em; margin-left: 6px; }
.crystal-divider-row { display: flex; align-items: center; gap: 8px; }
.crystal-line { width: 12px; height: 1px; background: rgba(0, 219, 233, 0.5); }
.enter-text-en {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(125, 211, 252, 0.6);
}

/* ================================================================
   2. MAIN PAGE - Character + Multi-Ring + Celestial Buttons
   ================================================================ */
#main-page { flex-direction: column; gap: 0; }
.character-container {
  display: flex; flex-direction: column; align-items: center; position: relative;
  padding-top: 56px;
}
.character-title {
  position: absolute; top: -36px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  font-size: 19px; font-weight: 300; letter-spacing: 0.1em;
  color: var(--text-secondary); white-space: nowrap; text-align: center;
  opacity: 0; z-index: 10;
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.character-title .title-accent {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 219, 233, 0.45);
}
.character-title::after {
  content: ''; display: block; width: 72px; height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.45), transparent);
}
#main-page.active .character-title { opacity: 1; transform: translateX(-50%) translateY(0); }

.character-ring {
  position: relative; width: 480px; height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.char-ring-far {
  position: absolute; inset: -18px; border-radius: 50%;
  border: 1px dashed rgba(129, 140, 248, 0.12);
  box-shadow: 0 0 40px rgba(0, 219, 233, 0.04);
}
.char-ring-outer {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(0, 219, 233, 0.2);
  box-shadow: 0 0 30px rgba(0, 219, 233, 0.08);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 219, 233, 0.9) 2px, transparent 3px),
    radial-gradient(circle at 50% 100%, rgba(253, 224, 71, 0.8) 2px, transparent 3px),
    radial-gradient(circle at 0% 50%, rgba(129, 140, 248, 0.8) 2px, transparent 3px),
    radial-gradient(circle at 100% 50%, rgba(0, 219, 233, 0.8) 2px, transparent 3px);
}
.char-ring-mid {
  position: absolute; inset: 28px; border-radius: 50%;
  border: 1px dashed rgba(0, 219, 233, 0.18);
  background-image:
    conic-gradient(from 0deg, transparent 0deg, rgba(0, 219, 233, 0.06) 30deg, transparent 60deg,
      transparent 120deg, rgba(129, 140, 248, 0.06) 150deg, transparent 180deg,
      transparent 240deg, rgba(253, 224, 71, 0.05) 270deg, transparent 300deg);
}
.char-ring-inner {
  position: absolute; inset: 56px; border-radius: 50%;
  border: 1px solid rgba(0, 219, 233, 0.35);
  box-shadow: inset 0 0 50px rgba(0, 219, 233, 0.08), 0 0 50px rgba(0, 219, 233, 0.1);
}
.char-ring-orbit {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid transparent;
  border-top-color: rgba(0, 219, 233, 0.25);
  border-right-color: rgba(129, 140, 248, 0.15);
}
.char-orbit-a { inset: 12px; border-bottom-color: rgba(253, 224, 71, 0.12); }
.char-orbit-b { inset: 42px; border-left-color: rgba(0, 219, 233, 0.2); border-top-color: transparent; }
.char-ring-frame {
  position: absolute; inset: -8px; pointer-events: none;
}
.char-frame-corner {
  position: absolute; width: 18px; height: 18px;
  border-color: rgba(0, 219, 233, 0.45); border-style: solid; border-width: 0;
}
.char-frame-corner.cfc-tl { top: 28px; left: 28px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.char-frame-corner.cfc-tr { top: 28px; right: 28px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.char-frame-corner.cfc-bl { bottom: 28px; left: 28px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.char-frame-corner.cfc-br { bottom: 28px; right: 28px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }
.char-frame-divider {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.5), transparent);
}
.cfd-top { top: 22px; }
.cfd-bottom { bottom: 22px; }
.char-ring-markers {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: spin-slow 120s linear infinite reverse;
}
.char-marker {
  position: absolute; top: 50%; left: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  margin: -2.5px 0 0 -2.5px;
  background: rgba(0, 219, 233, 0.7);
  box-shadow: 0 0 8px rgba(0, 219, 233, 0.6);
}
.char-marker:nth-child(1) { transform: rotate(0deg) translateY(-228px); background: rgba(0, 219, 233, 0.9); }
.char-marker:nth-child(2) { transform: rotate(45deg) translateY(-228px); width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; opacity: 0.6; }
.char-marker:nth-child(3) { transform: rotate(90deg) translateY(-228px); background: rgba(253, 224, 71, 0.85); box-shadow: 0 0 8px rgba(253, 224, 71, 0.5); }
.char-marker:nth-child(4) { transform: rotate(135deg) translateY(-228px); width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; opacity: 0.6; }
.char-marker:nth-child(5) { transform: rotate(180deg) translateY(-228px); background: rgba(129, 140, 248, 0.85); box-shadow: 0 0 8px rgba(129, 140, 248, 0.5); }
.char-marker:nth-child(6) { transform: rotate(225deg) translateY(-228px); width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; opacity: 0.6; }
.char-marker:nth-child(7) { transform: rotate(270deg) translateY(-228px); background: rgba(0, 219, 233, 0.9); }
.char-marker:nth-child(8) { transform: rotate(315deg) translateY(-228px); width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; opacity: 0.6; }
.char-core-glow {
  position: absolute; inset: 88px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 219, 233, 0.08) 0%, rgba(129, 140, 248, 0.03) 40%, transparent 70%);
  pointer-events: none;
}
.char-portal {
  position: absolute; inset: 108px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 219, 233, 0.05) 0%, transparent 60%);
  backdrop-filter: blur(3px); pointer-events: none;
  border: 1px solid rgba(0, 219, 233, 0.08);
}

.character-img {
  position: relative; height: 480px; width: auto; object-fit: contain; z-index: 2;
  margin-top: -40px;
  filter: drop-shadow(0 0 25px rgba(0, 219, 233, 0.12));
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
#main-page.active .character-img { opacity: 1; transform: scale(1); }

/* Celestial Buttons */
.btn-celestial {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, rgba(0, 219, 233, 0.06) 0%, rgba(15, 23, 42, 0.5) 100%) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 219, 233, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 22px rgba(0, 219, 233, 0.18),
    0 6px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: celestial-glow-pulse 6s ease-in-out infinite;
}
.btn-celestial::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 219, 233, 0.08) 0%, transparent 45%, transparent 55%, rgba(129, 140, 248, 0.05) 100%);
  opacity: 0.8;
}
.btn-celestial:hover {
  animation: none;
  border-color: rgba(0, 219, 233, 0.85) !important;
  background: linear-gradient(135deg, rgba(0, 219, 233, 0.14) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 40px rgba(0, 219, 233, 0.45),
    0 0 70px rgba(0, 219, 233, 0.12),
    inset 0 0 18px rgba(0, 219, 233, 0.08);
  transform: translateY(-3px);
}
.btn-shimmer {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: btn-shimmer-sweep 8s ease-in-out infinite;
}
.btn-celestial:hover .btn-shimmer { animation-duration: 2s; }
.btn-divider-top {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.55), transparent);
  pointer-events: none;
}
.btn-icon {
  position: relative; z-index: 1;
  width: 34px; height: 34px; min-width: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 219, 233, 0.1);
  border: 1px solid rgba(0, 219, 233, 0.25);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 219, 233, 0.15), inset 0 0 8px rgba(0, 219, 233, 0.06);
  transition: all 0.3s ease;
}
.btn-celestial:hover .btn-icon {
  background: rgba(0, 219, 233, 0.18);
  border-color: rgba(0, 219, 233, 0.5);
  box-shadow: 0 0 18px rgba(0, 219, 233, 0.35);
  color: #fff;
}
.btn-label {
  position: relative; z-index: 1;
  letter-spacing: 0.04em;
}
.corner-accent {
  position: absolute; width: 7px; height: 7px; z-index: 2;
  border: 1px solid rgba(253, 224, 71, 0.45);
  opacity: 0.45; transition: all 0.3s ease; pointer-events: none;
}
.btn-celestial:hover .corner-accent { opacity: 0.9; border-color: rgba(253, 224, 71, 0.8); }
.corner-accent.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-accent.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner-accent.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner-accent.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* === BUBBLES === */
.bubbles-container {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; display: flex;
  align-items: center; justify-content: space-between; padding: 0 12%;
}
.bubble-left, .bubble-right { display: flex; flex-direction: column; gap: 32px; pointer-events: auto; }
.bubble-btn {
  position: relative; padding: 16px 28px 16px 18px;
  border-radius: 32px; color: var(--text-primary);
  font-size: 16px; font-weight: 500; cursor: pointer;
  opacity: 0; white-space: nowrap; min-width: 210px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
#main-page.active .bubble-btn {
  opacity: 1; transition: opacity 0.6s var(--transition);
}
.bubble-left .bubble-btn:nth-child(1) { transition-delay: 0.5s; animation-delay: 0s; }
.bubble-left .bubble-btn:nth-child(2) { transition-delay: 0.65s; animation-delay: 0.6s; }
.bubble-left .bubble-btn:nth-child(3) { transition-delay: 0.8s; animation-delay: 1.2s; }
.bubble-right .bubble-btn:nth-child(1) { transition-delay: 0.6s; animation-delay: 0.3s; }
.bubble-right .bubble-btn:nth-child(2) { transition-delay: 0.75s; animation-delay: 0.9s; }
.bubble-right .bubble-btn:nth-child(3) { transition-delay: 0.9s; animation-delay: 1.5s; }

/* === SIDE NAVIGATION === */
.side-nav {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 50;
}
.side-bubble {
  padding: 10px 16px;
  background: rgba(12, 19, 36, 0.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(123, 209, 250, 0.2); border-radius: 20px;
  color: var(--text-secondary); font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all 0.3s var(--transition); white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  animation: float 3s ease-in-out infinite;
}
.side-bubble:hover { border-color: rgba(123, 209, 250, 0.5); color: var(--text-primary); }
.side-bubble.active {
  transform: scale(1.08); border-color: rgba(123, 209, 250, 0.6);
  box-shadow: 0 0 20px rgba(123, 209, 250, 0.2); color: #fff;
  background: rgba(123, 209, 250, 0.1);
}
.side-bubble:nth-child(1) { animation-delay: 0s; }
.side-bubble:nth-child(2) { animation-delay: 0.4s; }
.side-bubble:nth-child(3) { animation-delay: 0.8s; }
.side-bubble:nth-child(4) { animation-delay: 0.2s; }
.side-bubble:nth-child(5) { animation-delay: 0.6s; }
.side-bubble:nth-child(6) { animation-delay: 1.0s; }
.back-btn { margin-top: 8px; border-color: rgba(253, 224, 71, 0.3); color: rgba(253, 224, 71, 0.8); }
.back-btn:hover { border-color: rgba(253, 224, 71, 0.6); color: var(--gold); }

/* === CONTENT AREA === */
.content-area {
  position: relative; width: 100%; height: 100%;
  padding: 24px 180px 24px 32px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(123, 209, 250, 0.2) transparent;
}
.content-area::-webkit-scrollbar { width: 4px; }
.content-area::-webkit-scrollbar-track { background: transparent; }
.content-area::-webkit-scrollbar-thumb { background: rgba(123, 209, 250, 0.2); border-radius: 2px; }
#content-page {
  justify-content: flex-start; align-items: stretch;
  padding-top: 48px; flex-direction: row;
}
.content-section { display: none; animation: fadeIn 0.4s var(--transition) forwards; }
.content-section.active { display: block; }

/* ================================================================
   3. INTERNSHIP - Glass depth + improved layout
   ================================================================ */

.internship-panel {
  position: relative; width: 100%; max-width: 920px;
  margin: 0 auto;
  padding: 28px 32px 32px;
  background: linear-gradient(135deg, rgba(11, 17, 29, 0.55) 0%, rgba(11, 17, 29, 0.75) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 219, 233, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.internship-panel::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.55), transparent);
}
.internship-panel::after {
  content: ''; position: absolute; inset: 8px; border-radius: 14px; pointer-events: none;
  border: 1px solid rgba(0, 219, 233, 0.06);
}
.internship-list { display: flex; flex-direction: column; gap: 18px; }

.internship-block {
  --block-accent: rgba(0, 219, 233, 0.8);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(11, 17, 29, 0.92) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 219, 233, 0.18);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.35s var(--transition);
  position: relative; overflow: hidden;
}
.internship-block::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--block-accent), transparent);
  opacity: 0.55;
}
.internship-block.primary { --block-accent: rgba(0, 219, 233, 0.75); }
.internship-block.secondary { --block-accent: rgba(129, 140, 248, 0.75); }
.internship-block:hover {
  border-color: rgba(0, 219, 233, 0.4);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(0, 219, 233, 0.08);
}
.company-header { display: flex; gap: 20px; }
.company-logo {
  width: 64px; height: 64px; min-width: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0, 219, 233, 0.25); overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 18px rgba(0, 219, 233, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.company-logo img { width: 52px !important; height: 52px !important; }
.company-info { flex: 1; }
.job-title-box {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 219, 233, 0.12);
}
.job-title-box h3 {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  letter-spacing: 0.02em; flex: 1; min-width: 200px;
}
.job-period {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 14px;
  color: var(--cyan); white-space: nowrap;
  background: rgba(0, 219, 233, 0.08);
  border: 1px solid rgba(0, 219, 233, 0.22);
  box-shadow: 0 0 10px rgba(0, 219, 233, 0.08);
}
.work-item {
  margin-bottom: 16px; padding: 14px 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 219, 233, 0.08);
  border-radius: 12px;
}
.work-item:last-child { margin-bottom: 0; }
.work-item-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid rgba(123, 209, 250, 0.08);
}
.work-item-header h4 { font-size: 14px; font-weight: 600; color: var(--cyan); }
.work-icon { color: var(--cyan); flex-shrink: 0; }
.decor-icon { margin-left: auto; flex-shrink: 0; opacity: 0.6; }
.work-detail { padding-left: 4px; }
.work-detail.compact { padding-left: 0; }
.detail-row {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px;
  padding: 8px 10px; border-radius: 8px;
  transition: background 0.25s;
}
.detail-row:last-child { margin-bottom: 0; }
.detail-row:hover { background: rgba(0, 219, 233, 0.04); }
.detail-bullet {
  width: 6px; height: 6px; min-width: 6px; border-radius: 50%;
  background: var(--cyan); opacity: 0.65; margin-top: 8px;
  box-shadow: 0 0 6px rgba(0, 219, 233, 0.4);
}
.detail-row p { font-size: 13px; line-height: 1.75; color: var(--text-secondary); flex: 1; }
.detail-row p strong { color: var(--text-primary); }
.detail-icons { display: flex; gap: 6px; flex-shrink: 0; margin-top: 4px; }

/* ================================================================
   4. PROJECTS - Enlarged blocks + fixed links + lightbox
   ================================================================ */
#section-projects {
  gap: 0; padding-bottom: 0;
}
#section-projects.active {
  display: flex; flex-direction: column;
  height: calc(100vh - 72px);
}

.project-wrapper {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  margin-bottom: 12px;
}
.project-wrapper:last-child { margin-bottom: 0; }

.project-block {
  display: flex; gap: 16px; flex: 1; min-height: 0;
  background: linear-gradient(135deg, rgba(12, 19, 36, 0.5) 0%, rgba(12, 19, 36, 0.7) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 16px;
}
.project-carousel {
  position: relative; width: 340px; min-width: 340px;
  border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(0, 0, 0, 0.3); align-self: stretch;
}
.carousel-wrapper { width: 100%; height: 100%; overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform 0.4s var(--transition); }
.carousel-track img {
  width: 340px; min-width: 340px; height: 100%;
  object-fit: cover; cursor: pointer;
  transition: opacity 0.3s;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(12, 19, 36, 0.8); border: 1px solid rgba(123, 209, 250, 0.3);
  color: var(--text-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; z-index: 5;
}
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn:hover { background: rgba(123, 209, 250, 0.15); border-color: rgba(123, 209, 250, 0.6); }
.carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.carousel-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all 0.3s; cursor: pointer; }
.carousel-dots .dot.active { background: var(--primary); box-shadow: 0 0 6px rgba(123, 209, 250, 0.5); }

.project-info {
  flex: 1; overflow-y: auto; padding-right: 8px;
}
.project-info::-webkit-scrollbar { width: 3px; }
.project-info::-webkit-scrollbar-thumb { background: rgba(123, 209, 250, 0.15); border-radius: 2px; }

.project-links-fixed {
  display: flex; gap: 10px; padding: 12px 16px; flex-wrap: wrap; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(12, 19, 36, 0.6) 0%, rgba(12, 19, 36, 0.8) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  align-items: center;
}

.project-meta { display: flex; gap: 8px; margin-bottom: 10px; }
.meta-tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px;
  padding: 3px 10px; border-radius: 12px;
  background: rgba(123, 209, 250, 0.1); border: 1px solid rgba(123, 209, 250, 0.2);
  color: var(--text-secondary);
}
.meta-tag.highlight { background: rgba(253, 224, 71, 0.1); border-color: rgba(253, 224, 71, 0.3); color: var(--gold); }
.project-name { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.project-desc { font-size: 12px; line-height: 1.6; color: var(--text-secondary); margin-bottom: 12px; }
.project-content-detail h4 { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.project-step { display: flex; gap: 10px; margin-bottom: 8px; }
.step-num {
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%;
  background: rgba(123, 209, 250, 0.15); border: 1px solid rgba(123, 209, 250, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--primary); margin-top: 2px;
}
.project-step > div { font-size: 12px; line-height: 1.6; color: var(--text-secondary); }
.project-step strong { color: var(--text-primary); }
.sub-list { list-style: none; padding-left: 12px; margin-top: 6px; }
.sub-list li { position: relative; padding-left: 12px; margin-bottom: 6px; font-size: 12px; line-height: 1.6; }
.sub-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--secondary); opacity: 0.5;
}
.project-link-btn {
  font-size: 13px; font-weight: 500; padding: 10px 22px; border-radius: 20px;
  text-decoration: none; transition: all 0.3s; white-space: nowrap;
}
.project-link-btn-primary {
  background: rgba(0, 219, 233, 0.12); border: 1px solid rgba(0, 219, 233, 0.35);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 219, 233, 0.08);
}
.project-link-btn-primary:hover {
  background: rgba(0, 219, 233, 0.22); border-color: rgba(0, 219, 233, 0.6);
  box-shadow: 0 0 20px rgba(0, 219, 233, 0.2);
}
.project-link-btn-secondary {
  font-size: 12px; font-weight: 500; padding: 9px 18px;
  background: rgba(0, 219, 233, 0.08); border: 1px solid rgba(0, 219, 233, 0.22);
  color: rgba(123, 209, 250, 0.9);
  box-shadow: 0 0 10px rgba(0, 219, 233, 0.06);
}
.project-link-btn-secondary:hover {
  background: rgba(0, 219, 233, 0.16); border-color: rgba(0, 219, 233, 0.45);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 219, 233, 0.14);
}

/* === LIGHTBOX === */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  transition: opacity 0.3s;
}
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none; color: #fff; font-size: 36px;
  cursor: pointer; opacity: 0.7; transition: opacity 0.2s; z-index: 10;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(12, 19, 36, 0.7); border: 1px solid rgba(123, 209, 250, 0.3);
  border-radius: 50%; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; transition: all 0.2s; z-index: 10;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(123, 209, 250, 0.15); border-color: rgba(123, 209, 250, 0.6);
}

/* ================================================================
   5. SKILLS - Geometric Glass Grid
   ================================================================ */
#section-skills.active,
#section-personality.active,
#section-internship.active {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: calc(100vh - 120px);
}

#section-skills.active {
  width: 100%;
}

#section-skills.active .skills-plaque-panel {
  width: min(1100px, calc(100vw - 220px));
  max-width: none;
}

.section-panel-header {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 28px;
}
.panel-header-line {
  flex: 1; max-width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.45), transparent);
}
.panel-header-title {
  font-size: 15px; font-weight: 300; letter-spacing: 0.12em;
  color: var(--text-secondary); white-space: nowrap;
}
.panel-header-title .title-accent {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  color: var(--cyan); margin-right: 8px;
  text-shadow: 0 0 12px rgba(0, 219, 233, 0.35);
}

.skills-panel,
.personality-panel {
  position: relative; width: 100%; max-width: 980px;
  margin: 0 auto;
  padding: 28px 32px 32px;
  background: linear-gradient(135deg, rgba(11, 17, 29, 0.55) 0%, rgba(11, 17, 29, 0.75) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 219, 233, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.personality-panel { max-width: 820px; }
.skills-panel::before,
.personality-panel::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.55), transparent);
}
.skills-panel::after,
.personality-panel::after {
  content: ''; position: absolute; inset: 8px; border-radius: 14px; pointer-events: none;
  border: 1px solid rgba(0, 219, 233, 0.06);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: skill;
}

/* === SKILLS PLAQUE INTERACTIVE === */
.skills-plaque-panel {
  display: flex; flex-direction: column; justify-content: center;
  max-width: none; width: 100%;
  min-height: calc(100vh - 140px);
  padding: 18px 28px 32px;
}
.skills-plaque-panel .section-panel-header { margin-bottom: 14px; }
.skills-plaque-hint {
  text-align: center; font-size: 14px; font-weight: 300;
  letter-spacing: 0.16em; color: rgba(0, 219, 233, 0.65);
  margin: 0 0 28px;
  text-shadow: 0 0 18px rgba(0, 219, 233, 0.15);
}
.skills-plaque-hint::before,
.skills-plaque-hint::after {
  content: '·'; margin: 0 10px; opacity: 0.45;
}
.skills-plaque-stage {
  --plaque-w: 188px;
  --plaque-h: 300px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center;
  width: 100%; flex: 1;
}
.skills-plaque-row {
  display: flex; gap: clamp(40px, 6vw, 80px);
  justify-content: center; align-items: flex-start;
  width: 100%; max-width: 1100px;
}
.plaque-unit {
  display: flex; flex-direction: column; align-items: center;
  width: calc(var(--plaque-w) + 24px);
  transform-origin: top center;
  margin-bottom: 48px;
}
.plaque-mount {
  display: flex; flex-direction: column; align-items: center; height: 34px;
}
.plaque-wire {
  width: 1px; height: 24px;
  background: linear-gradient(180deg, rgba(253,224,71,0.12), rgba(0,219,233,0.55));
  transform-origin: top center;
  animation: wire-sway 8s ease-in-out infinite;
  animation-delay: var(--sway-delay, 0s);
}
.plaque-hook {
  width: 12px; height: 7px; border: 1px solid rgba(0,219,233,0.45);
  border-bottom: none; border-radius: 6px 6px 0 0;
  box-shadow: 0 0 8px rgba(0,219,233,0.2);
}
.plaque-swing {
  animation: plaque-sway 9s ease-in-out infinite;
  animation-delay: var(--sway-delay, 0s);
  transform-origin: top center;
  will-change: transform;
}
.plaque-card {
  position: relative; width: var(--plaque-w);
  perspective: 1200px;
}
.plaque-card.is-pulling .plaque-swing { animation-play-state: paused; }
.plaque-unit.is-pulling .plaque-wire { animation-play-state: paused; }
.plaque-inner {
  position: relative; width: var(--plaque-w); height: var(--plaque-h);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 10px;
}
.plaque-card.is-flipped .plaque-inner { transform: rotateY(180deg); }
.plaque-face {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(0, 219, 233, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 32px rgba(0,0,0,0.38),
    0 0 24px rgba(0,219,233,0.08);
}
.plaque-front {
  background:
    linear-gradient(165deg, rgba(18,28,48,0.95) 0%, rgba(8,14,26,0.98) 100%);
  display: flex; align-items: center; justify-content: center;
}
.plaque-front::before {
  content: ''; position: absolute; inset: 8px; border-radius: 6px;
  border: 1px solid rgba(0,219,233,0.12); pointer-events: none;
}
.plaque-front::after {
  content: ''; position: absolute; top: 0; left: 14px; right: 14px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253,224,71,0.45), transparent);
}
.plaque-title-v {
  writing-mode: vertical-rl; text-orientation: upright;
  font-size: 17px; font-weight: 600; letter-spacing: 0.32em;
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(0,219,233,0.25);
}
.plaque-title-h {
  font-size: 16px; font-weight: 600; letter-spacing: 0.06em;
  line-height: 1.45; text-align: center; padding: 0 14px;
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(0,219,233,0.2);
}
.plaque-back {
  transform: rotateY(180deg);
  background: linear-gradient(165deg, rgba(10,18,32,0.98) 0%, rgba(6,12,22,0.99) 100%);
  padding: 16px 14px 18px;
  display: flex; align-items: center; justify-content: center;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,219,233,0.2) transparent;
}
.plaque-back::-webkit-scrollbar { width: 3px; }
.plaque-back::-webkit-scrollbar-thumb {
  background: rgba(0,219,233,0.25); border-radius: 2px;
}
.plaque-back p {
  font-size: 12px; line-height: 1.72; color: var(--text-secondary);
  text-align: justify;
  width: 100%;
}
.plaque-pendant {
  position: absolute; left: 50%; bottom: -38px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  background: none; border: none; cursor: grab; padding: 0;
  touch-action: none; z-index: 5;
}
.plaque-pendant:active { cursor: grabbing; }
.pendant-cord {
  width: 1px; height: 16px;
  background: linear-gradient(180deg, rgba(0,219,233,0.5), rgba(253,224,71,0.65));
  transition: height 0.2s ease;
}
.plaque-card.is-pulling .pendant-cord { transition: none; }
.pendant-ring {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(253,224,71,0.75);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.35), rgba(253,224,71,0.15));
  box-shadow: 0 0 12px rgba(253,224,71,0.35), inset 0 0 6px rgba(253,224,71,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plaque-pendant:hover .pendant-ring {
  box-shadow: 0 0 18px rgba(253,224,71,0.55), inset 0 0 8px rgba(253,224,71,0.3);
  transform: scale(1.08);
}

.skill-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(11, 17, 29, 0.92) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 219, 233, 0.18);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: all 0.35s var(--transition);
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.skill-card::before {
  content: counter(skill, decimal-leading-zero);
  counter-increment: skill;
  position: absolute; top: 14px; right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  color: rgba(0, 219, 233, 0.35);
  pointer-events: none;
}
.skill-card::after {
  content: ''; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.35), transparent);
  opacity: 0.6; pointer-events: none;
}
.skill-card:hover {
  border-color: rgba(0, 219, 233, 0.45); transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(0, 219, 233, 0.1);
}
.skill-card:nth-child(7) { grid-column: 2 / 3; }
.skill-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0, 219, 233, 0.08);
  border: 1px solid rgba(0, 219, 233, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 219, 233, 0.12), inset 0 0 10px rgba(0, 219, 233, 0.05);
  transition: all 0.35s var(--transition);
}
.skill-card:hover .skill-icon {
  background: rgba(0, 219, 233, 0.14);
  border-color: rgba(0, 219, 233, 0.45);
  box-shadow: 0 0 22px rgba(0, 219, 233, 0.25);
  transform: scale(1.05);
}
.skill-card h4 {
  font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary);
  letter-spacing: 0.03em;
}
.skill-card p { font-size: 12px; line-height: 1.75; color: var(--text-secondary); }

/* === CAMPUS === */
#section-campus.active {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: calc(100vh - 120px);
}
.campus-panel {
  width: 100%; max-width: 900px;
  display: flex; flex-direction: column; gap: 28px;
}
.campus-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 219, 233, 0.15);
}
.campus-section-title svg { color: var(--cyan); flex-shrink: 0; }

.degree-dual-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.degree-card {
  display: flex; gap: 14px; align-items: stretch;
  background: linear-gradient(145deg, rgba(12,19,36,0.72) 0%, rgba(8,14,26,0.88) 100%);
  border: 1px solid rgba(0,219,233,0.18); border-radius: 14px;
  padding: 16px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 12px 32px rgba(0,0,0,0.28);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.degree-card:hover {
  border-color: rgba(0,219,233,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 40px rgba(0,0,0,0.35), 0 0 24px rgba(0,219,233,0.08);
}
.degree-logo-wrap {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 10px;
  overflow: hidden; border: 1px solid rgba(0,219,233,0.2);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.degree-logo-wrap.degree-logo-nsd { background: rgba(120,20,30,0.35); }
.degree-logo { width: 100%; height: 100%; object-fit: cover; display: block; }
.degree-body h4 {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 8px; line-height: 1.45;
}
.degree-body p { font-size: 12px; line-height: 1.72; color: var(--text-secondary); }

.monitor-showcase {
  background: linear-gradient(145deg, rgba(11,17,29,0.78) 0%, rgba(8,14,26,0.92) 100%);
  border: 1px solid rgba(0,219,233,0.2); border-radius: 16px;
  padding: 20px 22px; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 36px rgba(0,0,0,0.3);
}
.monitor-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px dashed rgba(0,219,233,0.15);
}
.monitor-badge, .club-badge {
  font-size: 10px; letter-spacing: 0.12em; padding: 3px 10px;
  border-radius: 20px; color: var(--cyan);
  background: rgba(0,219,233,0.1); border: 1px solid rgba(0,219,233,0.28);
}
.monitor-header h4, .club-card-head h4 {
  font-size: 14px; font-weight: 600; color: var(--text-primary); flex: 1;
}
.monitor-period, .club-period {
  font-family: 'Space Grotesk', sans-serif; font-size: 11px;
  color: rgba(0,219,233,0.75); letter-spacing: 0.06em;
}
.monitor-triad { display: flex; flex-direction: column; gap: 14px; }
.monitor-bridge {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center;
}
.monitor-activity, .monitor-strength {
  padding: 14px 16px; border-radius: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(123,209,250,0.12);
}
.monitor-activity { position: relative; }
.monitor-num {
  position: absolute; top: 8px; right: 12px;
  font-family: 'Space Grotesk', sans-serif; font-size: 10px;
  color: rgba(0,219,233,0.35); letter-spacing: 0.1em;
}
.monitor-activity p { font-size: 12px; line-height: 1.65; color: var(--text-secondary); padding-right: 24px; }
.monitor-flow {
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: 36px;
}
.monitor-flow-line {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, rgba(0,219,233,0.1), rgba(253,224,71,0.55), rgba(0,219,233,0.1));
}
.monitor-flow-arrow {
  font-size: 18px; color: rgba(253,224,71,0.75);
  text-shadow: 0 0 10px rgba(253,224,71,0.35);
  animation: flow-pulse 2.4s ease-in-out infinite;
}
.monitor-strength {
  border-color: rgba(0,219,233,0.28);
  background: linear-gradient(135deg, rgba(0,219,233,0.06) 0%, rgba(0,0,0,0.2) 100%);
  box-shadow: 0 0 20px rgba(0,219,233,0.06);
}
.strength-icon {
  display: block; font-size: 8px; color: var(--gold); margin-bottom: 6px;
}
.monitor-strength strong {
  display: block; font-size: 13px; color: var(--cyan); margin-bottom: 6px; letter-spacing: 0.06em;
}
.monitor-strength p { font-size: 11px; line-height: 1.55; color: var(--text-secondary); }

.club-card {
  background: linear-gradient(145deg, rgba(12,19,36,0.65) 0%, rgba(8,14,26,0.85) 100%);
  border: 1px solid rgba(123,209,250,0.15); border-radius: 14px;
  padding: 18px 22px;
}
.club-card-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 12px;
}
.club-card > p { font-size: 12px; line-height: 1.75; color: var(--text-secondary); }

.campus-block { margin-bottom: 24px; }
.block-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(123, 209, 250, 0.1);
}
.block-title svg { color: var(--primary); }
.campus-sub { display: flex; flex-direction: column; gap: 14px; }
.campus-card {
  background: linear-gradient(135deg, rgba(12, 19, 36, 0.5) 0%, rgba(12, 19, 36, 0.7) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px;
}
.campus-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); }
.campus-card h4 .period { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 400; color: var(--primary); opacity: 0.8; }
.campus-card > p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.campus-items { display: flex; flex-direction: column; gap: 12px; }
.campus-item p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.campus-item .insight { color: var(--primary); opacity: 0.8; font-size: 12px; margin-top: 4px; padding-left: 16px; }

/* ================================================================
   6. EVALUATION - Orbital Layout
   ================================================================ */
#section-evaluation.active {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: calc(100vh - 120px);
}
.orbital-container {
  position: relative; width: min(700px, 92%); height: min(700px, 74vh);
  border-radius: 50%;
}
.orbital-rotator {
  position: absolute; inset: 0;
  animation: orbital-spin 100s linear infinite;
}
.orbital-node-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px 14px;
  animation: orbital-spin 100s linear infinite reverse;
}
.orbital-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(0, 219, 233, 0.22);
}
.orbital-ring-1 { width: 88%; height: 88%; }
.orbital-ring-2 { width: 52%; height: 52%; }
.orbital-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(0, 219, 233, 0.1); border: 1px solid rgba(0, 219, 233, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); box-shadow: 0 0 35px rgba(0, 219, 233, 0.2);
  animation: pulse-glow 6s ease-in-out infinite;
}
.orbital-center svg { width: 24px; height: 24px; }
.orbital-node {
  position: absolute; width: 192px; height: 192px;
  margin-left: -96px; margin-top: -96px; border-radius: 50%;
  background: rgba(11, 17, 29, 0.88); backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 219, 233, 0.28);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 28px rgba(0, 219, 233, 0.1);
  overflow: hidden;
}
.orbital-node::before {
  content: ''; position: absolute; top: 8px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 219, 233, 0.4), transparent);
  z-index: 1;
}
.orbital-node:hover {
  border-color: rgba(0, 219, 233, 0.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 45px rgba(0, 219, 233, 0.28);
  z-index: 20;
}
.orbital-node:hover .orbital-node-inner { animation-play-state: paused; }
.orbital-rotator:has(.orbital-node:hover) { animation-play-state: paused; }
.node-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0, 219, 233, 0.1); border: 1px solid rgba(0, 219, 233, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 8px;
  box-shadow: 0 0 12px rgba(0, 219, 233, 0.12);
}
.node-icon svg { width: 17px; height: 17px; }
.orbital-node h4 { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.orbital-node p { font-size: 10.5px; line-height: 1.48; color: var(--text-secondary); }

.node-1 { top: 2%;  left: 50%; }
.node-2 { top: 25%; left: 93%; }
.node-3 { top: 73%; left: 93%; }
.node-4 { top: 98%; left: 50%; }
.node-5 { top: 73%; left: 7%;  }
.node-6 { top: 25%; left: 7%;  }

/* === PERSONALITY === */
.personality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.personality-card {
  --card-accent: var(--cyan);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(11, 17, 29, 0.92) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 219, 233, 0.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.35s var(--transition);
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.personality-card::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0.5;
}
.personality-card::after {
  content: ''; position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 15%, transparent) 0%, transparent 70%);
  pointer-events: none; opacity: 0.6;
}
.personality-card:nth-child(1) { --card-accent: rgba(0, 219, 233, 0.8); }
.personality-card:nth-child(2) { --card-accent: rgba(129, 140, 248, 0.85); }
.personality-card:nth-child(3) { --card-accent: rgba(253, 224, 71, 0.85); }
.personality-card:nth-child(4) { --card-accent: rgba(244, 114, 182, 0.85); }
.personality-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 50%, transparent);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 30px color-mix(in srgb, var(--card-accent) 18%, transparent);
}
.personality-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--card-accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent) 20%, transparent),
    inset 0 0 12px color-mix(in srgb, var(--card-accent) 8%, transparent);
  transition: all 0.35s var(--transition);
}
.personality-card:hover .personality-icon {
  transform: scale(1.08);
  box-shadow: 0 0 28px color-mix(in srgb, var(--card-accent) 35%, transparent);
}
.personality-card h4 {
  font-size: 15px; font-weight: 600; margin-bottom: 10px;
  color: var(--text-primary); letter-spacing: 0.03em;
}
.personality-card p { font-size: 13px; line-height: 1.75; color: var(--text-secondary); }
