* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, Arial, sans-serif;
    color: #ffffff;
    background: #08080d;
}

body {
    overflow-x: hidden;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
}

.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.auth-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) brightness(0.9) contrast(1.08);
    transform: scale(1.03);
    opacity: 0.65;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 111, 42, 0.24), transparent 30%),
        radial-gradient(circle at 82% 74%, rgba(255, 56, 32, 0.18), transparent 34%),
        linear-gradient(120deg, rgba(8, 8, 13, 0.92), rgba(8, 8, 13, 0.56), rgba(8, 8, 13, 0.92));
}

.auth-orb {
    position: fixed;
    z-index: 1;
    border-radius: 50%;
    filter: blur(22px);
    opacity: 0.65;
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}

.auth-orb.one {
    width: 260px;
    height: 260px;
    left: -70px;
    top: 12%;
    background: rgba(255, 106, 42, 0.32);
}

.auth-orb.two {
    width: 320px;
    height: 320px;
    right: -120px;
    bottom: 8%;
    background: rgba(255, 54, 31, 0.28);
    animation-delay: -2.5s;
}

.auth-orb.three {
    width: 180px;
    height: 180px;
    right: 25%;
    top: -70px;
    background: rgba(255, 151, 82, 0.22);
    animation-delay: -4s;
}

.auth-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1fr 470px;
    gap: 28px;
    align-items: stretch;
}

.auth-info,
.auth-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(16, 15, 21, 0.66);
    backdrop-filter: blur(24px);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.auth-info {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    border-radius: 34px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-info::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(135deg, rgba(255, 106, 42, 0.18), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 22%);
    pointer-events: none;
}

.auth-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: #ffffff;
}

.auth-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: linear-gradient(135deg, #ff9b4a, #ff3921);
    color: #180d08;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    letter-spacing: -0.04em;
    box-shadow: 0 16px 38px rgba(255, 78, 35, 0.32);
}

.auth-brand span {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.auth-hero-text {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    margin-bottom: 26px;
    border-radius: 999px;
    color: #ffd1bd;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 106, 42, 0.13);
    border: 1px solid rgba(255, 106, 42, 0.22);
}

.auth-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7b42;
    box-shadow: 0 0 24px rgba(255, 106, 42, 0.95);
}

.auth-hero-text h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 86px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    font-weight: 950;
}

.auth-hero-text p {
    max-width: 610px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 20px;
    line-height: 1.45;
}

.auth-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.auth-benefit {
    min-height: 118px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.auth-benefit strong {
    display: block;
    font-size: 26px;
    letter-spacing: -0.05em;
}

.auth-benefit span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.35;
}

.auth-card {
    min-height: 640px;
    border-radius: 34px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: cardIn 0.55s ease both;
}

.auth-card-head {
    margin-bottom: 28px;
}

.auth-card-head a {
    display: inline-flex;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.auth-card-head a:hover {
    color: #ffffff;
}

.auth-card-head h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.auth-card-head p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

.auth-error {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #ffd6d0;
    background: rgba(255, 58, 33, 0.13);
    border: 1px solid rgba(255, 58, 33, 0.25);
    font-size: 14px;
    line-height: 1.4;
    animation: shake 0.32s ease;
}

.auth-form {
    display: grid;
    gap: 15px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.auth-field input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border-radius: 17px;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: 0.2s ease;
}

.auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.auth-field input:focus {
    border-color: rgba(255, 106, 42, 0.72);
    background: rgba(255, 255, 255, 0.105);
    box-shadow: 0 0 0 4px rgba(255, 106, 42, 0.13);
}

.auth-submit {
    width: 100%;
    height: 58px;
    margin-top: 8px;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 950;
    background: linear-gradient(135deg, #ff7b33, #ff3921);
    box-shadow: 0 22px 55px rgba(255, 77, 35, 0.32);
    transition: 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 70px rgba(255, 77, 35, 0.42);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-bottom {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
    font-size: 14px;
}

.auth-bottom a {
    color: #ff9b6c;
    font-weight: 900;
    text-decoration: none;
}

.auth-bottom a:hover {
    color: #ffffff;
}

.auth-note {
    margin-top: 20px;
    padding: 15px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.052);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    line-height: 1.45;
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(20px, -24px, 0) scale(1.08);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@media (max-width: 1020px) {
    .auth-page {
        padding: 22px;
        align-items: flex-start;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .auth-info {
        min-height: auto;
        padding: 28px;
    }

    .auth-card {
        min-height: auto;
    }

    .auth-benefits {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 14px;
    }

    .auth-info,
    .auth-card {
        border-radius: 26px;
        padding: 22px;
    }

    .auth-info {
        gap: 42px;
    }

    .auth-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }

    .auth-brand span {
        font-size: 19px;
    }

    .auth-hero-text h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .auth-hero-text p {
        font-size: 16px;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
    }

    .auth-benefit {
        min-height: auto;
    }

    .auth-card-head h2 {
        font-size: 34px;
    }

    .auth-field input,
    .auth-submit {
        height: 54px;
    }
}

@media (max-width: 390px) {
    .auth-info,
    .auth-card {
        padding: 18px;
    }

    .auth-card-head h2 {
        font-size: 30px;
    }
}