/* Internal DCOREP gate: muted Floating Lines + SVG particle logo. */

.gate-body {
  height: 100%;
  overflow: hidden;
  background: #000;
}

.gate-page {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.gate-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.18);
}

.gate-page .auth-ambient-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  pointer-events: none;
  background: #000;
}

.gate-page .ambient-grain {
  opacity: 0.018;
}

.gate-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 54px) clamp(26px, 5vw, 76px);
}

.gate-login {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 9px;
  border-bottom: 1px solid rgba(247, 244, 237, 0.3);
  color: rgba(247, 244, 237, 0.76);
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap 320ms var(--spring), border-color 220ms ease, color 220ms ease;
}

.gate-login:hover {
  gap: 15px;
  border-color: #ff5a0a;
  color: #fff;
}

.gate-login svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.gate-main {
  position: relative;
  min-height: 100dvh;
}

.svg-particle-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  touch-action: pan-x pan-y;
}

.no-floating-lines .gate-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #050505;
}

@media (max-width: 760px) {
  .gate-header {
    padding: max(24px, env(safe-area-inset-top)) 22px 0;
  }

  .gate-login {
    font-size: 0.72rem;
  }

  .gate-page .auth-ambient-canvas {
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate-login {
    transition: none;
  }
}
