/* Header: keep languages and Download clearly separated */
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
}

.lang-switch {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: #0d1220 !important;
  border: 1px solid #3a4460 !important;
  box-shadow: inset 0 0 0 1px #151b2c;
}

.lang-switch button {
  appearance: none !important;
  border: 1px solid transparent !important;
  background: #171d2e !important;
  color: #b7bfd4 !important;
  font: 800 11px/1 Inter, system-ui, sans-serif !important;
  letter-spacing: .6px !important;
  padding: 9px 11px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  min-width: 40px !important;
  text-align: center !important;
}

.lang-switch button + button {
  margin-left: 0 !important;
}

.lang-switch button.active {
  background: #7c5cff !important;
  border-color: #9b86ff !important;
  color: #fff !important;
}

.header-actions .mini-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 0 !important;
  padding: 11px 18px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #7c5cff, #5134da) !important;
  color: #fff !important;
  font-weight: 850 !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  border: 1px solid #8f78ff !important;
  flex-shrink: 0 !important;
}

.header-sep {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: #3a4460;
  flex-shrink: 0;
  margin: 0 2px;
}

/* Visual divider between langs and Download */
.header-actions::before {
  content: none;
}

.header-actions .lang-switch::after {
  content: "";
  display: none;
}

@media (max-width: 760px) {
  .header-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .header-sep { display: none !important; }

  .lang-switch {
    width: max-content !important;
    max-width: 100% !important;
  }

  .header-actions .mini-cta {
    margin-left: 0 !important;
    justify-self: end !important;
  }
}

@media (max-width: 420px) {
  .header-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .header-sep { display: none !important; }

  .lang-switch {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .lang-switch button {
    flex: 1 1 0 !important;
  }

  .header-actions .mini-cta {
    width: 100% !important;
    justify-self: stretch !important;
  }
}

.store.android {
  color: #fff;
  background: linear-gradient(135deg, #22d3ee, #7c5cff);
  box-shadow: 0 12px 35px #22d3ee2e;
  transition: transform .2s ease, box-shadow .2s ease;
}

.store.android:hover,
.store.android:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px #7c5cff44;
}
