* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #212429;
    color: #fff;
    line-height: 1.5;
    min-height: 100vh;
}

.header {
    background: #171a21;
    padding: 0.75rem 3rem;
    position: relative;
    z-index: 100;
}

.header-content {
    max-width: 940px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 44px;
    width: auto;
}

.nav {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
}

.nav-link {
    color: #b8b6b4;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    padding: 0.5rem 0;
}

.nav-link.active {
    color: #1a9fff;
}

.nav-link:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.install-btn {
    background: #5c7e10;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 2px;
    font-size: 12px;
}

.install-btn:hover {
    background: #729611;
}

.login-btn, .lang-btn {
    color: #b8b6b4;
    text-decoration: none;
    font-size: 12px;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.arrow {
    font-size: 8px;
    margin-top: 2px;
}

.responsive_page_template_content {
    padding: 0 3rem;
    min-height: calc(100vh - 104px - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(74, 81, 92, 0.4) 0%, rgba(75, 81, 92, 0) 60%);
}

.login_page {
    width: 100%;
    max-width: 740px;
    margin: 2rem auto;
}

.login_container {
    background: linear-gradient(to right, #212429, #2a2f33);
    border-radius: 4px;
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.login_left, .login_right {
    padding: 2rem;
    flex: 1;
}

.login_left {
    border-right: 1px solid #30353b;
}

h2 {
    color: #1999ff;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.form_row {
    margin-bottom: 1.25rem;
    position: relative;
}

.form_row input[type="text"],
.form_row input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    background: #32353c;
    border: 1px solid #32353c;
    color: #fff;
    border-radius: 2px;
    font-size: 15px;
}

.form_row input:focus {
    outline: none;
    border-color: #00adef;
}

.form_row label {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #969696;
    transition: 0.2s;
    font-size: 14px;
    pointer-events: none;
}

.form_row input:focus + label,
.form_row input:not(:placeholder-shown) + label {
    top: -8px;
    left: 5px;
    font-size: 12px;
    background: #32353c;
    padding: 0 5px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember label {
    position: static;
    transform: none;
    color: #afafaf;
    font-size: 12px;
}

.btn_blue {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(90deg, #06BFFF 0%, #2D73FF 100%);
    border: none;
    color: #fff;
    border-radius: 2px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.btn_blue:hover {
    background: linear-gradient(90deg, #06BFFF 30%, #2D73FF 100%);
}

.help {
    text-align: center;
}

.help a {
    color: #afafaf;
    font-size: 12px;
    text-decoration: none;
}

.help a:hover {
    color: #1999ff;
}

.qr_code_container {
    text-align: center;
}

.qr_holder {
    width: 212px;
    height: 212px;
    background: #32353c;
    margin: 2rem auto;
    border-radius: 4px;
}

.qr_image {
    width: 212px;
    height: 212px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.qr_code p {
    color: #afafaf;
    font-size: 12px;
    max-width: 180px;
    margin: 1rem auto;
}

.footer {
    background: #171a21;
    padding: 2rem 3rem;
    margin-top: auto;
}

.footer_content {
    max-width: 940px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer_logo_steam img,
.footer_logo_valve img {
    height: 25px;
    width: auto;
}

.footer_text {
    text-align: center;
    color: #8F98A0;
    font-size: 12px;
}

.footer_links {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer_links a {
    color: #C6D4DF;
    text-decoration: none;
    font-size: 12px;
    position: relative;
}

.footer_links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -0.6rem;
    color: #8F98A0;
}

.footer_links a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
    }
    
    .login_container {
        flex-direction: column;
        margin: 1rem;
    }

    .login_left {
        border-right: none;
        border-bottom: 1px solid #30353b;
    }
    
    .responsive_page_template_content {
        padding: 0;
    }

    .qr_holder {
        width: 180px;
        height: 180px;
    }

    .footer {
        padding: 1rem;
    }

    .footer_content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer_links {
        gap: 0.5rem;
    }

    .footer_links a:not(:last-child)::after {
        display: none;
    }
}