/* Общие стили */
body {
    margin: 0;
    padding: 0;
    background: #0b0f19;
    font-family: 'Inter', system-ui, sans-serif;
    color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Неоновые круги */
.circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,0,.15) 0%, rgba(0,0,0,0) 70%);
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.circle1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
}

.circle2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -200px;
    animation-duration: 12s;
}




/* Карточка */
.account-card {
    width: 100%;
    max-width: 440px;
    padding: 45px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}

/* Заголовок */
.account-card h1 {
    margin: 0 0 15px;
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg,#ffffff 0%,#a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.account-card p {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Поля */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #fff;
    font-size: 16px;
    transition: .3s;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(0,255,0,.4);
    box-shadow: 0 0 20px rgba(0,255,0,.15);
}

/* Кнопка */
.login-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 18px;
    border-radius: 14px;
    background: #00FF00;
    color: #000;
    font-size: 17px;
    font-weight: 700;
    transition: .3s;
    margin-top: 10px;
}

.login-btn:hover {
    background: #00ff33;
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0,255,0,.5);
}

/* Ссылки */
.auth-links {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.auth-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: .3s;
    font-size: 14px;
}

.auth-links a:hover {
    color: #00FF00;
}

/* Анимации */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translate(0,0);
    }
    50% {
        transform: translate(15px,-15px);
    }
    100% {
        transform: translate(0,0);
    }
}

.auth-error {
    color: red;
    text-align: center;
    padding-bottom: 20px;
}

/* Улучшенная мобильная версия */
@media (max-width: 600px) {

    body {
        padding: 15px;
        overflow-y: auto;
        align-items: flex-start;
    }
    .circle2 {
        display: none;
    }

    .auth-card {
        width: 100%;
        margin: 40px 0;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .auth-card h1 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .auth-card p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .form-group input {
        padding: 14px;
        font-size: 15px;
        border-radius: 12px;
    }

    .login-btn {
        padding: 15px;
        font-size: 16px;
        border-radius: 12px;
    }

    .auth-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* уменьшаем декоративные круги */
    .circle {
        filter: blur(80px);
        opacity: 0.6;
    }

    .circle1 {
        width: 320px;
        height: 320px;
        top: -120px;
        left: -120px;
    }

    .circle2 {
        width: 280px;
        height: 280px;
        bottom: -120px;
        right: -120px;
    }
}