.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 2rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-icon {
    width: 118px;
    height: 71px;
    margin-bottom: 20px;
}

.error-code {
    width: 100%;
    max-width: 520px;
    font-size: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 36px;
    color: white;
    text-align: center;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.error-message {
    width: 100%;
    max-width: 449px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 16.8px;
    color: #BDBDBD;
    text-align: center;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.home-link {
    width: 100%;
    max-width: 449px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 16.8px;
    color: #FF5B85;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.home-link:hover {
    opacity: 0.8;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
    .error-container {
        padding: 1.5rem;
    }
    
    .error-code {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .error-container {
        padding: 1rem;
    }
    
    .error-icon {
        width: 100px;
        height: 60px;
    }
    
    .error-code {
        font-size: 26px;
        line-height: 32px;
    }
    
    .error-message {
        max-width: 337px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .error-icon {
        width: 80px;
        height: 48px;
    }
    
    .error-code {
        font-size: 24px;
        line-height: 30px;
    }
    
    .error-message {
        max-width: 280px;
        margin-bottom: 20px;
    }
    
    footer .legal-links {
        flex-direction: column;
        gap: 8px;
    }
} 