/* cosmos.css — Sujay's Cosmos experience styles */

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

html, body {
  width: 100%;
  height: 100%;
  background: #00000a;
  overflow: hidden;
  font-family: 'Courier New', 'Lucida Console', monospace;
}

/* ── CANVAS ────────────────────────────────────────────── */
#cosmos-canvas {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ── LOADER OVERLAY ────────────────────────────────────── */
#cosmos-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8vh;
  gap: 18px;
}

/* Status text */
#cosmos-status {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(167, 139, 250, 0.72);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
  animation: statusPulse 1.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1.0; }
}

/* Enter button */
#cosmos-enter-btn {
  display: none;
  pointer-events: all;
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e9d5ff;
  text-shadow: 0 0 28px rgba(124, 58, 237, 0.9), 0 0 56px rgba(124, 58, 237, 0.4);
  border: 1px solid rgba(167, 139, 250, 0.55);
  padding: 16px 44px;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.12);
  backdrop-filter: blur(14px);
  cursor: pointer;
  animation: enterPulse 2.4s ease-in-out infinite;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  align-items: center;
  gap: 12px;
}

#cosmos-enter-btn::before {
  content: '✦';
  font-size: 1.1em;
  color: #a78bfa;
  animation: spinStar 4s linear infinite;
}
#cosmos-enter-btn::after {
  content: '✦';
  font-size: 1.1em;
  color: #a78bfa;
  animation: spinStar 4s linear infinite reverse;
}

@keyframes spinStar {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#cosmos-enter-btn:hover {
  background: rgba(124, 58, 237, 0.30);
  transform: scale(1.04);
}

@keyframes enterPulse {
  0%, 100% {
    opacity: 0.7;
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.3);
  }
  50% {
    opacity: 1.0;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.7), 0 0 100px rgba(124, 58, 237, 0.2);
  }
}

/* ── MUTE BUTTON ───────────────────────────────────────── */
#cosmos-mute-btn {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 100;
  background: rgba(20, 8, 50, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #c4b5fd;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
#cosmos-mute-btn:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(167, 139, 250, 0.7);
}

/* ── ORBIT UI (shown after entering ship) ──────────────── */
#cosmos-orbit-ui {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
}

/* ── TOP: orbit label ──────────────────────────────────── */
#cosmos-orbit-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: all;
}

.orbit-badge {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(196, 181, 253, 0.6);
  text-transform: uppercase;
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(0, 0, 10, 0.5);
  backdrop-filter: blur(8px);
}

/* ── BOTTOM CONTROL PANEL ──────────────────────────────── */
#cosmos-control-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  pointer-events: all;
  padding: 0 24px 14px;
}

.control-panel-inner {
  background: rgba(5, 0, 20, 0.82);
  border: 1px solid rgba(124, 58, 237, 0.28);
  border-radius: 20px;
  backdrop-filter: blur(22px);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Nav buttons row */
.nav-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-btn {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-btn:hover {
  background: rgba(124, 58, 237, 0.32);
  border-color: rgba(167, 139, 250, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.nav-btn.active {
  background: rgba(124, 58, 237, 0.45);
  border-color: #a78bfa;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.5);
}

/* Tooltip */
.nav-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 4, 30, 0.95);
  color: #c4b5fd;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(124, 58, 237, 0.4);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 200;
}
.nav-btn[data-tip]:hover::after {
  opacity: 1;
}

/* Contact/Comms button — distinct styling */
.nav-btn.comms-btn {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}
.nav-btn.comms-btn:hover {
  background: rgba(220, 38, 38, 0.30);
  border-color: rgba(248, 113, 113, 0.8);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

/* Social + eject row */
.social-eject-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.22);
  color: #c4b5fd;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.social-icon-btn:hover {
  background: rgba(124, 58, 237, 0.28);
  border-color: rgba(167, 139, 250, 0.6);
  transform: translateY(-2px);
}

.eject-btn {
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  font-family: 'Courier New', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 10px;
}
.eject-btn:hover {
  background: rgba(220, 38, 38, 0.35);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* ── COCKPIT SIDE PANELS ───────────────────────────────── */

#cockpit-left-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 130px;
  width: 300px;
  z-index: 25;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  transition: opacity 1s ease;
}

#cockpit-right-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 130px;
  width: 430px;
  z-index: 25;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 16px;
  opacity: 0;
  transition: opacity 1s ease;
}

#cockpit-left-panel.visible,
#cockpit-right-panel.visible {
  opacity: 1;
}

.panel-glass {
  background: rgba(4, 0, 18, 0.78);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  padding: 22px 18px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 0 40px rgba(124, 58, 237, 0.12);
}

/* ── LEFT PANEL: Photo + shloka ────────────────────────── */
.pilot-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  max-width: 240px;
  margin: 0 auto 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(167, 139, 250, 0.55);
  box-shadow:
    0 0 0 5px rgba(124, 58, 237, 0.15),
    0 0 50px rgba(124, 58, 237, 0.45);
}

.pilot-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pilot-name {
  font-size: 1.18rem;
  color: #f3e8ff;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

.pilot-shloka {
  font-size: 0.82rem;
  color: rgba(220, 210, 255, 0.90);
  line-height: 2.0;
  border-left: 2px solid rgba(167, 139, 250, 0.55);
  padding-left: 14px;
  font-style: italic;
  text-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

.pilot-shloka-meaning {
  margin-top: 12px;
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(196, 181, 253, 0.75);
  line-height: 1.8;
  border-left: none;
  padding-left: 0;
}

.pilot-about {
  margin-top: 16px;
  font-size: 0.76rem;
  color: rgba(220, 210, 255, 0.80);
  line-height: 1.85;
  text-align: center;
  font-style: italic;
  border-top: 1px solid rgba(124, 58, 237, 0.25);
  padding-top: 14px;
}

/* ── RIGHT PANEL: Identity map ──────────────────────────── */
.identity-map-title {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: rgba(196, 181, 253, 0.85);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(124, 58, 237, 0.6);
}

#identity-map-svg {
  width: 100%;
  height: min(62vh, 560px);
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
#identity-map-svg:hover {
  opacity: 0.85;
}

/* ── ORBITAL CONTEXT TEXT (center, bottom of viewport area) */
#orbit-context-text {
  position: fixed;
  left: 300px;
  right: 430px;
  bottom: 148px;
  z-index: 24;
  text-align: center;
  pointer-events: none;
  padding: 0 24px;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#orbit-context-text.visible {
  opacity: 1;
}

.orbit-context-line1 {
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: rgba(220, 210, 255, 0.95);
  margin-bottom: 8px;
  text-shadow: 0 0 24px rgba(124, 58, 237, 0.8), 0 0 48px rgba(124, 58, 237, 0.3);
}

.orbit-context-line2 {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(196, 181, 253, 0.80);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}

.hl-ring  { color: #c4b5fd; font-weight: bold; text-shadow: 0 0 16px rgba(167,139,250,0.9); }
.hl-daasa { color: #f3e8ff; font-weight: bold; text-shadow: 0 0 18px rgba(196,181,253,1.0); }

/* ── IDENTITY MAP: expand hint + enlarged overlay ───────── */
.identity-map-expand-hint {
  font-size: 0.60rem;
  letter-spacing: 0.14em;
  color: rgba(167, 139, 250, 0.55);
  text-align: center;
  margin-top: 8px;
  text-transform: uppercase;
  animation: hintPulse 2.8s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

#identity-map-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 10, 0.88);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
#identity-map-overlay.open {
  display: flex;
  opacity: 1;
}

.identity-map-overlay-inner {
  width: min(1400px, 92vw);
  height: min(900px, 90vh);

  background:
    radial-gradient(circle at center,
      rgba(90,40,160,0.18) 0%,
      rgba(10,4,30,0.88) 70%);

  border: 1px solid rgba(167,139,250,0.22);

  border-radius: 32px;

  backdrop-filter: blur(30px);

  box-shadow:
    0 0 120px rgba(124,58,237,0.18),
    inset 0 0 60px rgba(124,58,237,0.08);
padding: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  position: relative;
}

.identity-map-overlay-inner svg {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.identity-map-overlay svg {
  width: 100%;
  height: auto;
  display: block;
}
.identity-map-overlay-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: rgba(196, 181, 253, 0.7);
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.identity-map-overlay-close:hover {
  background: rgba(124, 58, 237, 0.25);
  color: #f3e8ff;
}

.identity-map-overlay-title {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(196, 181, 253, 0.70);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

/* ── WARP TUNNEL OVERLAY ──────────────────────────────────── */
#warp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  overflow: hidden;
}
#warp-overlay.active {
  display: block;
}
#warp-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── SECTION SHIP ICON ────────────────────────────────────── */
#section-ship-icon {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 250;
  background: rgba(10,0,30,0.80);
  border: 1px solid rgba(167,139,250,0.45);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(124,58,237,0.45);
  transition: box-shadow 0.2s;
}
#section-ship-icon:hover {
  box-shadow: 0 0 28px rgba(167,139,250,0.7);
}

/* ── COMMUNICATIONS CONSOLE ──────────────────────────────── */
.cc-terminal {
  width: 100%;
  max-width: 600px;
  background: rgba(0,12,0,0.95);
  border: 1px solid rgba(0,255,80,0.25);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,200,60,0.15);
}
.cc-terminal-bar {
  background: rgba(0,20,0,0.9);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(0,255,80,0.15);
}
.cc-terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.cc-terminal-title {
  font-size: 0.65rem;
  color: rgba(0,255,80,0.5);
  letter-spacing: 0.12em;
  margin-left: 8px;
}
.cc-typewriter {
  padding: 20px 22px;
  min-height: 80px;
  font-family: 'Courier New', monospace;
}
.cc-tw-line {
  font-size: 0.82rem;
  color: #4ade80;
  line-height: 1.8;
  letter-spacing: 0.06em;
}
.cc-tw-line::before { content: '> '; opacity: 0.5; }
.cc-form-wrap {
  padding: 0 22px 22px;
}
.cc-form-label {
  font-size: 0.72rem;
  color: rgba(0,255,80,0.55);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.cc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.cc-label {
  font-size: 0.62rem;
  color: rgba(0,255,80,0.5);
  letter-spacing: 0.12em;
}
.cc-input {
  background: rgba(0,20,0,0.7);
  border: 1px solid rgba(0,255,80,0.2);
  border-radius: 4px;
  color: #86efac;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.2s;
}
.cc-input:focus { border-color: rgba(0,255,80,0.5); }
.cc-textarea { resize: vertical; min-height: 90px; }
.cc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cc-send-btn {
  background: rgba(0,120,40,0.35);
  border: 1px solid rgba(0,255,80,0.4);
  color: #4ade80;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}
.cc-send-btn:hover { background: rgba(0,120,40,0.6); }
.cc-status {
  font-size: 0.7rem;
  color: #4ade80;
  letter-spacing: 0.06em;
}
.cc-divider {
  font-size: 0.62rem;
  color: rgba(0,255,80,0.3);
  letter-spacing: 0.12em;
  text-align: center;
  margin: 20px 0 12px;
}
.cc-direct-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-direct-link {
  font-size: 0.75rem;
  color: #4ade80;
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid rgba(0,255,80,0.15);
  border-radius: 4px;
  transition: background 0.2s;
  letter-spacing: 0.04em;
}
.cc-direct-link:hover {
  background: rgba(0,120,40,0.2);
  color: #86efac;
}
.cc-close-btn {
  background: transparent;
  border: 1px solid rgba(0,255,80,0.25);
  color: rgba(0,255,80,0.5);
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  padding: 6px 18px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.2s;
}
.cc-close-btn:hover {
  border-color: rgba(0,255,80,0.5);
  color: #4ade80;
}

/* ── ACHIEVEMENT LOKA TOUR ───────────────────────────────── */
.ach-root {
  min-height: 100vh;
  padding: 0 0 80px;
  color: #fff8e0;
  font-family: 'Courier New', monospace;
  background: transparent;
}
.ach-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 12px;
  border-bottom: 1px solid rgba(250,200,50,0.22);
  position: sticky;
  top: 0;
  background: rgba(10,6,0,0.90);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.ach-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #fcd34d;
  text-transform: uppercase;
}
.ach-back-btn {
  background: rgba(140,100,0,0.22);
  border: 1px solid rgba(250,200,50,0.35);
  color: #fcd34d;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.ach-back-btn:hover { background: rgba(140,100,0,0.4); }
.ach-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  padding: 28px 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Slider */
.ach-slider-wrap {
  background: rgba(20,12,0,0.72);
  border: 1px solid rgba(250,200,50,0.2);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 72px;
}
.ach-slide-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
}
.ach-slide-caption-wrap {
  padding: 14px 16px 10px;
  min-height: 80px;
}
.ach-slide-title {
  font-size: 0.84rem;
  color: #fef3c7;
  margin-bottom: 4px;
}
.ach-slide-caption {
  font-size: 0.7rem;
  color: rgba(250,220,120,0.7);
  line-height: 1.5;
}
.ach-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 14px;
}
.ach-prev, .ach-next {
  background: rgba(140,100,0,0.25);
  border: 1px solid rgba(250,200,50,0.3);
  color: #fcd34d;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ach-prev:hover, .ach-next:hover { background: rgba(140,100,0,0.5); }
.ach-dots { display: flex; gap: 6px; }
.ach-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(250,200,50,0.25);
  cursor: pointer;
  transition: background 0.2s;
}
.ach-dot-active { background: #fcd34d; }

/* Text panels */
.ach-panels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ach-panel {
  background: rgba(20,12,0,0.65);
  border: 1px solid rgba(250,200,50,0.16);
  border-radius: 10px;
  padding: 16px 20px;
  backdrop-filter: blur(5px);
}
.ach-panel-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #d97706;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(217,119,6,0.22);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.ach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ach-list li {
  font-size: 0.72rem;
  color: rgba(255,240,180,0.8);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.ach-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #d97706;
  font-size: 0.55rem;
  top: 3px;
}

/* ── TELESCOPE OF THOUGHTS ───────────────────────────────── */
.tl-root {
  min-height: 100vh;
  padding: 0 0 80px;
  color: #d0e8ff;
  font-family: 'Courier New', monospace;
  background: transparent;
}
.tl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 12px;
  border-bottom: 1px solid rgba(100,180,255,0.2);
  position: sticky;
  top: 0;
  background: rgba(2,8,24,0.90);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.tl-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #7dd3fc;
  text-transform: uppercase;
}
.tl-back-btn {
  background: rgba(14,80,140,0.25);
  border: 1px solid rgba(100,180,255,0.35);
  color: #7dd3fc;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.tl-back-btn:hover { background: rgba(14,80,140,0.45); }
.tl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.tl-zone {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tl-zone-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #0ea5e9;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(14,165,233,0.25);
  padding-bottom: 6px;
}
.tl-card {
  background: rgba(5,15,40,0.72);
  border: 1px solid rgba(100,180,255,0.16);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(5px);
}
.tl-blog-card { border-color: rgba(100,180,255,0.28); }
.tl-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}
.tl-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tl-card-title {
  font-size: 0.82rem;
  color: #bae6fd;
}
.tl-card-text {
  font-size: 0.7rem;
  color: rgba(180,220,255,0.7);
  line-height: 1.55;
}
.tl-link {
  font-size: 0.72rem;
  color: #38bdf8;
  text-decoration: none;
  width: fit-content;
}
.tl-link:hover { color: #7dd3fc; text-decoration: underline; }

/* ── MILKY WAY AUDITORIUM ─────────────────────────────────── */
.au-root {
  min-height: 100vh;
  padding: 0 0 80px;
  color: #f5e6ff;
  font-family: 'Courier New', monospace;
  background: transparent;
}
.au-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 12px;
  border-bottom: 1px solid rgba(250,200,100,0.2);
  position: sticky;
  top: 0;
  background: rgba(10,2,20,0.88);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.au-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #fde68a;
  text-transform: uppercase;
}
.au-back-btn {
  background: rgba(180,130,0,0.18);
  border: 1px solid rgba(250,200,50,0.35);
  color: #fde68a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.au-back-btn:hover { background: rgba(180,130,0,0.35); }
.au-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.au-panel {
  background: rgba(20,8,40,0.72);
  border: 1px solid rgba(250,200,80,0.18);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.au-panel-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #d97706;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(217,119,6,0.25);
  padding-bottom: 6px;
}
.au-card {
  background: rgba(30,10,50,0.55);
  border: 1px solid rgba(250,200,80,0.14);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.au-book-card { border-color: rgba(250,200,80,0.35); }
.au-book-badge {
  display: inline-block;
  background: rgba(180,130,0,0.3);
  border: 1px solid rgba(250,200,50,0.4);
  color: #fde68a;
  font-size: 0.62rem;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.08em;
  width: fit-content;
}
.au-card-title {
  font-size: 0.84rem;
  color: #fef3c7;
}
.au-card-desc {
  font-size: 0.7rem;
  color: rgba(240,220,180,0.7);
  line-height: 1.55;
}
.au-music-bio {
  background: rgba(30,10,50,0.4);
  border: 1px solid rgba(250,200,80,0.12);
  border-radius: 8px;
  padding: 10px 14px;
}
.au-link {
  font-size: 0.72rem;
  color: #f59e0b;
  text-decoration: none;
  margin-top: 2px;
  width: fit-content;
}
.au-link:hover { color: #fde68a; text-decoration: underline; }
.au-video-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.au-video-label {
  font-size: 0.8rem;
  color: #fef3c7;
}
.au-video-desc {
  font-size: 0.68rem;
  color: rgba(240,220,180,0.65);
}
.au-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(250,200,80,0.18);
}
.au-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── SPACE WORK STATION ───────────────────────────────────── */
.ws-root {
  min-height: 100vh;
  padding: 0 0 80px;
  color: #e8e0ff;
  font-family: 'Courier New', monospace;
  background: transparent;
}
.ws-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 12px;
  border-bottom: 1px solid rgba(167,139,250,0.2);
  position: sticky;
  top: 0;
  background: rgba(4,0,20,0.88);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.ws-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #c4b5fd;
  text-transform: uppercase;
}
.ws-back-btn {
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(167,139,250,0.35);
  color: #c4b5fd;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s;
}
.ws-back-btn:hover {
  background: rgba(124,58,237,0.35);
  border-color: rgba(167,139,250,0.7);
}
.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.ws-panel {
  background: rgba(15,5,40,0.72);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(6px);
  position: relative;
}
.ws-panel::before {
  content: attr(data-tip);
  position: absolute;
  top: -9px;
  right: 14px;
  font-size: 0.62rem;
  color: rgba(196,181,253,0.45);
  letter-spacing: 0.08em;
  background: rgba(4,0,20,0.9);
  padding: 1px 8px;
  border-radius: 4px;
}
.ws-full {
  grid-column: 1 / -1;
}
.ws-panel-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #7c3aed;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(124,58,237,0.25);
  padding-bottom: 6px;
}

/* Profile */
.ws-profile-name {
  font-size: 1.4rem;
  color: #ede9fe;
  margin-bottom: 4px;
}
.ws-profile-tag {
  font-size: 0.8rem;
  color: #a78bfa;
  margin-bottom: 8px;
  line-height: 1.5;
}
.ws-profile-flow {
  font-size: 0.72rem;
  color: rgba(196,181,253,0.55);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.ws-focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ws-focus-chip {
  background: rgba(124,58,237,0.18);
  border: 1px solid rgba(167,139,250,0.28);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.72rem;
  color: #c4b5fd;
}

/* Key Areas */
.ws-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.ws-area-block {
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.ws-area-blue   { background: rgba(30,58,138,0.35); }
.ws-area-purple { background: rgba(88,28,135,0.35); }
.ws-area-teal   { background: rgba(13,148,136,0.25); }
.ws-area-green  { background: rgba(20,83,45,0.35); }
.ws-area-orange { background: rgba(124,45,18,0.35); }
.ws-area-red    { background: rgba(127,29,29,0.35); }
.ws-area-gray   { background: rgba(30,27,75,0.45); }
.ws-area-title {
  font-size: 0.78rem;
  color: #e0d7ff;
  margin-bottom: 6px;
  font-weight: bold;
  letter-spacing: 0.06em;
}
.ws-area-tags {
  font-size: 0.68rem;
  color: rgba(220,210,255,0.7);
  line-height: 1.6;
}

/* Research papers */
.ws-papers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ws-paper-card {
  background: rgba(30,10,60,0.5);
  border: 1px solid rgba(167,139,250,0.22);
  border-radius: 8px;
  padding: 14px 16px;
}
.ws-paper-award {
  display: inline-block;
  background: rgba(180,130,0,0.3);
  border: 1px solid rgba(250,200,50,0.4);
  color: #fde68a;
  font-size: 0.65rem;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.ws-paper-title {
  font-size: 0.82rem;
  color: #ede9fe;
  margin-bottom: 5px;
  line-height: 1.4;
}
.ws-paper-venue {
  font-size: 0.7rem;
  color: #a78bfa;
  margin-bottom: 6px;
}
.ws-paper-metrics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ws-metric {
  font-size: 0.65rem;
  color: rgba(196,181,253,0.65);
  background: rgba(124,58,237,0.15);
  border-radius: 4px;
  padding: 2px 8px;
}
.ws-paper-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.ws-paper-tags span {
  font-size: 0.62rem;
  color: rgba(167,139,250,0.7);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 4px;
  padding: 1px 7px;
}

/* Timeline / Experience */
.ws-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ws-role {
  display: flex;
  gap: 14px;
  position: relative;
  padding-bottom: 18px;
}
.ws-role:last-child {
  padding-bottom: 0;
}
.ws-role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
}
.ws-role-dot::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 2px;
  height: calc(100% + 8px);
  background: rgba(124,58,237,0.25);
}
.ws-role:last-child .ws-role-dot::after {
  display: none;
}
.ws-dot-purple { background: #7c3aed; box-shadow: 0 0 6px #7c3aed; }
.ws-dot-blue   { background: #2563eb; box-shadow: 0 0 6px #2563eb; }
.ws-dot-teal   { background: #0d9488; box-shadow: 0 0 6px #0d9488; }
.ws-dot-green  { background: #16a34a; box-shadow: 0 0 6px #16a34a; }
.ws-dot-gold   { background: #b45309; box-shadow: 0 0 6px #d97706; }
.ws-role-body  { flex: 1; }
.ws-role-title {
  font-size: 0.84rem;
  color: #e0d7ff;
  margin-bottom: 1px;
}
.ws-role-org {
  font-size: 0.72rem;
  color: #a78bfa;
  margin-bottom: 4px;
}
.ws-role-desc {
  font-size: 0.7rem;
  color: rgba(220,210,255,0.7);
  line-height: 1.55;
  margin-bottom: 5px;
}
.ws-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ws-role-tags span {
  font-size: 0.6rem;
  background: rgba(124,58,237,0.14);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 4px;
  padding: 1px 7px;
  color: #c4b5fd;
}

/* Projects */
.ws-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.ws-project-card {
  background: rgba(15,5,40,0.6);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ws-proj-full {
  grid-column: 1 / -1;
}
.ws-proj-name {
  font-size: 0.84rem;
  color: #ede9fe;
}
.ws-proj-desc {
  font-size: 0.7rem;
  color: rgba(220,210,255,0.72);
  line-height: 1.5;
  flex: 1;
}
.ws-proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ws-proj-tags span {
  font-size: 0.6rem;
  background: rgba(30,10,70,0.5);
  border: 1px solid rgba(167,139,250,0.18);
  border-radius: 4px;
  padding: 1px 7px;
  color: #a78bfa;
}
.ws-proj-link {
  font-size: 0.68rem;
  color: #7c3aed;
  text-decoration: none;
  margin-top: 2px;
}
.ws-proj-link:hover { color: #a78bfa; text-decoration: underline; }

/* Certifications */
.ws-certs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ws-cert-icon {
  margin-right: 8px;
  opacity: 0.8;
}

/* Education */
.ws-edu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-edu-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(167,139,250,0.1);
}
.ws-edu-row:last-child { border-bottom: none; }
.ws-edu-inst {
  font-size: 0.8rem;
  color: #c4b5fd;
}
.ws-edu-deg {
  font-size: 0.72rem;
  color: rgba(200,190,255,0.7);
  margin-top: 2px;
}
.ws-edu-score {
  font-size: 0.72rem;
  color: #a78bfa;
  text-align: right;
  white-space: nowrap;
}

/* Star gazing / interests */
.ws-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ws-interest-tag {
  background: rgba(15,5,40,0.55);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.72rem;
  color: rgba(196,181,253,0.8);
}

/* Download resume bar */
.ws-resume-bar {
  display: flex;
  justify-content: center;
  padding: 28px 0 8px;
  grid-column: 1 / -1;
}
.ws-resume-btn {
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(88,28,135,0.4));
  border: 1px solid rgba(167,139,250,0.45);
  color: #e0d7ff;
  padding: 10px 32px;
  border-radius: 24px;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 14px rgba(124,58,237,0.3);
}
.ws-resume-btn:hover {
  background: linear-gradient(135deg, rgba(124,58,237,0.65), rgba(88,28,135,0.65));
  box-shadow: 0 0 24px rgba(167,139,250,0.45);
}
