.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer-links a {
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector {
  background: rgba(6, 182, 212, 0.05);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.3rem 1.75rem 0.3rem 0.65rem;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23475569' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  transition: border-color var(--transition), color var(--transition);
}

.lang-selector:hover {
  color: var(--text-dim);
  background: rgba(6, 182, 212, 0.09);
}

.lang-selector:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
  color: var(--text);
}

.lang-selector option {
  background-color: #0d1b2e;
  color: #e2e8f0;
}

.lang-selector option:checked {
  background-color: rgba(6, 182, 212, 0.18);
  color: #06b6d4;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
