/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(100, 0, 0, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(150, 0, 0, 0.15) 0%, transparent 20%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="%23ff0000" stroke-width="0.5" stroke-opacity="0.1"/></svg>');
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Хедер */
.header {
    padding: 30px 0 20px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

.logo-pro {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.logo-sex {
    color: #ff0000;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    position: relative;
}

.logo-sex::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, transparent);
    border-radius: 2px;
}

.logo-subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: none;
}

/* Контейнер авторизации */
.auth-container {
    max-width: 800px;
    margin: 0 auto 60px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.auth-title i {
    color: #ff0000;
    margin-right: 15px;
    font-size: 2.2rem;
}

.auth-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* Форма авторизации */
.auth-box {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.auth-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff0000, #990000);
}

.login-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 35px;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.form-label i {
    color: #ff0000;
    margin-right: 10px;
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 18px 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, #990000);
    transition: width 0.5s ease;
}

.form-input:focus ~ .input-underline {
    width: 100%;
}

/* Опции формы */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(30, 0, 0, 0.8);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #ff0000;
    border-color: #ff0000;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.forgot-link {
    color: rgba(255, 0, 0, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: width 0.3s ease;
}

.forgot-link:hover {
    color: #fff;
}

.forgot-link:hover::after {
    width: 100%;
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(90deg, #990000, #ff0000);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #ff0000, #990000);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
    transform: translateY(-3px);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(1px);
}

.btn-text {
    margin-right: 15px;
}

.btn-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(10px);
}

/* Сообщение об ошибке */
.error-message {
    background: rgba(150, 0, 0, 0.2);
    border-left: 5px solid #ff0000;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 5px;
    display: none;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-message i {
    color: #ff0000;
    font-size: 1.5rem;
    margin-right: 15px;
}

.error-message span {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Демо информация */
.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
}

.demo-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

.demo-info i {
    color: #ff0000;
    margin-right: 10px;
}

.demo-info strong {
    color: #fff;
    font-weight: 700;
}

/* Дополнительная информация */
.additional-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

.info-card {
    flex: 1;
    min-width: 250px;
    background: rgba(30, 0, 0, 0.4);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.6);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.info-card i {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.info-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Футер */
.footer {
    background: rgba(10, 0, 0, 0.9);
    border-top: 2px solid rgba(255, 0, 0, 0.3);
    padding: 40px 0 30px;
    margin-top: 60px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 0, 0, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .logo {
        font-size: 2.2rem;
    }
    
    .logo-subtitle {
        font-size: 1rem;
    }
    
    .auth-title {
        font-size: 1.9rem;
    }
    
    .auth-box {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .additional-info {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .auth-title {
        font-size: 1.6rem;
    }
    
    .submit-btn {
        font-size: 1.1rem;
        padding: 18px;
    }
    
    .info-card {
        min-width: 100%;
    }
}