@font-face { font-family: Minecraft; src: url('../assets/minecraft.ttf') format('truetype'); font-display: swap; }
:root { --auth-panel: rgb(128 128 128 / 75%); --auth-border: #888; --auth-link: #69f; --auth-font: 13px; --auth-gap: 8px; }
.auth { flex: 1; position: relative; min-height: 900px; font-family: Arial, sans-serif; }
.auth__wrapper { position: absolute; top: calc(40.277778vh - 48px); left: 50%; transform: translateX(-50%); width: 400px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.auth__title { width: 400px; font: 400 36px/normal Minecraft, monospace; text-align: center; color: transparent; background: url('../assets/login-title-texture.png') center / cover no-repeat; background-clip: text; -webkit-background-clip: text; filter: drop-shadow(2px 2px 0 rgb(0 0 0 / 80%)); }
.auth__panel { width: 320px; border: 2px solid var(--auth-border); border-radius: 2px; background: var(--auth-panel); padding: 16px 20px; display: flex; flex-direction: column; gap: var(--auth-gap); }
.auth__row { display: flex; align-items: center; gap: 6px; height: 24px; }
.auth__label { flex: 0 0 70px; color: #ccc; text-align: right; font: 700 var(--auth-font)/normal Arial, sans-serif; }
.auth__input { width: 190px; height: 22px; min-width: 0; padding: 2px 4px; border: 1px solid #333; border-radius: 0; background: #fff; color: #000; font: 400 var(--auth-font)/normal Arial, sans-serif; }
.auth__input::placeholder { color: #000; opacity: 1; }
.auth__remember { display: flex; height: 24px; gap: 6px; align-items: center; justify-content: center; padding-left: 8px; color: #000; font-size: 12px; }
.auth__checkbox { appearance: none; width: 15px; height: 15px; margin: 0; border: 1px solid #333; background: #fff; }
.auth__checkbox:checked { appearance: auto; accent-color: #555; }
.auth__actions { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.auth__link { color: var(--auth-link); text-decoration: underline; font-size: var(--auth-font); }
.auth__button { padding: 4px 16px; border: 1px solid #555; border-radius: 2px; background: #aaa; color: #000; font: 700 var(--auth-font)/normal Arial, sans-serif; }
.auth__discord { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; height: 30px; padding: 0; border: 0; background: none; color: var(--auth-link); font: 400 15px/normal Arial, sans-serif; }
.auth__discord span { width: 125px; text-decoration: underline; }
.auth__discord img { width: 37px; height: 37px; object-fit: cover; transform: scaleX(-1); }
@media (max-width: 1024px) { .auth { min-height: 650px; } .auth__wrapper { top: max(70px, calc(40.277778vh - 48px)); } }
@media (max-width: 768px) { .auth { min-height: 530px; } .auth__wrapper { width: 100%; top: 100px; } .auth__title { width: 100%; font-size: 32px; } .auth__panel { width: min(320px, calc(100% - 24px)); padding-inline: 16px; } .auth__input { flex: 1; } }