#gate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
  justify-content: center;
  align-items: center;
}

.gate-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  width: min(380px, 90vw);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gate-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.4rem;
}

.gate-subtitle {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 2rem;
}

#gate-password {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#gate-password:focus {
  border-color: rgba(255, 200, 100, 0.6);
}

.gate-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f5a623, #e8890c);
  border: none;
  border-radius: 8px;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gate-btn:hover {
  opacity: 0.9;
}

#gate-error {
  display: none;
  margin-top: 0.8rem;
  color: #ff7875;
  font-size: 0.85rem;
  text-align: center;
}
