:root {
  --bg: #0A0B0B;
  --card: #121414;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --accent: #719EFF;
  --danger: #f87171;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(113, 158, 255, 0.22), transparent),
    var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gate-page { width: 100%; max-width: 400px; }

.gate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.gate-brand {
  text-align: center;
  margin-bottom: 24px;
}

.gate-logo {
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

.gate-brand h1 {
  font-size: 1.35rem;
  font-weight: 700;
}

.gate-sub {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.gate-form { display: flex; flex-direction: column; gap: 10px; }

.gate-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gate-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
}

.gate-input:focus {
  outline: none;
  border-color: rgba(113, 158, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(113, 158, 255, 0.2);
}

.gate-hint {
  min-height: 1.2em;
  font-size: 0.82rem;
  color: var(--danger);
}

.gate-btn {
  margin-top: 4px;
  padding: 14px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #719EFF, #5A88E8);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.gate-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.gate-banned {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.hidden { display: none !important; }
