:root{
  --bg:#060606;
  --bg-soft:#101010;
  --card:rgba(18,18,18,0.92);
  --border:rgba(212,175,55,0.24);
  --gold:#d4af37;
  --gold-strong:#f1cc5d;
  --text:#f5f1e8;
  --muted:#b9b1a0;
  --shadow:0 20px 60px rgba(0,0,0,0.45);
  --radius:24px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,body{
  width:100%;
  min-height:100%;
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(212,175,55,0.08), transparent 30%),
    linear-gradient(135deg, #050505 0%, #0c0c0c 45%, #070707 100%);
  color:var(--text);
}

body{
  min-height:100vh;
}

.login-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  position:relative;
  overflow:hidden;
}

.login-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size:22px 22px;
  opacity:.18;
  pointer-events:none;
}

.login-card{
  position:relative;
  z-index:2;
  width:100%;
  max-width:460px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  padding:32px 24px;
}

.brand{
  margin-bottom:24px;
  text-align:center;
}

.brand-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,0.35);
  background:rgba(212,175,55,0.08);
  color:var(--gold-strong);
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
  margin-bottom:16px;
}

.brand h1{
  font-size:32px;
  line-height:1.1;
  color:var(--gold-strong);
  margin-bottom:10px;
}

.brand p{
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.login-alert{
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,80,80,0.25);
  background:rgba(255,80,80,0.08);
  color:#ffb7b7;
  font-size:14px;
}

.login-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.input-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.input-group label{
  font-size:14px;
  color:#f3e7bf;
  font-weight:700;
}

.input-group input{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(212,175,55,0.18);
  background:rgba(255,255,255,0.03);
  color:var(--text);
  padding:0 16px;
  outline:none;
  transition:.25s ease;
  font-size:15px;
}

.input-group input::placeholder{
  color:#8d8678;
}

.input-group input:focus{
  border-color:rgba(241,204,93,0.72);
  box-shadow:0 0 0 4px rgba(212,175,55,0.10);
}

.btn-login{
  height:54px;
  border:none;
  border-radius:16px;
  cursor:pointer;
  font-size:16px;
  font-weight:800;
  letter-spacing:.3px;
  color:#111;
  background:linear-gradient(135deg, #c89f2b 0%, #f1cc5d 50%, #b98a14 100%);
  box-shadow:0 12px 30px rgba(212,175,55,0.18);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
  margin-top:6px;
}

.btn-login:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 16px 35px rgba(212,175,55,0.24);
}

.btn-login:active{
  transform:translateY(0);
}

.login-footer{
  margin-top:22px;
  text-align:center;
  color:#8d8678;
  font-size:13px;
}

@media (max-width: 520px){
  .login-card{
    padding:28px 18px;
    border-radius:22px;
  }

  .brand h1{
    font-size:27px;
  }

  .brand p{
    font-size:14px;
  }

  .input-group input,
  .btn-login{
    height:50px;
  }
}