/* =========================
   EXPLORE PAGE
   ========================= */

.explore-page {
  padding: 18px 16px 40px;
}

.explore-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.explore-header {
  padding: 18px 6px 14px;
}

.explore-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(180, 240, 255, 0.9);
  text-shadow: 0 0 10px rgba(140, 240, 255, 0.35);
}

.explore-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 2.6vw + 1.2rem, 2.8rem);
  line-height: 1.1;
  color: #f3fbff;
  text-shadow:
    0 0 18px rgba(0, 220, 255, 0.45),
    0 0 48px rgba(255, 120, 255, 0.22);
}

.explore-subtitle {
  margin-top: 10px;
  max-width: 56rem;
  color: rgba(210, 240, 255, 0.72);
  line-height: 1.65;
}

.explore-stage {
  position: relative;
  height: min(72vh, 720px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at top left, rgba(255, 60, 210, 0.12), transparent 35%),
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.06), transparent 14%),
    radial-gradient(circle at bottom right, rgba(0, 220, 255, 0.10), transparent 35%);
  overflow: hidden;
  box-shadow:
    0 0 14px rgba(36, 243, 255, 0.12),
    0 0 44px rgba(0, 0, 0, 0.95);
}

.explore-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Constellation chords (subtle straight connections) */
.explore-constellation-line {
  stroke: rgba(255, 140, 245, 0.16);
  stroke-width: 0.9;
  stroke-linecap: round;
}

/* Nodes */
.explore-node {
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.explore-node.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.explore-node .node-ring {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.8;
}

.explore-node .node-dot {
  fill: rgba(255, 255, 255, 0.78);
}

.explore-node .node-pulse {
  fill: rgba(255, 140, 245, 0.22);
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 1.35s ease-in-out infinite;
  will-change: transform, opacity;
  opacity: 0;
}

.explore-node .node-pulse.node-pulse--2 {
  fill: rgba(217, 70, 239, 0.14);
  animation-duration: 1.85s;
  animation-delay: 0.12s;
  opacity: 0;
}

.explore-node.is-active .node-pulse,
.explore-node.is-active .node-pulse.node-pulse--2 {
  opacity: 1;
}

.explore-node.is-active .node-pulse {
  fill: rgba(0, 220, 255, 0.22);
}

.explore-node.is-active .node-pulse.node-pulse--2 {
  fill: rgba(36, 243, 255, 0.14);
}

.explore-node.is-active .node-ring {
  fill: rgba(0, 220, 255, 0.10);
  stroke: rgba(140, 240, 255, 0.78);
}

.explore-node.is-active .node-dot {
  fill: rgba(210, 250, 255, 0.98);
}

.explore-node-label {
  font-size: 12px;
  letter-spacing: 0.03em;
  fill: rgba(240, 250, 255, 0.85);
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.65);
  stroke-width: 3px;
  stroke-linejoin: round;
  opacity: 0.0;
  transition: opacity 0.18s ease;
}

.explore-node.is-active .explore-node-label {
  opacity: 1.0;
}

@keyframes node-pulse {
  0% {
    transform: scale(0.82);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.75);
    opacity: 0.95;
  }
  100% {
    transform: scale(0.82);
    opacity: 0.45;
  }
}

/* Path / glow */
.explore-path-base {
  stroke: rgba(255, 255, 255, 0.10);
  stroke-width: 1.1;
  stroke-dasharray: 10 10;
  fill: none;
}

.explore-path-magenta {
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 0.08s linear;
}

/* Link list (accessibility fallback) */
.explore-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.explore-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(140, 230, 255, 0.55);
  background: rgba(7, 18, 26, 0.55);
  color: rgba(200, 250, 255, 0.90);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(36, 243, 255, 0.16);
}

.explore-links a:hover {
  border-color: rgba(255, 120, 240, 0.75);
  color: #ffe6ff;
  box-shadow: 0 0 14px rgba(255, 120, 240, 0.35);
}

@media (max-width: 720px) {
  .explore-page {
    padding: 14px 12px 28px;
  }

  .explore-stage {
    height: min(70vh, 560px);
  }
}
