/* Login composition within the existing black, ivory and brass palette. */
.auth-gate .login-bg { background-image: url('zdjecia/bd496b50-2c81-4390-ac2b-9b909482ff88.png'); filter: blur(12px) brightness(.22) saturate(.5); animation: none; }
.auth-gate .login-veil { background: radial-gradient(ellipse at 50% 45%,transparent,#080909b8 80%); }
.auth-gate .login-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; width: min(900px,100%); padding: 0; border: 1px solid #e4d5b724; border-radius: 20px; background: #121211; box-shadow: 0 35px 100px #0009; overflow: hidden; transform: perspective(1600px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); }
.auth-gate .login-stage::before { display: none; }
.auth-gate .login-brand { position: relative; isolation: isolate; min-height: 510px; padding: 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 70px; text-align: left; background: #131719 url('zdjecia/bd496b50-2c81-4390-ac2b-9b909482ff88.png') 36% center/cover; border-right: 1px solid #e4d5b71c; }
.auth-gate .login-brand::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#080a0b30,#080a0b30 25%,#080a0bf2 100%),linear-gradient(90deg,#080a0b38,transparent); }
.auth-gate .login-emblem { width: 108px; height: 108px; margin-left: -8px; }
.auth-gate .login-emblem .login-crest { width: 84px; height: 84px; }
.auth-gate .login-orbit { border-color: #e3c48c35; }
.auth-gate .login-brand-text { display: grid; justify-items: start; text-align: left; gap: 9px; }
.auth-gate .login-eyebrow { font-size: 10px; letter-spacing: .24em; color: #d4b77c; }
.auth-gate .login-brand h1 { font-size: clamp(66px,7vw,88px); font-weight: 800; line-height: .95; letter-spacing: -.055em; color: #faf2e4; text-shadow: none; }
.auth-gate .login-sub { color: #d3caba; font-size: 10px; letter-spacing: .1em; line-height: 1.7; }
.login-brand-caption { display: block; color: #968e80; font-size: 11px; padding-top: 15px; border-top: 1px solid #ffffff20; margin-top: 9px; width: 100%; }
.login-content { display: flex; align-items: center; min-width: 0; padding: 48px 42px; background: linear-gradient(130deg,#191917,#111110); }
.auth-gate .login-body { display: flex; flex-direction: column; gap: 0; width: 100%; }
.auth-gate .login-body[hidden] { display: none !important; }
.login-heading { color: #f9f2e7; font-size: clamp(34px,4vw,46px); line-height: 1.1; letter-spacing: -.055em; font-weight: 650; margin: 0 0 23px; }
.login-heading > span { color: #d7b779; }
.auth-gate .login-stage .login-lead { text-align: left; font-size: 13px; line-height: 1.9; color: #a9a59c; margin: 0 0 30px; }
.auth-gate .login-lead strong { color: #ddd3bd; font-weight: 600; }
.auth-gate .login-stage .discord-btn { display: flex; justify-content: flex-start; gap: 12px; width: 100%; min-height: 56px; padding: 10px 17px; border-radius: 8px; border: 1px solid #e5c78e; background: #d5b77d; box-shadow: none; color: #201d15; transition: background .2s,transform .2s,box-shadow .2s; }
.auth-gate .login-stage .discord-btn:hover { background: #e9cd98; transform: translateY(-2px); box-shadow: 0 8px 22px #0003; }
.auth-gate .login-stage .discord-btn-icon { display: grid; place-items: center; background: none; border: 0; width: 25px; height: 28px; font-size: 21px; padding: 0; }
.auth-gate .discord-btn-label { font-size: 12px; font-weight: 700; }
.login-button-arrow { margin-left: auto; font-size: 21px; font-weight: 400; }
.auth-gate .login-stage .login-hint { text-align: left; color: #7e7b73; font-size: 10px; line-height: 1.8; margin: 17px 0 0; padding: 0; }
.auth-gate .login-error:not([hidden]) { margin: 18px 0 0; font-size: 11px; border-radius: 8px; }
.auth-gate .auth-retry:not([hidden]) { margin-top: 16px; }
@media(max-width: 700px) {
    .auth-gate { padding: 24px 18px; }
    .auth-gate .login-stage { grid-template-columns: 1fr; max-width: 420px; border-radius: 16px; }
    .auth-gate .login-brand { min-height: 185px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; padding: 25px; border-right: 0; border-bottom: 1px solid #e4d5b71c; background-position: 40% 46%; }
    .auth-gate .login-brand::before { background: linear-gradient(90deg,#080a0bc9,#080a0b9c),linear-gradient(0deg,#080a0b70,transparent); }
    .auth-gate .login-emblem { width: 90px; height: 90px; flex: 0 0 90px; margin: 0; }
    .auth-gate .login-emblem .login-crest { width: 72px; height: 72px; }
    .auth-gate .login-brand h1 { font-size: 54px; }
    .auth-gate .login-brand-text { gap: 5px; }
    .auth-gate .login-sub { font-size: 8px; letter-spacing: .03em; }
    .login-brand-caption { font-size: 9px; margin-top: 3px; padding-top: 8px; }
    .login-content { padding: 32px 26px; }
    .login-heading { font-size: 36px; margin-bottom: 18px; }
    .auth-gate .login-stage .login-lead { margin-bottom: 24px; }
}
@media(prefers-reduced-motion: reduce) { .auth-gate .login-stage, .auth-gate .discord-btn { transform: none !important; transition: none !important; } }
@media(max-width: 380px) {
    .auth-gate .login-brand { padding: 22px; gap: 12px; }
    .auth-gate .login-emblem { width: 72px; height: 72px; flex-basis: 72px; }
    .auth-gate .login-emblem .login-crest { width: 62px; height: 62px; }
    .auth-gate .login-brand h1 { font-size: 46px; }
    .auth-gate .login-brand-text { min-width: 0; }
    .login-content { padding: 28px 22px; }
}
