﻿:root {
    --studio-blue: #2f66c7;
    --studio-blue-dark: #2747d8;
    --studio-purple: #6d43ef;
    --studio-bg: #f4f7fb;
    --studio-text: #071532;
    --studio-muted: #6b7893;
    --studio-border: #dbe5f3;
    --studio-card: #ffffff;
    --studio-shadow: 0 22px 60px rgba(31, 56, 109, .14);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, Segoe UI, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--studio-text);
    background: var(--studio-bg);
}

.studio-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(540px, 1.25fr) minmax(480px, .95fr);
    overflow: hidden;
}

.studio-auth-hero {
    position: relative;
    min-height: 100vh;
    padding: 46px 46px 70px;
    color: #fff;
    background: radial-gradient(circle at 5% 18%, rgba(126, 93, 209, .70) 0 70px, transparent 72px), radial-gradient(circle at 70% -10%, rgba(255, 255, 255, .16) 0 340px, transparent 342px), linear-gradient(135deg, #3445c4 0%, #2e7ac7 100%);
    overflow: hidden;
}

    .studio-auth-hero::before {
        content: "";
        position: absolute;
        inset: -120px -90px auto auto;
        width: 620px;
        height: 620px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .12);
        background: rgba(255, 255, 255, .04);
    }

.studio-auth-pill {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}

.studio-auth-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #33f47a;
    box-shadow: 0 0 16px rgba(51, 244, 122, .9);
}

.studio-auth-copy {
    position: absolute;
    z-index: 4;
    left: 46px;
    bottom: 130px;
    width: min(760px, calc(100% - 92px));
}

.studio-auth-kicker {
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .02em;
}

.studio-auth-copy h1 {
    margin: 0;
    max-width: 880px;
    font-size: clamp(42px, 5vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 950;
}

.studio-auth-copy p {
    margin: 28px 0 0;
    max-width: 850px;
    font-size: 18px;
    line-height: 1.35;
    text-transform: uppercase;
    font-weight: 900;
    color: rgba(255, 255, 255, .92);
}

.studio-stars span {
    position: absolute;
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    animation: pulseStar 3s infinite ease-in-out;
}

    .studio-stars span:nth-child(1) {
        top: 10%;
        left: 29%;
    }

    .studio-stars span:nth-child(2) {
        top: 34%;
        left: 36%;
        width: 16px;
        height: 16px;
    }

    .studio-stars span:nth-child(3) {
        top: 22%;
        left: 78%;
    }

    .studio-stars span:nth-child(4) {
        top: 45%;
        right: 7%;
        width: 0;
        height: 0;
        border-radius: 0;
        background: transparent;
    }

        .studio-stars span:nth-child(4)::before {
            content: "★";
            color: rgba(255, 255, 255, .32);
            font-size: 48px;
        }

@keyframes pulseStar {
    0%, 100% {
        transform: scale(1);
        opacity: .45;
    }

    50% {
        transform: scale(1.5);
        opacity: .9;
    }
}

.studio-rocket-wrap {
    position: absolute;
    z-index: 2;
    right: 120px;
    top: 33%;
    transform: translateY(-10%);
    width: 180px;
    height: 430px;
    opacity: .78;
}

.studio-rocket {
    position: relative;
    width: 180px;
    height: 430px;
    animation: rocketFloat 5s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }
}

.rocket-head {
    position: absolute;
    left: 51px;
    top: 0;
    width: 78px;
    height: 70px;
    background: linear-gradient(135deg, #6131b1, #8e55d9);
    clip-path: polygon(50% 0, 100% 70%, 0 70%);
}

.rocket-body {
    position: absolute;
    left: 45px;
    top: 50px;
    width: 90px;
    height: 220px;
    border-radius: 48px 48px 22px 22px;
    background: linear-gradient(180deg, rgba(214, 231, 255, .9), rgba(114, 148, 207, .9));
}

.rocket-window {
    position: absolute;
    left: 24px;
    top: 45px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(75, 145, 221, .95);
    border: 9px solid rgba(44, 93, 155, .8);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .15);
}

.rocket-fin {
    position: absolute;
    top: 165px;
    width: 45px;
    height: 100px;
    background: linear-gradient(180deg, #7d45c4, #b045b6);
}

.rocket-fin-left {
    left: 20px;
    border-radius: 40px 0 22px 40px;
    transform: rotate(12deg);
}

.rocket-fin-right {
    right: 20px;
    border-radius: 0 40px 40px 22px;
    transform: rotate(-12deg);
}

.rocket-fire {
    position: absolute;
    top: 265px;
    left: 62px;
    width: 56px;
    height: 140px;
    background: linear-gradient(180deg, rgba(121, 244, 223, .75), rgba(143, 74, 214, .42), transparent);
    clip-path: polygon(50% 100%, 5% 0, 95% 0);
    filter: blur(.2px);
    animation: firePulse 1.6s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% {
        transform: scaleY(.95);
        opacity: .72;
    }

    50% {
        transform: scaleY(1.08);
        opacity: .95;
    }
}

.studio-clouds {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    height: 210px;
    z-index: 3;
    opacity: .62;
}

.cloud {
    position: absolute;
    bottom: 0;
    width: 360px;
    height: 140px;
    border-radius: 999px 999px 0 0;
    background: rgba(255, 255, 255, .20);
}

    .cloud::before,
    .cloud::after {
        content: "";
        position: absolute;
        bottom: 35px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .20);
    }

    .cloud::before {
        left: 45px;
        width: 135px;
        height: 135px;
    }

    .cloud::after {
        right: 60px;
        width: 170px;
        height: 170px;
    }

.cloud-1 {
    left: -80px;
}

.cloud-2 {
    left: 220px;
    transform: scale(1.15);
}

.cloud-3 {
    right: 160px;
    transform: scale(1.1);
}

.cloud-4 {
    right: -90px;
    transform: scale(.95);
}

.studio-auth-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
    background: #f5f8fd;
}

.studio-auth-card-wrap {
    width: min(520px, 100%);
}

.studio-auth-title {
    margin-bottom: 18px;
}

    .studio-auth-title span {
        color: #7a8599;
        font-size: 14px;
        font-weight: 700;
    }

    .studio-auth-title h2 {
        margin: 6px 0 0;
        font-size: 28px;
        line-height: 1.1;
        letter-spacing: -.04em;
        font-weight: 950;
    }

.studio-auth-card,
.studio-access-card,
.studio-info-card {
    background: var(--studio-card);
    border: 1px solid var(--studio-border);
    border-radius: 20px;
    box-shadow: var(--studio-shadow);
}

.studio-auth-card {
    overflow: hidden;
}

.studio-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    background: #eef3fa;
    border-bottom: 1px solid var(--studio-border);
}

    .studio-auth-tabs button {
        border: 0;
        padding: 17px 10px;
        border-radius: 12px;
        background: transparent;
        font-weight: 900;
        color: #61708a;
        cursor: pointer;
    }

        .studio-auth-tabs button.is-active {
            color: #071532;
            background: #fff;
            box-shadow: 0 8px 22px rgba(35, 59, 107, .08);
        }

.studio-login-form {
    padding: 25px 25px 20px;
}

    .studio-login-form label {
        display: block;
        margin: 0 0 9px;
        font-size: 14px;
        font-weight: 900;
    }

    .studio-login-form input[type="email"],
    .studio-login-form input[type="password"] {
        width: 100%;
        height: 56px;
        margin-bottom: 18px;
        padding: 0 18px;
        border: 1px solid #cfdaea;
        border-radius: 15px;
        font-size: 15px;
        outline: none;
        background: #f9fbfe;
        transition: .18s ease;
    }

    .studio-login-form input:focus {
        border-color: #3f74f4;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(63, 116, 244, .13);
    }

.studio-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2px 0 20px;
    gap: 14px;
}

.studio-check {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #56647c;
    font-size: 14px !important;
    font-weight: 700 !important;
}

    .studio-check input {
        margin: 0;
    }

.studio-auth-row a {
    color: #5a3df1;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.studio-login-button {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, #4b46f5, #2f66c7);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(47, 102, 199, .28);
}

    .studio-login-button span {
        margin-right: 8px;
    }

.studio-login-message {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #eef7ff;
    color: #24559e;
    font-size: 13px;
    font-weight: 800;
}

.studio-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    color: #9aa6ba;
    font-size: 12px;
    font-weight: 900;
}

    .studio-separator::before,
    .studio-separator::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e1e8f2;
    }

    .studio-separator span {
        padding: 0 12px;
    }

.studio-access-card {
    display: grid;
    grid-template-columns: 48px 1fr 36px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin-bottom: 14px;
}

.studio-access-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #e7efff;
    color: #294ee8;
    font-weight: 900;
}

    .studio-access-icon.blue {
        background: #edf2ff;
        color: #3154e7;
    }

    .studio-access-icon.purple {
        background: #efeaff;
        color: #7246ee;
    }

.studio-access-card strong,
.studio-info-card strong {
    display: block;
    font-weight: 950;
}

.studio-access-card p,
.studio-info-card p {
    margin: 3px 0 0;
    color: var(--studio-muted);
    font-size: 13px;
    line-height: 1.3;
}

.studio-access-card button {
    width: 34px;
    height: 34px;
    border: 1px solid #d8e2f1;
    border-radius: 999px;
    background: #fff;
    color: #2e64da;
    font-weight: 950;
    cursor: pointer;
}

.studio-info-card {
    padding: 18px;
    margin-bottom: 14px;
}

.studio-info-head {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.studio-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .studio-info-grid div {
        padding: 14px;
        border: 1px solid #dfe8f5;
        border-radius: 14px;
        background: #f8fbff;
    }

    .studio-info-grid span {
        display: block;
        margin-bottom: 6px;
        color: #60708b;
        font-size: 11px;
        font-weight: 950;
        text-transform: uppercase;
    }

.studio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .studio-tags span {
        padding: 8px 13px;
        border-radius: 999px;
        background: #f3f7fc;
        border: 1px solid #dfe8f5;
        font-size: 12px;
        font-weight: 950;
    }

.studio-auth-footer {
    margin-top: 18px;
    text-align: center;
    color: #6d7890;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .studio-auth-shell {
        grid-template-columns: 1fr;
    }

    .studio-auth-hero {
        min-height: 520px;
    }

    .studio-auth-panel {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .studio-auth-hero {
        padding: 28px;
        min-height: 620px;
    }

    .studio-auth-copy {
        left: 28px;
        bottom: 90px;
        width: calc(100% - 56px);
    }

        .studio-auth-copy h1 {
            font-size: 42px;
        }

        .studio-auth-copy p {
            font-size: 14px;
        }

    .studio-rocket-wrap {
        right: 28px;
        top: 22%;
        transform: scale(.75);
        transform-origin: top right;
    }

    .studio-auth-panel {
        padding: 26px 18px;
    }

    .studio-info-grid {
        grid-template-columns: 1fr;
    }
}

.studio-login-intro {
    margin-bottom: 18px;
}

    .studio-login-intro h3 {
        margin: 0 0 6px;
        font-size: 18px;
        font-weight: 950;
        color: #071532;
    }

    .studio-login-intro p {
        margin: 0;
        color: #596a86;
        font-size: 13px;
        line-height: 1.45;
    }

.studio-auth-reset-link {
    margin-top: 16px;
}

    .studio-auth-reset-link p {
        margin: 8px 0 12px;
        color: #43526b;
        font-size: 13px;
        line-height: 1.45;
    }

    .studio-auth-reset-link a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-height: 36px;
        padding: 0 14px;
        border-radius: 999px;
        background: linear-gradient(90deg, #4b46f5, #0f6cbd);
        color: #ffffff;
        font-size: 13px;
        font-weight: 950;
        text-decoration: none;
    }

    .studio-auth-reset-link small {
        display: block;
        margin-top: 10px;
        color: #66758f;
        font-size: 12px;
        font-weight: 800;
    }
