:root{
  --bg:#050507;
  --fg:#fafafa;
  --muted:rgba(255,255,255,.55);
  --line:rgba(255,255,255,.10);

  --accent:#7c5cfc;
  --accent2:#a78bfa;
  --accent3:#c4b5fd;

  /* legacy names used by existing classes */
  --green:var(--accent);
  --green2:var(--accent2);

  --bad:#ff4d4d;
  --bad2:#ff7a7a;

  --shadow: 0 20px 60px rgba(0,0,0,.45);
}


*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:'Outfit',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--fg);
  background:var(--bg);
  background-image:
    radial-gradient(ellipse 1200px 800px at 50% -10%, rgba(124,92,252,.22) 0%, transparent 60%),
    radial-gradient(ellipse 800px 600px at 10% 60%, rgba(124,92,252,.10) 0%, transparent 55%),
    radial-gradient(ellipse 700px 500px at 90% 80%, rgba(167,139,250,.08) 0%, transparent 55%);
  animation: pageIn .6s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes pageIn{
  from{opacity:0; transform:translateY(10px) scale(.995); filter:blur(6px)}
  to{opacity:1; transform:translateY(0) scale(1); filter:blur(0)}
}

@keyframes cardIn{
  from{opacity:0; transform:translateY(18px) scale(.98)}
  to{opacity:1; transform:translateY(0) scale(1)}
}

@keyframes shake{
  0%,100%{transform:translateX(0)}
  20%{transform:translateX(-5px)}
  40%{transform:translateX(5px)}
  60%{transform:translateX(-4px)}
  80%{transform:translateX(4px)}
}

/* === Layout: sadece .center kullan === */
.center{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

/* === Card === */
.card{
  width:min(420px, calc(100% - 24px));
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding:26px 22px;
  animation: cardIn .45s ease both;
}

/* başlıklar */
.card h1{
  margin:0;
  text-align:center;
  font-size:40px;
  font-weight:950;
  color:#bfffe9;
  letter-spacing:-.8px;
}
.card h2{
  margin:8px 0 0;
  text-align:center;
  font-size:20px;
  font-weight:900;
}
.card p.sub{
  margin:6px 0 18px;
  text-align:center;
  color:rgba(255,255,255,.55);
}

/* field + input */
.field{margin:14px 0}
.field label{
  display:block;
  font-size:12px;
  color:rgba(255,255,255,.60);
  margin:0 0 8px;
}

.control{
  position:relative;
  display:flex;
  align-items:center;
}

.control input{
  width:100%;
  padding:12px 46px 12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.35);
  color:#fff;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.field.is-ok .control input{
  border-color: rgba(124,92,252,.40);
  box-shadow: 0 0 22px rgba(124,92,252,.12);
}
.field.is-bad .control input{
  border-color: rgba(255,77,77,.45);
  box-shadow: 0 0 22px rgba(255,77,77,.10);
}

.mark{
  position:absolute;
  right:12px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
}

.mark__bubble{
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:950;
  font-size:13px;
  transform: scale(.92);
  animation: pop .22s ease both;
}

@keyframes pop{
  from{opacity:.2; transform:scale(.75)}
  to{opacity:1; transform:scale(1)}
}

.mark__bubble.ok{
  background: rgba(124,92,252,.16);
  border:1px solid rgba(124,92,252,.35);
  color: var(--green2);
}

.mark__bubble.bad{
  background: rgba(255,77,77,.16);
  border:1px solid rgba(255,77,77,.35);
  color: var(--bad2);
}

.hint{
  min-height:16px;
  margin-top:8px;
  font-size:12px;
  color:rgba(255,255,255,.50);
}
.field.is-ok .hint{ color: rgba(124,92,252,.90); }
.field.is-bad .hint{
  color: rgba(255,77,77,.92);
  background: rgba(255,77,77,.10);
  border: 1px solid rgba(255,77,77,.28);
  padding: 10px 12px;
  border-radius: 12px;
}

/* checkbox */
.agree{
  margin:12px 0 16px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:rgba(255,255,255,.70);
  font-size:12px;
}
.agree a{color:var(--green2); text-decoration:none}
.agree a:hover{text-decoration:underline}

/* button */
.btn{
  width:100%;
  border:0;
  cursor:pointer;
  padding:12px 14px;
  border-radius:12px;
  font-weight:950;
  background: rgba(255,255,255,.10);
  color:rgba(255,255,255,.75);
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn--active{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#0b081a;
  box-shadow:0 0 30px rgba(124,92,252,.22);
}
.btn:active{transform:scale(.99)}
.btn:disabled{opacity:.55; cursor:not-allowed}

/* ===== FOOT: her ihtimale karşı tüm olası class/id kombinasyonlarını yakala ===== */
.foot,
.alt,
.footnote,
.footerNote,
#foot,
#footer,
p.foot,
p.alt{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  margin-top:16px !important;
  color: rgba(255,255,255,.75) !important;
}

/* Link yeşil olsun (class olmasa bile) */
.foot a,
.alt a,
.footnote a,
.footerNote a,
#foot a,
#footer a,
p.foot a,
p.alt a{
  color: var(--green) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.foot a:hover,
.alt a:hover,
.footnote a:hover,
.footerNote a:hover,
#foot a:hover,
#footer a:hover,
p.foot a:hover,
p.alt a:hover{
  color: var(--green2) !important;
  text-decoration: underline !important;
}

.shake{ animation: shake .35s ease both; }

/* overlay */
.overlay{
  position:fixed;
  inset:0;
  display:none;
  place-items:center;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  z-index:999;
}
.overlay--show{display:grid; animation: fadeOverlay .25s ease both;}
@keyframes fadeOverlay{ from{opacity:0} to{opacity:1} }

.overlay__card{
  width:min(360px, calc(100% - 36px));
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.45);
  box-shadow: var(--shadow);
  padding:22px 18px;
  text-align:center;
  animation: cardIn .45s ease both;
}

.overlay__title{
  font-weight:950;
  font-size:18px;
  margin-top:10px;
}
.overlay__sub{
  color:rgba(255,255,255,.60);
  margin-top:6px;
  font-size:13px;
}

.spinner{
  width:34px;
  height:34px;
  border-radius:999px;
  border:3px solid rgba(255,255,255,.18);
  border-top-color: var(--green2);
  margin:0 auto;
  animation: spin 1s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

.toast{
  margin-top: 14px;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s ease;
}
.toast.show{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *{animation:none!important; transition:none!important}
}
