/* ==========================================================================
   Lineage Garden (계보원) - 3D Indra's Net (인드라망) Tree Stylesheet
   Path: /linea/css/indra_3d.css
   ========================================================================== */

.indra-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #15221c 0%, #0d1411 75%, #070b09 100%);
  user-select: none;
}

#indraCanvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
  cursor: grab;
}

#indraCanvas:active {
  cursor: grabbing;
}

/* 3D Indra Philosophical Badge */
.indra-banner {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 15;
  background: rgba(13, 20, 17, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 173, 99, 0.35);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  color: #e5ede7;
  max-width: 420px;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.indra-banner h4 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 3px 0;
  color: #e2ad63; /* Radiant Ochre / Gold */
  display: flex;
  align-items: center;
  gap: 6px;
}

.indra-banner p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #a4b8ad;
}

/* 3D Floating HUD */
.indra-hud {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 15;
  background: rgba(13, 20, 17, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.indra-hud .btn-indra {
  border: 1px solid rgba(226, 173, 99, 0.35);
  background: rgba(36, 48, 43, 0.65);
  color: #e2ad63;
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.indra-hud .btn-indra:hover {
  background: rgba(226, 173, 99, 0.2);
  border-color: #e2ad63;
  color: #ffffff;
}

.indra-hud .btn-indra.active {
  background: #e2ad63;
  color: #0d1411;
  border-color: #e2ad63;
}

/* 3D Hover Tooltip */
.indra-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(17, 26, 22, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid #e2ad63;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  z-index: 25;
  transform: translate(-50%, -120%);
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.indra-tooltip .tt-title {
  color: #e2ad63;
  font-size: 11px;
  font-weight: 700;
}

.indra-tooltip .tt-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  margin: 1px 0;
}

.indra-tooltip .tt-meta {
  color: #9ab3a6;
  font-size: 11px;
}
