/**
 * Module: /css/login.css
 * Generated: 2025-10-23 23:40 CDT
 * Batch #3 — “Design is not just what it looks like and feels like. Design is how it works.” — Steve Jobs
 * © Steam Factory — Built with ❤️ by the awesome crew at Steam Factory
 * chatGPT says, "and I helped!"
 */

/* ==========================================================
   Steam Factory Login Background — Radial Fade & Brass Glow
   ========================================================== */
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  background: #0b0b0b;
  color: #fff;
  overflow: hidden;
}

/* 🔆 Fullscreen background image with soft radial fade */
.full-bg {
  position: fixed;
  inset: 0;
  background: url('/images/login_bg.jpg') center/cover no-repeat;
  mask-image: radial-gradient(ellipse at 50% 40%,
                            rgba(0,0,0,1) 60%,
                            rgba(0,0,0,0) 100%);

  -webkit-mask-image: radial-gradient(circle at center,
                              rgba(0,0,0,1) 55%,
                              rgba(0,0,0,0.5) 75%,
                              rgba(0,0,0,0) 100%);
  filter: brightness(0.85) contrast(1.05) saturate(1.2);
  z-index: 0;
}

/* ✨ Brass shimmer divider (mid-screen energy conduit) 
.background-wrapper::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 204, 0, 0.1) 25%,
    rgba(255, 204, 0, 0.6) 50%,
    rgba(255, 204, 0, 0.1) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 5s ease-in-out infinite alternate;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.35);
  z-index: 1;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; opacity: 0.9; }
  50%  { background-position: 100% 0; opacity: 1; }
  100% { background-position: 0% 0; opacity: 0.9; }
}

*/

/* ==========================================================
   🔐 Login Overlay + Form Styling
   ========================================================== */
.auth-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  backdrop-filter: blur(2px);
}

/* 🧭 Login Card */
.sf-login-card {
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #ffcc00;
  border-radius: 14px;
  padding: 2.5rem 3rem;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.25),
              inset 0 0 20px rgba(255, 204, 0, 0.05);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: center;
  backdrop-filter: blur(6px);
}

.sf-login-card h1 {
  color: #ffcc00;
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  letter-spacing: 0.5px;
}

.sf-login-card p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

/* 🧩 Form elements */
.sf-login-card form {
  text-align: left;
}

.sf-login-card label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #ffcc00;
}

.sf-login-card input {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #666;
  border-radius: 6px;
  background: #222;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sf-login-card input:focus {
  border-color: #ffcc00;
  box-shadow: 0 0 6px rgba(255, 204, 0, 0.4);
  outline: none;
}

/* 🔘 Button */
.sf-login-card button {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: #ffcc00;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.sf-login-card button:hover {
  background: #fff000;
  transform: translateY(-1px);
}

/* ⚠️ Error message */
.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: left;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🔗 Links */
.sf-links {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

.sf-links a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 0.5rem;
}

.sf-links a:hover {
  text-decoration: underline;
}


/* ==========================================================
   ⚙️  Steam Factory Gear Watermark (behind the form)
   ========================================================== */
.full-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/login_bg.jpg') center/contain no-repeat;
  opacity: 0.03;
  transform-origin: center;
  animation: gearRotate 120s linear infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gearRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ==========================================================
   💨 Ambient Steam Haze
   ========================================================== */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url('/images/steam_haze.png') repeat;
  opacity:0.3;
  animation: steamDrift 20s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

@keyframes steamDrift {
  0%   { background-position: 0 2048px; }
  100% { background-position: 0px 0px; }
}


/* ==========================================================
   ⚡ Brass Spark Pulse (button interaction)
   ========================================================== */
.sf-login-card button:active {
  animation: sparkPulse 0.4s ease-out;
}

@keyframes sparkPulse {
  0%   { box-shadow: 0 0 0 rgba(255, 204, 0, 0); }
  50%  { box-shadow: 0 0 25px rgba(255, 204, 0, 0.8); transform: scale(1.03); }
  100% { box-shadow: 0 0 0 rgba(255, 204, 0, 0); transform: scale(1); }
}




