/* Hyper-modern black & purple theme */
:root{
  --bg0:#0a0a12;
  --bg1:#0f0f1a;
  --text:#e7e9ee;
  --muted:#a0a4b6;
  --purple:#7c3aed;
  --accent:#d946ef;
  --card: rgba(17, 17, 26, 0.6);
  --border: rgba(124,58,237,.35);
  --ring: rgba(124,58,237,.45);
  --success:#22c55e;
  --error:#ef4444;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
}
.page{display:flex; flex-direction:column; gap:28px; padding:16px}
.hero{
  position:relative; min-height:44vh; border-radius:28px; overflow:hidden;
  background: #0d0d16 url('assets/background.jpg') center/cover no-repeat fixed;
  display:grid; place-items:center;
  border:1px solid var(--border);
  box-shadow: 0 30px 80px rgba(124,58,237,.15), inset 0 1px 0 rgba(255,255,255,.05);
}
.hero .overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(124,58,237,.35), rgba(124,58,237,0) 60%),
    radial-gradient(900px 400px at 10% 90%, rgba(217,70,239,.20), rgba(217,70,239,0) 60%),
    linear-gradient(180deg, rgba(10,10,18,.4), rgba(10,10,18,.75));
}
.hero-content{ position:relative; padding:28px; text-align:center; max-width:1000px }
.hero h1{
  margin:0 0 6px; font-size: clamp(28px, 5vw, 56px); font-weight:900;
  text-shadow: 0 0 24px rgba(124,58,237,.45);
}
.byline{ color:var(--muted); margin:0 0 12px; font-weight:600 }
.desc{
  margin: 0 auto; background: rgba(124,58,237,.08);
  border:1px solid var(--border); border-radius:18px; padding:14px 18px;
  backdrop-filter: blur(10px);
}
.desc h2{ margin:0 0 6px; font-size: clamp(16px, 2.5vw, 20px) }
.card{
  background: linear-gradient(180deg, var(--card), rgba(12,12,20,.6));
  border:1px solid var(--border);
  border-radius:24px; padding:24px;
  box-shadow: 0 30px 80px rgba(124,58,237,.12), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
  max-width: 1100px; width:100%; margin: 0 auto;
}
.card.small{ max-width:900px }
h3{ margin:0 0 6px; font-size: clamp(20px, 2.7vw, 26px) }
.subtitle{ margin:0 0 18px; color:var(--muted) }

form{ display:flex; flex-direction:column; gap:16px }
.row{ display:grid; grid-template-columns: 1fr 1fr; gap:16px }
@media (max-width:820px){ .row{ grid-template-columns: 1fr } }

.field label{ display:block; font-size:13px; margin:0 0 8px 2px; color:#cbd5e1; letter-spacing:.2px }
.field input{
  width:100%; padding:14px; border-radius:14px; border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(124,58,237,.07), rgba(124,58,237,.03));
  color:var(--text); outline:none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .03s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 30px rgba(0,0,0,.35);
}
.field input::placeholder{ color:#8b8fa3 }
.field input:focus{
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--ring), inset 0 0 0 1px rgba(255,255,255,.03);
  transform: translateY(-1px);
}
.hint{ margin-top:8px; font-size:12.5px; color:#a3a7bb; line-height:1.45 }

.checkbox{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#d5d8e6 }
.checkbox input{ transform: translateY(3px) }
.link{ color:#b089ff; text-decoration:underline; text-underline-offset:3px }

.actions{ display:flex; gap:12px; align-items:center; margin-top:6px }
button{
  appearance:none; border:0; padding:14px 18px; border-radius:14px;
  font-weight:800; letter-spacing:.3px; color:white; cursor:pointer;
  background:
    radial-gradient(80% 180% at 30% 20%, rgba(255,255,255,.25), rgba(255,255,255,0) 60%),
    linear-gradient(90deg, var(--purple) 0%, var(--accent) 100%);
  box-shadow: 0 15px 35px rgba(124,58,237,.35), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .05s ease, box-shadow .2s ease, filter .15s ease;
}
button:hover{ filter:brightness(1.05) }
button:active{ transform: translateY(1px) }
button.ghost{ background: transparent; border:1px solid var(--border); color:var(--text); box-shadow:none }
.status{ min-height:22px; font-size:14px }
.ok{ color: var(--success) }
.bad{ color: var(--error) }

.foot{ text-align:center; color:#9094a8; font-size:12.5px; padding:10px 0 24px }
.hpot{ position:absolute; left:-9999px; top:-9999px; height:0; width:0; opacity:0 }
