:root { --purple: #4b0da5; --light: #b987ff; --white: #fff; --muted: #a59aaa; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--white); background: #090011; font-family: "Inter", sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.login-page {
  position: relative; min-height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(470px, 560px); align-items: center; gap: clamp(60px, 9vw, 145px); padding: 105px max(48px, calc((100% - 1220px) / 2)) 78px;
  background: radial-gradient(circle at 17% 55%, rgba(71,15,151,.22), transparent 28%), radial-gradient(circle at 85% 42%, rgba(102,30,193,.22), transparent 30%), linear-gradient(125deg, #08000f, #10001e 56%, #08000f);
}
.login-page::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.login-page::after { content: ""; position: absolute; left: 47%; top: -25%; width: 1px; height: 150%; background: linear-gradient(transparent, rgba(169,116,255,.18), transparent); transform: rotate(15deg); }
.login-logo { position: absolute; z-index: 3; top: 35px; left: max(48px, calc((100% - 1220px) / 2)); display: flex; align-items: center; font: 700 29px/.9 "Inter", sans-serif; letter-spacing: -1.8px; }
.login-logo i { margin: -18px -6px 0 0; color: #fff; font-size: 24px; font-style: normal; filter: drop-shadow(0 0 9px var(--light)); }
.login-logo span { display: flex; }
.login-logo b { color: #fff; font: inherit; }
.login-logo em { color: #b987ff; font: inherit; font-style: normal; text-shadow: 0 0 18px rgba(169,116,255,.35); }
.login-intro, .login-card { position: relative; z-index: 2; }
.intro-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #a495ae; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.intro-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--light); box-shadow: 0 0 12px var(--light); }
.login-intro h1 { margin: 0; font: 700 clamp(42px, 4.1vw, 61px)/1.08 "Inter", sans-serif; letter-spacing: -1.7px; }
.login-intro h1 span { background: linear-gradient(90deg, #fff, #b987ff 75%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.login-intro > p { max-width: 560px; margin: 25px 0 38px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.trust-grid article { position: relative; min-height: 91px; padding: 17px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.025); }
.trust-grid article::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 1px; background: var(--light); box-shadow: 0 0 12px var(--light); }
.trust-grid small { display: block; margin-bottom: 7px; color: #716676; font-size: 8px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; }
.trust-grid strong { font: 600 12px/1.3 "Inter", sans-serif; }
.trust-grid article > i { position: absolute; right: 13px; bottom: 12px; color: #7e5ca9; font-size: 11px; font-style: normal; }
.login-card { padding: 39px 38px 28px; overflow: hidden; border: 1px solid rgba(169,116,255,.22); border-radius: 22px; background: linear-gradient(145deg, rgba(51,11,102,.42), rgba(16,1,31,.88)); box-shadow: 0 38px 100px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(22px); }
.login-card::before { content: ""; position: absolute; top: 0; left: 0; width: 150px; height: 2px; background: linear-gradient(90deg, var(--light), transparent); box-shadow: 0 0 15px rgba(169,116,255,.65); }
.card-shine { position: absolute; right: -130px; top: -150px; width: 340px; height: 340px; border-radius: 50%; background: rgba(108,39,200,.18); filter: blur(65px); }
.login-card-head { position: relative; }
.card-number { display: block; margin-bottom: 18px; color: #76667e; font: 500 8px/1 "Inter", sans-serif; letter-spacing: 1.5px; }
.login-card h2 { margin: 0 0 5px; font: 600 27px/1.25 "Inter", sans-serif; letter-spacing: -.8px; }
.login-card-head p { margin: 0 0 26px; color: #968a9c; font-size: 14px; }
.field { margin-bottom: 18px; }
.field label, .label-row a { display: block; margin-bottom: 7px; color: #9d91a4; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.label-row { display: flex; justify-content: space-between; }
.label-row a { color: #b98cec; transition: color .2s ease; }
.label-row a:hover { color: #fff; }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; top: 50%; left: 16px; width: 18px; fill: none; stroke: #897693; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-50%); pointer-events: none; }
.input-wrap input { width: 100%; height: 52px; padding: 0 48px; color: #fff; border: 1px solid rgba(255,255,255,.11); outline: 0; border-radius: 11px; background: rgba(4,0,10,.25); font: 400 15px/1 "Inter", sans-serif; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.input-wrap input::placeholder { color: #665d6a; }
.input-wrap input:focus { border-color: rgba(185,135,255,.55); background: rgba(48,10,95,.15); box-shadow: 0 0 0 3px rgba(96,29,185,.11); }
.field.has-error input { border-color: rgba(255,115,148,.62); }
.field-error { display: none; margin-top: 6px; color: #ef8da6; font-size: 10px; }
.field.has-error .field-error { display: block; }
.password-toggle { position: absolute; top: 50%; right: 10px; width: 34px; height: 34px; padding: 7px; color: #817487; border: 0; background: transparent; transform: translateY(-50%); cursor: pointer; }
.password-toggle svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.remember { width: fit-content; display: flex; align-items: center; gap: 9px; margin: 2px 0 20px; color: #817687; font-size: 11px; cursor: pointer; }
.remember input { position: absolute; opacity: 0; }
.remember span { width: 16px; height: 16px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; }
.remember input:checked + span { border-color: var(--light); background: var(--purple); }
.remember input:checked + span::after { content: "✓"; color: #fff; font-size: 9px; }
.submit-button { width: 100%; height: 54px; padding: 0 21px; display: flex; align-items: center; justify-content: space-between; color: #350071; border: 0; border-radius: 10px; background: linear-gradient(180deg, #fff, #e8d9f9); box-shadow: 0 13px 30px rgba(100,31,195,.32); font: 600 14px/1 "Inter", sans-serif; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 17px 36px rgba(110,40,204,.45); }
.submit-button i { font-size: 18px; font-style: normal; }
.form-message { min-height: 16px; margin: 9px 0 0; color: #bea2df; font-size: 10px; text-align: center; }
.login-card-footer { margin-top: 17px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.login-card-footer p { margin: 0 0 9px; color: #8f8494; font-size: 13px; }
.login-card-footer p a { color: #c49bf6; font-weight: 600; }
.login-card-footer > span { color: #655c69; font-size: 9px; }
.login-card-footer > span i { margin-right: 5px; color: #a974ff; font-style: normal; }
.login-error,.login-success { margin:0 0 17px;padding:11px 13px;border-radius:9px;font-size:11px;line-height:1.5; }
.login-error { color:#f3a1b5;border:1px solid rgba(255,104,140,.3);background:rgba(129,20,52,.12); }
.login-success { display:flex;align-items:center;gap:9px;color:#d9c5f2;border:1px solid rgba(169,116,255,.3);background:rgba(75,13,165,.14); }
.login-success i { width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto;color:#fff;border-radius:50%;background:#4b0da5;font-style:normal;font-size:10px; }
.login-bottom { position: absolute; z-index: 3; right: max(48px, calc((100% - 1220px) / 2)); bottom: 24px; left: max(48px, calc((100% - 1220px) / 2)); display: flex; justify-content: space-between; color: #554c59; font-size: 9px; }
.login-bottom div { display: flex; gap: 20px; }
.login-bottom a:hover { color: #aaa0af; }
@media (max-width: 960px) { .login-page { grid-template-columns: 1fr; padding-top: 125px; padding-bottom: 100px; } .login-intro { text-align: center; } .intro-label { justify-content: center; } .login-intro > p { margin-left: auto; margin-right: auto; } .login-card { width: min(100%, 560px); margin: auto; } }
@media (max-width: 600px) { .login-page { padding: 105px 18px 90px; } .login-logo { top: 28px; left: 22px; } .login-intro h1 { font-size: clamp(38px, 11vw, 49px); } .login-intro > p { font-size: 15px; } .trust-grid { grid-template-columns: 1fr; } .trust-grid article { min-height: 78px; text-align: left; } .login-card { padding: 32px 20px 23px; border-radius: 17px; } .login-bottom { right: 20px; bottom: 21px; left: 20px; } .login-bottom div { gap: 11px; } }
