/* =====================================================================
   login.css — Authentication / landing screen.
   ===================================================================== */

body.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-card {
    width: min(92vw, 380px);
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-card);
}
.auth-card h2 {
    color: var(--accent);
    margin-top: 0;
    font-size: 22px;
}
.auth-panel p { color: var(--subtext); font-size: 14px; }
.auth-panel hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 18px 0;
}
.auth-panel .secondary-btn { width: 100%; margin: 4px 0; }

/* ===== Gradient Button ===== */
.pixel-submit-btn {
  position: relative;
  width: 120px;
  height: 40px;
  background-color: #000;
  display: flex;
  align-items: center;
  color: white;
  flex-direction: column;
  justify-content: center;
  border: none;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 1px 1px #000;
  margin: 12px auto 0;
}

.pixel-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -4px;
  top: -1px;
  margin: auto;
  width: 128px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #ffd700 0%, #ff4757 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pixel-submit-btn::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #ffcc00 0%, #ff6b6b 100%);
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pixel-submit-btn:hover::after {
  filter: blur(30px);
}

.pixel-submit-btn:hover::before {
  transform: rotate(-180deg);
}

.pixel-submit-btn:active::before {
  scale: 0.7;
}

/* ===== Pixel Style Inputs ===== */
.uiverse-pixel-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  font-family: "Courier New", monospace;
  color: #fff;
  font-size: 1em;
  width: 100%;
  margin-bottom: 12px;
}

.uiverse-pixel-label {
  text-shadow: 1px 1px #000;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.auth-panel .uiverse-pixel-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius: 0;
  padding: 0.6em;
  font-size: 1em;
  font-family: "Courier New", monospace;
  color: #fff;
  background: #ffd700 !important;
  image-rendering: pixelated;
  box-shadow:
    0 0 0 0.15em #000,
    0 0 0 0.3em #fff,
    0 0 0 0.45em #000,
    0 0.3em 0 0 #d1451e,
    0 0.3em 0 0.15em #000;
  outline: none;
  transition: all 0.15s steps(1);
  text-shadow: 1px 1px #000;
  width: 100% !important;
  margin: 0 !important;
}

.uiverse-pixel-input::placeholder {
  color: #fff;
  opacity: 0.6;
}

.uiverse-pixel-input:focus {
  background: #ffd700 !important;
  box-shadow:
    0 0 0 0.15em #000,
    0 0 0 0.3em #fff,
    0 0 0 0.45em #000,
    0 0.2em 0 0 #00cc66,
    0 0.2em 0 0.15em #000;
}

.uiverse-pixel-input:hover {
  animation: uiverse-glitch-input 0.3s steps(2) infinite;
}

@keyframes uiverse-glitch-input {
  0% { transform: translate(0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}
