:root {
  --bg: #08080e;
  --bg-2: #10101a;
  --border: #252535;
  --border-2: #353550;
  --text: #e0e0f0;
  --text-muted: #70708a;
  --accent: #00d4ff;
  --accent-hover: #33ddff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.access-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0%, rgba(0, 212, 255, 0.09), transparent 38%),
    radial-gradient(circle at 80% 100%, rgba(170, 68, 255, 0.12), transparent 44%),
    rgba(5, 8, 12, 0.94);
  padding: 16px;
}

.access-gate-card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 28px;
  width: min(380px, calc(100vw - 32px));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75);
}

.access-gate-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, #aa44ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.access-gate-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.access-gate-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.access-gate-card label {
  font-size: 12px;
  color: var(--text-muted);
}

.access-gate-card input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

.access-gate-card input[type="password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.access-gate-error {
  color: #f47171;
  font-size: 13px;
  min-height: 1.2em;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 13px;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
