/* Root bilingual language gate */
.lang-gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}
.lang-card {
  width: min(480px, 100%);
  background: rgba(42, 23, 69, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lang-logo { font-size: 48px; line-height: 1; }
.lang-brand {
  margin: 0;
  font-size: 28px;
  background: linear-gradient(135deg, #ff8fb3, #c58bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lang-brand span { font-weight: 800; }
.lang-block {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.lang-block h2 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #ffd166;
  letter-spacing: 0.5px;
}
.lang-block p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(243, 234, 255, 0.88);
}
.lang-block p:last-child { margin-bottom: 0; }
.lang-block strong { color: #ffd166; }
.lang-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.btn-lang {
  display: block;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  transition: transform 0.12s, box-shadow 0.2s;
}
.btn-lang:active { transform: scale(0.97); }
.btn-lang-zh {
  background: linear-gradient(135deg, #ff5c8d, #c94bff);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 92, 141, 0.35);
}
.btn-lang-en {
  background: linear-gradient(135deg, #4fc3f7, #7b2ff7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(79, 195, 247, 0.3);
}
.lang-leave {
  margin-top: 2px;
  border: none;
  background: transparent;
  color: rgba(185, 166, 216, 0.75);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 8px;
}
.lang-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 6px;
}
.farewell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9b8e8;
  font-size: 16px;
}
