.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 380px;
    background: #111827;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.login-box h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.login-box p {
    margin: 0 0 24px;
    color: #9ca3af;
}

.login-box input,
.login-box select {
    width: 100%;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #374151;
    background: #020617;
    color: #fff;
    font-size: 15px;
}

.login-box button {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.login-page {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.login-bg-image,
.login-bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-bg-image {
    background-size: cover;
    background-position: center;
}

.login-bg-video {
    object-fit: cover;
}

.login-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 1;
}

.login-box,
.auth-modal {
    position: relative;
    z-index: 2;
}

.login-box {
    text-align: center;
}

.login-box h1 {
    text-align: center;
    line-height: 1.12;
    margin-bottom: 18px;
}

.login-box p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.login-box form {
    margin-top: 28px;
}

.login-box input,
.login-box select {
    text-align: center;
}

.login-box button[type="submit"] {
    margin-top: 16px;
    width: 100%;
    border-radius: 18px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(124, 58, 237, .35);
}

.auth-link-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 10px 12px;

    border-radius: 18px;
    text-align: center;
    text-decoration: none;

    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    color: #be82ff !important;

    font-weight: 800;
    font-size: 22px;
}

.auth-link-btn:hover {
    background: rgba(124, 58, 237, .22);
    border-color: rgba(124, 58, 237, .55);
}

.telegram-qr-box {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.telegram-qr-box img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .telegram-qr-box {
        position: static;
        margin: 20px auto 0;
    }
}