html, body {
    margin: 0;
    min-height: 100%;
    background: #070b16 !important;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
.auth-page {
    min-height: 100vh;
    padding: 18px 22px 48px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 50% at 50% 110%, rgba(37, 99, 235, .45), transparent 58%),
        #070b16;
}
.auth-page::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -8%;
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, .55), rgba(37, 99, 235, .08) 42%, transparent 70%);
    pointer-events: none;
}
.auth-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.auth-top b { font-size: 16px; font-weight: 600; }
.auth-lang {
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
}
.auth-lang em { font-style: normal; margin-left: 4px; }
.auth-langs {
    display: none;
    position: absolute;
    right: 22px;
    top: 46px;
    z-index: 5;
    background: rgba(15, 23, 42, .96);
    border: 1px solid #1e3a8a;
    border-radius: 10px;
    overflow: hidden;
}
.auth-langs span {
    display: block;
    padding: 10px 16px;
    color: #e2e8f0;
    font-size: 13px;
}
.auth-hero { margin: 36px 0 28px; position: relative; z-index: 2; }
.auth-hero h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; letter-spacing: .5px; }
.auth-hero p { margin: 0; color: #8ea0bc; font-size: 14px; }
.auth-hero small { display: block; margin-top: 6px; color: #64748b; font-size: 12px; }
.auth-field, .auth-white {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    border-radius: 10px;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
}
.auth-field {
    border: 1px solid #334155;
    background: rgba(12, 18, 34, .7);
}
.auth-white {
    background: #fff;
    border: 0;
}
.auth-field input, .auth-white input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    outline: none;
    min-width: 0;
}
.auth-white input { color: #0f172a; text-align: right; }
.auth-white label {
    color: #111827;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 10px;
}
.auth-field input::placeholder { color: #64748b; }
.auth-white input::placeholder { color: #9ca3af; }
.auth-eye {
    border: 0;
    background: none;
    color: #94a3b8;
    padding: 0 0 0 8px;
    font-size: 16px;
}
.auth-btn {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 48px;
    margin-top: 10px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.auth-foot {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 18px;
    color: #8ea0bc;
    font-size: 13px;
}
.auth-foot a { color: #3b82f6; text-decoration: none; }

.splash, .boot {
    min-height: 100vh;
    background: #070b16;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
.splash::before, .boot::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, .55), transparent 46%),
        linear-gradient(180deg, #070b16 40%, #0b1c3d 100%);
}
.splash-earth, .boot-earth {
    position: absolute;
    left: -30%;
    right: -30%;
    bottom: -18%;
    height: 42%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 0, #60a5fa, #1d4ed8 38%, #020617 70%);
    box-shadow: 0 0 80px 20px rgba(37, 99, 235, .45);
    opacity: .9;
}
.splash-logo, .boot-logo {
    position: relative;
    z-index: 2;
    padding-top: 18vh;
}
.splash-logo img, .boot-logo img { height: 36px; }
.splash-copy {
    position: relative;
    z-index: 2;
    margin-top: 48px;
    font-size: 18px;
    line-height: 1.7;
}
.splash-copy b { display: block; font-size: 22px; }
.splash-k {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 38%;
    height: 90px;
    z-index: 1;
    opacity: .28;
}

.boot-ok {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    margin: 18vh auto 18px;
    border-radius: 50%;
    background: radial-gradient(circle, #3b82f6, #1d4ed8);
    box-shadow: 0 0 0 10px rgba(59, 130, 246, .18), 0 0 40px rgba(37, 99, 235, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}
.boot h2 { position: relative; z-index: 2; margin: 0; font-size: 28px; }
.boot p { position: relative; z-index: 2; color: #94a3b8; }
.boot-feats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    margin: 34vh 12px 18px;
    font-size: 11px;
    color: #93c5fd;
}
.boot-feats b { display: block; color: #fff; font-size: 12px; margin-bottom: 2px; }
.boot-bar {
    position: relative;
    z-index: 2;
    margin: 8px 28px 0;
    height: 6px;
    border-radius: 99px;
    background: #1e293b;
    overflow: hidden;
}
.boot-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    box-shadow: 0 0 12px #3b82f6;
}
.boot-pct { position: relative; z-index: 2; margin-top: 8px; color: #93c5fd; font-size: 13px; }

.auth-splash {
    position: fixed;
    inset: 0;
    z-index: 40;
    transition: opacity .45s ease;
}
.auth-splash.off { opacity: 0; pointer-events: none; visibility: hidden; }
.splash-logo { position: relative; z-index: 2; padding-top: 16vh; }
.splash-logo img { height: 34px; }
.splash-copy { position: relative; z-index: 2; margin-top: 42px; font-size: 18px; line-height: 1.8; }
.splash-k { z-index: 1; }
.boot-logo { padding-top: 8vh; }
.boot-logo img { height: 28px; }
.boot h2 { position: relative; z-index: 2; }
.boot p { position: relative; z-index: 2; color: #94a3b8; font-size: 13px; }
.boot-earth {
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: 18%;
    height: 36%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 0, #93c5fd, #1d4ed8 40%, #020617 72%);
    box-shadow: 0 0 90px 24px rgba(37, 99, 235, .4);
}
.auth-langs.show, .auth-langs[style*="block"] { display: block; }
