
:root {
  --gold-1: #fff2b6;
  --gold-2: #f6c75a;
  --gold-3: #b97615;
  --gold-4: #6f4305;
  --ink: #050505;
  --panel: rgba(10, 9, 7, 0.82);
  --panel-strong: rgba(18, 15, 11, 0.94);
  --muted: rgba(255, 241, 188, 0.68);
  --line: rgba(245, 191, 77, 0.38);
  --danger: #ffb3b3;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff7dc;
  background: #000;
  overflow-x: hidden;
}
.page-bg,
.page-overlay,
.particles { position: fixed; inset: 0; pointer-events: none; }
.page-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,.32), rgba(0,0,0,.85) 52%, rgba(0,0,0,.78)),
    url('../admin_login_gold/hez-bengo2-gold-login.png') center / cover no-repeat;
  filter: saturate(1.12) contrast(1.04);
}
.page-overlay {
  background:
    radial-gradient(circle at 20% 25%, rgba(248, 198, 75, .24), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(248, 198, 75, .14), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.74));
}
.particles::before,
.particles::after {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(circle, rgba(255,215,95,.95) 0 1.2px, transparent 1.5px),
    radial-gradient(circle, rgba(255,243,187,.65) 0 1px, transparent 1.35px);
  background-size: 76px 76px, 118px 118px;
  opacity: .36;
  animation: goldDrift 18s linear infinite;
}
.particles::after { opacity: .2; animation-duration: 28s; transform: rotate(9deg); }
@keyframes goldDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-90px,70px,0); } }
.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 500px);
  gap: clamp(22px, 4vw, 70px);
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
}
.hero-showcase {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 4vw, 50px);
  border: 1px solid rgba(246, 199, 90, .32);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.28), rgba(0,0,0,.08)),
    radial-gradient(circle at 40% 55%, rgba(246,199,90,.15), transparent 44%);
  box-shadow: 0 0 0 1px rgba(255,232,158,.08) inset, 0 28px 80px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;
}
.hero-showcase::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 36%;
  background: radial-gradient(ellipse at center, rgba(247,198,79,.28), transparent 65%);
}
.hero-logo { position: relative; z-index: 1; max-width: 520px; }
.hero-logo .hb {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid var(--gold-2);
  color: var(--gold-1);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  box-shadow: 0 0 24px rgba(246,199,90,.32), inset 0 0 20px rgba(246,199,90,.12);
}
.hero-logo h1,
.admin-card h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  color: var(--gold-1);
  margin: 18px 0 6px;
  font-size: clamp(45px, 6vw, 88px);
  letter-spacing: .02em;
  text-shadow: 0 2px 0 #7c4a0b, 0 0 22px rgba(246,199,90,.35);
}
.hero-logo p { margin: 0; color: var(--gold-2); letter-spacing: .36em; text-transform: uppercase; font-weight: 700; }
.feature-row { position: relative; z-index: 2; display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.feature-pill { border: 1px solid rgba(246,199,90,.38); background: rgba(0,0,0,.45); border-radius: 999px; padding: 10px 16px; color: var(--muted); font-size: 13px; }
.admin-card {
  position: relative;
  width: min(100%, 500px);
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(20,17,13,.94), rgba(4,4,4,.88));
  box-shadow: 0 30px 90px rgba(0,0,0,.62), 0 0 0 1px rgba(255,235,165,.08) inset, 0 0 45px rgba(246,199,90,.12);
  overflow: hidden;
}
.admin-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.badge-wrap { display: flex; justify-content: center; }
.admin-badge { width: 82px; height: auto; filter: drop-shadow(0 0 16px rgba(246,199,90,.45)); }
.brand-text { margin-top: 10px; text-align: center; color: var(--gold-2); letter-spacing: .34em; font-size: 12px; font-weight: 800; }
.admin-card h1 { text-align: center; font-size: clamp(36px, 5vw, 56px); margin-top: 8px; }
.subtitle { text-align: center; color: var(--muted); margin: -2px 0 22px; }
.auth-feedback { margin: 0 0 14px; text-align: center; font-size: 14px; font-weight: 800; border-radius: 16px; padding: 10px 12px; }
.auth-feedback.is-error { color: var(--danger); background: rgba(130,30,30,.28); border: 1px solid rgba(255,179,179,.25); }
.auth-feedback.is-status { color: var(--gold-1); background: rgba(246,199,90,.12); border: 1px solid rgba(246,199,90,.22); }
.login-form { display: grid; gap: 16px; }
.field { position: relative; display: block; }
.field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; color: var(--gold-2); z-index: 2; }
.field svg { width: 100%; fill: currentColor; }
.field input {
  width: 100%; height: 58px; border-radius: 16px; border: 1px solid rgba(246,199,90,.26); outline: none;
  background: rgba(0,0,0,.36); color: #fff7dc; padding: 0 54px 0 50px; font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.field input:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(246,199,90,.16); }
.field input::placeholder { color: rgba(255,245,214,.44); }
.eye-btn { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--gold-2); width: 32px; height: 32px; padding: 6px; cursor: pointer; }
.remember-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; user-select: none; }
.remember-row input { accent-color: var(--gold-2); }
.login-btn {
  height: 60px; border: 0; border-radius: 16px; cursor: pointer; font-weight: 900; letter-spacing: .08em;
  color: #1d1202; background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 45%, #c88418);
  box-shadow: 0 14px 30px rgba(194,126,19,.28), inset 0 1px 0 rgba(255,255,255,.45);
}
.login-btn:hover { filter: brightness(1.05); }
.copy { text-align: center; margin: 18px 0 0; color: rgba(255,241,188,.48); font-size: 12px; }
@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; padding: 18px; }
  .hero-showcase { min-height: 320px; border-radius: 24px; }
  .admin-card { width: 100%; border-radius: 24px; }
}
@media (max-width: 540px) {
  .page { padding: 12px; gap: 14px; }
  .hero-showcase { min-height: 240px; padding: 22px; }
  .hero-logo h1 { font-size: 42px; }
  .hero-logo p { letter-spacing: .2em; font-size: 11px; }
  .feature-row { display: none; }
  .admin-card { padding: 22px; }
  .field input { height: 54px; }
}
