/* Общие настройки */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #121212;
    --bg-card: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --gold: #d4af37;
    --gold-light: #f9e0a2;
    --gold-hover: #b8860b;
    --border-light: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Основной контейнер */
.login-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
}

/* Боковые колонки */
.login-sidebar {
    flex: 1;
    background: rgba(30, 30, 30, 0.7);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.login-sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: var(--gold);
}

.login-sidebar h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.login-sidebar h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 3px;
}

/* Списки */
.feature-list, .benefit-list {
    list-style: none;
    padding: 0;
}

.feature-list li, .benefit-list li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    font-size: 1.05rem;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before, .benefit-list li::before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-list li:last-child, .benefit-list li:last-child {
    border-bottom: none;
}

.info-block p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Центральная карточка входа */
.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.login-card {
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.input-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

button:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.signup-link {
    text-align: center;
    margin: 20px 0;
    font-size: 0.95rem;
}

.signup-link a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

.alert {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

/* Кнопка "Вернуться на главную" */
.back-home-container {
    margin-top: 30px;
    text-align: center;
}

.btn-back-home {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-back-home:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .login-sidebar, .login-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .login-card {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.8rem;
    }

    input, button {
        padding: 12px;
        font-size: 1rem;
    }

    .login-sidebar h3 {
        font-size: 1.3rem;
    }

    .feature-list li, .benefit-list li {
        font-size: 1rem;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 25px 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    input, button {
        padding: 10px;
        font-size: 0.95rem;
    }

    .login-sidebar h3 {
        font-size: 1.2rem;
    }

    .feature-list li, .benefit-list li {
        font-size: 0.95rem;
    }
}