:root {
    --primary: #7569FF;
    --primary-light: #E0FFE5;
    --secondary: #10B981;
    --dark: #010101;
    --light: #FAFAFA;
    --gray: rgba(1, 1, 1, 0.4);
    --white: #FFFFFF;
    --input-bg: #F9F9FC;
    --error: #EF4444;
    --neon-blue: #00f2ff;
    --neon-purple: #bd00ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    min-height: 100vh;
}

.auth-container {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    margin: 0 auto;
    padding: 24px;
    gap: 20px;
    min-height: 100vh;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: var(--white);
    box-shadow: 0px 4px 24px rgba(1, 1, 1, 0.04);
    border-radius: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(15deg);
}

.logo-text {
    font-weight: 700;
    font-size: 32px;
    background: linear-gradient(92.78deg, var(--primary) 0.5%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-content {
    display: flex;
    flex: 1;
    gap: 40px;
    align-items: center;
    padding: 0 40px;
}

/* Обновленные стили формы */
.auth-form {
    background: var(--white);
    padding: 64px;
    border-radius: 20px;
    box-shadow: 0px 4px 24px rgba(1, 1, 1, 0.04);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.auth-form:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 32px rgba(1, 1, 1, 0.08);
}

.form-header {
    margin-bottom: 64px;
}

.form-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--gray);
    font-size: 18px;
}

.graphic-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.profit-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profit-graph {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
}

.profit-line {
    position: absolute;
    width: 100%;
    height: 100%;
    stroke: var(--profit-color);
    stroke-width: 3;
    fill: none;
    filter: drop-shadow(0 0 10px var(--profit-glow));
}

.profit-fill {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: url(#profit-gradient);
    opacity: 0.2;
}

.profit-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.profit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--profit-color);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 8px var(--profit-color));
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
}

.profit-stats {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.profit-amount {
    font-size: 72px;
    font-weight: 700;
    color: var(--profit-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--profit-glow);
    font-family: 'Courier New', monospace;
    position: relative;
}

.profit-amount::before {
    content: "$";
    position: absolute;
    left: -30px;
    font-size: 0.6em;
    top: 15px;
    opacity: 0.8;
}

.profit-change {
    font-size: 24px;
    color: var(--profit-color);
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.profit-change::before {
    content: "↑";
    margin-right: 8px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.profit-metrics {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
}

.profit-metric {
    text-align: center;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--profit-color);
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.metric-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profit-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.grid-line {
    stroke: var(--white);
    stroke-width: 1;
}

.profit-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--profit-color);
    opacity: 0;
    animation: float-particle 4s infinite;
}

@keyframes float-particle {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* Анимация цифр */
@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profit-animated {
    animation: count-up 0.5s ease-out forwards;
}


/* Адаптивность */
@media (max-width: 1024px) {
    .form-side {
        width: 100%!important;
        text-align: center;
    }
    .graphic-side{
        display: none;
    }
.form-title{
    font-size: 30px;
}
    .auth-content {
        flex-direction: column;
        padding: 0 20px;
    }

    .graphic-container {
        min-height: 400px;
        order: -1;
    }

    .auth-form {
        padding: 40px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .auth-form {
        padding: 24px;
    }

    .form-title {
        font-size: 48px;
    }

    .graph-title {
        font-size: 18px;
    }

    .graph-price {
        font-size: 20px;
    }
}