:root{
  --bg:#0b0c10;
  --panel:#11131a;
  --panel2:rgba(17,19,26,.72);
  --border:rgba(255,255,255,.08);
  --text:#f4f4f5;
  --muted:rgba(244,244,245,.68);
  --muted2:rgba(244,244,245,.42);
  --yellow:#f5c518;
  --yellow2:rgba(245,197,24,.18);
  --shadow:0 20px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.03);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.page{
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* мягкие свечения */
.glow{
  position:absolute; inset:auto auto auto auto;
  width:340px; height:340px;
  border-radius:999px;
  background: radial-gradient(circle, rgba(245,197,24,.22), rgba(245,197,24,0) 65%);
  filter: blur(22px);
  pointer-events:none;
  opacity:.9;
}
.glow.one{ top:-140px; left:50%; transform:translateX(-50%); }
.glow.two{ top:-90px; left:40px; opacity:.55; }

/* top bar */
.topbar{
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position: relative;
  z-index: 2;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:700; letter-spacing:-0.2px;
  font-size:20px;
}
.brand-badge{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  background: var(--yellow2);
  border:1px solid rgba(245,197,24,.28);
}
.brand-badge svg{ width:22px; height:22px; color: var(--yellow); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 14px;
  padding: 10px 16px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor:pointer;
}
.btn-primary{
  background: var(--yellow);
  color: #141414;
  box-shadow: 0 14px 30px rgba(245,197,24,.18);
}
.btn-primary:hover{ filter: brightness(1.05); }

/* content */
.main{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 22px 80px;
  position: relative;
  z-index: 2;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.hero{
  margin-top: 42px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.hero-icon{
  width:54px; height:54px;
  border-radius: 18px;
  background: rgba(245,197,24,.12);
  border:1px solid rgba(245,197,24,.22);
  display:grid; place-items:center;
}
.hero-icon svg{ width:26px; height:26px; color: var(--yellow); }
.hero h1{
  margin:0;
  font-size: 44px;
  letter-spacing: -0.7px;
}
.hero p{
  margin:0;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* card */
.card-wrap{ width:100%; display:flex; justify-content:center; margin-top: 32px; }
.card{
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  background: var(--panel2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 22px;
}

.alert{
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(239,68,68,.25);
  background: rgba(239,68,68,.12);
  color: rgba(254,226,226,.95);
  font-size: 13px;
}
.alert ul{ margin:0; padding-left:18px; }
.alert li{ margin: 4px 0; }

.field{ margin-bottom: 14px; }
label{
  display:block;
  font-size: 13px;
  font-weight: 650;
  color: rgba(244,244,245,.82);
  margin-bottom: 8px;
}
.input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(5,7,10,.55);
  color: var(--text);
  padding: 12px 12px 12px 44px;
  outline: none;
  font-size: 14px;
}
.input::placeholder{ color: rgba(244,244,245,.35); }
.input:focus{
  border-color: rgba(245,197,24,.55);
  box-shadow: 0 0 0 4px rgba(245,197,24,.10);
}

.input-row{ position: relative; }
.icon{
  position:absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: rgba(244,244,245,.42);
  pointer-events:none;
}

.row-between{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.small-link{
  font-size: 13px;
  color: rgba(245,197,24,.85);
}
.small-link:hover{ color: rgba(245,197,24,1); }

.checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 6px 0 14px;
  color: rgba(244,244,245,.75);
  font-size: 13px;
}
.checkbox input{ width:16px; height:16px; accent-color: var(--yellow); }

.submit{
  width:100%;
  border:none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  background: var(--yellow);
  color: #141414;
  cursor:pointer;
  box-shadow: 0 18px 40px rgba(245,197,24,.16);
}
.submit:hover{ filter: brightness(1.05); }
.submit:active{ transform: translateY(1px); }

.center-text{
  text-align:center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.center-text a{
  color: rgba(245,197,24,.9);
  font-weight: 650;
}
.center-text a:hover{ color: rgba(245,197,24,1); }

.wave{
  position:absolute;
  left:0; right:0; bottom:0;
  pointer-events:none;
  z-index: 1;
}
.wave svg{ width:100%; height: 240px; display:block; }

@media (max-width: 520px){
  .hero h1{ font-size: 34px; }
  .card{ padding: 18px; }
}
