.gate-body {
  --panel-a: #0b0e11;
  --panel-b: #050608;
  --line: rgba(210,225,235,0.14);
  --line-bright: rgba(233,242,247,0.55);
  --glow: #eaf3f7;
  --ice: #b7dbe8;
  --rtext: #eef2f4;
  --rtext-dim: #7c8790;
  --rtext-dimmer: #4a535a;
  --danger-glow: #c0473e;

  display: flex;
  min-height: 100vh;
  font-family: 'IBM Plex Mono', 'Segoe UI', monospace;
  color: var(--rtext);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(60,80,95,0.12), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(40,55,65,0.10), transparent 50%),
    linear-gradient(160deg, var(--panel-a), var(--panel-b) 60%, #010203);
}

.gate-body .scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}
.gate-body .vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 51;
  box-shadow: inset 0 0 220px rgba(0,0,0,0.85);
}

.gate-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.gate-body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 38px 38px; opacity: 0.2;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 72%);
  pointer-events: none;
}

.gate-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  background: linear-gradient(160deg, rgba(12,15,18,0.92), rgba(4,5,6,0.96));
  border: 1px solid var(--line);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(234,243,247,0.06);
}

.gate-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; margin: 0 0 26px;
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rtext-dim);
}
.gate-status .dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ice); box-shadow: 0 0 6px var(--ice), 0 0 2px #fff;
  animation: gate-pulse 2s ease-in-out infinite;
}
@keyframes gate-pulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

.gate-logo {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  display: block;
}

.gate-card h1 {
  margin: 0 0 0.3rem;
  font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gate-card h1 span { color: var(--rtext-dim); font-weight: 500; }

.gate-sub {
  margin: 0 0 1.75rem;
  color: var(--rtext-dim);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.gate-form input {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--rtext);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
.gate-form input::placeholder { color: var(--rtext-dimmer); }

.gate-form input:focus {
  outline: none;
  border-color: var(--line-bright);
  box-shadow: 0 0 0 1px var(--line-bright);
}

.gate-form button {
  background: rgba(234,243,247,0.08);
  border: 1px solid var(--line-bright);
  color: var(--rtext);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.gate-form button:hover {
  background: rgba(234,243,247,0.16);
  box-shadow: 0 0 18px rgba(234,243,247,0.12);
}

.gate-error {
  color: var(--danger-glow);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1rem;
}

.gate-foot {
  position: relative; z-index: 2;
  font-size: 9.5px; color: var(--rtext-dimmer);
  letter-spacing: 0.1em; text-transform: uppercase;
}
