/* ═══════════════════════════════════════════
   GOYO Language Selector — Compact Nav Pill
   ═══════════════════════════════════════════ */

.gojo-lang-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(114, 9, 183, 0.06);
  border: 1px solid rgba(114, 9, 183, 0.18);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #A1A1AA;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.gojo-lang-pill:hover {
  background: rgba(114, 9, 183, 0.1);
  border-color: rgba(114, 9, 183, 0.35);
  color: #D4D4D8;
}

.gojo-lang-pill .gojo-lang-globe {
  font-size: 13px;
  line-height: 1;
}

.gojo-lang-pill .gojo-lang-label {
  min-width: 22px;
  text-align: center;
}

.gojo-lang-pill .gojo-lang-arrow {
  font-size: 8px;
  opacity: 0.5;
  transition: transform 0.2s;
}

.gojo-lang-pill.open .gojo-lang-arrow {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════
   Dropdown
   ═══════════════════════════════════════════ */

.gojo-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: #1a1a2e;
  border: 1px solid #27272A;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: gojo-lang-drop-in 0.18s ease-out;
}

@keyframes gojo-lang-drop-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gojo-lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #1e1e30;
}

.gojo-lang-option:last-child {
  border-bottom: none;
}

.gojo-lang-option:not(.gojo-lang-option--soon):hover {
  background: rgba(114, 9, 183, 0.08);
}

.gojo-lang-option.active {
  background: rgba(114, 9, 183, 0.12);
}

.gojo-lang-option .gojo-lang-info {
  flex: 1;
  min-width: 0;
}

.gojo-lang-option .gojo-lang-name {
  font-size: 14px;
  font-weight: 600;
  color: #FAFAFA;
  line-height: 1.3;
}

.gojo-lang-option .gojo-lang-native {
  font-size: 11px;
  color: #71717A;
  line-height: 1.3;
  margin-top: 1px;
}

.gojo-lang-option .gojo-lang-check {
  font-size: 16px;
  color: #7209b7;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
}

.gojo-lang-option.active .gojo-lang-check {
  opacity: 1;
}

/* ── "More coming soon" style ── */
.gojo-lang-option--soon {
  cursor: default;
  opacity: 0.45;
}

.gojo-lang-option--soon .gojo-lang-name {
  color: #71717A;
}

.gojo-lang-option--soon .gojo-lang-native {
  color: #52525B;
}

.gojo-lang-option .gojo-lang-soon {
  font-size: 10px;
  font-weight: 500;
  color: #52525B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .gojo-lang-dropdown {
    width: 180px;
    right: 0;
  }
}

@media (max-width: 420px) {
  .gojo-lang-dropdown {
    width: calc(100vw - 32px);
    right: -40px;
  }
}
