/* ============================================================
   SOLAR SYSTEM v3.0 — Premium Sci-Fi Stylesheet
   ============================================================ */

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cyan:          #00d4ff;
  --cyan-dim:      rgba(0,212,255,0.32);
  --cyan-faint:    rgba(0,212,255,0.09);
  --cyan-glow:     rgba(0,212,255,0.55);
  --blue-deep:     #010812;
  --orange:        #ff7a28;
  --gold:          #ffaa30;
  --white:         #e8f4ff;
  --white-60:      rgba(232,244,255,0.6);
  --white-30:      rgba(232,244,255,0.3);
  --white-10:      rgba(232,244,255,0.10);

  --glass:         rgba(2, 12, 30, 0.78);
  --glass-border:  rgba(0,212,255,0.18);

  --font-d: 'Syne', sans-serif;
  --font-u: 'DM Sans', sans-serif;
  --font-b: 'Inter', sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #020b18;
  color: var(--white);
  font-family: var(--font-b);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* ═══════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(ellipse at 50% 60%, #031028 0%, #010810 60%, #000508 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.8s var(--ease-expo), visibility 0.8s;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* Mini orrery spinner */
.loading-spinner {
  position: relative;
  width: 120px; height: 120px;
}
.spinner-sun {
  position: absolute;
  top: 50%; left: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d0 0%, #ffb800 40%, #ff6600 100%);
  box-shadow: 0 0 20px 6px rgba(255,160,0,0.5), 0 0 40px 12px rgba(255,100,0,0.2);
  animation: spinnerSunPulse 2s ease-in-out infinite;
}
@keyframes spinnerSunPulse {
  0%,100% { box-shadow: 0 0 18px 5px rgba(255,160,0,0.5), 0 0 38px 10px rgba(255,100,0,0.2); }
  50%      { box-shadow: 0 0 28px 10px rgba(255,160,0,0.6), 0 0 55px 18px rgba(255,100,0,0.25); }
}

.spinner-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.25);
  animation: spinnerRotate linear infinite;
}
.spinner-orbit::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  top: -3.5px; left: 50%; margin-left: -3.5px;
}
.spinner-o1 {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  animation-duration: 1.2s;
}
.spinner-o1::after { background: #c4a882; box-shadow: 0 0 6px #c4a882; }
.spinner-o2 {
  width: 74px; height: 74px; margin: -37px 0 0 -37px;
  animation-duration: 2.4s;
}
.spinner-o2::after { background: #4a9edf; box-shadow: 0 0 6px #4a9edf; }
.spinner-o3 {
  width: 108px; height: 108px; margin: -54px 0 0 -54px;
  animation-duration: 4.5s;
}
.spinner-o3::after { background: #c88b3a; box-shadow: 0 0 6px #c88b3a; }
@keyframes spinnerRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.loading-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.loading-title {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: var(--white);
  text-shadow: 0 0 30px rgba(0,212,255,0.5);
}
.loading-sub {
  font-family: var(--font-u);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--cyan);
  opacity: 0.65;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.loading-bar-wrap {
  width: 220px; height: 2px;
  background: rgba(0,212,255,0.12);
  border-radius: 1px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #1a7fff);
  border-radius: 1px;
  width: 0%;
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s var(--ease-std);
}
.loading-pct {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   NEBULA BACKGROUND
   ═══════════════════════════════════════ */
.nebula-layer {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(88px);
  will-change: transform;
  animation: nebulaDrift ease-in-out infinite alternate;
}
.nebula-1 {
  width: 155vw; height: 120vh; left: -28%; top: -18%;
  opacity: 0.10;
  background: radial-gradient(ellipse at 34% 44%, #1a50ff 0%, transparent 55%),
              radial-gradient(ellipse at 74% 60%, #8800cc 0%, transparent 50%);
  animation-duration: 50s;
}
.nebula-2 {
  width: 140vw; height: 130vh; left: -20%; top: -15%;
  opacity: 0.065;
  background: radial-gradient(ellipse at 60% 28%, #00c0ff 0%, transparent 50%),
              radial-gradient(ellipse at 18% 72%, #ff4000 0%, transparent 40%);
  animation-duration: 68s;
  animation-direction: alternate-reverse;
}
.nebula-3 {
  width: 150vw; height: 140vh; left: -24%; top: -20%;
  opacity: 0.12;
  background: radial-gradient(ellipse at 82% 80%, #003068 0%, transparent 45%),
              radial-gradient(ellipse at 10% 12%, #001428 0%, transparent 50%);
  animation-duration: 40s;
}
@keyframes nebulaDrift {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(2.2%,1.6%) scale(1.03); }
  66%  { transform: translate(-1.6%,2.2%) scale(0.978); }
  100% { transform: translate(1.4%,-1.6%) scale(1.018); }
}

/* ═══════════════════════════════════════
   CANVAS
   ═══════════════════════════════════════ */
.starfield-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }
.solar-canvas     { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; display: block; cursor: crosshair; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 18px 26px 16px 178px;
  display: flex; align-items: flex-start; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(1,6,16,0.97) 0%, rgba(1,6,16,0) 100%);
  pointer-events: none;
  animation: fadeDown 0.9s var(--ease-expo) 0.5s both;
}
.site-header > * { pointer-events: all; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header-left   { display: flex; flex-direction: column; gap: 3px; }
.header-badge  { display: flex; align-items: center; gap: 7px; margin-bottom: 2px; }
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88, 0 0 16px rgba(0,255,136,0.4);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.72); }
}
.badge-text {
  font-family: var(--font-u); font-size: 10px; font-weight: 600;
  letter-spacing: 0.24em; color: #00ff88; text-transform: uppercase;
}
.site-title {
  font-family: var(--font-d);
  font-size: clamp(18px, 2.5vw, 34px);
  font-weight: 900; letter-spacing: 0.2em; color: var(--white); line-height: 1;
  text-shadow: 0 0 24px rgba(0,212,255,0.5), 0 0 55px rgba(0,212,255,0.18);
}
.site-subtitle {
  font-family: var(--font-u);
  font-size: clamp(8px, 0.88vw, 12px);
  font-weight: 400; letter-spacing: 0.38em; color: var(--cyan); opacity: 0.62;
  text-transform: uppercase;
}

.header-right { display: flex; align-items: center; gap: 14px; }
.system-stats {
  display: flex; gap: 16px;
  padding: 8px 15px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 10px; backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.4);
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.stat-label {
  font-family: var(--font-u); font-size: 8.5px; letter-spacing: 0.22em;
  color: var(--cyan); opacity: 0.52; text-transform: uppercase;
}
.stat-value {
  font-family: var(--font-d); font-size: 11px; font-weight: 600;
  color: var(--white); letter-spacing: 0.06em;
}
.header-controls { display: flex; gap: 7px; }
.ctrl-btn {
  width: 37px; height: 37px;
  border: 1px solid var(--glass-border); border-radius: 10px;
  background: var(--glass); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.22s var(--ease-std);
  backdrop-filter: blur(14px); position: relative; overflow: hidden;
}
.ctrl-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cyan-faint); opacity: 0; transition: opacity 0.2s;
}
.ctrl-btn:hover::before { opacity: 1; }
.ctrl-btn svg { width: 14px; height: 14px; position: relative; }
.ctrl-btn:hover { border-color: var(--cyan-dim); box-shadow: 0 0 14px rgba(0,212,255,0.22); color: var(--white); }
.ctrl-btn:active { transform: scale(0.91); }

/* ═══════════════════════════════════════
   LEFT SIDEBAR
   ═══════════════════════════════════════ */
.planet-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 10;
  width: 168px;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 90px 0 54px;
  background: linear-gradient(to right,
    rgba(1,6,18,0.96) 0%, rgba(1,6,18,0.72) 65%, rgba(1,6,18,0) 100%);
  pointer-events: none;
  animation: fadeLeft 0.9s var(--ease-expo) 0.4s both;
}
.planet-sidebar > * { pointer-events: all; }
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Right accent line */
.planet-sidebar::after {
  content: '';
  position: absolute; top: 88px; bottom: 54px; left: 158px; width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(0,212,255,0.28) 20%,
    rgba(0,212,255,0.28) 80%, transparent 100%);
}

.sidebar-label {
  font-family: var(--font-u); font-size: 9px; font-weight: 600;
  letter-spacing: 0.35em; color: var(--cyan); opacity: 0.45;
  text-transform: uppercase; padding: 0 12px 10px 14px;
  width: 100%;
}

.sidebar-inner {
  flex: 1; width: 100%; overflow: hidden; position: relative;
}
.sidebar-scroll {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 2px 6px 2px 10px; gap: 3px;
  transition: transform 0.45s var(--ease-expo);
}

.planet-nav-item {
  width: 142px; padding: 7px 9px;
  border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; background: transparent;
  display: flex; align-items: center; gap: 9px;
  transition: all 0.28s var(--ease-std);
  position: relative; overflow: hidden;
}
.planet-nav-item::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; background: var(--cyan-faint);
  opacity: 0; transition: opacity 0.25s;
}
.planet-nav-item:hover { border-color: var(--glass-border); transform: translateX(4px); }
.planet-nav-item:hover::before { opacity: 1; }
.planet-nav-item.active {
  border-color: var(--cyan-dim);
  background: rgba(0,212,255,0.065);
  box-shadow: 0 0 18px rgba(0,212,255,0.08), inset 0 0 14px rgba(0,212,255,0.035);
  transform: translateX(5px);
}
.planet-nav-item.active::after {
  content: ''; position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 2.5px; background: var(--cyan);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.nav-thumb {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,0.12), rgba(0,0,0,0.08) 58%, rgba(0,0,0,0.28) 100%);
  box-shadow:
    0 0 10px rgba(0,212,255,0.12),
    0 5px 12px rgba(0,0,0,0.42),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}
.nav-thumb-canvas { width: 28px; height: 28px; border-radius: 50%; display: block; }
.nav-info  { flex: 1; min-width: 0; }
.nav-name  {
  font-family: var(--font-u); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--white); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-type  {
  font-family: var(--font-b); font-size: 8.5px;
  color: var(--white-30); white-space: nowrap; margin-top: 1px;
}

.sidebar-scroll-btn {
  position: absolute; left: 14px;
  width: 36px; height: 20px;
  border: 1px solid var(--glass-border); border-radius: 6px;
  background: var(--glass); color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(10px); transition: all 0.2s;
}
.sidebar-scroll-btn svg { width: 12px; height: 12px; }
.sidebar-scroll-btn:hover { border-color: var(--cyan-dim); box-shadow: 0 0 8px rgba(0,212,255,0.2); }
.sidebar-up   { top: 88px; }
.sidebar-down { bottom: 6px; }

/* ═══════════════════════════════════════
   PLANET PANEL
   ═══════════════════════════════════════ */
.planet-panel {
  position: fixed; bottom: 60px; right: 26px; z-index: 15;
  width: 348px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 18px; backdrop-filter: blur(26px);
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.05),
    0 0 44px rgba(0,212,255,0.07),
    0 22px 58px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.055);
  opacity: 0;
  transform: translateY(20px) scale(0.965);
  pointer-events: none;
  transition: opacity 0.42s var(--ease-expo), transform 0.42s var(--ease-expo);
  overflow: hidden;
}
.planet-panel::before {
  content: ''; position: absolute;
  top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
}
.planet-panel::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.055) 0%, transparent 60%);
}
.planet-panel.visible { opacity: 1; transform: none; pointer-events: all; }

/* Animated scan line */
.panel-scan {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0;
  animation: panelScan 3s ease-in-out infinite;
}
.planet-panel.visible .panel-scan { opacity: 0.4; }
@keyframes panelScan {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 0.4; }
  95%  { opacity: 0.2; }
  100% { top: 100%; opacity: 0; }
}

.panel-header {
  padding: 15px 15px 13px;
  display: flex; align-items: center; gap: 13px;
  border-bottom: 1px solid rgba(0,212,255,0.09);
}
.panel-planet-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  box-shadow:
    0 0 16px rgba(0,212,255,0.16),
    0 10px 22px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,0.14), rgba(0,0,0,0.1) 58%, rgba(0,0,0,0.32) 100%);
}
.panel-planet-icon canvas { width: 100%; height: 100%; border-radius: 50%; display: block; }
.panel-title-block { flex: 1; min-width: 0; }
.panel-planet-number {
  font-family: var(--font-d); font-size: 9px; font-weight: 500;
  letter-spacing: 0.2em; color: var(--cyan); opacity: 0.5;
  margin-bottom: 3px;
}
.panel-planet-name {
  font-family: var(--font-d); font-size: 17px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--white); line-height: 1.15;
}
.panel-planet-subtitle {
  font-family: var(--font-u); font-size: 9px; font-weight: 500;
  letter-spacing: 0.28em; color: var(--cyan); opacity: 0.78;
  text-transform: uppercase; margin-top: 2px;
}
.panel-close {
  width: 27px; height: 27px;
  border: 1px solid rgba(0,212,255,0.16); border-radius: 7px;
  background: transparent; color: var(--white-30);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.panel-close svg { width: 13px; height: 13px; }
.panel-close:hover {
  border-color: rgba(255,70,70,0.45); color: #ff6060;
  box-shadow: 0 0 10px rgba(255,70,70,0.18); background: rgba(255,70,70,0.06);
}

.panel-body { padding: 13px 15px 11px; }
.panel-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin-bottom: 12px;
}
.stat-row {
  padding: 7px 10px;
  background: rgba(0,212,255,0.035); border: 1px solid rgba(0,212,255,0.1);
  border-radius: 9px; transition: border-color 0.2s, background 0.2s;
}
.stat-row:hover { border-color: rgba(0,212,255,0.22); background: rgba(0,212,255,0.065); }
.stat-row-label {
  display: block; font-family: var(--font-u); font-size: 8px;
  letter-spacing: 0.2em; color: var(--cyan); opacity: 0.58;
  text-transform: uppercase; margin-bottom: 3px;
}
.stat-row-value {
  font-family: var(--font-u); font-size: 13px; font-weight: 600;
  color: var(--white); letter-spacing: 0.04em;
}
.panel-description {
  font-family: var(--font-b); font-size: 11px; line-height: 1.78;
  color: rgba(232,244,255,0.5);
  border-top: 1px solid rgba(0,212,255,0.07); padding-top: 11px;
}

.panel-footer { padding: 9px 15px 14px; border-top: 1px solid rgba(0,212,255,0.07); }
.panel-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.panel-nav-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  font-family: var(--font-u); font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; color: var(--cyan);
  background: transparent; border: 1px solid rgba(0,212,255,0.18);
  border-radius: 8px; cursor: pointer;
  transition: all 0.2s var(--ease-std); text-transform: uppercase;
  position: relative; overflow: hidden;
}
.panel-nav-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cyan-faint); opacity: 0; transition: opacity 0.2s;
}
.panel-nav-btn:hover::before { opacity: 1; }
.panel-nav-btn:hover { border-color: var(--cyan-dim); color: var(--white); box-shadow: 0 0 12px rgba(0,212,255,0.18); }
.panel-nav-btn:active { transform: scale(0.95); }

/* Planet dots indicator */
.panel-planet-dots {
  display: flex; align-items: center; gap: 5px; flex: 1; justify-content: center;
}
.p-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,212,255,0.2); border: 1px solid rgba(0,212,255,0.3);
  cursor: pointer; transition: all 0.2s;
}
.p-dot:hover   { background: rgba(0,212,255,0.5); }
.p-dot.active  {
  background: var(--cyan); border-color: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  width: 7px; height: 7px;
}

/* ═══════════════════════════════════════
   KEYBOARD SHORTCUTS OVERLAY
   ═══════════════════════════════════════ */
.shortcuts-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(1,8,20,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.shortcuts-overlay.open { opacity: 1; visibility: visible; }

.shortcuts-box {
  width: 380px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 0 60px rgba(0,212,255,0.08), 0 24px 60px rgba(0,0,0,0.7);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s var(--ease-expo);
  position: relative;
}
.shortcuts-box::before {
  content: ''; position: absolute;
  top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.5;
}
.shortcuts-overlay.open .shortcuts-box { transform: none; }

.shortcuts-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.shortcuts-title {
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--cyan);
}
.shortcuts-close {
  width: 26px; height: 26px; border: 1px solid rgba(0,212,255,0.2);
  border-radius: 6px; background: transparent; color: var(--white-30);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 11px; transition: all 0.2s;
}
.shortcuts-close:hover { border-color: #ff6060; color: #ff6060; background: rgba(255,70,70,0.07); }

.shortcuts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.shortcut-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: rgba(0,212,255,0.03); border: 1px solid rgba(0,212,255,0.08);
  border-radius: 8px;
}
.shortcut-item span {
  font-family: var(--font-u); font-size: 11px; color: var(--white-60);
}
kbd {
  font-family: var(--font-d); font-size: 9px; font-weight: 700;
  color: var(--cyan); background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.25); border-radius: 4px;
  padding: 2px 6px; letter-spacing: 0.05em; white-space: nowrap;
}

/* ═══════════════════════════════════════
   TOOLTIP
   ═══════════════════════════════════════ */
.planet-tooltip {
  position: fixed; z-index: 20;
  padding: 9px 14px 8px;
  background: rgba(0,12,32,0.94); border: 1px solid var(--cyan-dim);
  border-radius: 10px; backdrop-filter: blur(18px);
  box-shadow: 0 0 20px rgba(0,212,255,0.10), 0 8px 28px rgba(0,0,0,0.55);
  pointer-events: none; opacity: 0; transform: translateY(7px);
  transition: opacity 0.16s, transform 0.16s var(--ease-std);
  display: flex; flex-direction: column; gap: 2px;
}
.planet-tooltip.show { opacity: 1; transform: translateY(0); }
.tooltip-name {
  font-family: var(--font-d); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--white); text-transform: uppercase;
}
.tooltip-type {
  font-family: var(--font-u); font-size: 9px;
  letter-spacing: 0.22em; color: var(--cyan); opacity: 0.68;
}

/* ═══════════════════════════════════════
   HOLO BAR (bottom strip)
   ═══════════════════════════════════════ */
.holo-bar {
  position: fixed; bottom: 0; left: 168px; right: 0; z-index: 10;
  height: 52px;
  background: linear-gradient(to top, rgba(1,6,18,0.92) 0%, rgba(1,6,18,0) 100%);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px 10px 18px;
  pointer-events: none;
  animation: fadeUp 1s var(--ease-expo) 0.8s both;
}
.holo-bar > * { pointer-events: all; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.holo-section { display: flex; align-items: center; gap: 9px; }
.holo-label {
  font-family: var(--font-u); font-size: 9px;
  letter-spacing: 0.22em; color: var(--cyan); opacity: 0.48;
  text-transform: uppercase; white-space: nowrap;
}

/* Speed HUD */
.speed-bar-wrap { width: 56px; height: 3px; background: rgba(0,212,255,0.12); border-radius: 2px; overflow: hidden; }
.speed-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #1a80ff);
  border-radius: 2px; box-shadow: 0 0 6px var(--cyan);
  transition: width 0.35s var(--ease-std); width: 50%;
}
.speed-val {
  font-family: var(--font-d); font-size: 10px; font-weight: 700;
  color: var(--white); min-width: 22px;
}

/* Center hint */
.bottom-hint {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-u); font-size: 9.5px;
  letter-spacing: 0.24em; color: var(--white-30);
  text-transform: uppercase; pointer-events: none;
  transition: opacity 0.5s var(--ease-std); opacity: 1;
}
.bottom-hint.hidden { opacity: 0; }
.hint-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--cyan); opacity: 0.6;
  animation: hintPulse 2.5s ease-in-out infinite;
}
@keyframes hintPulse {
  0%,100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 0.2; transform: scale(0.6); }
}

/* Orbit scale */
.orbit-scale-bar {
  width: 90px; height: 2px;
  background: rgba(0,212,255,0.1);
  border-radius: 1px; position: relative;
}
.orbit-scale-tick {
  position: absolute; top: -3px; width: 1px; height: 8px;
  background: rgba(0,212,255,0.35);
  transform: translateX(-50%);
}

/* ═══════════════════════════════════════
   MISC
   ═══════════════════════════════════════ */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 2px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 860px) {
  .planet-sidebar { width: 60px; }
  .planet-sidebar::after { left: 57px; }
  .planet-nav-item { width: 48px; justify-content: center; }
  .nav-info, .sidebar-label { display: none; }
  .site-header { padding-left: 76px; }
  .holo-bar { left: 68px; }
  .planet-panel { width: calc(100vw - 24px); right: 12px; bottom: 58px; }
  .system-stats { display: none; }
}

/* ── CTA BUTTON ─────────────────────────────────────────── */
.panel-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 4px 15px 0;
  padding: 13px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,212,255,0.10) 0%, rgba(0,150,200,0.07) 100%);
  border: 1px solid rgba(0,212,255,0.32);
  color: #00d4ff;
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-size: 10.5px; letter-spacing: 2.5px; font-weight: 600;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden; cursor: pointer;
}
.panel-cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), transparent);
  opacity: 0; transition: opacity 0.28s;
}
.panel-cta-btn:hover { border-color: rgba(0,212,255,0.65); box-shadow: 0 0 22px rgba(0,212,255,0.18), inset 0 0 10px rgba(0,212,255,0.05); transform: translateY(-2px); color: #fff; }
.panel-cta-btn:hover::before { opacity: 1; }
.panel-cta-btn:hover .cta-arrow { transform: translateX(5px); }
.cta-icon  { font-size: 14px; }
.cta-text  { position: relative; }
.cta-arrow { transition: transform 0.25s; flex-shrink: 0; }

/* ── PAGE FADE ──────────────────────────────────────────── */
@keyframes pageFadeIn { from { opacity:0; } to { opacity:1; } }
body { animation: pageFadeIn 0.5s ease both; }
body.page-exit { opacity:0; transition: opacity 0.38s ease; pointer-events:none; }
