/* PillNav — Observatory dark pill navigation */
.pn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pn-items {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  background: var(--pn-base, #0e0c13);
  border-radius: 9999px;
  border: 1px solid rgba(230,184,64,0.18);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.pn-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 3px;
  margin: 0;
  padding: 3px;
  height: 100%;
}

.pn-list > li {
  display: flex;
  height: 100%;
}

.pn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 16px;
  background: var(--pn-pill, #1d1a2d);
  color: var(--pn-text, #ede9e0);
  text-decoration: none;
  border-radius: 9999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.15s;
}

.pn-circle {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50%;
  background: var(--pn-hover, #e6b840);
  z-index: 1;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.pn-label-stack {
  position: relative;
  display: inline-block;
  line-height: 1;
  z-index: 2;
}

.pn-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.pn-label-hover {
  position: absolute;
  left: 0; top: 0;
  color: #0e0c13;
  z-index: 3;
  display: inline-block;
  will-change: transform, opacity;
  font-weight: 700;
}

.pn-pill.is-active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--pn-base, #0e0c13);
  border-radius: 50%;
  z-index: 4;
}

/* Responsive — pastillas compactas en mobile */
@media (max-width: 760px) {
  .pn-items { height: 32px; }
  .pn-pill {
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
}
@media (max-width: 420px) {
  .pn-pill {
    padding: 0 9px;
    font-size: 9.5px;
  }
}
