#landing-gateway {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  color: #1a1a1a;
  transition: opacity 0.8s var(--ease-cinematic), visibility 0.8s;
}

#landing-gateway.entered {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.landing-bg-wrap,
.mist-canvas,
.landing-vignette {
  display: none !important;
}

.landing-brand-card {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  max-width: 640px;
  animation: landingFadeIn 1.2s var(--ease-cinematic) both;
}

.landing-logo-rest {
  font-family: var(--font-sans);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  line-height: 1;
  color: #111111;
  margin-left: 0.35em;
  text-shadow: none;
}

.landing-logo-zh {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.7em;
  color: #222222;
  margin-top: 1.25rem;
  margin-left: 0.7em;
  text-shadow: none;
}

.landing-logo-sub {
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #555555;
  margin-top: 1.25rem;
  margin-left: 0.15em;
  text-transform: none;
  text-shadow: none;
}

.landing-lang-group {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 20;
}

.landing-lang-btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #444444;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.landing-lang-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 1px;
  background-color: #111111;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.landing-lang-btn:hover {
  color: #000000;
  border: none;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.landing-lang-btn:hover::after {
  transform: scaleX(1);
}

.landing-lang-divider {
  width: 1px;
  height: 16px;
  background: #cccccc;
}

.landing-enter-action {
  margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  background: transparent;
  padding: 1rem 2rem;
  transition: var(--transition-fast);
}

.landing-enter-btn {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  background: rgba(18, 20, 24, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-cinematic);
  position: relative;
  overflow: hidden;
}

.landing-enter-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.landing-enter-action:hover .landing-enter-btn {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.landing-enter-action:hover .landing-enter-btn::after {
  transform: translateX(100%);
}

.landing-tagline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #8c8f9b;
  transition: color 0.3s ease;
}

.landing-enter-action:hover .landing-tagline {
  color: var(--text-primary);
}

.ambient-fog-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: screen;
}

@keyframes landingFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}