/* Maintenance mode — Encabe */
:root {
  --bg: #190B28;
  --card-bg: rgba(183, 194, 242, 0.06);
  --accent: #E94F37;
  --highlight: #F5E960;
  --secondary: #B3C2F2;
  --text: #f0ecf4;
  --text-muted: rgba(240, 236, 244, 0.7);
  --border: rgba(183, 194, 242, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  z-index: 0;
}

.lava-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block;
}

.gate {
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.gate-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.gate-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.gate-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.gate-message {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.gate-toggle {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.gate-toggle-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gate-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text);
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
}

.gate-input::placeholder {
  color: var(--text-muted);
}

.gate-input:focus {
  border-color: var(--secondary);
}

.gate-btn {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a0a1a;
  background: var(--highlight);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gate-btn:hover {
  background: #faf089;
  transform: translateY(-1px);
}

.gate-error {
  margin: 0;
  font-size: 0.85rem;
  color: var(--accent);
  min-height: 1.25rem;
}

.gate-footer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
