:root {
    --auth-bg: #020817;
    --auth-panel: rgba(8, 20, 40, .86);
    --auth-line: rgba(125, 159, 204, .2);
    --auth-muted: #91a4bf;
    --auth-text: #edf5ff;
    --auth-blue: #2f7df4;
    --auth-cyan: #35c8ef;
    --auth-green: #2dd4a3;
}

body:has(.account-shell) { margin: 0; background: var(--auth-bg); color: var(--auth-text); overflow-x: hidden; }

.account-shell { min-height: 100svh; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(circle at 12% 8%, rgba(29, 78, 216, .22), transparent 34%), radial-gradient(circle at 89% 82%, rgba(8, 145, 178, .13), transparent 32%), linear-gradient(135deg, #030817 0%, #061329 50%, #020817 100%); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.account-shell::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .14; background-image: linear-gradient(rgba(104, 148, 207, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(104, 148, 207, .1) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.account-glow { position: absolute; z-index: -2; border-radius: 999px; filter: blur(85px); pointer-events: none; }
.account-glow-one { width: 350px; height: 350px; left: -170px; top: 20%; background: rgba(34, 95, 238, .24); }
.account-glow-two { width: 440px; height: 440px; right: -250px; bottom: -120px; background: rgba(19, 181, 197, .15); }

.account-topbar { width: min(1320px, calc(100% - 64px)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(126, 157, 200, .16); }
.account-brand { color: var(--auth-text); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.account-brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; font-size: 15px; font-weight: 900; letter-spacing: -.4px; background: linear-gradient(135deg, #347ff5, #18bde5); box-shadow: 0 9px 28px rgba(27, 115, 242, .3), inset 0 1px rgba(255,255,255,.28); }
.account-brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.account-brand-copy strong { font-size: 15px; letter-spacing: -.15px; }
.account-brand-copy small { margin-top: 4px; color: #8295b1; font-size: 11px; }
.account-access-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(56, 189, 248, .18); border-radius: 999px; color: #a9bad1; background: rgba(7, 20, 40, .62); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-access-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--auth-green); box-shadow: 0 0 12px var(--auth-green); }
.account-main { width: min(1220px, calc(100% - 64px)); flex: 1; margin: 0 auto; display: flex; align-items: center; padding: 48px 0 42px; }
.account-footer { width: min(1320px, calc(100% - 64px)); margin: 0 auto; min-height: 58px; border-top: 1px solid rgba(126, 157, 200, .13); display: flex; align-items: center; justify-content: space-between; color: #657894; font-size: 11px; }

.auth-stage { width: 100%; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .78fr); align-items: center; gap: clamp(56px, 8vw, 116px); }
.auth-showcase { min-width: 0; }
.auth-eyebrow { display: flex; align-items: center; gap: 10px; color: #70b9ff; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.auth-eyebrow span { display: block; width: 28px; height: 2px; background: linear-gradient(90deg, #2f7df4, #35d4e9); }
.auth-showcase h1 { margin: 20px 0 18px; color: #f3f7ff; font-size: clamp(42px, 4.8vw, 67px); line-height: .99; letter-spacing: -.055em; font-weight: 790; }
.auth-showcase h1 em { display: inline-block; margin-top: 8px; font-style: normal; color: transparent; background: linear-gradient(90deg, #72a8ff, #32d3dc); -webkit-background-clip: text; background-clip: text; }
.auth-lead { max-width: 620px; margin: 0; color: #94a9c5; font-size: 16px; line-height: 1.75; }

.auth-market-card { position: relative; margin-top: 36px; padding: 22px 24px 18px; border: 1px solid rgba(107, 150, 209, .2); border-radius: 20px; overflow: hidden; background: linear-gradient(145deg, rgba(12, 29, 56, .85), rgba(5, 17, 35, .72)); box-shadow: 0 28px 80px rgba(0, 5, 18, .4); }
.auth-market-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -70px; border-radius: 50%; background: rgba(45, 212, 163, .08); filter: blur(18px); }
.auth-market-head { display: flex; align-items: center; justify-content: space-between; color: #8195b2; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.auth-live { display: inline-flex; align-items: center; gap: 6px; color: #4fe0b2; }
.auth-live i { width: 6px; height: 6px; border-radius: 50%; background: #2dd4a3; box-shadow: 0 0 10px #2dd4a3; }
.auth-market-value { margin-top: 15px; color: #f2f7ff; font-size: 30px; font-weight: 780; letter-spacing: -.04em; }
.auth-market-change { margin-top: 4px; color: #3cdbab; font-size: 12px; font-weight: 750; }
.auth-market-card svg { display: block; width: 100%; height: 100px; margin: -12px 0 2px; overflow: visible; }
.auth-chart-area { fill: url(#authArea); }
.auth-chart-line { fill: none; stroke: #2dd4a3; stroke-width: 3; filter: drop-shadow(0 0 5px rgba(45,212,163,.45)); }
.auth-market-stats { border-top: 1px solid rgba(123, 157, 202, .14); padding-top: 15px; display: grid; grid-template-columns: repeat(3, 1fr); }
.auth-market-stats span { display: flex; flex-direction: column; padding-right: 15px; }
.auth-market-stats span + span { padding-left: 18px; border-left: 1px solid rgba(123, 157, 202, .14); }
.auth-market-stats small { color: #7286a3; font-size: 10px; }
.auth-market-stats strong { margin-top: 5px; color: #dce9fa; font-size: 12px; }
.auth-trust-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 22px; color: #7187a4; font-size: 11px; }
.auth-trust-row span::first-letter { color: #29d4a4; }

.auth-card { position: relative; padding: 34px 34px 28px; border: 1px solid rgba(116, 156, 211, .22); border-radius: 24px; background: var(--auth-panel); box-shadow: 0 36px 100px rgba(0, 4, 16, .55), inset 0 1px rgba(255,255,255,.025); backdrop-filter: blur(22px); }
.auth-card-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(135deg, #2f75ec, #1e50bf); box-shadow: 0 10px 25px rgba(36, 105, 227, .28); font-size: 19px; font-weight: 900; }
.auth-card-heading { margin: 20px 0 25px; }
.auth-card-heading > span { color: #6aa7f8; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.auth-card-heading h2 { margin: 7px 0 8px; color: #f3f7ff; font-size: 25px; letter-spacing: -.035em; }
.auth-card-heading p { margin: 0; color: #8499b5; font-size: 12px; line-height: 1.55; }
.auth-form { display: grid; gap: 17px; }
.auth-field > label, .auth-label-row label { display: block; margin-bottom: 7px; color: #b8c6d9; font-size: 11px; font-weight: 750; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; }
.auth-label-row a, .auth-resend, .auth-login-link a { color: #72a9f5; font-size: 10px; font-weight: 700; text-decoration: none; }
.auth-label-row a:hover, .auth-resend:hover, .auth-login-link a:hover { color: #a8ceff; }
.auth-input-wrap { height: 49px; border: 1px solid rgba(114, 149, 199, .24); border-radius: 11px; display: flex; align-items: center; background: rgba(2, 11, 26, .64); transition: border-color .18s, box-shadow .18s, background .18s; }
.auth-input-wrap:focus-within { border-color: rgba(64, 145, 255, .78); box-shadow: 0 0 0 3px rgba(47, 125, 244, .12); background: rgba(4, 15, 32, .88); }
.auth-input-wrap > span { width: 43px; flex: 0 0 43px; color: #5f789c; font-size: 12px; text-align: center; border-right: 1px solid rgba(111, 147, 197, .14); }
.auth-input { min-width: 0; width: 100%; height: 100%; border: 0 !important; outline: none !important; padding: 0 13px !important; color: #eaf3ff !important; background: transparent !important; box-shadow: none !important; font-size: 12px; }
.auth-input::placeholder { color: #51657f; }
.auth-check { display: flex; align-items: center; gap: 9px; color: #8fa2ba; font-size: 11px; cursor: pointer; }
.auth-check input { width: 15px; height: 15px; margin: 0; accent-color: #2f7df4; }
.auth-submit { height: 50px; border: 0; border-radius: 11px; padding: 0 17px; display: flex; align-items: center; justify-content: center; gap: 12px; color: white; background: linear-gradient(110deg, #286be5, #2e87f4); box-shadow: 0 13px 28px rgba(28, 98, 222, .27); font-size: 12px; font-weight: 850; transition: transform .18s, filter .18s, box-shadow .18s; }
.auth-submit:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 16px 35px rgba(28, 98, 222, .36); }
.auth-submit span { font-size: 17px; }
.auth-validation { display: block; margin: 5px 0 0; padding: 0; color: #ff7c8b; font-size: 10px; list-style: none; }
.auth-validation.validation-summary-valid { display: none; }
.auth-invite { margin-top: 21px; padding: 13px; border: 1px solid rgba(101, 145, 204, .17); border-radius: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; background: rgba(9, 25, 48, .6); }
.auth-invite-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #64cdf0; background: rgba(40, 141, 225, .14); }
.auth-invite strong { display: block; color: #cedaeb; font-size: 10px; }
.auth-invite p { margin: 3px 0 0; color: #6f83a0; font-size: 9px; }
.auth-invite a { color: #86b8ff; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.auth-resend { display: block; margin-top: 16px; text-align: center; }
.auth-security-note { margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(115, 148, 193, .13); color: #657c9b; font-size: 9px; text-align: center; }
.auth-security-note span, .auth-password-hint span { color: #35d4a5; }

.auth-stage-register { align-items: center; }
.auth-benefit-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.auth-benefit-grid article { min-height: 92px; padding: 16px; display: flex; gap: 13px; border: 1px solid rgba(108, 151, 208, .16); border-radius: 14px; background: rgba(8, 22, 44, .52); }
.auth-benefit-grid article > span { color: #4f91ec; font-size: 10px; font-weight: 900; }
.auth-benefit-grid strong { display: block; color: #d9e7f8; font-size: 11px; }
.auth-benefit-grid p { margin: 5px 0 0; color: #758aa7; font-size: 10px; line-height: 1.5; }
.auth-register-card { padding-top: 29px; padding-bottom: 24px; }
.auth-register-card .auth-card-heading { margin: 14px 0 19px; }
.auth-register-card .auth-form { gap: 12px; }
.auth-password-hint { color: #6f84a0; font-size: 9px; line-height: 1.45; }
.auth-login-link { margin-top: 16px; color: #7085a2; font-size: 10px; text-align: center; }

.account-loading { min-height: 100svh; display: flex; align-items: center; justify-content: center; gap: 12px; color: #91a4bf; background: #020817; font: 12px Inter, sans-serif; }
.account-loader { width: 20px; height: 20px; border: 2px solid rgba(100, 150, 220, .2); border-top-color: #4090fa; border-radius: 50%; animation: auth-spin .8s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
    .account-main { align-items: flex-start; }
    .auth-stage { grid-template-columns: 1fr; gap: 38px; max-width: 620px; margin: 0 auto; }
    .auth-showcase h1 { font-size: clamp(40px, 9vw, 58px); }
    .auth-market-card { display: none; }
    .auth-benefit-grid { margin-top: 24px; }
}

@media (max-width: 600px) {
    .account-topbar, .account-main, .account-footer { width: calc(100% - 30px); }
    .account-topbar { min-height: 74px; }
    .account-access-badge { padding: 7px 9px; font-size: 8px; }
    .account-main { padding: 30px 0; }
    .auth-showcase h1 { margin-top: 15px; font-size: 39px; }
    .auth-lead { font-size: 14px; }
    .auth-trust-row { gap: 11px; }
    .auth-card { padding: 26px 20px 22px; border-radius: 19px; }
    .auth-benefit-grid { grid-template-columns: 1fr; }
    .account-footer { padding: 15px 0; gap: 8px; flex-direction: column; align-items: flex-start; }
}
