:root {
    --bg-main: #060f3a;
    --bg-card: rgba(11, 25, 78, 0.78);
    --line: rgba(94, 128, 255, 0.38);
    --text: #ecf0ff;
    --muted: #a8b3d7;
    --primary: #4f73ff;
    --primary-2: #5730ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: radial-gradient(circle at 18% 30%, #1a2f99 0%, #0c1754 37%, #050d36 68%, #04082a 100%);
    color: var(--text);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.hero-side {
    position: relative;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(22px);
}

.hero-glow-a {
    width: 460px;
    height: 460px;
    background: rgba(50, 110, 255, 0.34);
    top: -140px;
    left: -100px;
}

.hero-glow-b {
    width: 360px;
    height: 360px;
    background: rgba(115, 54, 255, 0.26);
    bottom: -90px;
    right: -80px;
}

.hero-stage {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(88, 120, 255, 0.24);
    border-radius: 28px;
    background: linear-gradient(155deg, rgba(14, 25, 79, 0.68), rgba(10, 19, 60, 0.58));
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 28px 50px rgba(2, 7, 24, 0.45);
}

.hero-trophy {
    width: 250px;
    max-width: 48%;
    filter: drop-shadow(0 16px 36px rgba(21, 16, 62, 0.5));
}

.hero-sport {
    position: absolute;
    max-width: 32%;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(5, 14, 43, 0.5);
}

.hero-basket {
    width: 190px;
    left: 40px;
    bottom: 34px;
}

.hero-football {
    width: 210px;
    right: 28px;
    bottom: 22px;
}

.hero-volley {
    width: 150px;
    right: 180px;
    top: 34px;
}

.hero-features {
    z-index: 2;
    margin: 20px auto 0;
    width: min(760px, 100%);
    border: 1px solid rgba(95, 129, 255, 0.22);
    border-radius: 20px;
    background: rgba(9, 20, 67, 0.7);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.hero-features article {
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid rgba(90, 126, 255, 0.18);
}

.hero-features article:last-child {
    border-right: none;
}

.hero-features i {
    font-size: 28px;
    color: #8ea5ff;
}

.hero-features span {
    margin-top: 8px;
    display: block;
    color: #dce4ff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.32;
}

.form-side {
    padding: 34px;
    display: grid;
    place-content: center;
}

.auth-card {
    width: min(580px, 100%);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--bg-card);
    box-shadow: 0 24px 50px rgba(2, 7, 26, 0.42);
    padding: 32px;
    backdrop-filter: blur(8px);
}

.auth-head h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1.04;
}

.auth-head p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 22px;
    line-height: 1.38;
}

.auth-tabs {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(88, 114, 202, 0.34);
}

.auth-tabs button {
    min-height: 46px;
    border: none;
    background: transparent;
    color: #b5c1e6;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
}

.auth-tabs button.active {
    color: #78a2ff;
    border-bottom: 2px solid #4f73ff;
}

.auth-tabs button.disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-error {
    margin-top: 16px;
    border: 1px solid rgba(255, 118, 146, 0.45);
    background: rgba(145, 29, 63, 0.28);
    color: #ffc7d3;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 15px;
}

.auth-form {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.auth-form label {
    font-size: 22px;
    font-weight: 600;
}

.field {
    min-height: 68px;
    border-radius: 16px;
    border: 1px solid rgba(106, 133, 217, 0.34);
    background: rgba(10, 20, 66, 0.64);
    display: grid;
    grid-template-columns: 30px 1fr 34px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.field i {
    color: #87a0e6;
    font-size: 21px;
}

.field input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #edf2ff;
    font-size: 24px;
    font-family: inherit;
}

.field input::placeholder {
    color: #7d8dbf;
}

.toggle-pass {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #8ea2e6;
    cursor: pointer;
}

.row-meta {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.remember {
    color: #dbe4ff;
    font-size: 21px;
}

.hint-link {
    color: #6ea2ff;
    font-size: 20px;
}

.submit-btn {
    margin-top: 8px;
    min-height: 64px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(120deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 700;
    font-size: 33px;
    cursor: pointer;
}

.auth-foot {
    margin-top: 24px;
    border-top: 1px solid rgba(88, 114, 202, 0.26);
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b8c5ea;
    font-size: 18px;
}

.auth-foot i {
    font-size: 23px;
    color: #82a6ff;
}

.auth-foot strong {
    color: #f0f4ff;
}

@media (max-width: 1260px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .hero-side {
        min-height: 460px;
        padding-bottom: 0;
    }

    .form-side {
        padding-top: 18px;
        padding-bottom: 30px;
    }
}

@media (max-width: 760px) {
    .hero-side {
        min-height: auto;
        padding: 18px 14px 0;
    }

    .hero-stage {
        min-height: 300px;
    }

    .hero-trophy {
        width: 180px;
    }

    .hero-basket {
        width: 120px;
        left: 8px;
    }

    .hero-football {
        width: 128px;
        right: 8px;
    }

    .hero-volley {
        width: 92px;
        right: 90px;
        top: 20px;
    }

    .hero-features {
        grid-template-columns: 1fr 1fr;
    }

    .auth-card {
        padding: 18px;
        border-radius: 18px;
    }

    .auth-head h1 {
        font-size: 36px;
    }

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

    .auth-tabs button {
        font-size: 17px;
        min-height: 40px;
    }

    .auth-form label {
        font-size: 17px;
    }

    .field {
        min-height: 52px;
        border-radius: 12px;
    }

    .field input {
        font-size: 17px;
    }

    .remember,
    .hint-link {
        font-size: 14px;
    }

    .submit-btn {
        min-height: 52px;
        font-size: 24px;
    }

    .auth-foot {
        font-size: 13px;
    }
}
