:root{
  /* Brand */
  --green: #014401;
  --gold:  #c7b273;
  --mint:  #f6fbf5;
  --white: #fffffd;
  --black: #050605;

  /* Natural variants */
  --goldDark: #a88d49;
  --bg: #070b07;

  --panel: rgba(255,255,253,0.06);
  --panel2: rgba(255,255,253,0.09);

  --stroke: rgba(255,255,253,0.10);

  --text: rgba(255,255,253,0.93);
  --muted: rgba(246,251,245,0.78);
  --muted2: rgba(246,251,245,0.62);

  --shadow: 0 18px 55px rgba(0,0,0,0.55);
  --shadowSoft: 0 10px 30px rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }
html, body { margin:0; padding:0; height:100%; }

body{
  font-family: Arial, Helvetica, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% 0%, rgba(168,141,73,0.10), transparent 62%),
    radial-gradient(900px 650px at 85% 15%, rgba(1,68,1,0.22), transparent 62%),
    radial-gradient(900px 700px at 50% 110%, rgba(246,251,245,0.10), transparent 60%),
    linear-gradient(180deg, var(--black), var(--bg));
}

/* NAV */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,6,5,0.60);
  border-bottom: 1px solid rgba(168,141,73,0.16);
  backdrop-filter: blur(14px);
}

.nav__inner{
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.brand__logo{
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}

.brand__text{
  font-size: 16px;
  font-weight: 900;
}

.nav__actions{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav__link{
  text-decoration:none;
  color: rgba(246,251,245,0.84);
  font-weight: 900;
  letter-spacing: 0.2px;
}

.nav__link:hover{ color: var(--white); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,253,0.10);
  text-decoration:none;
  font-weight: 900;
  color: var(--text);
  background: rgba(255,255,253,0.06);
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover{ transform: translateY(-1px); }

.btn--primary{
  background: linear-gradient(180deg, var(--gold), var(--goldDark));
  color: rgba(5,6,5,0.94);
  border-color: rgba(168,141,73,0.50);
  box-shadow: 0 14px 34px rgba(0,0,0,0.30);
}
.btn--primary:hover{ filter: brightness(1.04); }

.btn--ghost{
  background: rgba(255,255,253,0.05);
  border-color: rgba(168,141,73,0.28);
}
.btn--ghost:hover{
  background: rgba(255,255,253,0.09);
  border-color: rgba(168,141,73,0.36);
}

.btn--block{
  width: 100%;
  padding: 12px 14px;
}

/* AUTH LAYOUT */
.auth{
  min-height: calc(100vh - 70px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 44px 16px;
}

.auth__wrap{
  width: min(980px, 100%);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Left: form card */
.card{
  position: relative;
  border-radius: 18px;
  background: rgba(5,6,5,0.45);
  border: 1px solid rgba(168,141,73,0.18);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  left: 18px;
  top: 14px;
  width: 110px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(199,178,115,0.95), rgba(168,141,73,0.10));
}

.card__inner{
  padding: 26px;
}

.kicker{
  display:inline-block;
  padding: 10px 18px;
  background: rgba(5,6,5,0.28);
  border: 1px solid rgba(168,141,73,0.46);
  color: rgba(246,251,245,0.96);
  font-weight: 900;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  font-size: 14px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 25%, 100% 75%, 90% 100%, 10% 100%, 0% 75%, 0% 25%);
}

.h1{
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.sub{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.form{
  display:flex;
  flex-direction: column;
  gap: 12px;
}

.field label{
  display:block;
  font-size: 13px;
  font-weight: 900;
  color: rgba(246,251,245,0.86);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,253,0.10);
  background: rgba(255,255,253,0.06);
  color: var(--text);
  outline: none;
}

.input::placeholder{ color: rgba(246,251,245,0.45); }

.input:focus{
  border-color: rgba(168,141,73,0.50);
  box-shadow: 0 0 0 4px rgba(168,141,73,0.15);
}

.metaRow{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  margin-top: 6px;
  color: var(--muted2);
  font-size: 13px;
  font-weight: 700;
}

.metaRow a{
  color: rgba(246,251,245,0.86);
  text-decoration:none;
  font-weight: 900;
}
.metaRow a:hover{ color: var(--white); }

.helper{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(168,141,73,0.14);
  color: var(--muted2);
  font-size: 13px;
  font-weight: 700;
}

/* Right: simple brand panel (no hero) */
.side{
  border-radius: 18px;
  border: 1px solid rgba(168,141,73,0.16);
  background:
    radial-gradient(900px 600px at 50% 20%, rgba(1,68,1,0.30), transparent 62%),
    radial-gradient(900px 600px at 50% 80%, rgba(168,141,73,0.18), transparent 62%),
    rgba(5,6,5,0.40);
  box-shadow: var(--shadowSoft);
  padding: 26px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.side__title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.side__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

.side__bullets{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(246,251,245,0.80);
  font-weight: 700;
  line-height: 1.6;
}

/* Alerts */
.alert{
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168,141,73,0.28);
  background: rgba(0,0,0,0.35);
  color: rgba(246,251,245,0.92);
  font-weight: 800;
  margin: 10px 0 14px;
}

.alert--error{
  border-color: rgba(225,29,46,0.35);
  background: rgba(225,29,46,0.10);
}

/* Password strength */
.pw{
  margin-top: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(168,141,73,0.18);
  background: rgba(255,255,253,0.04);
}

.pw__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}

.pw__label{
  font-size: 13px;
  font-weight: 900;
  color: rgba(246,251,245,0.86);
}

.pw__score{
  font-size: 13px;
  font-weight: 900;
  color: rgba(246,251,245,0.92);
}

.pw__bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,253,0.08);
  border: 1px solid rgba(255,255,253,0.10);
  overflow: hidden;
}

.pw__fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(225,29,46,0.85), rgba(199,178,115,0.95));
  transition: width .12s ease;
}

.pw__tips{
  margin-top: 8px;
  color: rgba(246,251,245,0.70);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 900px){
  .nav__inner{ padding: 16px 18px; }
  .auth__wrap{ grid-template-columns: 1fr; }
}
