body {
    margin: 0;
    font-family: Inter, system-ui;
    background: radial-gradient(circle at top, #1f2937 0, var(--bg) 55%);
    color: var(--text);
    height: 100vh;
    overflow: hidden
}

.main {
    display: flex;
    overflow: hidden
}

.bg {
    display: flex;
    width: 100%
}

.bg img {
    height: 100vh;
    width: 100%;
    object-fit: cover
}

.page {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))
}

.visual {
    display: flex;
    width: 100%;
    z-index: 1
}

.visual img {
    width: 100%;
    object-fit: cover;
    margin-left: 10px;
    filter: brightness(1) contrast(1.2)
}

.auth {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: 0 0
}

.card {
    display: flex;
    width: max-content;
    height: max-content;
    justify-content: center;
    flex-direction: column;
    max-width: 450px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 204, 0, .108);
    border: 2px solid #ffd000;
    box-shadow: 0 4px 120px #e3a70e;
    border-radius: 25px;
    padding: 10px;
    z-index: 2
}

.card #title {
    font: 1.5rem small-caption;
    text-shadow: 0 0 10px #fff;
    text-align: center
}

.card p {
    font: 0.8rem bold;
    text-align: center;
    text-shadow: 0 0 10px #fff
}

.card input {
    border-radius: 25px;
    padding: 6px;
    margin-top: 10px;
    background: #ffffff55;
    border: 2px solid #fff;
    outline: 0;
    transition: all .35s ease
}

.smooth-hide {
    overflow: hidden;
    transition: max-height .45s ease, opacity .35s ease, transform .35s ease;
    max-height: 120px;
    opacity: 1;
    transform: translateY(0)
}

.smooth-hide.is-hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    margin: 0
}

.card input:focus {
    filter: brightness(1.2) drop-shadow(0 0 4px rgb(0, 0, 0))
}

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

    20% {
        transform: translateX(-6px)
    }

    40% {
        transform: translateX(6px)
    }

    60% {
        transform: translateX(-4px)
    }

    80% {
        transform: translateX(4px)
    }

    100% {
        transform: translateX(0)
    }
}

.shake {
    box-shadow: 0 0 12px rgba(255, 80, 80, .8);
    border: 2px solid #ff5050;
    animation: shake .35s ease
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 4px;
    padding: 4px
}

.btn-primary {
    width: 120px;
    filter: drop-shadow(0 5px 4px rgba(38, 255, 0, .455));
    transition: all .5s ease
}

.btn-primary:hover {
    filter: drop-shadow(0 0 2px rgb(0, 0, 0))
}

.btn-primary:active {
    filter: drop-shadow(0 0 4px rgb(187, 187, 187));
    transform: scale(.9)
}

.btn-secondary {
    font: 1rem bold;
    color: #cadbebe9;
    filter: drop-shadow(0 2px 4px black);
    transition: all .3s ease
}

.btn-secondary:hover {
    color: red
}

.auth-progress {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(4px);
    background-color: transparent;
    display: flex;
    border-radius: 26px;
    align-items: center;
    justify-content: center;
    z-index: 9999
}

.hidden {
    display: none
}

.progress-card {
    padding: 28px;
    border-radius: 26px;
    backdrop-filter: blur(10px);
    align-content: center;
    justify-content: center;
    text-align: center;
    color: #000;
    background: linear-gradient(90deg, #f0c, #33f, #00d4ff);
    background-size: 200% 100%;
    animation: gradientMove 2s infinite ease-in-out
}

.progress-card .failed {
    color: red;
    border: 2px solid red;
    border-radius: 26px
}

@keyframes gradientMove {
    0% {
        background-position: 100% 0
    }

    50% {
        background-position: 0 0
    }

    100% {
        background-position: 100% 0
    }
}

.progress-card h3 {
    margin: 8px 0 6px;
    font-family: Poppins, 'sans-serif';
    font-weight: 700;
    font-size: 2rem;
    background: linear-gradient(90deg, #00d9ff, #00ff80, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, .2);
    letter-spacing: .5px
}

.progress-card p {
    font-size: .85rem;
    opacity: .85;
    font-family: Roboto, 'sans-serif';
    font-weight: 400;
    color: #333
}

.eq-progress {
    display: flex;
    align-items: flex-end;
    margin-top: 20px;
    justify-self: center;
    gap: 6px;
    height: 42px
}

.eq-progress span {
    width: 6px;
    height: 30%;
    border-radius: 6px;
    background: linear-gradient(180deg, #9be7ff, #00e5ff);
    box-shadow: 0 0 8px rgba(0, 229, 255, .8), inset 0 0 6px rgba(255, 255, 255, .6);
    animation: equalize 1.1s infinite ease-in-out
}

.eq-progress span:first-child {
    animation-delay: 0s
}

.eq-progress span:nth-child(2) {
    animation-delay: .1s
}

.eq-progress span:nth-child(3) {
    animation-delay: .2s
}

.eq-progress span:nth-child(4) {
    animation-delay: .3s
}

.eq-progress span:nth-child(5) {
    animation-delay: .4s
}

.eq-progress span:nth-child(6) {
    animation-delay: .3s
}

.eq-progress span:nth-child(7) {
    animation-delay: .2s
}

.eq-progress span:nth-child(8) {
    animation-delay: .1s
}

.eq-progress span:nth-child(9) {
    animation-delay: .2s
}

.eq-progress span:nth-child(10) {
    animation-delay: .3s
}

.eq-progress span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .25);
    filter: blur(4px);
    opacity: .3
}

@keyframes equalize {
    0% {
        height: 20%
    }

    50% {
        height: 100%
    }

    100% {
        height: 30%
    }
}

@media (max-width:700px) {
    .page {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .visual {
        display: flex;
        justify-content: center;
        align-items: center
    }

    .visual img {
        width: 100%;
        height: 100vh
    }

    .auth {
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute
    }

    .card {
        box-shadow: 0 4px 120px #ae00ff;
        border: 2px solid #f0f
    }
}